documents

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: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccessLevelUpdateMode_name = map[int32]string{
		0: "ACCESS_LEVEL_UPDATE_MODE_UNSPECIFIED",
		1: "ACCESS_LEVEL_UPDATE_MODE_UPDATE",
		2: "ACCESS_LEVEL_UPDATE_MODE_DELETE",
		3: "ACCESS_LEVEL_UPDATE_MODE_CLEAR",
	}
	AccessLevelUpdateMode_value = map[string]int32{
		"ACCESS_LEVEL_UPDATE_MODE_UNSPECIFIED": 0,
		"ACCESS_LEVEL_UPDATE_MODE_UPDATE":      1,
		"ACCESS_LEVEL_UPDATE_MODE_DELETE":      2,
		"ACCESS_LEVEL_UPDATE_MODE_CLEAR":       3,
	}
)

Enum value maps for AccessLevelUpdateMode.

View Source
var (
	AccessLevel_name = map[int32]string{
		0: "ACCESS_LEVEL_UNSPECIFIED",
		1: "ACCESS_LEVEL_BLOCKED",
		2: "ACCESS_LEVEL_VIEW",
		3: "ACCESS_LEVEL_COMMENT",
		4: "ACCESS_LEVEL_STATUS",
		5: "ACCESS_LEVEL_ACCESS",
		6: "ACCESS_LEVEL_EDIT",
	}
	AccessLevel_value = map[string]int32{
		"ACCESS_LEVEL_UNSPECIFIED": 0,
		"ACCESS_LEVEL_BLOCKED":     1,
		"ACCESS_LEVEL_VIEW":        2,
		"ACCESS_LEVEL_COMMENT":     3,
		"ACCESS_LEVEL_STATUS":      4,
		"ACCESS_LEVEL_ACCESS":      5,
		"ACCESS_LEVEL_EDIT":        6,
	}
)

Enum value maps for AccessLevel.

View Source
var (
	DocActivityType_name = map[int32]string{
		0:  "DOC_ACTIVITY_TYPE_UNSPECIFIED",
		1:  "DOC_ACTIVITY_TYPE_CREATED",
		2:  "DOC_ACTIVITY_TYPE_STATUS_OPEN",
		3:  "DOC_ACTIVITY_TYPE_STATUS_CLOSED",
		4:  "DOC_ACTIVITY_TYPE_UPDATED",
		5:  "DOC_ACTIVITY_TYPE_RELATIONS_UPDATED",
		6:  "DOC_ACTIVITY_TYPE_REFERENCES_UPDATED",
		7:  "DOC_ACTIVITY_TYPE_ACCESS_UPDATED",
		8:  "DOC_ACTIVITY_TYPE_OWNER_CHANGED",
		9:  "DOC_ACTIVITY_TYPE_DELETED",
		10: "DOC_ACTIVITY_TYPE_COMMENT_ADDED",
		11: "DOC_ACTIVITY_TYPE_COMMENT_UPDATED",
		12: "DOC_ACTIVITY_TYPE_COMMENT_DELETED",
		13: "DOC_ACTIVITY_TYPE_REQUESTED_ACCESS",
		14: "DOC_ACTIVITY_TYPE_REQUESTED_CLOSURE",
		15: "DOC_ACTIVITY_TYPE_REQUESTED_OPENING",
		16: "DOC_ACTIVITY_TYPE_REQUESTED_UPDATE",
		17: "DOC_ACTIVITY_TYPE_REQUESTED_OWNER_CHANGE",
		18: "DOC_ACTIVITY_TYPE_REQUESTED_DELETION",
	}
	DocActivityType_value = map[string]int32{
		"DOC_ACTIVITY_TYPE_UNSPECIFIED":            0,
		"DOC_ACTIVITY_TYPE_CREATED":                1,
		"DOC_ACTIVITY_TYPE_STATUS_OPEN":            2,
		"DOC_ACTIVITY_TYPE_STATUS_CLOSED":          3,
		"DOC_ACTIVITY_TYPE_UPDATED":                4,
		"DOC_ACTIVITY_TYPE_RELATIONS_UPDATED":      5,
		"DOC_ACTIVITY_TYPE_REFERENCES_UPDATED":     6,
		"DOC_ACTIVITY_TYPE_ACCESS_UPDATED":         7,
		"DOC_ACTIVITY_TYPE_OWNER_CHANGED":          8,
		"DOC_ACTIVITY_TYPE_DELETED":                9,
		"DOC_ACTIVITY_TYPE_COMMENT_ADDED":          10,
		"DOC_ACTIVITY_TYPE_COMMENT_UPDATED":        11,
		"DOC_ACTIVITY_TYPE_COMMENT_DELETED":        12,
		"DOC_ACTIVITY_TYPE_REQUESTED_ACCESS":       13,
		"DOC_ACTIVITY_TYPE_REQUESTED_CLOSURE":      14,
		"DOC_ACTIVITY_TYPE_REQUESTED_OPENING":      15,
		"DOC_ACTIVITY_TYPE_REQUESTED_UPDATE":       16,
		"DOC_ACTIVITY_TYPE_REQUESTED_OWNER_CHANGE": 17,
		"DOC_ACTIVITY_TYPE_REQUESTED_DELETION":     18,
	}
)

Enum value maps for DocActivityType.

View Source
var (
	DocContentType_name = map[int32]string{
		0: "DOC_CONTENT_TYPE_UNSPECIFIED",
		1: "DOC_CONTENT_TYPE_HTML",
		2: "DOC_CONTENT_TYPE_PLAIN",
	}
	DocContentType_value = map[string]int32{
		"DOC_CONTENT_TYPE_UNSPECIFIED": 0,
		"DOC_CONTENT_TYPE_HTML":        1,
		"DOC_CONTENT_TYPE_PLAIN":       2,
	}
)

Enum value maps for DocContentType.

View Source
var (
	DocReference_name = map[int32]string{
		0: "DOC_REFERENCE_UNSPECIFIED",
		1: "DOC_REFERENCE_LINKED",
		2: "DOC_REFERENCE_SOLVES",
		3: "DOC_REFERENCE_CLOSES",
		4: "DOC_REFERENCE_DEPRECATES",
	}
	DocReference_value = map[string]int32{
		"DOC_REFERENCE_UNSPECIFIED": 0,
		"DOC_REFERENCE_LINKED":      1,
		"DOC_REFERENCE_SOLVES":      2,
		"DOC_REFERENCE_CLOSES":      3,
		"DOC_REFERENCE_DEPRECATES":  4,
	}
)

Enum value maps for DocReference.

View Source
var (
	DocRelation_name = map[int32]string{
		0: "DOC_RELATION_UNSPECIFIED",
		1: "DOC_RELATION_MENTIONED",
		2: "DOC_RELATION_TARGETS",
		3: "DOC_RELATION_CAUSED",
	}
	DocRelation_value = map[string]int32{
		"DOC_RELATION_UNSPECIFIED": 0,
		"DOC_RELATION_MENTIONED":   1,
		"DOC_RELATION_TARGETS":     2,
		"DOC_RELATION_CAUSED":      3,
	}
)

Enum value maps for DocRelation.

View Source
var File_resources_documents_access_proto protoreflect.FileDescriptor
View Source
var File_resources_documents_activity_proto protoreflect.FileDescriptor
View Source
var File_resources_documents_category_proto protoreflect.FileDescriptor
View Source
var File_resources_documents_comment_proto protoreflect.FileDescriptor
View Source
var File_resources_documents_documents_proto protoreflect.FileDescriptor
View Source
var File_resources_documents_requests_proto protoreflect.FileDescriptor
View Source
var File_resources_documents_templates_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessLevel added in v0.8.3

type AccessLevel int32
const (
	AccessLevel_ACCESS_LEVEL_UNSPECIFIED AccessLevel = 0
	AccessLevel_ACCESS_LEVEL_BLOCKED     AccessLevel = 1
	AccessLevel_ACCESS_LEVEL_VIEW        AccessLevel = 2
	AccessLevel_ACCESS_LEVEL_COMMENT     AccessLevel = 3
	AccessLevel_ACCESS_LEVEL_STATUS      AccessLevel = 4
	AccessLevel_ACCESS_LEVEL_ACCESS      AccessLevel = 5
	AccessLevel_ACCESS_LEVEL_EDIT        AccessLevel = 6
)

func (AccessLevel) Descriptor added in v0.8.3

func (AccessLevel) Enum added in v0.8.3

func (x AccessLevel) Enum() *AccessLevel

func (AccessLevel) EnumDescriptor deprecated added in v0.8.3

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

Deprecated: Use AccessLevel.Descriptor instead.

func (AccessLevel) Number added in v0.8.3

func (x AccessLevel) Number() protoreflect.EnumNumber

func (AccessLevel) String added in v0.8.3

func (x AccessLevel) String() string

func (AccessLevel) Type added in v0.8.3

type AccessLevelUpdateMode added in v0.8.16

type AccessLevelUpdateMode int32
const (
	AccessLevelUpdateMode_ACCESS_LEVEL_UPDATE_MODE_UNSPECIFIED AccessLevelUpdateMode = 0
	AccessLevelUpdateMode_ACCESS_LEVEL_UPDATE_MODE_UPDATE      AccessLevelUpdateMode = 1
	AccessLevelUpdateMode_ACCESS_LEVEL_UPDATE_MODE_DELETE      AccessLevelUpdateMode = 2
	AccessLevelUpdateMode_ACCESS_LEVEL_UPDATE_MODE_CLEAR       AccessLevelUpdateMode = 3
)

func (AccessLevelUpdateMode) Descriptor added in v0.8.16

func (AccessLevelUpdateMode) Enum added in v0.8.16

func (AccessLevelUpdateMode) EnumDescriptor deprecated added in v0.8.16

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

Deprecated: Use AccessLevelUpdateMode.Descriptor instead.

func (AccessLevelUpdateMode) Number added in v0.8.16

func (AccessLevelUpdateMode) String added in v0.8.16

func (x AccessLevelUpdateMode) String() string

func (AccessLevelUpdateMode) Type added in v0.8.16

type Category added in v0.8.0

