entity

package
v0.0.0-...-d36d6b6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Entity_LoadEntity_FullMethodName        = "/manager.api.entity.Entity/LoadEntity"
	Entity_ImportEntity_FullMethodName      = "/manager.api.entity.Entity/ImportEntity"
	Entity_ListEntity_FullMethodName        = "/manager.api.entity.Entity/ListEntity"
	Entity_CreateEntity_FullMethodName      = "/manager.api.entity.Entity/CreateEntity"
	Entity_UpdateEntity_FullMethodName      = "/manager.api.entity.Entity/UpdateEntity"
	Entity_DeleteEntity_FullMethodName      = "/manager.api.entity.Entity/DeleteEntity"
	Entity_ListEntityField_FullMethodName   = "/manager.api.entity.Entity/ListEntityField"
	Entity_CreateEntityField_FullMethodName = "/manager.api.entity.Entity/CreateEntityField"
	Entity_UpdateEntityField_FullMethodName = "/manager.api.entity.Entity/UpdateEntityField"
	Entity_DeleteEntityField_FullMethodName = "/manager.api.entity.Entity/DeleteEntityField"
	Entity_ListEntityRule_FullMethodName    = "/manager.api.entity.Entity/ListEntityRule"
	Entity_CreateEntityRule_FullMethodName  = "/manager.api.entity.Entity/CreateEntityRule"
	Entity_UpdateEntityRule_FullMethodName  = "/manager.api.entity.Entity/UpdateEntityRule"
	Entity_DeleteEntityRule_FullMethodName  = "/manager.api.entity.Entity/DeleteEntityRule"
)
View Source
const (
	OperationEntityCreateEntity      = "/manager.api.entity.Entity/CreateEntity"
	OperationEntityCreateEntityField = "/manager.api.entity.Entity/CreateEntityField"
	OperationEntityCreateEntityRule  = "/manager.api.entity.Entity/CreateEntityRule"
	OperationEntityDeleteEntity      = "/manager.api.entity.Entity/DeleteEntity"
	OperationEntityDeleteEntityField = "/manager.api.entity.Entity/DeleteEntityField"
	OperationEntityDeleteEntityRule  = "/manager.api.entity.Entity/DeleteEntityRule"
	OperationEntityImportEntity      = "/manager.api.entity.Entity/ImportEntity"
	OperationEntityListEntity        = "/manager.api.entity.Entity/ListEntity"
	OperationEntityListEntityField   = "/manager.api.entity.Entity/ListEntityField"
	OperationEntityListEntityRule    = "/manager.api.entity.Entity/ListEntityRule"
	OperationEntityLoadEntity        = "/manager.api.entity.Entity/LoadEntity"
	OperationEntityUpdateEntity      = "/manager.api.entity.Entity/UpdateEntity"
	OperationEntityUpdateEntityField = "/manager.api.entity.Entity/UpdateEntityField"
	OperationEntityUpdateEntityRule  = "/manager.api.entity.Entity/UpdateEntityRule"
)

Variables

View Source
var Entity_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager.api.entity.Entity",
	HandlerType: (*EntityServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LoadEntity",
			Handler:    _Entity_LoadEntity_Handler,
		},
		{
			MethodName: "ImportEntity",
			Handler:    _Entity_ImportEntity_Handler,
		},
		{
			MethodName: "ListEntity",
			Handler:    _Entity_ListEntity_Handler,
		},
		{
			MethodName: "CreateEntity",
			Handler:    _Entity_CreateEntity_Handler,
		},
		{
			MethodName: "UpdateEntity",
			Handler:    _Entity_UpdateEntity_Handler,
		},
		{
			MethodName: "DeleteEntity",
			Handler:    _Entity_DeleteEntity_Handler,
		},
		{
			MethodName: "ListEntityField",
			Handler:    _Entity_ListEntityField_Handler,
		},
		{
			MethodName: "CreateEntityField",
			Handler:    _Entity_CreateEntityField_Handler,
		},
		{
			MethodName: "UpdateEntityField",
			Handler:    _Entity_UpdateEntityField_Handler,
		},
		{
			MethodName: "DeleteEntityField",
			Handler:    _Entity_DeleteEntityField_Handler,
		},
		{
			MethodName: "ListEntityRule",
			Handler:    _Entity_ListEntityRule_Handler,
		},
		{
			MethodName: "CreateEntityRule",
			Handler:    _Entity_CreateEntityRule_Handler,
		},
		{
			MethodName: "UpdateEntityRule",
			Handler:    _Entity_UpdateEntityRule_Handler,
		},
		{
			MethodName: "DeleteEntityRule",
			Handler:    _Entity_DeleteEntityRule_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/entity/proto/entity_service.proto",
}

Entity_ServiceDesc is the grpc.ServiceDesc for Entity service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_entity_proto_entity_proto protoreflect.FileDescriptor
View Source
var File_api_entity_proto_entity_service_proto protoreflect.FileDescriptor

Functions

func RegisterEntityHTTPServer

func RegisterEntityHTTPServer(s *http.Server, srv EntityHTTPServer)

func RegisterEntityServer

func RegisterEntityServer(s grpc.ServiceRegistrar, srv EntityServer)

Types

type Condition