type Category struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// @sanitize
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// @sanitize
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Job         *string `protobuf:"bytes,4,opt,name=job,proto3,oneof" json:"job,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetDescription added in v0.8.0

func (x *Category) GetDescription() string

func (*Category) GetId added in v0.8.0

func (x *Category) GetId() uint64

func (*Category) GetJob added in v0.8.0

func (x *Category) GetJob() string

func (*Category) GetName added in v0.8.0

func (x *Category) GetName() string

func (*Category) ProtoMessage added in v0.8.0

func (*Category) ProtoMessage()

func (*Category) ProtoReflect added in v0.8.0

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

func (*Category) Reset added in v0.8.0

func (x *Category) Reset()

func (*Category) Sanitize added in v0.8.1

func (m *Category) Sanitize() error

func (*Category) String added in v0.8.0

func (x *Category) String() string

func (*Category) Validate added in v0.8.0

func (m *Category) Validate() error

Validate checks the field values on Category 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 (*Category) ValidateAll added in v0.8.0

func (m *Category) ValidateAll() error

ValidateAll checks the field values on Category 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 CategoryMultiError, or nil if none found.

type CategoryMultiError added in v0.8.0

type CategoryMultiError []error

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

func (CategoryMultiError) AllErrors added in v0.8.0

func (m CategoryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CategoryMultiError) Error added in v0.8.0

func (m CategoryMultiError) Error() string

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

type CategoryValidationError added in v0.8.0

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

CategoryValidationError is the validation error returned by Category.Validate if the designated constraints aren't met.

func (CategoryValidationError) Cause added in v0.8.0

func (e CategoryValidationError) Cause() error

Cause function returns cause value.

func (CategoryValidationError) Error added in v0.8.0

func (e CategoryValidationError) Error() string

Error satisfies the builtin error interface

func (CategoryValidationError) ErrorName added in v0.8.0

func (e CategoryValidationError) ErrorName() string

ErrorName returns error name.

func (CategoryValidationError) Field added in v0.8.0

func (e CategoryValidationError) Field() string

Field function returns field value.

func (CategoryValidationError) Key added in v0.8.0

func (e CategoryValidationError) Key() bool

Key function returns key value.

func (CategoryValidationError) Reason added in v0.8.0

func (e CategoryValidationError) Reason() string

Reason function returns reason value.

type Comment added in v0.8.0

type Comment struct {
	Id         uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id"
	CreatedAt  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt  *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	DeletedAt  *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	DocumentId uint64               `protobuf:"varint,5,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	// @sanitize: method=StripTags
	Comment    string           `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
	CreatorId  *int32           `protobuf:"varint,7,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"`
	Creator    *users.UserShort `protobuf:"bytes,8,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator"
	CreatorJob string           `protobuf:"bytes,9,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetComment added in v0.8.0

func (x *Comment) GetComment() string

func (*Comment) GetCreatedAt added in v0.8.0

func (x *Comment) GetCreatedAt() *timestamp.Timestamp

func (*Comment) GetCreator added in v0.8.0

func (x *Comment) GetCreator() *users.UserShort

func (*Comment) GetCreatorId added in v0.8.0

func (x *Comment) GetCreatorId() int32

func (*Comment) GetCreatorJob added in v0.8.21

func (x *Comment) GetCreatorJob() string

func (*Comment) GetDeletedAt added in v0.8.0

func (x *Comment) GetDeletedAt() *timestamp.Timestamp

func (*Comment) GetDocumentId added in v0.8.0

func (x *Comment) GetDocumentId() uint64

func (*Comment) GetId added in v0.8.0

func (x *Comment) GetId() uint64

func (*Comment) GetUpdatedAt added in v0.8.0

func (x *Comment) GetUpdatedAt() *timestamp.Timestamp

func (*Comment) ProtoMessage added in v0.8.0

func (*Comment) ProtoMessage()

func (*Comment) ProtoReflect added in v0.8.0

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

func (*Comment) Reset added in v0.8.0

func (x *Comment) Reset()

func (*Comment) Sanitize added in v0.8.1

func (m *Comment) Sanitize() error

func (*Comment) String added in v0.8.0

func (x *Comment) String() string

func (*Comment) Validate added in v0.8.0

func (m *Comment) Validate() error

Validate checks the field values on Comment 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 (*Comment) ValidateAll added in v0.8.0

func (m *Comment) ValidateAll() error

ValidateAll checks the field values on Comment 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 CommentMultiError, or nil if none found.

type CommentMultiError added in v0.8.0

type CommentMultiError []error

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

func (CommentMultiError) AllErrors added in v0.8.0

func (m CommentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommentMultiError) Error added in v0.8.0

func (m CommentMultiError) Error() string

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

type CommentValidationError added in v0.8.0

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

CommentValidationError is the validation error returned by Comment.Validate if the designated constraints aren't met.

func (CommentValidationError) Cause added in v0.8.0

func (e CommentValidationError) Cause() error

Cause function returns cause value.

func (CommentValidationError) Error added in v0.8.0

func (e CommentValidationError) Error() string

Error satisfies the builtin error interface

func (CommentValidationError) ErrorName added in v0.8.0

func (e CommentValidationError) ErrorName() string

ErrorName returns error name.

func (CommentValidationError) Field added in v0.8.0

func (e CommentValidationError) Field() string

Field function returns field value.

func (CommentValidationError) Key added in v0.8.0

func (e CommentValidationError) Key() bool

Key function returns key value.

func (CommentValidationError) Reason added in v0.8.0

func (e CommentValidationError) Reason() string

Reason function returns reason value.

type DocAccessRequested added in v0.8.19

type DocAccessRequested struct {
	Level AccessLevel `protobuf:"varint,1,opt,name=level,proto3,enum=resources.documents.AccessLevel" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*DocAccessRequested) Descriptor deprecated added in v0.8.19

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

Deprecated: Use DocAccessRequested.ProtoReflect.Descriptor instead.

func (*DocAccessRequested) GetLevel added in v0.8.19

func (x *DocAccessRequested) GetLevel() AccessLevel

func (*DocAccessRequested) ProtoMessage added in v0.8.19

func (*DocAccessRequested) ProtoMessage()

func (*DocAccessRequested) ProtoReflect added in v0.8.19

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

func (*DocAccessRequested) Reset added in v0.8.19

func (x *DocAccessRequested) Reset()

func (*DocAccessRequested) String added in v0.8.19

func (x *DocAccessRequested) String() string

func (*DocAccessRequested) Validate added in v0.8.19

func (m *DocAccessRequested) Validate() error

Validate checks the field values on DocAccessRequested 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 (*DocAccessRequested) ValidateAll added in v0.8.19

func (m *DocAccessRequested) ValidateAll() error

ValidateAll checks the field values on DocAccessRequested 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 DocAccessRequestedMultiError, or nil if none found.

type DocAccessRequestedMultiError added in v0.8.19

type DocAccessRequestedMultiError []error

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

func (DocAccessRequestedMultiError) AllErrors added in v0.8.19

func (m DocAccessRequestedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocAccessRequestedMultiError) Error added in v0.8.19

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

type DocAccessRequestedValidationError added in v0.8.19

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

DocAccessRequestedValidationError is the validation error returned by DocAccessRequested.Validate if the designated constraints aren't met.

func (DocAccessRequestedValidationError) Cause added in v0.8.19

Cause function returns cause value.

func (DocAccessRequestedValidationError) Error added in v0.8.19

Error satisfies the builtin error interface

func (DocAccessRequestedValidationError) ErrorName added in v0.8.19

ErrorName returns error name.

func (DocAccessRequestedValidationError) Field added in v0.8.19

Field function returns field value.

func (DocAccessRequestedValidationError) Key added in v0.8.19

Key function returns key value.

func (DocAccessRequestedValidationError) Reason added in v0.8.19

Reason function returns reason value.

type DocActivity added in v0.8.14

type DocActivity struct {
	Id              uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt       *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	DocumentId      uint64               `protobuf:"varint,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	ActivityType    DocActivityType      `` /* 139-byte string literal not displayed */
	CreatorId       *int32               `protobuf:"varint,5,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"`
	Creator         *users.UserShort     `protobuf:"bytes,6,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator"
	CreatorJob      string               `protobuf:"bytes,7,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"`
	CreatorJobLabel *string              `protobuf:"bytes,8,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"`
	Reason          *string              `protobuf:"bytes,9,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Data            *DocActivityData     `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DocActivity) Descriptor deprecated added in v0.8.14

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

Deprecated: Use DocActivity.ProtoReflect.Descriptor instead.

func (*DocActivity) GetActivityType added in v0.8.14

func (x *DocActivity) GetActivityType() DocActivityType

func (*DocActivity) GetCreatedAt added in v0.8.14

func (x *DocActivity) GetCreatedAt() *timestamp.Timestamp

func (*DocActivity) GetCreator added in v0.8.14

func (x *DocActivity) GetCreator() *users.UserShort

func (*DocActivity) GetCreatorId added in v0.8.14

func (x *DocActivity) GetCreatorId() int32

func (*DocActivity) GetCreatorJob added in v0.8.14

func (x *DocActivity) GetCreatorJob() string

func (*DocActivity) GetCreatorJobLabel added in v0.8.14

func (x *DocActivity) GetCreatorJobLabel() string

func (*DocActivity) GetData added in v0.8.14

func (x *DocActivity) GetData() *DocActivityData

func (*DocActivity) GetDocumentId added in v0.8.14

func (x *DocActivity) GetDocumentId() uint64

func (*DocActivity) GetId added in v0.8.14

func (x *DocActivity) GetId() uint64

func (*DocActivity) GetReason added in v0.8.14

func (x *DocActivity) GetReason() string

func (*DocActivity) ProtoMessage added in v0.8.14

func (*DocActivity) ProtoMessage()

func (*DocActivity) ProtoReflect added in v0.8.14

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

func (*DocActivity) Reset added in v0.8.14

func (x *DocActivity) Reset()

func (*DocActivity) String added in v0.8.14

func (x *DocActivity) String() string

func (*DocActivity) Validate added in v0.8.14

func (m *DocActivity) Validate() error

Validate checks the field values on DocActivity 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 (*DocActivity) ValidateAll added in v0.8.14

func (m *DocActivity) ValidateAll() error

ValidateAll checks the field values on DocActivity 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 DocActivityMultiError, or nil if none found.

type DocActivityData added in v0.8.14

type DocActivityData struct {

	// Types that are assignable to Data:
	//
	//	*DocActivityData_Updated
	//	*DocActivityData_OwnerChanged
	//	*DocActivityData_AccessUpdated
	//	*DocActivityData_AccessRequested
	Data isDocActivityData_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*DocActivityData) Descriptor deprecated added in v0.8.14

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

Deprecated: Use DocActivityData.ProtoReflect.Descriptor instead.

func (*DocActivityData) GetAccessRequested added in v0.8.19

func (x *DocActivityData) GetAccessRequested() *DocAccessRequested

func (*DocActivityData) GetAccessUpdated added in v0.8.16

func (x *DocActivityData) GetAccessUpdated() *DocumentAccess

func (*DocActivityData) GetData added in v0.8.14

func (m *DocActivityData) GetData() isDocActivityData_Data

func (*DocActivityData) GetOwnerChanged added in v0.8.16

func (x *DocActivityData) GetOwnerChanged() *DocOwnerChanged

func (*DocActivityData) GetUpdated added in v0.8.14

func (x *DocActivityData) GetUpdated() *DocUpdated

func (*DocActivityData) ProtoMessage added in v0.8.14

func (*DocActivityData) ProtoMessage()