type Condition struct {
	Field    string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Value    string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetField

func (x *Condition) GetField() string

func (*Condition) GetOperator

func (x *Condition) GetOperator() string

func (*Condition) GetValue

func (x *Condition) GetValue() string

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

func (*Condition) Validate

func (m *Condition) Validate() error

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

func (m *Condition) ValidateAll() error

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

type ConditionGroup

type ConditionGroup struct {
	Logic      string            `protobuf:"bytes,1,opt,name=logic,proto3" json:"logic,omitempty"`
	Conditions []*Condition      `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Groups     []*ConditionGroup `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*ConditionGroup) Descriptor deprecated

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

Deprecated: Use ConditionGroup.ProtoReflect.Descriptor instead.

func (*ConditionGroup) GetConditions

func (x *ConditionGroup) GetConditions() []*Condition

func (*ConditionGroup) GetGroups

func (x *ConditionGroup) GetGroups() []*ConditionGroup

func (*ConditionGroup) GetLogic

func (x *ConditionGroup) GetLogic() string

func (*ConditionGroup) ProtoMessage

func (*ConditionGroup) ProtoMessage()

func (*ConditionGroup) ProtoReflect

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

func (*ConditionGroup) Reset

func (x *ConditionGroup) Reset()

func (*ConditionGroup) String

func (x *ConditionGroup) String() string

func (*ConditionGroup) Validate

func (m *ConditionGroup) Validate() error

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

func (m *ConditionGroup) ValidateAll() error

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

type ConditionGroupMultiError

type ConditionGroupMultiError []error

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

func (ConditionGroupMultiError) AllErrors

func (m ConditionGroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConditionGroupMultiError) Error

func (m ConditionGroupMultiError) Error() string

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

type ConditionGroupValidationError

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

ConditionGroupValidationError is the validation error returned by ConditionGroup.Validate if the designated constraints aren't met.

func (ConditionGroupValidationError) Cause

Cause function returns cause value.

func (ConditionGroupValidationError) Error

Error satisfies the builtin error interface

func (ConditionGroupValidationError) ErrorName

func (e ConditionGroupValidationError) ErrorName() string

ErrorName returns error name.

func (ConditionGroupValidationError) Field

Field function returns field value.

func (ConditionGroupValidationError) Key

Key function returns key value.

func (ConditionGroupValidationError) Reason

Reason function returns reason value.

type ConditionMultiError

type ConditionMultiError []error

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

func (ConditionMultiError) AllErrors

func (m ConditionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConditionMultiError) Error

func (m ConditionMultiError) Error() string

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

type ConditionValidationError

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

ConditionValidationError is the validation error returned by Condition.Validate if the designated constraints aren't met.

func (ConditionValidationError) Cause

func (e ConditionValidationError) Cause() error

Cause function returns cause value.

func (ConditionValidationError) Error

func (e ConditionValidationError) Error() string

Error satisfies the builtin error interface

func (ConditionValidationError) ErrorName

func (e ConditionValidationError) ErrorName() string

ErrorName returns error name.

func (ConditionValidationError) Field

func (e ConditionValidationError) Field() string

Field function returns field value.

func (ConditionValidationError) Key

Key function returns key value.

func (ConditionValidationError) Reason

func (e ConditionValidationError) Reason() string

Reason function returns reason value.

type CreateEntityFieldReply

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

func (*CreateEntityFieldReply) Descriptor deprecated

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

Deprecated: Use CreateEntityFieldReply.ProtoReflect.Descriptor instead.

func (*CreateEntityFieldReply) GetId

func (x *CreateEntityFieldReply) GetId() uint32

func (*CreateEntityFieldReply) ProtoMessage

func (*CreateEntityFieldReply) ProtoMessage()

func (*CreateEntityFieldReply) ProtoReflect

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

func (*CreateEntityFieldReply) Reset

func (x *CreateEntityFieldReply) Reset()

func (*CreateEntityFieldReply) String

func (x *CreateEntityFieldReply) String() string

func (*CreateEntityFieldReply) Validate

func (m *CreateEntityFieldReply) Validate() error

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

func (m *CreateEntityFieldReply) ValidateAll() error

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

type CreateEntityFieldReplyMultiError

type CreateEntityFieldReplyMultiError []error

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

func (CreateEntityFieldReplyMultiError) AllErrors

func (m CreateEntityFieldReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEntityFieldReplyMultiError) Error

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

type CreateEntityFieldReplyValidationError

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

CreateEntityFieldReplyValidationError is the validation error returned by CreateEntityFieldReply.Validate if the designated constraints aren't met.

func (CreateEntityFieldReplyValidationError) Cause

Cause function returns cause value.

func (CreateEntityFieldReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateEntityFieldReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateEntityFieldReplyValidationError) Field

Field function returns field value.

func (CreateEntityFieldReplyValidationError) Key

Key function returns key value.

func (CreateEntityFieldReplyValidationError) Reason

Reason function returns reason value.

type CreateEntityFieldRequest

type CreateEntityFieldRequest struct {
	EntityId uint32 `protobuf:"varint,1,opt,name=entityId,proto3" json:"entityId,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Comment  string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	Index    uint32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntityFieldRequest) Descriptor deprecated

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

Deprecated: Use CreateEntityFieldRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityFieldRequest) GetComment

func (x *CreateEntityFieldRequest) GetComment() string

func (*CreateEntityFieldRequest) GetEntityId

func (x *CreateEntityFieldRequest) GetEntityId() uint32

func (*CreateEntityFieldRequest) GetIndex

func (x *CreateEntityFieldRequest) GetIndex() uint32

func (*CreateEntityFieldRequest) GetName

func (x *CreateEntityFieldRequest) GetName() string

func (*CreateEntityFieldRequest) ProtoMessage

func (*CreateEntityFieldRequest) ProtoMessage()

func (*CreateEntityFieldRequest) ProtoReflect

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

func (*CreateEntityFieldRequest) Reset

func (x *CreateEntityFieldRequest) Reset()

func (*CreateEntityFieldRequest) String

func (x *CreateEntityFieldRequest) String() string

func (*CreateEntityFieldRequest) Validate

func (m *CreateEntityFieldRequest) Validate() error

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

func (m *CreateEntityFieldRequest) ValidateAll() error

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

type CreateEntityFieldRequestMultiError

type CreateEntityFieldRequestMultiError []error

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

func (CreateEntityFieldRequestMultiError) AllErrors

func (m CreateEntityFieldRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEntityFieldRequestMultiError) Error

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

type CreateEntityFieldRequestValidationError

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

CreateEntityFieldRequestValidationError is the validation error returned by CreateEntityFieldRequest.Validate if the designated constraints aren't met.

func (CreateEntityFieldRequestValidationError) Cause

Cause function returns cause value.

func (CreateEntityFieldRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateEntityFieldRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateEntityFieldRequestValidationError) Field

Field function returns field value.

func (CreateEntityFieldRequestValidationError) Key

Key function returns key value.

func (CreateEntityFieldRequestValidationError) Reason

Reason function returns reason value.

type CreateEntityReply

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

func (*CreateEntityReply) Descriptor deprecated

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

Deprecated: Use CreateEntityReply.ProtoReflect.Descriptor instead.

func (*CreateEntityReply) GetId

func (x *CreateEntityReply) GetId() uint32

func (*CreateEntityReply) ProtoMessage

func (*CreateEntityReply) ProtoMessage()

func (*CreateEntityReply) ProtoReflect

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

func (*CreateEntityReply) Reset

func (x *CreateEntityReply) Reset()

func (*CreateEntityReply) String

func (x *CreateEntityReply) String() string

func (*CreateEntityReply) Validate

func (m *CreateEntityReply) Validate() error

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

func (m *CreateEntityReply) ValidateAll() error

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

type CreateEntityReplyMultiError

type CreateEntityReplyMultiError []error

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

func (CreateEntityReplyMultiError) AllErrors

func (m CreateEntityReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEntityReplyMultiError) Error

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

type CreateEntityReplyValidationError

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

CreateEntityReplyValidationError is the validation error returned by CreateEntityReply.Validate if the designated constraints aren't met.

func (CreateEntityReplyValidationError) Cause

Cause function returns cause value.

func (CreateEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateEntityReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateEntityReplyValidationError) Field

Field function returns field value.

func (CreateEntityReplyValidationError) Key

Key function returns key value.

func (CreateEntityReplyValidationError) Reason

Reason function returns reason value.

type CreateEntityRequest

type CreateEntityRequest struct {
	AppId    uint32 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Comment  string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntityRequest) Descriptor deprecated

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

Deprecated: Use CreateEntityRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityRequest) GetAppId

func (x *CreateEntityRequest) GetAppId() uint32

func (*CreateEntityRequest) GetComment

func (x *CreateEntityRequest) GetComment() string

func (*CreateEntityRequest) GetDatabase

func (x *CreateEntityRequest) GetDatabase() string

func (*CreateEntityRequest) GetName

func (x *CreateEntityRequest) GetName() string

func (*CreateEntityRequest) ProtoMessage

func (*CreateEntityRequest) ProtoMessage()

func (*CreateEntityRequest) ProtoReflect

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

func (*CreateEntityRequest) Reset

func (x *CreateEntityRequest) Reset()

func (*CreateEntityRequest) String

func (x *CreateEntityRequest) String() string

func (*CreateEntityRequest) Validate

func (m *CreateEntityRequest) Validate() error

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

func (m *CreateEntityRequest) ValidateAll() error

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

type CreateEntityRequestMultiError

type CreateEntityRequestMultiError []error

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

func (CreateEntityRequestMultiError) AllErrors

func (m CreateEntityRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEntityRequestMultiError) Error

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

type CreateEntityRequestValidationError

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

CreateEntityRequestValidationError is the validation error returned by CreateEntityRequest.Validate if the designated constraints aren't met.

func (CreateEntityRequestValidationError) Cause

Cause function returns cause value.

func (CreateEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateEntityRequestValidationError) Field

Field function returns field value.

func (CreateEntityRequestValidationError) Key

Key function returns key value.

func (CreateEntityRequestValidationError) Reason

Reason function returns reason value.

type CreateEntityRuleReply

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

func (*CreateEntityRuleReply) Descriptor deprecated

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

Deprecated: Use CreateEntityRuleReply.ProtoReflect.Descriptor instead.

func (*CreateEntityRuleReply) GetId

func (x *CreateEntityRuleReply) GetId() uint32

func (*CreateEntityRuleReply) ProtoMessage

func (*CreateEntityRuleReply) ProtoMessage()

func (*CreateEntityRuleReply) ProtoReflect

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

func (*CreateEntityRuleReply) Reset

func (x *CreateEntityRuleReply) Reset()

func (*CreateEntityRuleReply) String

func (x *CreateEntityRuleReply) String() string

func (*CreateEntityRuleReply) Validate

func (m *CreateEntityRuleReply) Validate() error

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

func (m *CreateEntityRuleReply) ValidateAll() error

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

type CreateEntityRuleReplyMultiError

type CreateEntityRuleReplyMultiError []error

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

func (CreateEntityRuleReplyMultiError) AllErrors

func (m CreateEntityRuleReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEntityRuleReplyMultiError) Error

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

type CreateEntityRuleReplyValidationError

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

CreateEntityRuleReplyValidationError is the validation error returned by CreateEntityRuleReply.Validate if the designated constraints aren't met.

func (CreateEntityRuleReplyValidationError) Cause

Cause function returns cause value.

func (CreateEntityRuleReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateEntityRuleReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateEntityRuleReplyValidationError) Field

Field function returns field value.

func (CreateEntityRuleReplyValidationError) Key

Key function returns key value.

func (CreateEntityRuleReplyValidationError) Reason

Reason function returns reason value.

type CreateEntityRuleRequest

type CreateEntityRuleRequest struct {
	EntityId    uint32          `protobuf:"varint,1,opt,name=entityId,proto3" json:"entityId,omitempty"`
	Name        string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string          `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Expression  *ConditionGroup `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntityRuleRequest) Descriptor deprecated

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

Deprecated: Use CreateEntityRuleRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityRuleRequest) GetDescription

func (x *CreateEntityRuleRequest) GetDescription() string

func (*CreateEntityRuleRequest) GetEntityId

func (x *CreateEntityRuleRequest) GetEntityId() uint32

func (*CreateEntityRuleRequest) GetExpression

func (x *CreateEntityRuleRequest) GetExpression() *ConditionGroup

func (*CreateEntityRuleRequest) GetName

func (x *CreateEntityRuleRequest) GetName() string

func (*CreateEntityRuleRequest) ProtoMessage

func (*CreateEntityRuleRequest) ProtoMessage()

func (*CreateEntityRuleRequest) ProtoReflect

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

func (*CreateEntityRuleRequest) Reset

func (x *CreateEntityRuleRequest) Reset()

func (*CreateEntityRuleRequest) String

func (x *CreateEntityRuleRequest) String() string

func (*CreateEntityRuleRequest) Validate

func (m *CreateEntityRuleRequest) Validate() error

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

func (m *CreateEntityRuleRequest) ValidateAll() error

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

type CreateEntityRuleRequestMultiError

type CreateEntityRuleRequestMultiError []error

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

func (CreateEntityRuleRequestMultiError) AllErrors

func (m CreateEntityRuleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEntityRuleRequestMultiError) Error

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

type CreateEntityRuleRequestValidationError

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

CreateEntityRuleRequestValidationError is the validation error returned by CreateEntityRuleRequest.Validate if the designated constraints aren't met.

func (CreateEntityRuleRequestValidationError) Cause

Cause function returns cause value.

func (CreateEntityRuleRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateEntityRuleRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateEntityRuleRequestValidationError) Field

Field function returns field value.

func (CreateEntityRuleRequestValidationError) Key

Key function returns key value.

func (CreateEntityRuleRequestValidationError) Reason

Reason function returns reason value.

type DeleteEntityFieldReply

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

func (*DeleteEntityFieldReply) Descriptor deprecated

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

Deprecated: Use DeleteEntityFieldReply.ProtoReflect.Descriptor instead.

func (*DeleteEntityFieldReply) ProtoMessage

func (*DeleteEntityFieldReply) ProtoMessage()

func (*DeleteEntityFieldReply) ProtoReflect

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

func (*DeleteEntityFieldReply) Reset

func (x *DeleteEntityFieldReply) Reset()

func (*DeleteEntityFieldReply) String

func (x *DeleteEntityFieldReply) String() string

func (*DeleteEntityFieldReply) Validate

func (m *DeleteEntityFieldReply) Validate() error

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

func (m *DeleteEntityFieldReply) ValidateAll() error

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

type DeleteEntityFieldReplyMultiError

type DeleteEntityFieldReplyMultiError []error

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

func (DeleteEntityFieldReplyMultiError) AllErrors

func (m DeleteEntityFieldReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEntityFieldReplyMultiError) Error

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

type DeleteEntityFieldReplyValidationError

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

DeleteEntityFieldReplyValidationError is the validation error returned by DeleteEntityFieldReply.Validate if the designated constraints aren't met.

func (DeleteEntityFieldReplyValidationError) Cause

Cause function returns cause value.

func (DeleteEntityFieldReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteEntityFieldReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteEntityFieldReplyValidationError) Field

Field function returns field value.

func (DeleteEntityFieldReplyValidationError) Key

Key function returns key value.

func (DeleteEntityFieldReplyValidationError) Reason

Reason function returns reason value.

type DeleteEntityFieldRequest

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

func (*DeleteEntityFieldRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntityFieldRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityFieldRequest) GetId

func (x *DeleteEntityFieldRequest) GetId() uint32

func (*DeleteEntityFieldRequest) ProtoMessage

func (*DeleteEntityFieldRequest) ProtoMessage()

func (*DeleteEntityFieldRequest) ProtoReflect

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

func (*DeleteEntityFieldRequest) Reset

func (x *DeleteEntityFieldRequest) Reset()

func (*DeleteEntityFieldRequest) String

func (x *DeleteEntityFieldRequest) String() string

func (*DeleteEntityFieldRequest) Validate

func (m *DeleteEntityFieldRequest) Validate() error

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

func (m *DeleteEntityFieldRequest) ValidateAll() error

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

type DeleteEntityFieldRequestMultiError

type DeleteEntityFieldRequestMultiError []error

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

func (DeleteEntityFieldRequestMultiError) AllErrors

func (m DeleteEntityFieldRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEntityFieldRequestMultiError) Error

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

type DeleteEntityFieldRequestValidationError

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

DeleteEntityFieldRequestValidationError is the validation error returned by DeleteEntityFieldRequest.Validate if the designated constraints aren't met.

func (DeleteEntityFieldRequestValidationError) Cause

Cause function returns cause value.

func (DeleteEntityFieldRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteEntityFieldRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteEntityFieldRequestValidationError) Field

Field function returns field value.

func (DeleteEntityFieldRequestValidationError) Key

Key function returns key value.

func (DeleteEntityFieldRequestValidationError) Reason

Reason function returns reason value.

type DeleteEntityReply

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

func (*DeleteEntityReply) Descriptor deprecated

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

Deprecated: Use DeleteEntityReply.ProtoReflect.Descriptor instead.

func (*DeleteEntityReply) ProtoMessage

func (*DeleteEntityReply) ProtoMessage()

func (*DeleteEntityReply) ProtoReflect

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

func (*DeleteEntityReply) Reset

func (x *DeleteEntityReply) Reset()

func (*DeleteEntityReply) String

func (x *DeleteEntityReply) String() string

func (*DeleteEntityReply) Validate

func (m *DeleteEntityReply) Validate() error

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

func (m *DeleteEntityReply) ValidateAll() error

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

type DeleteEntityReplyMultiError

type DeleteEntityReplyMultiError []error

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

func (DeleteEntityReplyMultiError) AllErrors

func (m DeleteEntityReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEntityReplyMultiError) Error

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

type DeleteEntityReplyValidationError

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

DeleteEntityReplyValidationError is the validation error returned by DeleteEntityReply.Validate if the designated constraints aren't met.

func (DeleteEntityReplyValidationError) Cause

Cause function returns cause value.

func (DeleteEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteEntityReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteEntityReplyValidationError) Field

Field function returns field value.

func (DeleteEntityReplyValidationError) Key

Key function returns key value.

func (DeleteEntityReplyValidationError) Reason

Reason function returns reason value.

type DeleteEntityRequest

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

func (*DeleteEntityRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntityRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityRequest) GetId

func (x *DeleteEntityRequest) GetId() uint32

func (*DeleteEntityRequest) ProtoMessage

func (*DeleteEntityRequest) ProtoMessage()

func (*DeleteEntityRequest) ProtoReflect

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

func (*DeleteEntityRequest) Reset

func (x *DeleteEntityRequest) Reset()

func (*DeleteEntityRequest) String

func (x *DeleteEntityRequest) String() string

func (*DeleteEntityRequest) Validate

func (m *DeleteEntityRequest) Validate() error

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

func (m *DeleteEntityRequest) ValidateAll() error

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

type DeleteEntityRequestMultiError

type DeleteEntityRequestMultiError []error

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

func (DeleteEntityRequestMultiError) AllErrors

func (m DeleteEntityRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEntityRequestMultiError) Error

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

type DeleteEntityRequestValidationError

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

DeleteEntityRequestValidationError is the validation error returned by DeleteEntityRequest.Validate if the designated constraints aren't met.

func (DeleteEntityRequestValidationError) Cause

Cause function returns cause value.

func (DeleteEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteEntityRequestValidationError) Field

Field function returns field value.

func (DeleteEntityRequestValidationError) Key

Key function returns key value.

func (DeleteEntityRequestValidationError) Reason

Reason function returns reason value.

type DeleteEntityRuleReply

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

func (*DeleteEntityRuleReply) Descriptor deprecated

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

Deprecated: Use DeleteEntityRuleReply.ProtoReflect.Descriptor instead.

func (*DeleteEntityRuleReply) ProtoMessage

func (*DeleteEntityRuleReply) ProtoMessage()

func (*DeleteEntityRuleReply) ProtoReflect

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

func (*DeleteEntityRuleReply) Reset

func (x *DeleteEntityRuleReply) Reset()

func (*DeleteEntityRuleReply) String

func (x *DeleteEntityRuleReply) String() string

func (*DeleteEntityRuleReply) Validate

func (m *DeleteEntityRuleReply) Validate() error

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

func (m *DeleteEntityRuleReply) ValidateAll() error

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

type DeleteEntityRuleReplyMultiError

type DeleteEntityRuleReplyMultiError []error

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

func (DeleteEntityRuleReplyMultiError) AllErrors

func (m DeleteEntityRuleReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEntityRuleReplyMultiError) Error

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

type DeleteEntityRuleReplyValidationError

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

DeleteEntityRuleReplyValidationError is the validation error returned by DeleteEntityRuleReply.Validate if the designated constraints aren't met.

func (DeleteEntityRuleReplyValidationError) Cause

Cause function returns cause value.

func (DeleteEntityRuleReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteEntityRuleReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteEntityRuleReplyValidationError) Field

Field function returns field value.

func (DeleteEntityRuleReplyValidationError) Key

Key function returns key value.

func (DeleteEntityRuleReplyValidationError) Reason

Reason function returns reason value.

type DeleteEntityRuleRequest

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

func (*DeleteEntityRuleRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntityRuleRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityRuleRequest) GetId

func (x *DeleteEntityRuleRequest) GetId() uint32

func (*DeleteEntityRuleRequest) ProtoMessage

func (*DeleteEntityRuleRequest) ProtoMessage()

func (*DeleteEntityRuleRequest) ProtoReflect

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

func (*DeleteEntityRuleRequest) Reset

func (x *DeleteEntityRuleRequest) Reset()

func (*DeleteEntityRuleRequest) String

func (x *DeleteEntityRuleRequest) String() string

func (*DeleteEntityRuleRequest) Validate

func (m *DeleteEntityRuleRequest) Validate() error

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

func (m *DeleteEntityRuleRequest) ValidateAll() error

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

type DeleteEntityRuleRequestMultiError

type DeleteEntityRuleRequestMultiError []error

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

func (DeleteEntityRuleRequestMultiError) AllErrors

func (m DeleteEntityRuleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEntityRuleRequestMultiError) Error

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

type DeleteEntityRuleRequestValidationError

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

DeleteEntityRuleRequestValidationError is the validation error returned by DeleteEntityRuleRequest.Validate if the designated constraints aren't met.

func (DeleteEntityRuleRequestValidationError) Cause

Cause function returns cause value.

func (DeleteEntityRuleRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteEntityRuleRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteEntityRuleRequestValidationError) Field

Field function returns field value.

func (DeleteEntityRuleRequestValidationError) Key

Key function returns key value.

func (DeleteEntityRuleRequestValidationError) Reason

Reason function returns reason value.

type EntityClient

type EntityClient interface {
	// LoadEntity 载入全部系统的实体
	LoadEntity(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LoadEntityReply, error)
	// ImportEntity 载入全部系统的实体
	ImportEntity(ctx context.Context, in *ImportEntityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// ListEntity 获取实体列表
	ListEntity(ctx context.Context, in *ListEntityRequest, opts ...grpc.CallOption) (*ListEntityReply, error)
	// CreateEntity 创建实体
	CreateEntity(ctx context.Context, in *CreateEntityRequest, opts ...grpc.CallOption) (*CreateEntityReply, error)
	// UpdateEntity 更新实体
	UpdateEntity(ctx context.Context, in *UpdateEntityRequest, opts ...grpc.CallOption) (*UpdateEntityReply, error)
	// DeleteEntity 删除实体
	DeleteEntity(ctx context.Context, in *DeleteEntityRequest, opts ...grpc.CallOption) (*DeleteEntityReply, error)
	// ListEntityField 获取实体字段列表
	ListEntityField(ctx context.Context, in *ListEntityFieldRequest, opts ...grpc.CallOption) (*ListEntityFieldReply, error)
	// CreateEntityField 创建实体字段
	CreateEntityField(ctx context.Context, in *CreateEntityFieldRequest, opts ...grpc.CallOption) (*CreateEntityFieldReply, error)
	// UpdateEntityField 更新实体字段
	UpdateEntityField(ctx context.Context, in *UpdateEntityFieldRequest, opts ...grpc.CallOption) (*UpdateEntityFieldReply, error)
	// DeleteEntityField 删除实体字段
	DeleteEntityField(ctx context.Context, in *DeleteEntityFieldRequest, opts ...grpc.CallOption) (*DeleteEntityFieldReply, error)
	// ListEntityRule 获取实体规则列表
	ListEntityRule(ctx context.Context, in *ListEntityRuleRequest, opts ...grpc.CallOption) (*ListEntityRuleReply, error)
	// CreateEntityRule 创建实体规则
	CreateEntityRule(ctx context.Context, in *CreateEntityRuleRequest, opts ...grpc.CallOption) (*CreateEntityRuleReply, error)
	// UpdateEntityRule 更新实体规则
	UpdateEntityRule(ctx context.Context, in *UpdateEntityRuleRequest, opts ...grpc.CallOption) (*UpdateEntityRuleReply, error)
	// DeleteEntityRule 删除实体规则
	DeleteEntityRule(ctx context.Context, in *DeleteEntityRuleRequest, opts ...grpc.CallOption) (*DeleteEntityRuleReply, error)
}

EntityClient is the client API for Entity service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEntityClient

func NewEntityClient(cc grpc.ClientConnInterface) EntityClient

type EntityField

type EntityField struct {
	Id        uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EntityId  uint32 `protobuf:"varint,2,opt,name=entityId,proto3" json:"entityId,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Comment   string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	Index     uint32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	CreatedAt uint32 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt uint32 `protobuf:"varint,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityField) Descriptor deprecated

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

Deprecated: Use EntityField.ProtoReflect.Descriptor instead.

func (*EntityField) GetComment

func (x *EntityField) GetComment() string

func (*EntityField) GetCreatedAt

func (x *EntityField) GetCreatedAt() uint32

func (*EntityField) GetEntityId

func (x *EntityField) GetEntityId() uint32

func (*EntityField) GetId

func (x *EntityField) GetId() uint32

func (*EntityField) GetIndex

func (x *EntityField) GetIndex() uint32

func (*EntityField) GetName

func (x *EntityField) GetName() string

func (*EntityField) GetUpdatedAt

func (x *EntityField) GetUpdatedAt() uint32

func (*EntityField) ProtoMessage

func (*EntityField) ProtoMessage()

func (*EntityField) ProtoReflect

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

func (*EntityField) Reset

func (x *EntityField) Reset()

func (*EntityField) String

func (x *EntityField) String() string

func (*EntityField) Validate

func (m *EntityField) Validate() error

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

func (m *EntityField) ValidateAll() error

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

type EntityFieldMultiError

type EntityFieldMultiError []error

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

func (EntityFieldMultiError) AllErrors

func (m EntityFieldMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntityFieldMultiError) Error

func (m EntityFieldMultiError) Error() string

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

type EntityFieldValidationError

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

EntityFieldValidationError is the validation error returned by EntityField.Validate if the designated constraints aren't met.

func (EntityFieldValidationError) Cause

Cause function returns cause value.

func (EntityFieldValidationError) Error

Error satisfies the builtin error interface

func (EntityFieldValidationError) ErrorName

func (e EntityFieldValidationError) ErrorName() string

ErrorName returns error name.

func (EntityFieldValidationError) Field

Field function returns field value.

func (EntityFieldValidationError) Key

Key function returns key value.

func (EntityFieldValidationError) Reason

Reason function returns reason value.

type EntityHTTPClient

type EntityHTTPClient interface {
	CreateEntity(ctx context.Context, req *CreateEntityRequest, opts ...http.CallOption) (rsp *CreateEntityReply, err error)
	CreateEntityField(ctx context.Context, req *CreateEntityFieldRequest, opts ...http.CallOption) (rsp *CreateEntityFieldReply, err error)
	CreateEntityRule(ctx context.Context, req *CreateEntityRuleRequest, opts ...http.CallOption) (rsp *CreateEntityRuleReply, err error)
	DeleteEntity(ctx context.Context, req *DeleteEntityRequest, opts ...http.CallOption) (rsp *DeleteEntityReply, err error)
	DeleteEntityField(ctx context.Context, req *DeleteEntityFieldRequest, opts ...http.CallOption) (rsp *DeleteEntityFieldReply, err error)
	DeleteEntityRule(ctx context.Context, req *DeleteEntityRuleRequest, opts ...http.CallOption) (rsp *DeleteEntityRuleReply, err error)
	ImportEntity(ctx context.Context, req *ImportEntityRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	ListEntity(ctx context.Context, req *ListEntityRequest, opts ...http.CallOption) (rsp *ListEntityReply, err error)
	ListEntityField(ctx context.Context, req *ListEntityFieldRequest, opts ...http.CallOption) (rsp *ListEntityFieldReply, err error)
	ListEntityRule(ctx context.Context, req *ListEntityRuleRequest, opts ...http.CallOption) (rsp *ListEntityRuleReply, err error)
	LoadEntity(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *LoadEntityReply, err error)
	UpdateEntity(ctx context.Context, req *UpdateEntityRequest, opts ...http.CallOption) (rsp *UpdateEntityReply, err error)
	UpdateEntityField(ctx context.Context, req *UpdateEntityFieldRequest, opts ...http.CallOption) (rsp *UpdateEntityFieldReply, err error)
	UpdateEntityRule(ctx context.Context, req *UpdateEntityRuleRequest, opts ...http.CallOption) (rsp *UpdateEntityRuleReply, err error)
}

func NewEntityHTTPClient

func NewEntityHTTPClient(client *http.Client) EntityHTTPClient

type EntityHTTPClientImpl

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

func (*EntityHTTPClientImpl) CreateEntity

func (*EntityHTTPClientImpl) CreateEntityField

func (*EntityHTTPClientImpl) CreateEntityRule

func (*EntityHTTPClientImpl) DeleteEntity

func (*EntityHTTPClientImpl) DeleteEntityField

func (*EntityHTTPClientImpl) DeleteEntityRule

func (*EntityHTTPClientImpl) ImportEntity

func (c *EntityHTTPClientImpl) ImportEntity(ctx context.Context, in *ImportEntityRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*EntityHTTPClientImpl) ListEntity

func (*EntityHTTPClientImpl) ListEntityField

func (*EntityHTTPClientImpl) ListEntityRule

func (*EntityHTTPClientImpl) LoadEntity

func (c *EntityHTTPClientImpl) LoadEntity(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*LoadEntityReply, error)

func (*EntityHTTPClientImpl) UpdateEntity

func (*EntityHTTPClientImpl) UpdateEntityField

func (*EntityHTTPClientImpl) UpdateEntityRule

type EntityHTTPServer

type EntityHTTPServer interface {
	// CreateEntity CreateEntity 创建实体
	CreateEntity(context.Context, *CreateEntityRequest) (*CreateEntityReply, error)
	// CreateEntityField CreateEntityField 创建实体字段
	CreateEntityField(context.Context, *CreateEntityFieldRequest) (*CreateEntityFieldReply, error)
	// CreateEntityRule CreateEntityRule 创建实体规则
	CreateEntityRule(context.Context, *CreateEntityRuleRequest) (*CreateEntityRuleReply, error)
	// DeleteEntity DeleteEntity 删除实体
	DeleteEntity(context.Context, *DeleteEntityRequest) (*DeleteEntityReply, error)
	// DeleteEntityField DeleteEntityField 删除实体字段
	DeleteEntityField(context.Context, *DeleteEntityFieldRequest) (*DeleteEntityFieldReply, error)
	// DeleteEntityRule DeleteEntityRule 删除实体规则
	DeleteEntityRule(context.Context, *DeleteEntityRuleRequest) (*DeleteEntityRuleReply, error)
	// ImportEntity ImportEntity 载入全部系统的实体
	ImportEntity(context.Context, *ImportEntityRequest) (*emptypb.Empty, error)
	// ListEntity ListEntity 获取实体列表
	ListEntity(context.Context, *ListEntityRequest) (*ListEntityReply, error)
	// ListEntityField ListEntityField 获取实体字段列表
	ListEntityField(context.Context, *ListEntityFieldRequest) (*ListEntityFieldReply, error)
	// ListEntityRule ListEntityRule 获取实体规则列表
	ListEntityRule(context.Context, *ListEntityRuleRequest) (*ListEntityRuleReply, error)
	// LoadEntity LoadEntity 载入全部系统的实体
	LoadEntity(context.Context, *emptypb.Empty) (*LoadEntityReply, error)
	// UpdateEntity UpdateEntity 更新实体
	UpdateEntity(context.Context, *UpdateEntityRequest) (*UpdateEntityReply, error)
	// UpdateEntityField UpdateEntityField 更新实体字段
	UpdateEntityField(context.Context, *UpdateEntityFieldRequest) (*UpdateEntityFieldReply, error)
	// UpdateEntityRule UpdateEntityRule 更新实体规则
	UpdateEntityRule(context.Context, *UpdateEntityRuleRequest) (*UpdateEntityRuleReply, error)
}

type EntityRule

type EntityRule struct {
	Id          uint32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EntityId    uint32          `protobuf:"varint,2,opt,name=entityId,proto3" json:"entityId,omitempty"`
	Name        string          `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string          `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Expression  *ConditionGroup `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"`
	Status      bool            `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	CreatedAt   uint32          `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32          `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityRule) Descriptor deprecated

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

Deprecated: Use EntityRule.ProtoReflect.Descriptor instead.

func (*EntityRule) GetCreatedAt

func (x *EntityRule) GetCreatedAt() uint32

func (*EntityRule) GetDescription

func (x *EntityRule) GetDescription() string

func (*EntityRule) GetEntityId

func (x *EntityRule) GetEntityId() uint32

func (*EntityRule) GetExpression

func (x *EntityRule) GetExpression() *ConditionGroup

func (*EntityRule) GetId

func (x *EntityRule) GetId() uint32

func (*EntityRule) GetName

func (x *EntityRule) GetName() string

func (*EntityRule) GetStatus

func (x *EntityRule) GetStatus() bool

func (*EntityRule) GetUpdatedAt

func (x *EntityRule) GetUpdatedAt() uint32

func (*EntityRule) ProtoMessage

func (*EntityRule) ProtoMessage()

func (*EntityRule) ProtoReflect

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

func (*EntityRule) Reset

func (x *EntityRule) Reset()

func (*EntityRule) String

func (x *EntityRule) String() string

func (*EntityRule) Validate

func (m *EntityRule) Validate() error

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

func (m *EntityRule) ValidateAll() error

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

type EntityRuleMultiError

type EntityRuleMultiError []error

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

func (EntityRuleMultiError) AllErrors

func (m EntityRuleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntityRuleMultiError) Error

func (m EntityRuleMultiError) Error() string

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

type EntityRuleValidationError

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

EntityRuleValidationError is the validation error returned by EntityRule.Validate if the designated constraints aren't met.

func (EntityRuleValidationError) Cause

func (e EntityRuleValidationError) Cause() error

Cause function returns cause value.

func (EntityRuleValidationError) Error

Error satisfies the builtin error interface

func (EntityRuleValidationError) ErrorName

func (e EntityRuleValidationError) ErrorName() string

ErrorName returns error name.

func (EntityRuleValidationError) Field

Field function returns field value.

func (EntityRuleValidationError) Key

Key function returns key value.

func (EntityRuleValidationError) Reason

func (e EntityRuleValidationError) Reason() string

Reason function returns reason value.

type EntityServer

type EntityServer interface {
	// LoadEntity 载入全部系统的实体
	LoadEntity(context.Context, *emptypb.Empty) (*LoadEntityReply, error)
	// ImportEntity 载入全部系统的实体
	ImportEntity(context.Context, *ImportEntityRequest) (*emptypb.Empty, error)
	// ListEntity 获取实体列表
	ListEntity(context.Context, *ListEntityRequest) (*ListEntityReply, error)
	// CreateEntity 创建实体
	CreateEntity(context.Context, *CreateEntityRequest) (*CreateEntityReply, error)
	// UpdateEntity 更新实体
	UpdateEntity(context.Context, *UpdateEntityRequest) (*UpdateEntityReply, error)
	// DeleteEntity 删除实体
	DeleteEntity(context.Context, *DeleteEntityRequest) (*DeleteEntityReply, error)
	// ListEntityField 获取实体字段列表
	ListEntityField(context.Context, *ListEntityFieldRequest) (*ListEntityFieldReply, error)
	// CreateEntityField 创建实体字段
	CreateEntityField(context.Context, *CreateEntityFieldRequest) (*CreateEntityFieldReply, error)
	// UpdateEntityField 更新实体字段
	UpdateEntityField(context.Context, *UpdateEntityFieldRequest) (*UpdateEntityFieldReply, error)
	// DeleteEntityField 删除实体字段
	DeleteEntityField(context.Context, *DeleteEntityFieldRequest) (*DeleteEntityFieldReply, error)
	// ListEntityRule 获取实体规则列表
	ListEntityRule(context.Context, *ListEntityRuleRequest) (*ListEntityRuleReply, error)
	// CreateEntityRule 创建实体规则
	CreateEntityRule(context.Context, *CreateEntityRuleRequest) (*CreateEntityRuleReply, error)
	// UpdateEntityRule 更新实体规则
	UpdateEntityRule(context.Context, *UpdateEntityRuleRequest) (*UpdateEntityRuleReply, error)
	// DeleteEntityRule 删除实体规则
	DeleteEntityRule(context.Context, *DeleteEntityRuleRequest) (*DeleteEntityRuleReply, error)
	// contains filtered or unexported methods
}

EntityServer is the server API for Entity service. All implementations must embed UnimplementedEntityServer for forward compatibility

type ImportEntityRequest

type ImportEntityRequest struct {
	AppId uint32                        `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	List  []*ImportEntityRequest_Entity `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportEntityRequest) Descriptor deprecated

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

Deprecated: Use ImportEntityRequest.ProtoReflect.Descriptor instead.

func (*ImportEntityRequest) GetAppId

func (x *ImportEntityRequest) GetAppId() uint32

func (*ImportEntityRequest) GetList

func (*ImportEntityRequest) ProtoMessage

func (*ImportEntityRequest) ProtoMessage()

func (*ImportEntityRequest) ProtoReflect

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

func (*ImportEntityRequest) Reset

func (x *ImportEntityRequest) Reset()

func (*ImportEntityRequest) String

func (x *ImportEntityRequest) String() string

func (*ImportEntityRequest) Validate

func (m *ImportEntityRequest) Validate() error

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

func (m *ImportEntityRequest) ValidateAll() error

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

type ImportEntityRequestMultiError

type ImportEntityRequestMultiError []error

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

func (ImportEntityRequestMultiError) AllErrors

func (m ImportEntityRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImportEntityRequestMultiError) Error

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

type ImportEntityRequestValidationError

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

ImportEntityRequestValidationError is the validation error returned by ImportEntityRequest.Validate if the designated constraints aren't met.

func (ImportEntityRequestValidationError) Cause

Cause function returns cause value.

func (ImportEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (ImportEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (ImportEntityRequestValidationError) Field

Field function returns field value.

func (ImportEntityRequestValidationError) Key

Key function returns key value.

func (ImportEntityRequestValidationError) Reason

Reason function returns reason value.

type ImportEntityRequest_Entity

type ImportEntityRequest_Entity struct {
	Database string                             `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Name     string                             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Comment  string                             `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	Fields   []*ImportEntityRequest_EntityField `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportEntityRequest_Entity) Descriptor deprecated

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

Deprecated: Use ImportEntityRequest_Entity.ProtoReflect.Descriptor instead.

func (*ImportEntityRequest_Entity) GetComment

func (x *ImportEntityRequest_Entity) GetComment() string

func (*ImportEntityRequest_Entity) GetDatabase

func (x *ImportEntityRequest_Entity) GetDatabase() string

func (*ImportEntityRequest_Entity) GetFields

func (*ImportEntityRequest_Entity) GetName

func (x *ImportEntityRequest_Entity) GetName() string

func (*ImportEntityRequest_Entity) ProtoMessage

func (*ImportEntityRequest_Entity) ProtoMessage()

func (*ImportEntityRequest_Entity) ProtoReflect

func (*ImportEntityRequest_Entity) Reset

func (x *ImportEntityRequest_Entity) Reset()

func (*ImportEntityRequest_Entity) String

func (x *ImportEntityRequest_Entity) String() string

func (*ImportEntityRequest_Entity) Validate

func (m *ImportEntityRequest_Entity) Validate() error

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

func (m *ImportEntityRequest_Entity) ValidateAll() error

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

type ImportEntityRequest_EntityField

type ImportEntityRequest_EntityField struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportEntityRequest_EntityField) Descriptor deprecated

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

Deprecated: Use ImportEntityRequest_EntityField.ProtoReflect.Descriptor instead.

func (*ImportEntityRequest_EntityField) GetComment

func (x *ImportEntityRequest_EntityField) GetComment() string

func (*ImportEntityRequest_EntityField) GetName

func (*ImportEntityRequest_EntityField) ProtoMessage

func (*ImportEntityRequest_EntityField) ProtoMessage()

func (*ImportEntityRequest_EntityField) ProtoReflect

func (*ImportEntityRequest_EntityField) Reset

func (*ImportEntityRequest_EntityField) String

func (*ImportEntityRequest_EntityField) Validate

func (m *ImportEntityRequest_EntityField) Validate() error

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

func (m *ImportEntityRequest_EntityField) ValidateAll() error

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

type ImportEntityRequest_EntityFieldMultiError

type ImportEntityRequest_EntityFieldMultiError []error

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

func (ImportEntityRequest_EntityFieldMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ImportEntityRequest_EntityFieldMultiError) Error

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

type ImportEntityRequest_EntityFieldValidationError

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

ImportEntityRequest_EntityFieldValidationError is the validation error returned by ImportEntityRequest_EntityField.Validate if the designated constraints aren't met.

func (ImportEntityRequest_EntityFieldValidationError) Cause

Cause function returns cause value.

func (ImportEntityRequest_EntityFieldValidationError) Error

Error satisfies the builtin error interface

func (ImportEntityRequest_EntityFieldValidationError) ErrorName

ErrorName returns error name.

func (ImportEntityRequest_EntityFieldValidationError) Field

Field function returns field value.

func (ImportEntityRequest_EntityFieldValidationError) Key

Key function returns key value.

func (ImportEntityRequest_EntityFieldValidationError) Reason

Reason function returns reason value.

type ImportEntityRequest_EntityMultiError

type ImportEntityRequest_EntityMultiError []error

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

func (ImportEntityRequest_EntityMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ImportEntityRequest_EntityMultiError) Error

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

type ImportEntityRequest_EntityValidationError

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

ImportEntityRequest_EntityValidationError is the validation error returned by ImportEntityRequest_Entity.Validate if the designated constraints aren't met.

func (ImportEntityRequest_EntityValidationError) Cause

Cause function returns cause value.

func (ImportEntityRequest_EntityValidationError) Error

Error satisfies the builtin error interface

func (ImportEntityRequest_EntityValidationError) ErrorName

ErrorName returns error name.

func (ImportEntityRequest_EntityValidationError) Field

Field function returns field value.

func (ImportEntityRequest_EntityValidationError) Key

Key function returns key value.

func (ImportEntityRequest_EntityValidationError) Reason

Reason function returns reason value.

type ListEntityFieldReply

type ListEntityFieldReply struct {
	Total uint32         `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*EntityField `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntityFieldReply) Descriptor deprecated

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

Deprecated: Use ListEntityFieldReply.ProtoReflect.Descriptor instead.

func (*ListEntityFieldReply) GetList

func (x *ListEntityFieldReply) GetList() []*EntityField

func (*ListEntityFieldReply) GetTotal

func (x *ListEntityFieldReply) GetTotal() uint32

func (*ListEntityFieldReply) ProtoMessage

func (*ListEntityFieldReply) ProtoMessage()

func (*ListEntityFieldReply) ProtoReflect

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

func (*ListEntityFieldReply) Reset

func (x *ListEntityFieldReply) Reset()

func (*ListEntityFieldReply) String

func (x *ListEntityFieldReply) String() string

func (*ListEntityFieldReply) Validate

func (m *ListEntityFieldReply) Validate() error

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

func (m *ListEntityFieldReply) ValidateAll() error

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

type ListEntityFieldReplyMultiError

type ListEntityFieldReplyMultiError []error

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

func (ListEntityFieldReplyMultiError) AllErrors

func (m ListEntityFieldReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEntityFieldReplyMultiError) Error

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

type ListEntityFieldReplyValidationError

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

ListEntityFieldReplyValidationError is the validation error returned by ListEntityFieldReply.Validate if the designated constraints aren't met.

func (ListEntityFieldReplyValidationError) Cause

Cause function returns cause value.

func (ListEntityFieldReplyValidationError) Error

Error satisfies the builtin error interface

func (ListEntityFieldReplyValidationError) ErrorName

ErrorName returns error name.

func (ListEntityFieldReplyValidationError) Field

Field function returns field value.

func (ListEntityFieldReplyValidationError) Key

Key function returns key value.

func (ListEntityFieldReplyValidationError) Reason

Reason function returns reason value.

type ListEntityFieldRequest

type ListEntityFieldRequest struct {
	EntityId uint32  `protobuf:"varint,1,opt,name=entityId,proto3" json:"entityId,omitempty"`
	Name     *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntityFieldRequest) Descriptor deprecated

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

Deprecated: Use ListEntityFieldRequest.ProtoReflect.Descriptor instead.

func (*ListEntityFieldRequest) GetEntityId

func (x *ListEntityFieldRequest) GetEntityId() uint32

func (*ListEntityFieldRequest) GetName

func (x *ListEntityFieldRequest) GetName() string

func (*ListEntityFieldRequest) ProtoMessage

func (*ListEntityFieldRequest) ProtoMessage()

func (*ListEntityFieldRequest) ProtoReflect

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

func (*ListEntityFieldRequest) Reset

func (x *ListEntityFieldRequest) Reset()

func (*ListEntityFieldRequest) String

func (x *ListEntityFieldRequest) String() string

func (*ListEntityFieldRequest) Validate

func (m *ListEntityFieldRequest) Validate() error

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

func (m *ListEntityFieldRequest) ValidateAll() error

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

type ListEntityFieldRequestMultiError

type ListEntityFieldRequestMultiError []error

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

func (ListEntityFieldRequestMultiError) AllErrors

func (m ListEntityFieldRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEntityFieldRequestMultiError) Error

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

type ListEntityFieldRequestValidationError

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

ListEntityFieldRequestValidationError is the validation error returned by ListEntityFieldRequest.Validate if the designated constraints aren't met.

func (ListEntityFieldRequestValidationError) Cause

Cause function returns cause value.

func (ListEntityFieldRequestValidationError) Error

Error satisfies the builtin error interface

func (ListEntityFieldRequestValidationError) ErrorName

ErrorName returns error name.

func (ListEntityFieldRequestValidationError) Field

Field function returns field value.

func (ListEntityFieldRequestValidationError) Key

Key function returns key value.

func (ListEntityFieldRequestValidationError) Reason

Reason function returns reason value.

type ListEntityReply

type ListEntityReply struct {
	Total uint32                    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListEntityReply_Entity `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntityReply) Descriptor deprecated

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

Deprecated: Use ListEntityReply.ProtoReflect.Descriptor instead.

func (*ListEntityReply) GetList

func (x *ListEntityReply) GetList() []*ListEntityReply_Entity

func (*ListEntityReply) GetTotal

func (x *ListEntityReply) GetTotal() uint32

func (*ListEntityReply) ProtoMessage

func (*ListEntityReply) ProtoMessage()

func (*ListEntityReply) ProtoReflect

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

func (*ListEntityReply) Reset

func (x *ListEntityReply) Reset()

func (*ListEntityReply) String

func (x *ListEntityReply) String() string

func (*ListEntityReply) Validate

func (m *ListEntityReply) Validate() error

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

func (m *ListEntityReply) ValidateAll() error

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

type ListEntityReplyMultiError

type ListEntityReplyMultiError []error

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

func (ListEntityReplyMultiError) AllErrors

func (m ListEntityReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEntityReplyMultiError) Error

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

type ListEntityReplyValidationError

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

ListEntityReplyValidationError is the validation error returned by ListEntityReply.Validate if the designated constraints aren't met.

func (ListEntityReplyValidationError) Cause

Cause function returns cause value.

func (ListEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (ListEntityReplyValidationError) ErrorName

func (e ListEntityReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListEntityReplyValidationError) Field

Field function returns field value.

func (ListEntityReplyValidationError) Key

Key function returns key value.

func (ListEntityReplyValidationError) Reason

Reason function returns reason value.

type ListEntityReply_Entity

type ListEntityReply_Entity struct {
	Id        uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AppId     uint32 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
	Database  string `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"`
	Name      string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Comment   string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
	CreatedAt uint32 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt uint32 `protobuf:"varint,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntityReply_Entity) Descriptor deprecated

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

Deprecated: Use ListEntityReply_Entity.ProtoReflect.Descriptor instead.

func (*ListEntityReply_Entity) GetAppId

func (x *ListEntityReply_Entity) GetAppId() uint32

func (*ListEntityReply_Entity) GetComment

func (x *ListEntityReply_Entity) GetComment() string

func (*ListEntityReply_Entity) GetCreatedAt

func (x *ListEntityReply_Entity) GetCreatedAt() uint32

func (*ListEntityReply_Entity) GetDatabase

func (x *ListEntityReply_Entity) GetDatabase() string

func (*ListEntityReply_Entity) GetId

func (x *ListEntityReply_Entity) GetId() uint32

func (*ListEntityReply_Entity) GetName

func (x *ListEntityReply_Entity) GetName() string

func (*ListEntityReply_Entity) GetUpdatedAt

func (x *ListEntityReply_Entity) GetUpdatedAt() uint32

func (*ListEntityReply_Entity) ProtoMessage

func (*ListEntityReply_Entity) ProtoMessage()

func (*ListEntityReply_Entity) ProtoReflect

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

func (*ListEntityReply_Entity) Reset

func (x *ListEntityReply_Entity) Reset()

func (*ListEntityReply_Entity) String

func (x *ListEntityReply_Entity) String() string

func (*ListEntityReply_Entity) Validate

func (m *ListEntityReply_Entity) Validate() error

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

func (m *ListEntityReply_Entity) ValidateAll() error

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

type ListEntityReply_EntityMultiError

type ListEntityReply_EntityMultiError []error

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

func (ListEntityReply_EntityMultiError) AllErrors

func (m ListEntityReply_EntityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEntityReply_EntityMultiError) Error

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

type ListEntityReply_EntityValidationError

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

ListEntityReply_EntityValidationError is the validation error returned by ListEntityReply_Entity.Validate if the designated constraints aren't met.

func (ListEntityReply_EntityValidationError) Cause

Cause function returns cause value.

func (ListEntityReply_EntityValidationError) Error

Error satisfies the builtin error interface

func (ListEntityReply_EntityValidationError) ErrorName

ErrorName returns error name.

func (ListEntityReply_EntityValidationError) Field

Field function returns field value.

func (ListEntityReply_EntityValidationError) Key

Key function returns key value.

func (ListEntityReply_EntityValidationError) Reason

Reason function returns reason value.

type ListEntityRequest

type ListEntityRequest struct {
	Page     uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	AppId    uint32  `protobuf:"varint,3,opt,name=appId,proto3" json:"appId,omitempty"`
	Order    *string `protobuf:"bytes,4,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy  *string `protobuf:"bytes,5,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	Name     *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Database *string `protobuf:"bytes,7,opt,name=database,proto3,oneof" json:"database,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntityRequest) Descriptor deprecated

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

Deprecated: Use ListEntityRequest.ProtoReflect.Descriptor instead.

func (*ListEntityRequest) GetAppId

func (x *ListEntityRequest) GetAppId() uint32

func (*ListEntityRequest) GetDatabase

func (x *ListEntityRequest) GetDatabase() string

func (*ListEntityRequest) GetName

func (x *ListEntityRequest) GetName() string

func (*ListEntityRequest) GetOrder

func (x *ListEntityRequest) GetOrder() string

func (*ListEntityRequest) GetOrderBy

func (x *ListEntityRequest) GetOrderBy() string

func (*ListEntityRequest) GetPage

func (x *ListEntityRequest) GetPage() uint32

func (*ListEntityRequest) GetPageSize

func (x *ListEntityRequest) GetPageSize() uint32

func (*ListEntityRequest) ProtoMessage

func (*ListEntityRequest) ProtoMessage()

func (*ListEntityRequest) ProtoReflect

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

func (*ListEntityRequest) Reset

func (x *ListEntityRequest) Reset()

func (*ListEntityRequest) String

func (x *ListEntityRequest) String() string

func (*ListEntityRequest) Validate

func (m *ListEntityRequest) Validate() error

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

func (m *ListEntityRequest) ValidateAll() error

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

type ListEntityRequestMultiError

type ListEntityRequestMultiError []error

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

func (ListEntityRequestMultiError) AllErrors

func (m ListEntityRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEntityRequestMultiError) Error

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

type ListEntityRequestValidationError

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

ListEntityRequestValidationError is the validation error returned by ListEntityRequest.Validate if the designated constraints aren't met.

func (ListEntityRequestValidationError) Cause

Cause function returns cause value.

func (ListEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (ListEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (ListEntityRequestValidationError) Field

Field function returns field value.

func (ListEntityRequestValidationError) Key

Key function returns key value.

func (ListEntityRequestValidationError) Reason

Reason function returns reason value.

type ListEntityRuleReply

type ListEntityRuleReply struct {
	Total uint32        `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*EntityRule `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntityRuleReply) Descriptor deprecated

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

Deprecated: Use ListEntityRuleReply.ProtoReflect.Descriptor instead.

func (*ListEntityRuleReply) GetList

func (x *ListEntityRuleReply) GetList() []*EntityRule

func (*ListEntityRuleReply) GetTotal

func (x *ListEntityRuleReply) GetTotal() uint32

func (*ListEntityRuleReply) ProtoMessage

func (*ListEntityRuleReply) ProtoMessage()

func (*ListEntityRuleReply) ProtoReflect

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

func (*ListEntityRuleReply) Reset

func (x *ListEntityRuleReply) Reset()

func (*ListEntityRuleReply) String

func (x *ListEntityRuleReply) String() string

func (*ListEntityRuleReply) Validate

func (m *ListEntityRuleReply) Validate() error

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

func (m *ListEntityRuleReply) ValidateAll() error

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

type ListEntityRuleReplyMultiError

type ListEntityRuleReplyMultiError []error

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

func (ListEntityRuleReplyMultiError) AllErrors

func (m ListEntityRuleReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEntityRuleReplyMultiError) Error

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

type ListEntityRuleReplyValidationError

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

ListEntityRuleReplyValidationError is the validation error returned by ListEntityRuleReply.Validate if the designated constraints aren't met.

func (ListEntityRuleReplyValidationError) Cause

Cause function returns cause value.

func (ListEntityRuleReplyValidationError) Error

Error satisfies the builtin error interface

func (ListEntityRuleReplyValidationError) ErrorName

ErrorName returns error name.

func (ListEntityRuleReplyValidationError) Field

Field function returns field value.

func (ListEntityRuleReplyValidationError) Key

Key function returns key value.

func (ListEntityRuleReplyValidationError) Reason

Reason function returns reason value.

type ListEntityRuleRequest

type ListEntityRuleRequest struct {
	Page     uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order    *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy  *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	EntityId *uint32 `protobuf:"varint,5,opt,name=entityId,proto3,oneof" json:"entityId,omitempty"`
	Name     *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Status   *bool   `protobuf:"varint,7,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntityRuleRequest) Descriptor deprecated

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

Deprecated: Use ListEntityRuleRequest.ProtoReflect.Descriptor instead.

func (*ListEntityRuleRequest) GetEntityId

func (x *ListEntityRuleRequest) GetEntityId() uint32

func (*ListEntityRuleRequest) GetName

func (x *ListEntityRuleRequest) GetName() string

func (*ListEntityRuleRequest) GetOrder

func (x *ListEntityRuleRequest) GetOrder() string

func (*ListEntityRuleRequest) GetOrderBy

func (x *ListEntityRuleRequest) GetOrderBy() string

func (*ListEntityRuleRequest) GetPage

func (x *ListEntityRuleRequest) GetPage() uint32

func (*ListEntityRuleRequest) GetPageSize

func (x *ListEntityRuleRequest) GetPageSize() uint32

func (*ListEntityRuleRequest) GetStatus

func (x *ListEntityRuleRequest) GetStatus() bool

func (*ListEntityRuleRequest) ProtoMessage

func (*ListEntityRuleRequest) ProtoMessage()

func (*ListEntityRuleRequest) ProtoReflect

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

func (*ListEntityRuleRequest) Reset

func (x *ListEntityRuleRequest) Reset()

func (*ListEntityRuleRequest) String

func (x *ListEntityRuleRequest) String() string

func (*ListEntityRuleRequest) Validate

func (m *ListEntityRuleRequest) Validate() error

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

func (m *ListEntityRuleRequest) ValidateAll() error

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

type ListEntityRuleRequestMultiError

type ListEntityRuleRequestMultiError []error

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

func (ListEntityRuleRequestMultiError) AllErrors

func (m ListEntityRuleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEntityRuleRequestMultiError) Error

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

type ListEntityRuleRequestValidationError

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

ListEntityRuleRequestValidationError is the validation error returned by ListEntityRuleRequest.Validate if the designated constraints aren't met.

func (ListEntityRuleRequestValidationError) Cause

Cause function returns cause value.

func (ListEntityRuleRequestValidationError) Error

Error satisfies the builtin error interface

func (ListEntityRuleRequestValidationError) ErrorName

ErrorName returns error name.

func (ListEntityRuleRequestValidationError) Field

Field function returns field value.

func (ListEntityRuleRequestValidationError) Key

Key function returns key value.

func (ListEntityRuleRequestValidationError) Reason

Reason function returns reason value.

type LoadEntityReply

type LoadEntityReply struct {
	Total uint32                    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*LoadEntityReply_Entity `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadEntityReply) Descriptor deprecated

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

Deprecated: Use LoadEntityReply.ProtoReflect.Descriptor instead.

func (*LoadEntityReply) GetList

func (x *LoadEntityReply) GetList() []*LoadEntityReply_Entity

func (*LoadEntityReply) GetTotal

func (x *LoadEntityReply) GetTotal() uint32

func (*LoadEntityReply) ProtoMessage

func (*LoadEntityReply) ProtoMessage()

func (*LoadEntityReply) ProtoReflect

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

func (*LoadEntityReply) Reset

func (x *LoadEntityReply) Reset()

func (*LoadEntityReply) String

func (x *LoadEntityReply) String() string

func (*LoadEntityReply) Validate

func (m *LoadEntityReply) Validate() error

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

func (m *LoadEntityReply) ValidateAll() error

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

type LoadEntityReplyMultiError

type LoadEntityReplyMultiError []error

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

func (LoadEntityReplyMultiError) AllErrors

func (m LoadEntityReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadEntityReplyMultiError) Error

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

type LoadEntityReplyValidationError

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

LoadEntityReplyValidationError is the validation error returned by LoadEntityReply.Validate if the designated constraints aren't met.

func (LoadEntityReplyValidationError) Cause

Cause function returns cause value.

func (LoadEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (LoadEntityReplyValidationError) ErrorName

func (e LoadEntityReplyValidationError) ErrorName() string

ErrorName returns error name.

func (LoadEntityReplyValidationError) Field

Field function returns field value.

func (LoadEntityReplyValidationError) Key

Key function returns key value.

func (LoadEntityReplyValidationError) Reason

Reason function returns reason value.

type LoadEntityReply_Entity

type LoadEntityReply_Entity struct {
	Database string                         `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Name     string                         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Comment  string                         `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	Fields   []*LoadEntityReply_EntityField `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadEntityReply_Entity) Descriptor deprecated

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

Deprecated: Use LoadEntityReply_Entity.ProtoReflect.Descriptor instead.

func (*LoadEntityReply_Entity) GetComment

func (x *LoadEntityReply_Entity) GetComment() string

func (*LoadEntityReply_Entity) GetDatabase

func (x *LoadEntityReply_Entity) GetDatabase() string

func (*LoadEntityReply_Entity) GetFields

func (*LoadEntityReply_Entity) GetName

func (x *LoadEntityReply_Entity) GetName() string

func (*LoadEntityReply_Entity) ProtoMessage

func (*LoadEntityReply_Entity) ProtoMessage()

func (*LoadEntityReply_Entity) ProtoReflect

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

func (*LoadEntityReply_Entity) Reset

func (x *LoadEntityReply_Entity) Reset()

func (*LoadEntityReply_Entity) String

func (x *LoadEntityReply_Entity) String() string

func (*LoadEntityReply_Entity) Validate

func (m *LoadEntityReply_Entity) Validate() error

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

func (m *LoadEntityReply_Entity) ValidateAll() error

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

type LoadEntityReply_EntityField

type LoadEntityReply_EntityField struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadEntityReply_EntityField) Descriptor deprecated

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

Deprecated: Use LoadEntityReply_EntityField.ProtoReflect.Descriptor instead.

func (*LoadEntityReply_EntityField) GetComment

func (x *LoadEntityReply_EntityField) GetComment() string

func (*LoadEntityReply_EntityField) GetName

func (x *LoadEntityReply_EntityField) GetName() string

func (*LoadEntityReply_EntityField) ProtoMessage

func (*LoadEntityReply_EntityField) ProtoMessage()

func (*LoadEntityReply_EntityField) ProtoReflect

func (*LoadEntityReply_EntityField) Reset

func (x *LoadEntityReply_EntityField) Reset()

func (*LoadEntityReply_EntityField) String

func (x *LoadEntityReply_EntityField) String() string

func (*LoadEntityReply_EntityField) Validate

func (m *LoadEntityReply_EntityField) Validate() error

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

func (m *LoadEntityReply_EntityField) ValidateAll() error

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

type LoadEntityReply_EntityFieldMultiError

type LoadEntityReply_EntityFieldMultiError []error

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

func (LoadEntityReply_EntityFieldMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LoadEntityReply_EntityFieldMultiError) Error

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

type LoadEntityReply_EntityFieldValidationError

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

LoadEntityReply_EntityFieldValidationError is the validation error returned by LoadEntityReply_EntityField.Validate if the designated constraints aren't met.

func (LoadEntityReply_EntityFieldValidationError) Cause

Cause function returns cause value.

func (LoadEntityReply_EntityFieldValidationError) Error

Error satisfies the builtin error interface

func (LoadEntityReply_EntityFieldValidationError) ErrorName

ErrorName returns error name.

func (LoadEntityReply_EntityFieldValidationError) Field

Field function returns field value.

func (LoadEntityReply_EntityFieldValidationError) Key

Key function returns key value.

func (LoadEntityReply_EntityFieldValidationError) Reason

Reason function returns reason value.

type LoadEntityReply_EntityMultiError

type LoadEntityReply_EntityMultiError []error

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

func (LoadEntityReply_EntityMultiError) AllErrors

func (m LoadEntityReply_EntityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadEntityReply_EntityMultiError) Error

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

type LoadEntityReply_EntityValidationError

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

LoadEntityReply_EntityValidationError is the validation error returned by LoadEntityReply_Entity.Validate if the designated constraints aren't met.

func (LoadEntityReply_EntityValidationError) Cause

Cause function returns cause value.

func (LoadEntityReply_EntityValidationError) Error

Error satisfies the builtin error interface

func (LoadEntityReply_EntityValidationError) ErrorName

ErrorName returns error name.

func (LoadEntityReply_EntityValidationError) Field

Field function returns field value.

func (LoadEntityReply_EntityValidationError) Key

Key function returns key value.

func (LoadEntityReply_EntityValidationError) Reason

Reason function returns reason value.

type UnimplementedEntityServer

type UnimplementedEntityServer struct{}

UnimplementedEntityServer must be embedded to have forward compatible implementations.

func (UnimplementedEntityServer) CreateEntity

func (UnimplementedEntityServer) CreateEntityField

func (UnimplementedEntityServer) CreateEntityRule

func (UnimplementedEntityServer) DeleteEntity

func (UnimplementedEntityServer) DeleteEntityField

func (UnimplementedEntityServer) DeleteEntityRule

func (UnimplementedEntityServer) ImportEntity

func (UnimplementedEntityServer) ListEntity

func (UnimplementedEntityServer) ListEntityField

func (UnimplementedEntityServer) ListEntityRule

func (UnimplementedEntityServer) LoadEntity

func (UnimplementedEntityServer) UpdateEntity

func (UnimplementedEntityServer) UpdateEntityField

func (UnimplementedEntityServer) UpdateEntityRule

type UnsafeEntityServer

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

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

type UpdateEntityFieldReply

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

func (*UpdateEntityFieldReply) Descriptor deprecated

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

Deprecated: Use UpdateEntityFieldReply.ProtoReflect.Descriptor instead.

func (*UpdateEntityFieldReply) ProtoMessage

func (*UpdateEntityFieldReply) ProtoMessage()

func (*UpdateEntityFieldReply) ProtoReflect

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

func (*UpdateEntityFieldReply) Reset

func (x *UpdateEntityFieldReply) Reset()

func (*UpdateEntityFieldReply) String

func (x *UpdateEntityFieldReply) String() string

func (*UpdateEntityFieldReply) Validate

func (m *UpdateEntityFieldReply) Validate() error

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

func (m *UpdateEntityFieldReply) ValidateAll() error

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

type UpdateEntityFieldReplyMultiError

type UpdateEntityFieldReplyMultiError []error

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

func (UpdateEntityFieldReplyMultiError) AllErrors

func (m UpdateEntityFieldReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEntityFieldReplyMultiError) Error

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

type UpdateEntityFieldReplyValidationError

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

UpdateEntityFieldReplyValidationError is the validation error returned by UpdateEntityFieldReply.Validate if the designated constraints aren't met.

func (UpdateEntityFieldReplyValidationError) Cause

Cause function returns cause value.

func (UpdateEntityFieldReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateEntityFieldReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateEntityFieldReplyValidationError) Field

Field function returns field value.

func (UpdateEntityFieldReplyValidationError) Key

Key function returns key value.

func (UpdateEntityFieldReplyValidationError) Reason

Reason function returns reason value.

type UpdateEntityFieldRequest

type UpdateEntityFieldRequest struct {
	Id       uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EntityId *uint32 `protobuf:"varint,2,opt,name=entityId,proto3,oneof" json:"entityId,omitempty"`
	Name     *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Comment  *string `protobuf:"bytes,4,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	Index    *uint32 `protobuf:"varint,5,opt,name=index,proto3,oneof" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEntityFieldRequest) Descriptor deprecated

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

Deprecated: Use UpdateEntityFieldRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntityFieldRequest) GetComment

func (x *UpdateEntityFieldRequest) GetComment() string

func (*UpdateEntityFieldRequest) GetEntityId

func (x *UpdateEntityFieldRequest) GetEntityId() uint32

func (*UpdateEntityFieldRequest) GetId

func (x *UpdateEntityFieldRequest) GetId() uint32

func (*UpdateEntityFieldRequest) GetIndex

func (x *UpdateEntityFieldRequest) GetIndex() uint32

func (*UpdateEntityFieldRequest) GetName

func (x *UpdateEntityFieldRequest) GetName() string

func (*UpdateEntityFieldRequest) ProtoMessage

func (*UpdateEntityFieldRequest) ProtoMessage()

func (*UpdateEntityFieldRequest) ProtoReflect

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

func (*UpdateEntityFieldRequest) Reset

func (x *UpdateEntityFieldRequest) Reset()

func (*UpdateEntityFieldRequest) String

func (x *UpdateEntityFieldRequest) String() string

func (*UpdateEntityFieldRequest) Validate

func (m *UpdateEntityFieldRequest) Validate() error

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

func (m *UpdateEntityFieldRequest) ValidateAll() error

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

type UpdateEntityFieldRequestMultiError

type UpdateEntityFieldRequestMultiError []error

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

func (UpdateEntityFieldRequestMultiError) AllErrors