func (*DocActivityData) ProtoReflect added in v0.8.14

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

func (*DocActivityData) Reset added in v0.8.14

func (x *DocActivityData) Reset()

func (*DocActivityData) Scan added in v0.8.14

func (x *DocActivityData) Scan(value any) error

Scan implements driver.Valuer for protobuf DocActivityData.

func (*DocActivityData) String added in v0.8.14

func (x *DocActivityData) String() string

func (*DocActivityData) Validate added in v0.8.14

func (m *DocActivityData) Validate() error

Validate checks the field values on DocActivityData 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 (*DocActivityData) ValidateAll added in v0.8.14

func (m *DocActivityData) ValidateAll() error

ValidateAll checks the field values on DocActivityData 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 DocActivityDataMultiError, or nil if none found.

func (*DocActivityData) Value added in v0.8.14

func (x *DocActivityData) Value() (driver.Value, error)

Value marshals the value into driver.Valuer.

type DocActivityDataMultiError added in v0.8.14

type DocActivityDataMultiError []error

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

func (DocActivityDataMultiError) AllErrors added in v0.8.14

func (m DocActivityDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocActivityDataMultiError) Error added in v0.8.14

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

type DocActivityDataValidationError added in v0.8.14

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

DocActivityDataValidationError is the validation error returned by DocActivityData.Validate if the designated constraints aren't met.

func (DocActivityDataValidationError) Cause added in v0.8.14

Cause function returns cause value.

func (DocActivityDataValidationError) Error added in v0.8.14

Error satisfies the builtin error interface

func (DocActivityDataValidationError) ErrorName added in v0.8.14

func (e DocActivityDataValidationError) ErrorName() string

ErrorName returns error name.

func (DocActivityDataValidationError) Field added in v0.8.14

Field function returns field value.

func (DocActivityDataValidationError) Key added in v0.8.14

Key function returns key value.

func (DocActivityDataValidationError) Reason added in v0.8.14

Reason function returns reason value.

type DocActivityData_AccessRequested added in v0.8.19

type DocActivityData_AccessRequested struct {
	AccessRequested *DocAccessRequested `protobuf:"bytes,5,opt,name=access_requested,json=accessRequested,proto3,oneof"`
}

type DocActivityData_AccessUpdated added in v0.8.16

type DocActivityData_AccessUpdated struct {
	AccessUpdated *DocumentAccess `protobuf:"bytes,4,opt,name=access_updated,json=accessUpdated,proto3,oneof"`
}

type DocActivityData_OwnerChanged added in v0.8.16

type DocActivityData_OwnerChanged struct {
	OwnerChanged *DocOwnerChanged `protobuf:"bytes,2,opt,name=owner_changed,json=ownerChanged,proto3,oneof"`
}

type DocActivityData_Updated added in v0.8.14

type DocActivityData_Updated struct {
	Updated *DocUpdated `protobuf:"bytes,1,opt,name=updated,proto3,oneof"`
}

type DocActivityMultiError added in v0.8.14

type DocActivityMultiError []error

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

func (DocActivityMultiError) AllErrors added in v0.8.14

func (m DocActivityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocActivityMultiError) Error added in v0.8.14

func (m DocActivityMultiError) Error() string

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

type DocActivityType added in v0.8.14

type DocActivityType int32
const (
	DocActivityType_DOC_ACTIVITY_TYPE_UNSPECIFIED DocActivityType = 0
	// Base
	DocActivityType_DOC_ACTIVITY_TYPE_CREATED            DocActivityType = 1
	DocActivityType_DOC_ACTIVITY_TYPE_STATUS_OPEN        DocActivityType = 2
	DocActivityType_DOC_ACTIVITY_TYPE_STATUS_CLOSED      DocActivityType = 3
	DocActivityType_DOC_ACTIVITY_TYPE_UPDATED            DocActivityType = 4
	DocActivityType_DOC_ACTIVITY_TYPE_RELATIONS_UPDATED  DocActivityType = 5
	DocActivityType_DOC_ACTIVITY_TYPE_REFERENCES_UPDATED DocActivityType = 6
	DocActivityType_DOC_ACTIVITY_TYPE_ACCESS_UPDATED     DocActivityType = 7
	DocActivityType_DOC_ACTIVITY_TYPE_OWNER_CHANGED      DocActivityType = 8
	DocActivityType_DOC_ACTIVITY_TYPE_DELETED            DocActivityType = 9
	// Comments
	DocActivityType_DOC_ACTIVITY_TYPE_COMMENT_ADDED   DocActivityType = 10
	DocActivityType_DOC_ACTIVITY_TYPE_COMMENT_UPDATED DocActivityType = 11
	DocActivityType_DOC_ACTIVITY_TYPE_COMMENT_DELETED DocActivityType = 12
	// Requests
	DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_ACCESS       DocActivityType = 13
	DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_CLOSURE      DocActivityType = 14
	DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_OPENING      DocActivityType = 15
	DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_UPDATE       DocActivityType = 16
	DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_OWNER_CHANGE DocActivityType = 17
	DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_DELETION     DocActivityType = 18
)

func (DocActivityType) Descriptor added in v0.8.14

func (DocActivityType) Enum added in v0.8.14

func (x DocActivityType) Enum() *DocActivityType

func (DocActivityType) EnumDescriptor deprecated added in v0.8.14

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

Deprecated: Use DocActivityType.Descriptor instead.

func (DocActivityType) Number added in v0.8.14

func (DocActivityType) String added in v0.8.14

func (x DocActivityType) String() string

func (DocActivityType) Type added in v0.8.14

type DocActivityValidationError added in v0.8.14

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

DocActivityValidationError is the validation error returned by DocActivity.Validate if the designated constraints aren't met.

func (DocActivityValidationError) Cause added in v0.8.14

Cause function returns cause value.

func (DocActivityValidationError) Error added in v0.8.14

Error satisfies the builtin error interface

func (DocActivityValidationError) ErrorName added in v0.8.14

func (e DocActivityValidationError) ErrorName() string

ErrorName returns error name.

func (DocActivityValidationError) Field added in v0.8.14

Field function returns field value.

func (DocActivityValidationError) Key added in v0.8.14

Key function returns key value.

func (DocActivityValidationError) Reason added in v0.8.14

Reason function returns reason value.

type DocContentType added in v0.8.3

type DocContentType int32
const (
	DocContentType_DOC_CONTENT_TYPE_UNSPECIFIED DocContentType = 0
	DocContentType_DOC_CONTENT_TYPE_HTML        DocContentType = 1
	DocContentType_DOC_CONTENT_TYPE_PLAIN       DocContentType = 2
)

func (DocContentType) Descriptor added in v0.8.3

func (DocContentType) Enum added in v0.8.3

func (x DocContentType) Enum() *DocContentType

func (DocContentType) EnumDescriptor deprecated added in v0.8.3

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

Deprecated: Use DocContentType.Descriptor instead.

func (DocContentType) Number added in v0.8.3

func (DocContentType) String added in v0.8.3

func (x DocContentType) String() string

func (DocContentType) Type added in v0.8.3

type DocOwnerChanged added in v0.8.16