func (m UpdateEntityFieldRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEntityFieldRequestMultiError) Error

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

type UpdateEntityFieldRequestValidationError

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

UpdateEntityFieldRequestValidationError is the validation error returned by UpdateEntityFieldRequest.Validate if the designated constraints aren't met.

func (UpdateEntityFieldRequestValidationError) Cause

Cause function returns cause value.

func (UpdateEntityFieldRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEntityFieldRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEntityFieldRequestValidationError) Field

Field function returns field value.

func (UpdateEntityFieldRequestValidationError) Key

Key function returns key value.

func (UpdateEntityFieldRequestValidationError) Reason

Reason function returns reason value.

type UpdateEntityReply

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

func (*UpdateEntityReply) Descriptor deprecated

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

Deprecated: Use UpdateEntityReply.ProtoReflect.Descriptor instead.

func (*UpdateEntityReply) ProtoMessage

func (*UpdateEntityReply) ProtoMessage()

func (*UpdateEntityReply) ProtoReflect

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

func (*UpdateEntityReply) Reset

func (x *UpdateEntityReply) Reset()

func (*UpdateEntityReply) String

func (x *UpdateEntityReply) String() string

func (*UpdateEntityReply) Validate

func (m *UpdateEntityReply) Validate() error

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

func (m *UpdateEntityReply) ValidateAll() error

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

type UpdateEntityReplyMultiError

type UpdateEntityReplyMultiError []error

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

func (UpdateEntityReplyMultiError) AllErrors

func (m UpdateEntityReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEntityReplyMultiError) Error

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

type UpdateEntityReplyValidationError

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

UpdateEntityReplyValidationError is the validation error returned by UpdateEntityReply.Validate if the designated constraints aren't met.

func (UpdateEntityReplyValidationError) Cause

Cause function returns cause value.

func (UpdateEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateEntityReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateEntityReplyValidationError) Field

Field function returns field value.

func (UpdateEntityReplyValidationError) Key

Key function returns key value.

func (UpdateEntityReplyValidationError) Reason

Reason function returns reason value.

type UpdateEntityRequest

type UpdateEntityRequest struct {
	Id       uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Database *string `protobuf:"bytes,2,opt,name=database,proto3,oneof" json:"database,omitempty"`
	Name     *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Comment  *string `protobuf:"bytes,4,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEntityRequest) Descriptor deprecated

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

Deprecated: Use UpdateEntityRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntityRequest) GetComment

func (x *UpdateEntityRequest) GetComment() string

func (*UpdateEntityRequest) GetDatabase

func (x *UpdateEntityRequest) GetDatabase() string

func (*UpdateEntityRequest) GetId

func (x *UpdateEntityRequest) GetId() uint32

func (*UpdateEntityRequest) GetName

func (x *UpdateEntityRequest) GetName() string

func (*UpdateEntityRequest) ProtoMessage

func (*UpdateEntityRequest) ProtoMessage()

func (*UpdateEntityRequest) ProtoReflect

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

func (*UpdateEntityRequest) Reset

func (x *UpdateEntityRequest) Reset()

func (*UpdateEntityRequest) String

func (x *UpdateEntityRequest) String() string

func (*UpdateEntityRequest) Validate

func (m *UpdateEntityRequest) Validate() error

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

func (m *UpdateEntityRequest) ValidateAll() error

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

type UpdateEntityRequestMultiError

type UpdateEntityRequestMultiError []error

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

func (UpdateEntityRequestMultiError) AllErrors

func (m UpdateEntityRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEntityRequestMultiError) Error

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

type UpdateEntityRequestValidationError

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

UpdateEntityRequestValidationError is the validation error returned by UpdateEntityRequest.Validate if the designated constraints aren't met.

func (UpdateEntityRequestValidationError) Cause

Cause function returns cause value.

func (UpdateEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEntityRequestValidationError) Field

Field function returns field value.

func (UpdateEntityRequestValidationError) Key

Key function returns key value.

func (UpdateEntityRequestValidationError) Reason

Reason function returns reason value.

type UpdateEntityRuleReply

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

func (*UpdateEntityRuleReply) Descriptor deprecated

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

Deprecated: Use UpdateEntityRuleReply.ProtoReflect.Descriptor instead.

func (*UpdateEntityRuleReply) ProtoMessage

func (*UpdateEntityRuleReply) ProtoMessage()

func (*UpdateEntityRuleReply) ProtoReflect

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

func (*UpdateEntityRuleReply) Reset

func (x *UpdateEntityRuleReply) Reset()

func (*UpdateEntityRuleReply) String

func (x *UpdateEntityRuleReply) String() string

func (*UpdateEntityRuleReply) Validate

func (m *UpdateEntityRuleReply) Validate() error

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

func (m *UpdateEntityRuleReply) ValidateAll() error

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

type UpdateEntityRuleReplyMultiError

type UpdateEntityRuleReplyMultiError []error

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

func (UpdateEntityRuleReplyMultiError) AllErrors

func (m UpdateEntityRuleReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEntityRuleReplyMultiError) Error

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

type UpdateEntityRuleReplyValidationError

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

UpdateEntityRuleReplyValidationError is the validation error returned by UpdateEntityRuleReply.Validate if the designated constraints aren't met.

func (UpdateEntityRuleReplyValidationError) Cause

Cause function returns cause value.

func (UpdateEntityRuleReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateEntityRuleReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateEntityRuleReplyValidationError) Field

Field function returns field value.

func (UpdateEntityRuleReplyValidationError) Key

Key function returns key value.

func (UpdateEntityRuleReplyValidationError) Reason

Reason function returns reason value.

type UpdateEntityRuleRequest

type UpdateEntityRuleRequest struct {
	Id          uint32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EntityId    *uint32         `protobuf:"varint,2,opt,name=entityId,proto3,oneof" json:"entityId,omitempty"`
	Name        *string         `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Expression  *ConditionGroup `protobuf:"bytes,4,opt,name=expression,proto3,oneof" json:"expression,omitempty"`
	Description *string         `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Status      *bool           `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEntityRuleRequest) Descriptor deprecated

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