type DocOwnerChanged struct {
	NewOwnerId int32            `protobuf:"varint,1,opt,name=new_owner_id,json=newOwnerId,proto3" json:"new_owner_id,omitempty"`
	NewOwner   *users.UserShort `protobuf:"bytes,2,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use DocOwnerChanged.ProtoReflect.Descriptor instead.

func (*DocOwnerChanged) GetNewOwner added in v0.8.16

func (x *DocOwnerChanged) GetNewOwner() *users.UserShort

func (*DocOwnerChanged) GetNewOwnerId added in v0.8.16

func (x *DocOwnerChanged) GetNewOwnerId() int32

func (*DocOwnerChanged) ProtoMessage added in v0.8.16

func (*DocOwnerChanged) ProtoMessage()

func (*DocOwnerChanged) ProtoReflect added in v0.8.16

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

func (*DocOwnerChanged) Reset added in v0.8.16

func (x *DocOwnerChanged) Reset()

func (*DocOwnerChanged) String added in v0.8.16

func (x *DocOwnerChanged) String() string

func (*DocOwnerChanged) Validate added in v0.8.16

func (m *DocOwnerChanged) Validate() error

Validate checks the field values on DocOwnerChanged 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 (*DocOwnerChanged) ValidateAll added in v0.8.16

func (m *DocOwnerChanged) ValidateAll() error

ValidateAll checks the field values on DocOwnerChanged 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 DocOwnerChangedMultiError, or nil if none found.

type DocOwnerChangedMultiError added in v0.8.16

type DocOwnerChangedMultiError []error

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

func (DocOwnerChangedMultiError) AllErrors added in v0.8.16

func (m DocOwnerChangedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocOwnerChangedMultiError) Error added in v0.8.16

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

type DocOwnerChangedValidationError added in v0.8.16

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

DocOwnerChangedValidationError is the validation error returned by DocOwnerChanged.Validate if the designated constraints aren't met.

func (DocOwnerChangedValidationError) Cause added in v0.8.16

Cause function returns cause value.

func (DocOwnerChangedValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (DocOwnerChangedValidationError) ErrorName added in v0.8.16

func (e DocOwnerChangedValidationError) ErrorName() string

ErrorName returns error name.

func (DocOwnerChangedValidationError) Field added in v0.8.16

Field function returns field value.

func (DocOwnerChangedValidationError) Key added in v0.8.16

Key function returns key value.

func (DocOwnerChangedValidationError) Reason added in v0.8.16

Reason function returns reason value.

type DocReference added in v0.8.3

type DocReference int32
const (
	DocReference_DOC_REFERENCE_UNSPECIFIED DocReference = 0
	DocReference_DOC_REFERENCE_LINKED      DocReference = 1
	DocReference_DOC_REFERENCE_SOLVES      DocReference = 2
	DocReference_DOC_REFERENCE_CLOSES      DocReference = 3
	DocReference_DOC_REFERENCE_DEPRECATES  DocReference = 4
)

func (DocReference) Descriptor added in v0.8.3

func (DocReference) Enum added in v0.8.3

func (x DocReference) Enum() *DocReference

func (DocReference) EnumDescriptor deprecated added in v0.8.3

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

Deprecated: Use DocReference.Descriptor instead.

func (DocReference) Number added in v0.8.3

func (DocReference) String added in v0.8.3

func (x DocReference) String() string

func (DocReference) Type added in v0.8.3

type DocRelation added in v0.8.3

type DocRelation int32
const (
	DocRelation_DOC_RELATION_UNSPECIFIED DocRelation = 0
	DocRelation_DOC_RELATION_MENTIONED   DocRelation = 1
	DocRelation_DOC_RELATION_TARGETS     DocRelation = 2
	DocRelation_DOC_RELATION_CAUSED      DocRelation = 3
)

func (DocRelation) Descriptor added in v0.8.3

func (DocRelation) Enum added in v0.8.3

func (x DocRelation) Enum() *DocRelation

func (DocRelation) EnumDescriptor deprecated added in v0.8.3

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

Deprecated: Use DocRelation.Descriptor instead.

func (DocRelation) Number added in v0.8.3

func (x DocRelation) Number() protoreflect.EnumNumber

func (DocRelation) String added in v0.8.3

func (x DocRelation) String() string

func (DocRelation) Type added in v0.8.3

type DocRequest added in v0.8.16

type DocRequest struct {
	Id              uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt       *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt       *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DocumentId      uint64               `protobuf:"varint,4,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	RequestType     DocActivityType      `` /* 136-byte string literal not displayed */
	CreatorId       *int32               `protobuf:"varint,6,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"`
	Creator         *users.UserShort     `protobuf:"bytes,7,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator"
	CreatorJob      string               `protobuf:"bytes,8,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"`
	CreatorJobLabel *string              `protobuf:"bytes,9,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"`
	Reason          *string              `protobuf:"bytes,10,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Data            *DocActivityData     `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"`
	Accepted        *bool                `protobuf:"varint,12,opt,name=accepted,proto3,oneof" json:"accepted,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use DocRequest.ProtoReflect.Descriptor instead.

func (*DocRequest) GetAccepted added in v0.8.16

func (x *DocRequest) GetAccepted() bool

func (*DocRequest) GetCreatedAt added in v0.8.16

func (x *DocRequest) GetCreatedAt() *timestamp.Timestamp

func (*DocRequest) GetCreator added in v0.8.16

func (x *DocRequest) GetCreator() *users.UserShort

func (*DocRequest) GetCreatorId added in v0.8.16

func (x *DocRequest) GetCreatorId() int32

func (*DocRequest) GetCreatorJob added in v0.8.16

func (x *DocRequest) GetCreatorJob() string

func (*DocRequest) GetCreatorJobLabel added in v0.8.16

func (x *DocRequest) GetCreatorJobLabel() string

func (*DocRequest) GetData added in v0.8.16

func (x *DocRequest) GetData() *DocActivityData

func (*DocRequest) GetDocumentId added in v0.8.16

func (x *DocRequest) GetDocumentId() uint64

func (*DocRequest) GetId added in v0.8.16

func (x *DocRequest) GetId() uint64

func (*DocRequest) GetReason added in v0.8.16

func (x *DocRequest) GetReason() string

func (*DocRequest) GetRequestType added in v0.8.16

func (x *DocRequest) GetRequestType() DocActivityType

func (*DocRequest) GetUpdatedAt added in v0.8.16

func (x *DocRequest) GetUpdatedAt() *timestamp.Timestamp

func (*DocRequest) ProtoMessage added in v0.8.16

func (*DocRequest) ProtoMessage()

func (*DocRequest) ProtoReflect added in v0.8.16

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

func (*DocRequest) Reset added in v0.8.16

func (x *DocRequest) Reset()

func (*DocRequest) String added in v0.8.16

func (x *DocRequest) String() string

func (*DocRequest) Validate added in v0.8.16

func (m *DocRequest) Validate() error

Validate checks the field values on DocRequest 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 (*DocRequest) ValidateAll added in v0.8.16

func (m *DocRequest) ValidateAll() error

ValidateAll checks the field values on DocRequest 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 DocRequestMultiError, or nil if none found.

type DocRequestMultiError added in v0.8.16

type DocRequestMultiError []error

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

func (DocRequestMultiError) AllErrors added in v0.8.16

func (m DocRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocRequestMultiError) Error added in v0.8.16

func (m DocRequestMultiError) Error() string

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

type DocRequestValidationError added in v0.8.16

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

DocRequestValidationError is the validation error returned by DocRequest.Validate if the designated constraints aren't met.

func (DocRequestValidationError) Cause added in v0.8.16

func (e DocRequestValidationError) Cause() error

Cause function returns cause value.

func (DocRequestValidationError) Error added in v0.8.16

Error satisfies the builtin error interface

func (DocRequestValidationError) ErrorName added in v0.8.16

func (e DocRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DocRequestValidationError) Field added in v0.8.16

Field function returns field value.

func (DocRequestValidationError) Key added in v0.8.16

Key function returns key value.

func (DocRequestValidationError) Reason added in v0.8.16

func (e DocRequestValidationError) Reason() string

Reason function returns reason value.

type DocUpdated added in v0.8.14

type DocUpdated struct {
	TitleDiff   *string `protobuf:"bytes,1,opt,name=title_diff,json=titleDiff,proto3,oneof" json:"title_diff,omitempty"`
	ContentDiff *string `protobuf:"bytes,2,opt,name=content_diff,json=contentDiff,proto3,oneof" json:"content_diff,omitempty"`
	StateDiff   *string `protobuf:"bytes,3,opt,name=state_diff,json=stateDiff,proto3,oneof" json:"state_diff,omitempty"`
	// contains filtered or unexported fields
}

func (*DocUpdated) Descriptor deprecated added in v0.8.14

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

Deprecated: Use DocUpdated.ProtoReflect.Descriptor instead.

func (*DocUpdated) GetContentDiff added in v0.8.16

func (x *DocUpdated) GetContentDiff() string

func (*DocUpdated) GetStateDiff added in v0.8.16

func (x *DocUpdated) GetStateDiff() string

func (*DocUpdated) GetTitleDiff added in v0.8.16

func (x *DocUpdated) GetTitleDiff() string

func (*DocUpdated) ProtoMessage added in v0.8.14

func (*DocUpdated) ProtoMessage()

func (*DocUpdated) ProtoReflect added in v0.8.14

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

func (*DocUpdated) Reset added in v0.8.14

func (x *DocUpdated) Reset()

func (*DocUpdated) String added in v0.8.14

func (x *DocUpdated) String() string

func (*DocUpdated) Validate added in v0.8.14

func (m *DocUpdated) Validate() error

Validate checks the field values on DocUpdated 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 (*DocUpdated) ValidateAll added in v0.8.14

func (m *DocUpdated) ValidateAll() error

ValidateAll checks the field values on DocUpdated 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 DocUpdatedMultiError, or nil if none found.

type DocUpdatedMultiError added in v0.8.14

type DocUpdatedMultiError []error

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

func (DocUpdatedMultiError) AllErrors added in v0.8.14

func (m DocUpdatedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocUpdatedMultiError) Error added in v0.8.14

func (m DocUpdatedMultiError) Error() string

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

type DocUpdatedValidationError added in v0.8.14

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

DocUpdatedValidationError is the validation error returned by DocUpdated.Validate if the designated constraints aren't met.

func (DocUpdatedValidationError) Cause added in v0.8.14

func (e DocUpdatedValidationError) Cause() error

Cause function returns cause value.

func (DocUpdatedValidationError) Error added in v0.8.14

Error satisfies the builtin error interface

func (DocUpdatedValidationError) ErrorName added in v0.8.14

func (e DocUpdatedValidationError) ErrorName() string

ErrorName returns error name.

func (DocUpdatedValidationError) Field added in v0.8.14

Field function returns field value.

func (DocUpdatedValidationError) Key added in v0.8.14

Key function returns key value.

func (DocUpdatedValidationError) Reason added in v0.8.14

func (e DocUpdatedValidationError) Reason() string

Reason function returns reason value.

type Document

type Document struct {
	Id         uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	DeletedAt  *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	CategoryId *uint64              `protobuf:"varint,5,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty"`
	Category   *Category            `protobuf:"bytes,6,opt,name=category,proto3,oneof" json:"category,omitempty" alias:"category"` // @gotags: alias:"category"
	// @sanitize
	Title       string         `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
	ContentType DocContentType `` // @gotags: alias:"content_type"
	/* 156-byte string literal not displayed */
	// @sanitize
	Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"`
	// @sanitize
	Data       *string          `protobuf:"bytes,10,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"data"`                                   // @gotags: alias:"data"
	CreatorId  *int32           `protobuf:"varint,11,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty" alias:"creator_id"` // @gotags: alias:"creator_id"
	Creator    *users.UserShort `protobuf:"bytes,12,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"`                          // @gotags: alias:"creator"
	CreatorJob string           `protobuf:"bytes,13,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"`
	// @sanitize
	State      string  `protobuf:"bytes,14,opt,name=state,proto3" json:"state,omitempty"`
	Closed     bool    `protobuf:"varint,15,opt,name=closed,proto3" json:"closed,omitempty"`
	Public     bool    `protobuf:"varint,16,opt,name=public,proto3" json:"public,omitempty"`
	TemplateId *uint64 `protobuf:"varint,17,opt,name=template_id,json=templateId,proto3,oneof" json:"template_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Document) Descriptor deprecated

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

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetCategory

func (x *Document) GetCategory() *Category

func (*Document) GetCategoryId

func (x *Document) GetCategoryId() uint64

func (*Document) GetClosed

func (x *Document) GetClosed() bool

func (*Document) GetContent

func (x *Document) GetContent() string

func (*Document) GetContentType

func (x *Document) GetContentType() DocContentType

func (*Document) GetCreatedAt

func (x *Document) GetCreatedAt() *timestamp.Timestamp

func (*Document) GetCreator

func (x *Document) GetCreator() *users.UserShort

func (*Document) GetCreatorId

func (x *Document) GetCreatorId() int32

func (*Document) GetCreatorJob added in v0.8.16

func (x *Document) GetCreatorJob() string

func (*Document) GetData

func (x *Document) GetData() string

func (*Document) GetDeletedAt added in v0.7.1

func (x *Document) GetDeletedAt() *timestamp.Timestamp

func (*Document) GetId

func (x *Document) GetId() uint64

func (*Document) GetPublic

func (x *Document) GetPublic() bool

func (*Document) GetState

func (x *Document) GetState() string

func (*Document) GetTemplateId added in v0.8.20

func (x *Document) GetTemplateId() uint64

func (*Document) GetTitle

func (x *Document) GetTitle() string

func (*Document) GetUpdatedAt

func (x *Document) GetUpdatedAt() *timestamp.Timestamp

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

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

func (*Document) Reset

func (x *Document) Reset()

func (*Document) Sanitize added in v0.8.1

func (m *Document) Sanitize() error

func (*Document) SetCategory

func (x *Document) SetCategory(cat *Category)

func (*Document) String

func (x *Document) String() string

func (*Document) Validate

func (m *Document) Validate() error

Validate checks the field values on Document 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 (*Document) ValidateAll

func (m *Document) ValidateAll() error

ValidateAll checks the field values on Document 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 DocumentMultiError, or nil if none found.

type DocumentAccess

type DocumentAccess struct {
	Jobs  []*DocumentJobAccess  `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty" alias:"job_access"`    // @gotags: alias:"job_access"
	Users []*DocumentUserAccess `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty" alias:"user_access"` // @gotags: alias:"user_access"
	// contains filtered or unexported fields
}

func (*DocumentAccess) Descriptor deprecated

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

Deprecated: Use DocumentAccess.ProtoReflect.Descriptor instead.

func (*DocumentAccess) GetJobs

func (x *DocumentAccess) GetJobs() []*DocumentJobAccess

func (*DocumentAccess) GetUsers

func (x *DocumentAccess) GetUsers() []*DocumentUserAccess

func (*DocumentAccess) IsEmpty added in v0.8.16

func (x *DocumentAccess) IsEmpty() bool

func (*DocumentAccess) ProtoMessage

func (*DocumentAccess) ProtoMessage()

func (*DocumentAccess) ProtoReflect

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

func (*DocumentAccess) Reset

func (x *DocumentAccess) Reset()

func (*DocumentAccess) Scan

func (x *DocumentAccess) Scan(value any) error

Scan implements driver.Valuer for protobuf DocumentAccess.

func (*DocumentAccess) String

func (x *DocumentAccess) String() string

func (*DocumentAccess) Validate

func (m *DocumentAccess) Validate() error

Validate checks the field values on DocumentAccess 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 (*DocumentAccess) ValidateAll

func (m *DocumentAccess) ValidateAll() error

ValidateAll checks the field values on DocumentAccess 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 DocumentAccessMultiError, or nil if none found.

func (*DocumentAccess) Value

func (x *DocumentAccess) Value() (driver.Value, error)

Value marshals the value into driver.Valuer.

type DocumentAccessMultiError

type DocumentAccessMultiError []error

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

func (DocumentAccessMultiError) AllErrors

func (m DocumentAccessMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocumentAccessMultiError) Error

func (m DocumentAccessMultiError) Error() string

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

type DocumentAccessValidationError

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

DocumentAccessValidationError is the validation error returned by DocumentAccess.Validate if the designated constraints aren't met.

func (DocumentAccessValidationError) Cause

Cause function returns cause value.

func (DocumentAccessValidationError) Error

Error satisfies the builtin error interface

func (DocumentAccessValidationError) ErrorName

func (e DocumentAccessValidationError) ErrorName() string

ErrorName returns error name.

func (DocumentAccessValidationError) Field

Field function returns field value.

func (DocumentAccessValidationError) Key

Key function returns key value.

func (DocumentAccessValidationError) Reason

Reason function returns reason value.

type DocumentJobAccess

type DocumentJobAccess struct {
	Id            uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt     *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	DocumentId    uint64               `protobuf:"varint,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	Job           string               `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty" alias:"job"`                                                  // @gotags: alias:"job"
	JobLabel      *string              `protobuf:"bytes,5,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty" alias:"job_label"`            // @gotags: alias:"job_label"
	MinimumGrade  int32                `protobuf:"varint,6,opt,name=minimum_grade,json=minimumGrade,proto3" json:"minimum_grade,omitempty" alias:"minimum_grade"` // @gotags: alias:"minimum_grade"
	JobGradeLabel *string              ``                                                                                                                         // @gotags: alias:"job_grade_label"
	/* 132-byte string literal not displayed */
	Access   AccessLevel `protobuf:"varint,8,opt,name=access,proto3,enum=resources.documents.AccessLevel" json:"access,omitempty" alias:"access"` // @gotags: alias:"access"
	Required *bool       `protobuf:"varint,9,opt,name=required,proto3,oneof" json:"required,omitempty" alias:"required"`                          // @gotags: alias:"required"
	// contains filtered or unexported fields
}

func (*DocumentJobAccess) Descriptor deprecated

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

Deprecated: Use DocumentJobAccess.ProtoReflect.Descriptor instead.

func (*DocumentJobAccess) GetAccess

func (x *DocumentJobAccess) GetAccess() AccessLevel

func (*DocumentJobAccess) GetCreatedAt

func (x *DocumentJobAccess) GetCreatedAt() *timestamp.Timestamp

func (*DocumentJobAccess) GetDocumentId

func (x *DocumentJobAccess) GetDocumentId() uint64

func (*DocumentJobAccess) GetId

func (x *DocumentJobAccess) GetId() uint64

func (*DocumentJobAccess) GetJob

func (x *DocumentJobAccess) GetJob() string

func (*DocumentJobAccess) GetJobGrade

func (x *DocumentJobAccess) GetJobGrade() int32

func (*DocumentJobAccess) GetJobGradeLabel

func (x *DocumentJobAccess) GetJobGradeLabel() string

func (*DocumentJobAccess) GetJobLabel

func (x *DocumentJobAccess) GetJobLabel() string

func (*DocumentJobAccess) GetMinimumGrade

func (x *DocumentJobAccess) GetMinimumGrade() int32

func (*DocumentJobAccess) GetRequired added in v0.8.16

func (x *DocumentJobAccess) GetRequired() bool

func (*DocumentJobAccess) ProtoMessage

func (*DocumentJobAccess) ProtoMessage()

func (*DocumentJobAccess) ProtoReflect

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

func (*DocumentJobAccess) Reset

func (x *DocumentJobAccess) Reset()

func (*DocumentJobAccess) SetJob added in v0.8.6

func (x *DocumentJobAccess) SetJob(job string)

func (*DocumentJobAccess) SetJobGrade added in v0.8.6

func (x *DocumentJobAccess) SetJobGrade(grade int32)

func (*DocumentJobAccess) SetJobGradeLabel

func (x *DocumentJobAccess) SetJobGradeLabel(label string)

func (*DocumentJobAccess) SetJobLabel

func (x *DocumentJobAccess) SetJobLabel(label string)

func (*DocumentJobAccess) String

func (x *DocumentJobAccess) String() string

func (*DocumentJobAccess) Validate

func (m *DocumentJobAccess) Validate() error

Validate checks the field values on DocumentJobAccess 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 (*DocumentJobAccess) ValidateAll

func (m *DocumentJobAccess) ValidateAll() error

ValidateAll checks the field values on DocumentJobAccess 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 DocumentJobAccessMultiError, or nil if none found.

type DocumentJobAccessMultiError

type DocumentJobAccessMultiError []error

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

func (DocumentJobAccessMultiError) AllErrors

func (m DocumentJobAccessMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocumentJobAccessMultiError) Error

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

type DocumentJobAccessValidationError

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

DocumentJobAccessValidationError is the validation error returned by DocumentJobAccess.Validate if the designated constraints aren't met.

func (DocumentJobAccessValidationError) Cause

Cause function returns cause value.

func (DocumentJobAccessValidationError) Error

Error satisfies the builtin error interface

func (DocumentJobAccessValidationError) ErrorName

ErrorName returns error name.

func (DocumentJobAccessValidationError) Field

Field function returns field value.

func (DocumentJobAccessValidationError) Key

Key function returns key value.

func (DocumentJobAccessValidationError) Reason

Reason function returns reason value.

type DocumentMultiError

type DocumentMultiError []error

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

func (DocumentMultiError) AllErrors

func (m DocumentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocumentMultiError) Error

func (m DocumentMultiError) Error() string

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

type DocumentReference

type DocumentReference struct {
	Id               *uint64              `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CreatedAt        *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	SourceDocumentId uint64               `` // @gotags: alias:"source_document_id"
	/* 139-byte string literal not displayed */
	SourceDocument *DocumentShort `` // @gotags: alias:"source_document"
	/* 133-byte string literal not displayed */
	Reference DocReference `` // @gotags: alias:"reference"
	/* 128-byte string literal not displayed */
	TargetDocumentId uint64 `` // @gotags: alias:"target_document_id"
	/* 139-byte string literal not displayed */
	TargetDocument *DocumentShort `` // @gotags: alias:"target_document"
	/* 133-byte string literal not displayed */
	CreatorId *int32           `protobuf:"varint,8,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty" alias:"creator_id"` // @gotags: alias:"creator_id"
	Creator   *users.UserShort `protobuf:"bytes,9,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"ref_creator"`                      // @gotags: alias:"ref_creator"
	// contains filtered or unexported fields
}

func (*DocumentReference) Descriptor deprecated

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

Deprecated: Use DocumentReference.ProtoReflect.Descriptor instead.

func (*DocumentReference) GetCreatedAt

func (x *DocumentReference) GetCreatedAt() *timestamp.Timestamp

func (*DocumentReference) GetCreator

func (x *DocumentReference) GetCreator() *users.UserShort

func (*DocumentReference) GetCreatorId

func (x *DocumentReference) GetCreatorId() int32

func (*DocumentReference) GetId

func (x *DocumentReference) GetId() uint64

func (*DocumentReference) GetReference

func (x *DocumentReference) GetReference() DocReference

func (*DocumentReference) GetSourceDocument

func (x *DocumentReference) GetSourceDocument() *DocumentShort

func (*DocumentReference) GetSourceDocumentId

func (x *DocumentReference) GetSourceDocumentId() uint64

func (*DocumentReference) GetTargetDocument

func (x *DocumentReference) GetTargetDocument() *DocumentShort

func (*DocumentReference) GetTargetDocumentId

func (x *DocumentReference) GetTargetDocumentId() uint64

func (*DocumentReference) ProtoMessage

func (*DocumentReference) ProtoMessage()

func (*DocumentReference) ProtoReflect

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

func (*DocumentReference) Reset

func (x *DocumentReference) Reset()

func (*DocumentReference) String

func (x *DocumentReference) String() string

func (*DocumentReference) Validate

func (m *DocumentReference) Validate() error

Validate checks the field values on DocumentReference 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 (*DocumentReference) ValidateAll

func (m *DocumentReference) ValidateAll() error

ValidateAll checks the field values on DocumentReference 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 DocumentReferenceMultiError, or nil if none found.

type DocumentReferenceMultiError

type DocumentReferenceMultiError []error

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

func (DocumentReferenceMultiError) AllErrors

func (m DocumentReferenceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocumentReferenceMultiError) Error

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

type DocumentReferenceValidationError

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

DocumentReferenceValidationError is the validation error returned by DocumentReference.Validate if the designated constraints aren't met.

func (DocumentReferenceValidationError) Cause

Cause function returns cause value.

func (DocumentReferenceValidationError) Error

Error satisfies the builtin error interface

func (DocumentReferenceValidationError) ErrorName

ErrorName returns error name.

func (DocumentReferenceValidationError) Field

Field function returns field value.

func (DocumentReferenceValidationError) Key

Key function returns key value.

func (DocumentReferenceValidationError) Reason

Reason function returns reason value.

type DocumentRelation

type DocumentRelation struct {
	Id           *uint64              `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CreatedAt    *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	DocumentId   uint64               `protobuf:"varint,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	Document     *DocumentShort       `protobuf:"bytes,4,opt,name=document,proto3,oneof" json:"document,omitempty" alias:"document"`                                 // @gotags: alias:"document"
	SourceUserId int32                `protobuf:"varint,5,opt,name=source_user_id,json=sourceUserId,proto3" json:"source_user_id,omitempty" alias:"source_user_id"`  // @gotags: alias:"source_user_id"
	SourceUser   *users.UserShort     `protobuf:"bytes,6,opt,name=source_user,json=sourceUser,proto3,oneof" json:"source_user,omitempty" alias:"source_user"`        // @gotags: alias:"source_user"
	Relation     DocRelation          `protobuf:"varint,7,opt,name=relation,proto3,enum=resources.documents.DocRelation" json:"relation,omitempty" alias:"relation"` // @gotags: alias:"relation"
	TargetUserId int32                `protobuf:"varint,8,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty" alias:"target_user_id"`  // @gotags: alias:"target_user_id"
	TargetUser   *users.UserShort     `protobuf:"bytes,9,opt,name=target_user,json=targetUser,proto3,oneof" json:"target_user,omitempty" alias:"target_user"`        // @gotags: alias:"target_user"
	// contains filtered or unexported fields
}

func (*DocumentRelation) Descriptor deprecated

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

Deprecated: Use DocumentRelation.ProtoReflect.Descriptor instead.

func (*DocumentRelation) GetCreatedAt

func (x *DocumentRelation) GetCreatedAt() *timestamp.Timestamp

func (*DocumentRelation) GetDocument

func (x *DocumentRelation) GetDocument() *DocumentShort

func (*DocumentRelation) GetDocumentId

func (x *DocumentRelation) GetDocumentId() uint64

func (*DocumentRelation) GetId

func (x *DocumentRelation) GetId() uint64

func (*DocumentRelation) GetRelation

func (x *DocumentRelation) GetRelation() DocRelation

func (*DocumentRelation) GetSourceUser

func (x *DocumentRelation) GetSourceUser() *users.UserShort

func (*DocumentRelation) GetSourceUserId

func (x *DocumentRelation) GetSourceUserId() int32

func (*DocumentRelation) GetTargetUser

func (x *DocumentRelation) GetTargetUser() *users.UserShort

func (*DocumentRelation) GetTargetUserId

func (x *DocumentRelation) GetTargetUserId() int32

func (*DocumentRelation) ProtoMessage

func (*DocumentRelation) ProtoMessage()

func (*DocumentRelation) ProtoReflect

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

func (*DocumentRelation) Reset

func (x *DocumentRelation) Reset()

func (*DocumentRelation) String

func (x *DocumentRelation) String() string

func (*DocumentRelation) Validate

func (m *DocumentRelation) Validate() error

Validate checks the field values on DocumentRelation 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 (*DocumentRelation) ValidateAll

func (m *DocumentRelation) ValidateAll() error

ValidateAll checks the field values on DocumentRelation 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 DocumentRelationMultiError, or nil if none found.

type DocumentRelationMultiError

type DocumentRelationMultiError []error

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

func (DocumentRelationMultiError) AllErrors

func (m DocumentRelationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocumentRelationMultiError) Error

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

type DocumentRelationValidationError

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

DocumentRelationValidationError is the validation error returned by DocumentRelation.Validate if the designated constraints aren't met.

func (DocumentRelationValidationError) Cause

Cause function returns cause value.

func (DocumentRelationValidationError) Error

Error satisfies the builtin error interface

func (DocumentRelationValidationError) ErrorName

ErrorName returns error name.

func (DocumentRelationValidationError) Field

Field function returns field value.

func (DocumentRelationValidationError) Key

Key function returns key value.

func (DocumentRelationValidationError) Reason

Reason function returns reason value.

type DocumentShort

type DocumentShort struct {
	Id         uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	DeletedAt  *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	CategoryId *uint64              `protobuf:"varint,5,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty"`
	Category   *Category            `protobuf:"bytes,6,opt,name=category,proto3,oneof" json:"category,omitempty" alias:"category"` // @gotags: alias:"category"
	// @sanitize
	Title       string         `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
	ContentType DocContentType `` // @gotags: alias:"content_type"
	/* 156-byte string literal not displayed */
	// @sanitize
	Content    string           `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"`
	CreatorId  *int32           `protobuf:"varint,10,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty" alias:"creator_id"` // @gotags: alias:"creator_id"
	Creator    *users.UserShort `protobuf:"bytes,11,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"`                          // @gotags: alias:"creator"
	CreatorJob string           `protobuf:"bytes,12,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty" alias:"creator_job"`    // @gotags: alias:"creator_job"
	// @sanitize
	State  string `protobuf:"bytes,13,opt,name=state,proto3" json:"state,omitempty" alias:"state"` // @gotags: alias:"state"
	Closed bool   `protobuf:"varint,14,opt,name=closed,proto3" json:"closed,omitempty"`
	Public bool   `protobuf:"varint,15,opt,name=public,proto3" json:"public,omitempty"`
	// contains filtered or unexported fields
}

func (*DocumentShort) Descriptor deprecated

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

Deprecated: Use DocumentShort.ProtoReflect.Descriptor instead.

func (*DocumentShort) GetCategory

func (x *DocumentShort) GetCategory() *Category

func (*DocumentShort) GetCategoryId

func (x *DocumentShort) GetCategoryId() uint64

func (*DocumentShort) GetClosed

func (x *DocumentShort) GetClosed() bool

func (*DocumentShort) GetContent added in v0.7.0

func (x *DocumentShort) GetContent() string

func (*DocumentShort) GetContentType added in v0.7.0

func (x *DocumentShort) GetContentType() DocContentType

func (*DocumentShort) GetCreatedAt

func (x *DocumentShort) GetCreatedAt() *timestamp.Timestamp

func (*DocumentShort) GetCreator

func (x *DocumentShort) GetCreator() *users.UserShort

func (*DocumentShort) GetCreatorId

func (x *DocumentShort) GetCreatorId() int32

func (*DocumentShort) GetCreatorJob added in v0.8.16

func (x *DocumentShort) GetCreatorJob() string

func (*DocumentShort) GetDeletedAt added in v0.7.1

func (x *DocumentShort) GetDeletedAt() *timestamp.Timestamp

func (*DocumentShort) GetId

func (x *DocumentShort) GetId() uint64

func (*DocumentShort) GetPublic added in v0.7.1

func (x *DocumentShort) GetPublic() bool

func (*DocumentShort) GetState

func (x *DocumentShort) GetState() string

func (*DocumentShort) GetTitle

func (x *DocumentShort) GetTitle() string

func (*DocumentShort) GetUpdatedAt

func (x *DocumentShort) GetUpdatedAt() *timestamp.Timestamp

func (*DocumentShort) ProtoMessage

func (*DocumentShort) ProtoMessage()

func (*DocumentShort) ProtoReflect

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

func (*DocumentShort) Reset

func (x *DocumentShort) Reset()

func (*DocumentShort) Sanitize added in v0.8.1

func (m *DocumentShort) Sanitize() error

func (*DocumentShort) SetCategory

func (x *DocumentShort) SetCategory(cat *Category)

func (*DocumentShort) String

func (x *DocumentShort) String() string

func (*DocumentShort) Validate

func (m *DocumentShort) Validate() error

Validate checks the field values on DocumentShort 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 (*DocumentShort) ValidateAll

func (m *DocumentShort) ValidateAll() error

ValidateAll checks the field values on DocumentShort 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 DocumentShortMultiError, or nil if none found.

type DocumentShortMultiError

type DocumentShortMultiError []error

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

func (DocumentShortMultiError) AllErrors

func (m DocumentShortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocumentShortMultiError) Error

func (m DocumentShortMultiError) Error() string

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

type DocumentShortValidationError

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

DocumentShortValidationError is the validation error returned by DocumentShort.Validate if the designated constraints aren't met.

func (DocumentShortValidationError) Cause

Cause function returns cause value.

func (DocumentShortValidationError) Error

Error satisfies the builtin error interface

func (DocumentShortValidationError) ErrorName

func (e DocumentShortValidationError) ErrorName() string

ErrorName returns error name.

func (DocumentShortValidationError) Field

Field function returns field value.

func (DocumentShortValidationError) Key

Key function returns key value.

func (DocumentShortValidationError) Reason

Reason function returns reason value.

type DocumentUserAccess

type DocumentUserAccess struct {
	Id         uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	DocumentId uint64               `protobuf:"varint,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
	UserId     int32                `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	User       *users.UserShort     `protobuf:"bytes,5,opt,name=user,proto3,oneof" json:"user,omitempty"`
	Access     AccessLevel          `protobuf:"varint,6,opt,name=access,proto3,enum=resources.documents.AccessLevel" json:"access,omitempty" alias:"access"` // @gotags: alias:"access"
	Required   *bool                `protobuf:"varint,7,opt,name=required,proto3,oneof" json:"required,omitempty" alias:"required"`                          // @gotags: alias:"required"
	// contains filtered or unexported fields
}

func (*DocumentUserAccess) Descriptor deprecated

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

Deprecated: Use DocumentUserAccess.ProtoReflect.Descriptor instead.

func (*DocumentUserAccess) GetAccess

func (x *DocumentUserAccess) GetAccess() AccessLevel

func (*DocumentUserAccess) GetCreatedAt

func (x *DocumentUserAccess) GetCreatedAt() *timestamp.Timestamp

func (*DocumentUserAccess) GetDocumentId

func (x *DocumentUserAccess) GetDocumentId() uint64

func (*DocumentUserAccess) GetId

func (x *DocumentUserAccess) GetId() uint64

func (*DocumentUserAccess) GetRequired added in v0.8.16

func (x *DocumentUserAccess) GetRequired() bool

func (*DocumentUserAccess) GetUser

func (x *DocumentUserAccess) GetUser() *users.UserShort

func (*DocumentUserAccess) GetUserId

func (x *DocumentUserAccess) GetUserId() int32

func (*DocumentUserAccess) ProtoMessage

func (*DocumentUserAccess) ProtoMessage()

func (*DocumentUserAccess) ProtoReflect

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

func (*DocumentUserAccess) Reset

func (x *DocumentUserAccess) Reset()

func (*DocumentUserAccess) String

func (x *DocumentUserAccess) String() string

func (*DocumentUserAccess) Validate

func (m *DocumentUserAccess) Validate() error

Validate checks the field values on DocumentUserAccess 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 (*DocumentUserAccess) ValidateAll

func (m *DocumentUserAccess) ValidateAll() error

ValidateAll checks the field values on DocumentUserAccess 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 DocumentUserAccessMultiError, or nil if none found.

type DocumentUserAccessMultiError

type DocumentUserAccessMultiError []error

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

func (DocumentUserAccessMultiError) AllErrors

func (m DocumentUserAccessMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocumentUserAccessMultiError) Error

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

type DocumentUserAccessValidationError

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

DocumentUserAccessValidationError is the validation error returned by DocumentUserAccess.Validate if the designated constraints aren't met.

func (DocumentUserAccessValidationError) Cause

Cause function returns cause value.

func (DocumentUserAccessValidationError) Error

Error satisfies the builtin error interface

func (DocumentUserAccessValidationError) ErrorName

ErrorName returns error name.

func (DocumentUserAccessValidationError) Field

Field function returns field value.

func (DocumentUserAccessValidationError) Key

Key function returns key value.

func (DocumentUserAccessValidationError) Reason

Reason function returns reason value.

type DocumentValidationError

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

DocumentValidationError is the validation error returned by Document.Validate if the designated constraints aren't met.

func (DocumentValidationError) Cause

func (e DocumentValidationError) Cause() error

Cause function returns cause value.

func (DocumentValidationError) Error

func (e DocumentValidationError) Error() string

Error satisfies the builtin error interface

func (DocumentValidationError) ErrorName

func (e DocumentValidationError) ErrorName() string

ErrorName returns error name.

func (DocumentValidationError) Field

func (e DocumentValidationError) Field() string

Field function returns field value.

func (DocumentValidationError) Key

func (e DocumentValidationError) Key() bool

Key function returns key value.

func (DocumentValidationError) Reason

func (e DocumentValidationError) Reason() string

Reason function returns reason value.

type ObjectSpecs

type ObjectSpecs struct {
	Required *bool  `protobuf:"varint,1,opt,name=required,proto3,oneof" json:"required,omitempty"`
	Min      *int32 `protobuf:"varint,2,opt,name=min,proto3,oneof" json:"min,omitempty"`
	Max      *int32 `protobuf:"varint,3,opt,name=max,proto3,oneof" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectSpecs) Descriptor deprecated

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

Deprecated: Use ObjectSpecs.ProtoReflect.Descriptor instead.

func (*ObjectSpecs) GetMax

func (x *ObjectSpecs) GetMax() int32

func (*ObjectSpecs) GetMin

func (x *ObjectSpecs) GetMin() int32

func (*ObjectSpecs) GetRequired

func (x *ObjectSpecs) GetRequired() bool

func (*ObjectSpecs) ProtoMessage

func (*ObjectSpecs) ProtoMessage()

func (*ObjectSpecs) ProtoReflect

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

func (*ObjectSpecs) Reset

func (x *ObjectSpecs) Reset()

func (*ObjectSpecs) String

func (x *ObjectSpecs) String() string

func (*ObjectSpecs) Validate

func (m *ObjectSpecs) Validate() error

Validate checks the field values on ObjectSpecs 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 (*ObjectSpecs) ValidateAll

func (m *ObjectSpecs) ValidateAll() error

ValidateAll checks the field values on ObjectSpecs 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 ObjectSpecsMultiError, or nil if none found.

type ObjectSpecsMultiError

type ObjectSpecsMultiError []error

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

func (ObjectSpecsMultiError) AllErrors

func (m ObjectSpecsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ObjectSpecsMultiError) Error

func (m ObjectSpecsMultiError) Error() string

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

type ObjectSpecsValidationError

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

ObjectSpecsValidationError is the validation error returned by ObjectSpecs.Validate if the designated constraints aren't met.

func (ObjectSpecsValidationError) Cause

Cause function returns cause value.

func (ObjectSpecsValidationError) Error

Error satisfies the builtin error interface

func (ObjectSpecsValidationError) ErrorName

func (e ObjectSpecsValidationError) ErrorName() string

ErrorName returns error name.

func (ObjectSpecsValidationError) Field

Field function returns field value.

func (ObjectSpecsValidationError) Key

Key function returns key value.

func (ObjectSpecsValidationError) Reason

Reason function returns reason value.

type Template

type Template struct {
	Id        uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id"
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	Category  *Category            `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty" alias:"category"` // @gotags: alias:"category"
	Weight    uint32               `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
	// @sanitize
	Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
	// @sanitize
	Description     string               `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	ContentTitle    string               `protobuf:"bytes,8,opt,name=content_title,json=contentTitle,proto3" json:"content_title,omitempty" alias:"content_title"` // @gotags: alias:"content_title"
	Content         string               `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty" alias:"content"`                                     // @gotags: alias:"content"
	State           string               `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty" alias:"state"`                                          // @gotags: alias:"state"
	Schema          *TemplateSchema      `protobuf:"bytes,11,opt,name=schema,proto3" json:"schema,omitempty" alias:"schema"`                                       // @gotags: alias:"schema"
	CreatorJob      string               `protobuf:"bytes,12,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"`
	CreatorJobLabel *string              `protobuf:"bytes,13,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"`
	JobAccess       []*TemplateJobAccess `protobuf:"bytes,14,rep,name=job_access,json=jobAccess,proto3" json:"job_access,omitempty"`
	ContentAccess   *DocumentAccess      `protobuf:"bytes,15,opt,name=content_access,json=contentAccess,proto3" json:"content_access,omitempty" alias:"access"` // @gotags: alias:"access"
	// contains filtered or unexported fields
}

func (*Template) Descriptor deprecated

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

Deprecated: Use Template.ProtoReflect.Descriptor instead.

func (*Template) GetCategory

func (x *Template) GetCategory() *Category

func (*Template) GetContent

func (x *Template) GetContent() string

func (*Template) GetContentAccess

func (x *Template) GetContentAccess() *DocumentAccess

func (*Template) GetContentTitle

func (x *Template) GetContentTitle() string

func (*Template) GetCreatedAt

func (x *Template) GetCreatedAt() *timestamp.Timestamp

func (*Template) GetCreatorJob added in v0.8.1

func (x *Template) GetCreatorJob() string

func (*Template) GetCreatorJobLabel added in v0.8.21

func (x *Template) GetCreatorJobLabel() string

func (*Template) GetDescription

func (x *Template) GetDescription() string

func (*Template) GetId

func (x *Template) GetId() uint64

func (*Template) GetJob

func (x *Template) GetJob() string

func (*Template) GetJobAccess

func (x *Template) GetJobAccess() []*TemplateJobAccess

func (*Template) GetSchema

func (x *Template) GetSchema() *TemplateSchema

func (*Template) GetState added in v0.8.1

func (x *Template) GetState() string

func (*Template) GetTitle

func (x *Template) GetTitle() string

func (*Template) GetUpdatedAt

func (x *Template) GetUpdatedAt() *timestamp.Timestamp

func (*Template) GetWeight

func (x *Template) GetWeight() uint32

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) ProtoReflect

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

func (*Template) Reset

func (x *Template) Reset()

func (*Template) Sanitize added in v0.8.1

func (m *Template) Sanitize() error

func (*Template) SetJobLabel added in v0.8.21

func (x *Template) SetJobLabel(label string)

func (*Template) String

func (x *Template) String() string

func (*Template) Validate

func (m *Template) Validate() error

Validate checks the field values on Template 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 (*Template) ValidateAll

func (m *Template) ValidateAll() error

ValidateAll checks the field values on Template 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 TemplateMultiError, or nil if none found.

type TemplateData

type TemplateData struct {
	ActiveChar *users.User         `protobuf:"bytes,1,opt,name=activeChar,proto3" json:"activeChar,omitempty"`
	Documents  []*DocumentShort    `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"`
	Users      []*users.UserShort  `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
	Vehicles   []*vehicles.Vehicle `protobuf:"bytes,4,rep,name=vehicles,proto3" json:"vehicles,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateData) Descriptor deprecated

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

Deprecated: Use TemplateData.ProtoReflect.Descriptor instead.

func (*TemplateData) GetActiveChar

func (x *TemplateData) GetActiveChar() *users.User

func (*TemplateData) GetDocuments

func (x *TemplateData) GetDocuments() []*DocumentShort

func (*TemplateData) GetUsers

func (x *TemplateData) GetUsers() []*users.UserShort

func (*TemplateData) GetVehicles

func (x *TemplateData) GetVehicles() []*vehicles.Vehicle

func (*TemplateData) ProtoMessage

func (*TemplateData) ProtoMessage()

func (*TemplateData) ProtoReflect

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

func (*TemplateData) Reset

func (x *TemplateData) Reset()

func (*TemplateData) String

func (x *TemplateData) String() string

func (*TemplateData) Validate

func (m *TemplateData) Validate() error

Validate checks the field values on TemplateData 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 (*TemplateData) ValidateAll

func (m *TemplateData) ValidateAll() error

ValidateAll checks the field values on TemplateData 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 TemplateDataMultiError, or nil if none found.

type TemplateDataMultiError

type TemplateDataMultiError []error

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

func (TemplateDataMultiError) AllErrors

func (m TemplateDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TemplateDataMultiError) Error

func (m TemplateDataMultiError) Error() string

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

type TemplateDataValidationError

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

TemplateDataValidationError is the validation error returned by TemplateData.Validate if the designated constraints aren't met.

func (TemplateDataValidationError) Cause

Cause function returns cause value.

func (TemplateDataValidationError) Error

Error satisfies the builtin error interface

func (TemplateDataValidationError) ErrorName

func (e TemplateDataValidationError) ErrorName() string

ErrorName returns error name.

func (TemplateDataValidationError) Field

Field function returns field value.

func (TemplateDataValidationError) Key

Key function returns key value.

func (TemplateDataValidationError) Reason

Reason function returns reason value.

type TemplateJobAccess

type TemplateJobAccess struct {
	Id            uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id"
	CreatedAt     *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	TemplateId    uint64               `protobuf:"varint,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty" alias:"template_id"`         // @gotags: alias:"template_id"
	Job           string               `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty" alias:"job"`                                                  // @gotags: alias:"job"
	JobLabel      *string              `protobuf:"bytes,5,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty" alias:"job_label"`            // @gotags: alias:"job_label"
	MinimumGrade  int32                `protobuf:"varint,6,opt,name=minimum_grade,json=minimumGrade,proto3" json:"minimum_grade,omitempty" alias:"minimum_grade"` // @gotags: alias:"minimum_grade"
	JobGradeLabel *string              ``                                                                                                                         // @gotags: alias:"job_grade_label"
	/* 132-byte string literal not displayed */
	Access AccessLevel `protobuf:"varint,8,opt,name=access,proto3,enum=resources.documents.AccessLevel" json:"access,omitempty" alias:"access"` // @gotags: alias:"access"
	// contains filtered or unexported fields
}

func (*TemplateJobAccess) Descriptor deprecated

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

Deprecated: Use TemplateJobAccess.ProtoReflect.Descriptor instead.

func (*TemplateJobAccess) GetAccess

func (x *TemplateJobAccess) GetAccess() AccessLevel

func (*TemplateJobAccess) GetCreatedAt

func (x *TemplateJobAccess) GetCreatedAt() *timestamp.Timestamp

func (*TemplateJobAccess) GetId

func (x *TemplateJobAccess) GetId() uint64

func (*TemplateJobAccess) GetJob

func (x *TemplateJobAccess) GetJob() string

func (*TemplateJobAccess) GetJobGradeLabel

func (x *TemplateJobAccess) GetJobGradeLabel() string

func (*TemplateJobAccess) GetJobLabel

func (x *TemplateJobAccess) GetJobLabel() string

func (*TemplateJobAccess) GetMinimumGrade

func (x *TemplateJobAccess) GetMinimumGrade() int32

func (*TemplateJobAccess) GetTemplateId

func (x *TemplateJobAccess) GetTemplateId() uint64

func (*TemplateJobAccess) ProtoMessage

func (*TemplateJobAccess) ProtoMessage()

func (*TemplateJobAccess) ProtoReflect

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

func (*TemplateJobAccess) Reset

func (x *TemplateJobAccess) Reset()

func (*TemplateJobAccess) String

func (x *TemplateJobAccess) String() string

func (*TemplateJobAccess) Validate

func (m *TemplateJobAccess) Validate() error

Validate checks the field values on TemplateJobAccess 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 (*TemplateJobAccess) ValidateAll

func (m *TemplateJobAccess) ValidateAll() error

ValidateAll checks the field values on TemplateJobAccess 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 TemplateJobAccessMultiError, or nil if none found.

type TemplateJobAccessMultiError

type TemplateJobAccessMultiError []error

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

func (TemplateJobAccessMultiError) AllErrors

func (m TemplateJobAccessMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TemplateJobAccessMultiError) Error

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

type TemplateJobAccessValidationError

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

TemplateJobAccessValidationError is the validation error returned by TemplateJobAccess.Validate if the designated constraints aren't met.

func (TemplateJobAccessValidationError) Cause

Cause function returns cause value.

func (TemplateJobAccessValidationError) Error

Error satisfies the builtin error interface

func (TemplateJobAccessValidationError) ErrorName

ErrorName returns error name.

func (TemplateJobAccessValidationError) Field

Field function returns field value.

func (TemplateJobAccessValidationError) Key

Key function returns key value.

func (TemplateJobAccessValidationError) Reason

Reason function returns reason value.

type TemplateMultiError

type TemplateMultiError []error

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

func (TemplateMultiError) AllErrors

func (m TemplateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TemplateMultiError) Error

func (m TemplateMultiError) Error() string

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

type TemplateRequirements

type TemplateRequirements struct {
	Documents *ObjectSpecs `protobuf:"bytes,1,opt,name=documents,proto3,oneof" json:"documents,omitempty"`
	Users     *ObjectSpecs `protobuf:"bytes,2,opt,name=users,proto3,oneof" json:"users,omitempty"`
	Vehicles  *ObjectSpecs `protobuf:"bytes,3,opt,name=vehicles,proto3,oneof" json:"vehicles,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateRequirements) Descriptor deprecated

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

Deprecated: Use TemplateRequirements.ProtoReflect.Descriptor instead.

func (*TemplateRequirements) GetDocuments

func (x *TemplateRequirements) GetDocuments() *ObjectSpecs

func (*TemplateRequirements) GetUsers

func (x *TemplateRequirements) GetUsers() *ObjectSpecs

func (*TemplateRequirements) GetVehicles

func (x *TemplateRequirements) GetVehicles() *ObjectSpecs

func (*TemplateRequirements) ProtoMessage

func (*TemplateRequirements) ProtoMessage()

func (*TemplateRequirements) ProtoReflect

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

func (*TemplateRequirements) Reset

func (x *TemplateRequirements) Reset()

func (*TemplateRequirements) String

func (x *TemplateRequirements) String() string

func (*TemplateRequirements) Validate

func (m *TemplateRequirements) Validate() error

Validate checks the field values on TemplateRequirements 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 (*TemplateRequirements) ValidateAll

func (m *TemplateRequirements) ValidateAll() error

ValidateAll checks the field values on TemplateRequirements 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 TemplateRequirementsMultiError, or nil if none found.

type TemplateRequirementsMultiError

type TemplateRequirementsMultiError []error

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

func (TemplateRequirementsMultiError) AllErrors

func (m TemplateRequirementsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TemplateRequirementsMultiError) Error

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

type TemplateRequirementsValidationError

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

TemplateRequirementsValidationError is the validation error returned by TemplateRequirements.Validate if the designated constraints aren't met.

func (TemplateRequirementsValidationError) Cause

Cause function returns cause value.

func (TemplateRequirementsValidationError) Error

Error satisfies the builtin error interface

func (TemplateRequirementsValidationError) ErrorName

ErrorName returns error name.

func (TemplateRequirementsValidationError) Field

Field function returns field value.

func (TemplateRequirementsValidationError) Key

Key function returns key value.

func (TemplateRequirementsValidationError) Reason

Reason function returns reason value.

type TemplateSchema

type TemplateSchema struct {
	Requirements *TemplateRequirements `protobuf:"bytes,1,opt,name=requirements,proto3" json:"requirements,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateSchema) Descriptor deprecated

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

Deprecated: Use TemplateSchema.ProtoReflect.Descriptor instead.

func (*TemplateSchema) GetRequirements

func (x *TemplateSchema) GetRequirements() *TemplateRequirements

func (*TemplateSchema) ProtoMessage

func (*TemplateSchema) ProtoMessage()

func (*TemplateSchema) ProtoReflect

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

func (*TemplateSchema) Reset

func (x *TemplateSchema) Reset()

func (*TemplateSchema) Scan

func (x *TemplateSchema) Scan(value any) error

Scan implements driver.Valuer for protobuf TemplateSchema.

func (*TemplateSchema) String

func (x *TemplateSchema) String() string

func (*TemplateSchema) Validate

func (m *TemplateSchema) Validate() error

Validate checks the field values on TemplateSchema 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 (*TemplateSchema) ValidateAll

func (m *TemplateSchema) ValidateAll() error

ValidateAll checks the field values on TemplateSchema 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 TemplateSchemaMultiError, or nil if none found.

func (*TemplateSchema) Value

func (x *TemplateSchema) Value() (driver.Value, error)

Value marshals the value into driver.Valuer.

type TemplateSchemaMultiError

type TemplateSchemaMultiError []error

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

func (TemplateSchemaMultiError) AllErrors

func (m TemplateSchemaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TemplateSchemaMultiError) Error

func (m TemplateSchemaMultiError) Error() string

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

type TemplateSchemaValidationError

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

TemplateSchemaValidationError is the validation error returned by TemplateSchema.Validate if the designated constraints aren't met.

func (TemplateSchemaValidationError) Cause

Cause function returns cause value.

func (TemplateSchemaValidationError) Error

Error satisfies the builtin error interface

func (TemplateSchemaValidationError) ErrorName

func (e TemplateSchemaValidationError) ErrorName() string

ErrorName returns error name.

func (TemplateSchemaValidationError) Field

Field function returns field value.

func (TemplateSchemaValidationError) Key

Key function returns key value.

func (TemplateSchemaValidationError) Reason

Reason function returns reason value.

type TemplateShort

type TemplateShort struct {
	Id        uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id"
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	Category  *Category            `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty" alias:"category"` // @gotags: alias:"category"
	Weight    uint32               `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
	// @sanitize
	Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
	// @sanitize
	Description     string          `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	Schema          *TemplateSchema `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty" alias:"schema"` // @gotags: alias:"schema"
	CreatorJob      string          `protobuf:"bytes,9,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"`
	CreatorJobLabel *string         `protobuf:"bytes,10,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateShort) Descriptor deprecated

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

Deprecated: Use TemplateShort.ProtoReflect.Descriptor instead.

func (*TemplateShort) GetCategory

func (x *TemplateShort) GetCategory() *Category

func (*TemplateShort) GetCreatedAt

func (x *TemplateShort) GetCreatedAt() *timestamp.Timestamp

func (*TemplateShort) GetCreatorJob added in v0.8.21

func (x *TemplateShort) GetCreatorJob() string

func (*TemplateShort) GetCreatorJobLabel added in v0.8.21

func (x *TemplateShort) GetCreatorJobLabel() string

func (*TemplateShort) GetDescription

func (x *TemplateShort) GetDescription() string

func (*TemplateShort) GetId

func (x *TemplateShort) GetId() uint64

func (*TemplateShort) GetJob

func (x *TemplateShort) GetJob() string

func (*TemplateShort) GetSchema

func (x *TemplateShort) GetSchema() *TemplateSchema

func (*TemplateShort) GetTitle

func (x *TemplateShort) GetTitle() string

func (*TemplateShort) GetUpdatedAt

func (x *TemplateShort) GetUpdatedAt() *timestamp.Timestamp

func (*TemplateShort) GetWeight

func (x *TemplateShort) GetWeight() uint32

func (*TemplateShort) ProtoMessage

func (*TemplateShort) ProtoMessage()

func (*TemplateShort) ProtoReflect

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

func (*TemplateShort) Reset

func (x *TemplateShort) Reset()

func (*TemplateShort) Sanitize added in v0.8.1

func (m *TemplateShort) Sanitize() error

func (*TemplateShort) SetJobLabel added in v0.8.21

func (x *TemplateShort) SetJobLabel(label string)

func (*TemplateShort) String

func (x *TemplateShort) String() string

func (*TemplateShort) Validate

func (m *TemplateShort) Validate() error

Validate checks the field values on TemplateShort 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 (*TemplateShort) ValidateAll

func (m *TemplateShort) ValidateAll() error

ValidateAll checks the field values on TemplateShort 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 TemplateShortMultiError, or nil if none found.

type TemplateShortMultiError

type TemplateShortMultiError []error

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

func (TemplateShortMultiError) AllErrors

func (m TemplateShortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TemplateShortMultiError) Error

func (m TemplateShortMultiError) Error() string

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

type TemplateShortValidationError

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

TemplateShortValidationError is the validation error returned by TemplateShort.Validate if the designated constraints aren't met.

func (TemplateShortValidationError) Cause

Cause function returns cause value.

func (TemplateShortValidationError) Error

Error satisfies the builtin error interface

func (TemplateShortValidationError) ErrorName

func (e TemplateShortValidationError) ErrorName() string

ErrorName returns error name.

func (TemplateShortValidationError) Field

Field function returns field value.

func (TemplateShortValidationError) Key

Key function returns key value.

func (TemplateShortValidationError) Reason

Reason function returns reason value.

type TemplateValidationError

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

TemplateValidationError is the validation error returned by Template.Validate if the designated constraints aren't met.

func (TemplateValidationError) Cause

func (e TemplateValidationError) Cause() error

Cause function returns cause value.

func (TemplateValidationError) Error

func (e TemplateValidationError) Error() string

Error satisfies the builtin error interface

func (TemplateValidationError) ErrorName

func (e TemplateValidationError) ErrorName() string

ErrorName returns error name.

func (TemplateValidationError) Field

func (e TemplateValidationError) Field() string

Field function returns field value.

func (TemplateValidationError) Key

func (e TemplateValidationError) Key() bool

Key function returns key value.

func (TemplateValidationError) Reason

func (e TemplateValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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