Deprecated: Use UpdateEntityRuleRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntityRuleRequest) GetDescription

func (x *UpdateEntityRuleRequest) GetDescription() string

func (*UpdateEntityRuleRequest) GetEntityId

func (x *UpdateEntityRuleRequest) GetEntityId() uint32

func (*UpdateEntityRuleRequest) GetExpression

func (x *UpdateEntityRuleRequest) GetExpression() *ConditionGroup

func (*UpdateEntityRuleRequest) GetId

func (x *UpdateEntityRuleRequest) GetId() uint32

func (*UpdateEntityRuleRequest) GetName

func (x *UpdateEntityRuleRequest) GetName() string

func (*UpdateEntityRuleRequest) GetStatus

func (x *UpdateEntityRuleRequest) GetStatus() bool

func (*UpdateEntityRuleRequest) ProtoMessage

func (*UpdateEntityRuleRequest) ProtoMessage()

func (*UpdateEntityRuleRequest) ProtoReflect

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

func (*UpdateEntityRuleRequest) Reset

func (x *UpdateEntityRuleRequest) Reset()

func (*UpdateEntityRuleRequest) String

func (x *UpdateEntityRuleRequest) String() string

func (*UpdateEntityRuleRequest) Validate

func (m *UpdateEntityRuleRequest) Validate() error

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

func (m *UpdateEntityRuleRequest) ValidateAll() error

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

type UpdateEntityRuleRequestMultiError

type UpdateEntityRuleRequestMultiError []error

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

func (UpdateEntityRuleRequestMultiError) AllErrors

func (m UpdateEntityRuleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEntityRuleRequestMultiError) Error

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

type UpdateEntityRuleRequestValidationError

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

UpdateEntityRuleRequestValidationError is the validation error returned by UpdateEntityRuleRequest.Validate if the designated constraints aren't met.

func (UpdateEntityRuleRequestValidationError) Cause

Cause function returns cause value.

func (UpdateEntityRuleRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEntityRuleRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEntityRuleRequestValidationError) Field

Field function returns field value.

func (UpdateEntityRuleRequestValidationError) Key

Key function returns key value.

func (UpdateEntityRuleRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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