v1

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Service_PageDictionary_FullMethodName        = "/manager_dictionary.Service/PageDictionary"
	Service_AddDictionary_FullMethodName         = "/manager_dictionary.Service/AddDictionary"
	Service_UpdateDictionary_FullMethodName      = "/manager_dictionary.Service/UpdateDictionary"
	Service_DeleteDictionary_FullMethodName      = "/manager_dictionary.Service/DeleteDictionary"
	Service_PageDictionaryValue_FullMethodName   = "/manager_dictionary.Service/PageDictionaryValue"
	Service_GetDictionaryValue_FullMethodName    = "/manager_dictionary.Service/GetDictionaryValue"
	Service_AddDictionaryValue_FullMethodName    = "/manager_dictionary.Service/AddDictionaryValue"
	Service_UpdateDictionaryValue_FullMethodName = "/manager_dictionary.Service/UpdateDictionaryValue"
	Service_DeleteDictionaryValue_FullMethodName = "/manager_dictionary.Service/DeleteDictionaryValue"
)
View Source
const OperationServiceAddDictionary = "/manager_dictionary.Service/AddDictionary"
View Source
const OperationServiceAddDictionaryValue = "/manager_dictionary.Service/AddDictionaryValue"
View Source
const OperationServiceDeleteDictionary = "/manager_dictionary.Service/DeleteDictionary"
View Source
const OperationServiceDeleteDictionaryValue = "/manager_dictionary.Service/DeleteDictionaryValue"
View Source
const OperationServiceGetDictionaryValue = "/manager_dictionary.Service/GetDictionaryValue"
View Source
const OperationServicePageDictionary = "/manager_dictionary.Service/PageDictionary"
View Source
const OperationServicePageDictionaryValue = "/manager_dictionary.Service/PageDictionaryValue"
View Source
const OperationServiceUpdateDictionary = "/manager_dictionary.Service/UpdateDictionary"
View Source
const OperationServiceUpdateDictionaryValue = "/manager_dictionary.Service/UpdateDictionaryValue"

Variables

View Source
var File_manager_dictionary_proto protoreflect.FileDescriptor
View Source
var File_manager_dictionary_service_proto protoreflect.FileDescriptor
View Source
var File_manager_dictionary_value_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager_dictionary.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PageDictionary",
			Handler:    _Service_PageDictionary_Handler,
		},
		{
			MethodName: "AddDictionary",
			Handler:    _Service_AddDictionary_Handler,
		},
		{
			MethodName: "UpdateDictionary",
			Handler:    _Service_UpdateDictionary_Handler,
		},
		{
			MethodName: "DeleteDictionary",
			Handler:    _Service_DeleteDictionary_Handler,
		},
		{
			MethodName: "PageDictionaryValue",
			Handler:    _Service_PageDictionaryValue_Handler,
		},
		{
			MethodName: "GetDictionaryValue",
			Handler:    _Service_GetDictionaryValue_Handler,
		},
		{
			MethodName: "AddDictionaryValue",
			Handler:    _Service_AddDictionaryValue_Handler,
		},
		{
			MethodName: "UpdateDictionaryValue",
			Handler:    _Service_UpdateDictionaryValue_Handler,
		},
		{
			MethodName: "DeleteDictionaryValue",
			Handler:    _Service_DeleteDictionaryValue_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "manager_dictionary_service.proto",
}

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

Functions

func RegisterServiceHTTPServer

func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type AddDictionaryReply

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

func (*AddDictionaryReply) Descriptor deprecated

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

Deprecated: Use AddDictionaryReply.ProtoReflect.Descriptor instead.

func (*AddDictionaryReply) GetId

func (x *AddDictionaryReply) GetId() uint32

func (*AddDictionaryReply) ProtoMessage

func (*AddDictionaryReply) ProtoMessage()

func (*AddDictionaryReply) ProtoReflect

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

func (*AddDictionaryReply) Reset

func (x *AddDictionaryReply) Reset()

func (*AddDictionaryReply) String

func (x *AddDictionaryReply) String() string

func (*AddDictionaryReply) Validate

func (m *AddDictionaryReply) Validate() error

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

func (m *AddDictionaryReply) ValidateAll() error

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

type AddDictionaryReplyMultiError

type AddDictionaryReplyMultiError []error

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

func (AddDictionaryReplyMultiError) AllErrors

func (m AddDictionaryReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddDictionaryReplyMultiError) Error

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

type AddDictionaryReplyValidationError

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

AddDictionaryReplyValidationError is the validation error returned by AddDictionaryReply.Validate if the designated constraints aren't met.

func (AddDictionaryReplyValidationError) Cause

Cause function returns cause value.

func (AddDictionaryReplyValidationError) Error

Error satisfies the builtin error interface

func (AddDictionaryReplyValidationError) ErrorName

ErrorName returns error name.

func (AddDictionaryReplyValidationError) Field

Field function returns field value.

func (AddDictionaryReplyValidationError) Key

Key function returns key value.

func (AddDictionaryReplyValidationError) Reason

Reason function returns reason value.

type AddDictionaryRequest

type AddDictionaryRequest struct {
	Keyword     string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,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"`
	// contains filtered or unexported fields
}

func (*AddDictionaryRequest) Descriptor deprecated

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

Deprecated: Use AddDictionaryRequest.ProtoReflect.Descriptor instead.

func (*AddDictionaryRequest) GetDescription

func (x *AddDictionaryRequest) GetDescription() string

func (*AddDictionaryRequest) GetKeyword

func (x *AddDictionaryRequest) GetKeyword() string

func (*AddDictionaryRequest) GetName

func (x *AddDictionaryRequest) GetName() string

func (*AddDictionaryRequest) ProtoMessage

func (*AddDictionaryRequest) ProtoMessage()

func (*AddDictionaryRequest) ProtoReflect

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

func (*AddDictionaryRequest) Reset

func (x *AddDictionaryRequest) Reset()

func (*AddDictionaryRequest) String

func (x *AddDictionaryRequest) String() string

func (*AddDictionaryRequest) Validate

func (m *AddDictionaryRequest) Validate() error

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

func (m *AddDictionaryRequest) ValidateAll() error

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

type AddDictionaryRequestMultiError

type AddDictionaryRequestMultiError []error

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

func (AddDictionaryRequestMultiError) AllErrors

func (m AddDictionaryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddDictionaryRequestMultiError) Error

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

type AddDictionaryRequestValidationError

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

AddDictionaryRequestValidationError is the validation error returned by AddDictionaryRequest.Validate if the designated constraints aren't met.

func (AddDictionaryRequestValidationError) Cause

Cause function returns cause value.

func (AddDictionaryRequestValidationError) Error

Error satisfies the builtin error interface

func (AddDictionaryRequestValidationError) ErrorName

ErrorName returns error name.

func (AddDictionaryRequestValidationError) Field

Field function returns field value.

func (AddDictionaryRequestValidationError) Key

Key function returns key value.

func (AddDictionaryRequestValidationError) Reason

Reason function returns reason value.

type AddDictionaryValueReply

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

func (*AddDictionaryValueReply) Descriptor deprecated

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

Deprecated: Use AddDictionaryValueReply.ProtoReflect.Descriptor instead.

func (*AddDictionaryValueReply) GetId

func (x *AddDictionaryValueReply) GetId() uint32

func (*AddDictionaryValueReply) ProtoMessage

func (*AddDictionaryValueReply) ProtoMessage()

func (*AddDictionaryValueReply) ProtoReflect

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

func (*AddDictionaryValueReply) Reset

func (x *AddDictionaryValueReply) Reset()

func (*AddDictionaryValueReply) String

func (x *AddDictionaryValueReply) String() string

func (*AddDictionaryValueReply) Validate

func (m *AddDictionaryValueReply) Validate() error

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

func (m *AddDictionaryValueReply) ValidateAll() error

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

type AddDictionaryValueReplyMultiError

type AddDictionaryValueReplyMultiError []error

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

func (AddDictionaryValueReplyMultiError) AllErrors

func (m AddDictionaryValueReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddDictionaryValueReplyMultiError) Error

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

type AddDictionaryValueReplyValidationError

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

AddDictionaryValueReplyValidationError is the validation error returned by AddDictionaryValueReply.Validate if the designated constraints aren't met.

func (AddDictionaryValueReplyValidationError) Cause

Cause function returns cause value.

func (AddDictionaryValueReplyValidationError) Error

Error satisfies the builtin error interface

func (AddDictionaryValueReplyValidationError) ErrorName

ErrorName returns error name.

func (AddDictionaryValueReplyValidationError) Field

Field function returns field value.

func (AddDictionaryValueReplyValidationError) Key

Key function returns key value.

func (AddDictionaryValueReplyValidationError) Reason

Reason function returns reason value.

type AddDictionaryValueRequest

type AddDictionaryValueRequest struct {
	DictId      uint32  `protobuf:"varint,2,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"`
	Label       string  `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	Value       string  `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Type        *string `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"`
	Extra       *string `protobuf:"bytes,6,opt,name=extra,proto3,oneof" json:"extra,omitempty"`
	Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Weight      *uint32 `protobuf:"varint,8,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	Status      *bool   `protobuf:"varint,9,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*AddDictionaryValueRequest) Descriptor deprecated

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

Deprecated: Use AddDictionaryValueRequest.ProtoReflect.Descriptor instead.

func (*AddDictionaryValueRequest) GetDescription

func (x *AddDictionaryValueRequest) GetDescription() string

func (*AddDictionaryValueRequest) GetDictId

func (x *AddDictionaryValueRequest) GetDictId() uint32

func (*AddDictionaryValueRequest) GetExtra

func (x *AddDictionaryValueRequest) GetExtra() string

func (*AddDictionaryValueRequest) GetLabel

func (x *AddDictionaryValueRequest) GetLabel() string

func (*AddDictionaryValueRequest) GetStatus

func (x *AddDictionaryValueRequest) GetStatus() bool

func (*AddDictionaryValueRequest) GetType

func (x *AddDictionaryValueRequest) GetType() string

func (*AddDictionaryValueRequest) GetValue

func (x *AddDictionaryValueRequest) GetValue() string

func (*AddDictionaryValueRequest) GetWeight

func (x *AddDictionaryValueRequest) GetWeight() uint32

func (*AddDictionaryValueRequest) ProtoMessage

func (*AddDictionaryValueRequest) ProtoMessage()

func (*AddDictionaryValueRequest) ProtoReflect

func (*AddDictionaryValueRequest) Reset

func (x *AddDictionaryValueRequest) Reset()

func (*AddDictionaryValueRequest) String

func (x *AddDictionaryValueRequest) String() string

func (*AddDictionaryValueRequest) Validate

func (m *AddDictionaryValueRequest) Validate() error

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

func (m *AddDictionaryValueRequest) ValidateAll() error

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

type AddDictionaryValueRequestMultiError

type AddDictionaryValueRequestMultiError []error

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

func (AddDictionaryValueRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AddDictionaryValueRequestMultiError) Error

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

type AddDictionaryValueRequestValidationError

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

AddDictionaryValueRequestValidationError is the validation error returned by AddDictionaryValueRequest.Validate if the designated constraints aren't met.

func (AddDictionaryValueRequestValidationError) Cause

Cause function returns cause value.

func (AddDictionaryValueRequestValidationError) Error

Error satisfies the builtin error interface

func (AddDictionaryValueRequestValidationError) ErrorName

ErrorName returns error name.

func (AddDictionaryValueRequestValidationError) Field

Field function returns field value.

func (AddDictionaryValueRequestValidationError) Key

Key function returns key value.

func (AddDictionaryValueRequestValidationError) Reason

Reason function returns reason value.

type DeleteDictionaryRequest

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

func (*DeleteDictionaryRequest) Descriptor deprecated

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

Deprecated: Use DeleteDictionaryRequest.ProtoReflect.Descriptor instead.

func (*DeleteDictionaryRequest) GetId

func (x *DeleteDictionaryRequest) GetId() uint32

func (*DeleteDictionaryRequest) ProtoMessage

func (*DeleteDictionaryRequest) ProtoMessage()

func (*DeleteDictionaryRequest) ProtoReflect

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

func (*DeleteDictionaryRequest) Reset

func (x *DeleteDictionaryRequest) Reset()

func (*DeleteDictionaryRequest) String

func (x *DeleteDictionaryRequest) String() string

func (*DeleteDictionaryRequest) Validate

func (m *DeleteDictionaryRequest) Validate() error

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

func (m *DeleteDictionaryRequest) ValidateAll() error

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

type DeleteDictionaryRequestMultiError

type DeleteDictionaryRequestMultiError []error

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

func (DeleteDictionaryRequestMultiError) AllErrors

func (m DeleteDictionaryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteDictionaryRequestMultiError) Error

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

type DeleteDictionaryRequestValidationError

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

DeleteDictionaryRequestValidationError is the validation error returned by DeleteDictionaryRequest.Validate if the designated constraints aren't met.

func (DeleteDictionaryRequestValidationError) Cause

Cause function returns cause value.

func (DeleteDictionaryRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDictionaryRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDictionaryRequestValidationError) Field

Field function returns field value.

func (DeleteDictionaryRequestValidationError) Key

Key function returns key value.

func (DeleteDictionaryRequestValidationError) Reason

Reason function returns reason value.

type DeleteDictionaryValueRequest

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

func (*DeleteDictionaryValueRequest) Descriptor deprecated

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

Deprecated: Use DeleteDictionaryValueRequest.ProtoReflect.Descriptor instead.

func (*DeleteDictionaryValueRequest) GetId

func (*DeleteDictionaryValueRequest) ProtoMessage

func (*DeleteDictionaryValueRequest) ProtoMessage()

func (*DeleteDictionaryValueRequest) ProtoReflect

func (*DeleteDictionaryValueRequest) Reset

func (x *DeleteDictionaryValueRequest) Reset()

func (*DeleteDictionaryValueRequest) String

func (*DeleteDictionaryValueRequest) Validate

func (m *DeleteDictionaryValueRequest) Validate() error

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

func (m *DeleteDictionaryValueRequest) ValidateAll() error

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

type DeleteDictionaryValueRequestMultiError

type DeleteDictionaryValueRequestMultiError []error

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

func (DeleteDictionaryValueRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteDictionaryValueRequestMultiError) Error

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

type DeleteDictionaryValueRequestValidationError

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

DeleteDictionaryValueRequestValidationError is the validation error returned by DeleteDictionaryValueRequest.Validate if the designated constraints aren't met.

func (DeleteDictionaryValueRequestValidationError) Cause

Cause function returns cause value.

func (DeleteDictionaryValueRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDictionaryValueRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDictionaryValueRequestValidationError) Field

Field function returns field value.

func (DeleteDictionaryValueRequestValidationError) Key

Key function returns key value.

func (DeleteDictionaryValueRequestValidationError) Reason

Reason function returns reason value.

type Dictionary

type Dictionary struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Keyword     string  `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,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"`
	CreatedAt   *uint32 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt   *uint32 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Dictionary) Descriptor deprecated

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

Deprecated: Use Dictionary.ProtoReflect.Descriptor instead.

func (*Dictionary) GetCreatedAt

func (x *Dictionary) GetCreatedAt() uint32

func (*Dictionary) GetDescription

func (x *Dictionary) GetDescription() string

func (*Dictionary) GetId

func (x *Dictionary) GetId() uint32

func (*Dictionary) GetKeyword

func (x *Dictionary) GetKeyword() string

func (*Dictionary) GetName

func (x *Dictionary) GetName() string

func (*Dictionary) GetUpdatedAt

func (x *Dictionary) GetUpdatedAt() uint32

func (*Dictionary) ProtoMessage

func (*Dictionary) ProtoMessage()

func (*Dictionary) ProtoReflect

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

func (*Dictionary) Reset

func (x *Dictionary) Reset()

func (*Dictionary) String

func (x *Dictionary) String() string

func (*Dictionary) Validate

func (m *Dictionary) Validate() error

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

func (m *Dictionary) ValidateAll() error

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

type DictionaryMultiError

type DictionaryMultiError []error

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

func (DictionaryMultiError) AllErrors

func (m DictionaryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DictionaryMultiError) Error

func (m DictionaryMultiError) Error() string

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

type DictionaryValidationError

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

DictionaryValidationError is the validation error returned by Dictionary.Validate if the designated constraints aren't met.

func (DictionaryValidationError) Cause

func (e DictionaryValidationError) Cause() error

Cause function returns cause value.

func (DictionaryValidationError) Error

Error satisfies the builtin error interface

func (DictionaryValidationError) ErrorName

func (e DictionaryValidationError) ErrorName() string

ErrorName returns error name.

func (DictionaryValidationError) Field

Field function returns field value.

func (DictionaryValidationError) Key

Key function returns key value.

func (DictionaryValidationError) Reason

func (e DictionaryValidationError) Reason() string

Reason function returns reason value.

type DictionaryValue

type DictionaryValue struct {
	Id           uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DictionaryId uint32  `protobuf:"varint,2,opt,name=dictionary_id,json=dictionaryId,proto3" json:"dictionary_id,omitempty"`
	Label        string  `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	Value        string  `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Status       bool    `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	Weight       *uint32 `protobuf:"varint,6,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	Type         string  `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	Extra        string  `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"`
	Description  string  `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt    *uint32 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt    *uint32 `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryValue) Descriptor deprecated

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

Deprecated: Use DictionaryValue.ProtoReflect.Descriptor instead.

func (*DictionaryValue) GetCreatedAt

func (x *DictionaryValue) GetCreatedAt() uint32

func (*DictionaryValue) GetDescription

func (x *DictionaryValue) GetDescription() string

func (*DictionaryValue) GetDictionaryId

func (x *DictionaryValue) GetDictionaryId() uint32

func (*DictionaryValue) GetExtra

func (x *DictionaryValue) GetExtra() string

func (*DictionaryValue) GetId

func (x *DictionaryValue) GetId() uint32

func (*DictionaryValue) GetLabel

func (x *DictionaryValue) GetLabel() string

func (*DictionaryValue) GetStatus

func (x *DictionaryValue) GetStatus() bool

func (*DictionaryValue) GetType

func (x *DictionaryValue) GetType() string

func (*DictionaryValue) GetUpdatedAt

func (x *DictionaryValue) GetUpdatedAt() uint32

func (*DictionaryValue) GetValue

func (x *DictionaryValue) GetValue() string

func (*DictionaryValue) GetWeight

func (x *DictionaryValue) GetWeight() uint32

func (*DictionaryValue) ProtoMessage

func (*DictionaryValue) ProtoMessage()

func (*DictionaryValue) ProtoReflect

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

func (*DictionaryValue) Reset

func (x *DictionaryValue) Reset()

func (*DictionaryValue) String

func (x *DictionaryValue) String() string

func (*DictionaryValue) Validate

func (m *DictionaryValue) Validate() error

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

func (m *DictionaryValue) ValidateAll() error

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

type DictionaryValueMultiError

type DictionaryValueMultiError []error

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

func (DictionaryValueMultiError) AllErrors

func (m DictionaryValueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DictionaryValueMultiError) Error

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

type DictionaryValueValidationError

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

DictionaryValueValidationError is the validation error returned by DictionaryValue.Validate if the designated constraints aren't met.

func (DictionaryValueValidationError) Cause

Cause function returns cause value.

func (DictionaryValueValidationError) Error

Error satisfies the builtin error interface

func (DictionaryValueValidationError) ErrorName

func (e DictionaryValueValidationError) ErrorName() string

ErrorName returns error name.

func (DictionaryValueValidationError) Field

Field function returns field value.

func (DictionaryValueValidationError) Key

Key function returns key value.

func (DictionaryValueValidationError) Reason

Reason function returns reason value.

type GetDictionaryValueReply

type GetDictionaryValueReply struct {
	List []*DictionaryValue `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Dict map[string]string  `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetDictionaryValueReply) Descriptor deprecated

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

Deprecated: Use GetDictionaryValueReply.ProtoReflect.Descriptor instead.

func (*GetDictionaryValueReply) GetDict

func (x *GetDictionaryValueReply) GetDict() map[string]string

func (*GetDictionaryValueReply) GetList

func (x *GetDictionaryValueReply) GetList() []*DictionaryValue

func (*GetDictionaryValueReply) ProtoMessage

func (*GetDictionaryValueReply) ProtoMessage()

func (*GetDictionaryValueReply) ProtoReflect

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

func (*GetDictionaryValueReply) Reset

func (x *GetDictionaryValueReply) Reset()

func (*GetDictionaryValueReply) String

func (x *GetDictionaryValueReply) String() string

func (*GetDictionaryValueReply) Validate

func (m *GetDictionaryValueReply) Validate() error

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

func (m *GetDictionaryValueReply) ValidateAll() error

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

type GetDictionaryValueReplyMultiError

type GetDictionaryValueReplyMultiError []error

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

func (GetDictionaryValueReplyMultiError) AllErrors

func (m GetDictionaryValueReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDictionaryValueReplyMultiError) Error

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

type GetDictionaryValueReplyValidationError

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

GetDictionaryValueReplyValidationError is the validation error returned by GetDictionaryValueReply.Validate if the designated constraints aren't met.

func (GetDictionaryValueReplyValidationError) Cause

Cause function returns cause value.

func (GetDictionaryValueReplyValidationError) Error

Error satisfies the builtin error interface

func (GetDictionaryValueReplyValidationError) ErrorName

ErrorName returns error name.

func (GetDictionaryValueReplyValidationError) Field

Field function returns field value.

func (GetDictionaryValueReplyValidationError) Key

Key function returns key value.

func (GetDictionaryValueReplyValidationError) Reason

Reason function returns reason value.

type GetDictionaryValueRequest

type GetDictionaryValueRequest struct {
	Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDictionaryValueRequest) Descriptor deprecated

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

Deprecated: Use GetDictionaryValueRequest.ProtoReflect.Descriptor instead.

func (*GetDictionaryValueRequest) GetKeyword

func (x *GetDictionaryValueRequest) GetKeyword() string

func (*GetDictionaryValueRequest) ProtoMessage

func (*GetDictionaryValueRequest) ProtoMessage()

func (*GetDictionaryValueRequest) ProtoReflect

func (*GetDictionaryValueRequest) Reset

func (x *GetDictionaryValueRequest) Reset()

func (*GetDictionaryValueRequest) String

func (x *GetDictionaryValueRequest) String() string

func (*GetDictionaryValueRequest) Validate

func (m *GetDictionaryValueRequest) Validate() error

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

func (m *GetDictionaryValueRequest) ValidateAll() error

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

type GetDictionaryValueRequestMultiError

type GetDictionaryValueRequestMultiError []error

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

func (GetDictionaryValueRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetDictionaryValueRequestMultiError) Error

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

type GetDictionaryValueRequestValidationError

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

GetDictionaryValueRequestValidationError is the validation error returned by GetDictionaryValueRequest.Validate if the designated constraints aren't met.

func (GetDictionaryValueRequestValidationError) Cause

Cause function returns cause value.

func (GetDictionaryValueRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDictionaryValueRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDictionaryValueRequestValidationError) Field

Field function returns field value.

func (GetDictionaryValueRequestValidationError) Key

Key function returns key value.

func (GetDictionaryValueRequestValidationError) Reason

Reason function returns reason value.

type PageDictionaryReply

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

func (*PageDictionaryReply) Descriptor deprecated

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

Deprecated: Use PageDictionaryReply.ProtoReflect.Descriptor instead.

func (*PageDictionaryReply) GetList

func (x *PageDictionaryReply) GetList() []*Dictionary

func (*PageDictionaryReply) GetTotal

func (x *PageDictionaryReply) GetTotal() uint32

func (*PageDictionaryReply) ProtoMessage

func (*PageDictionaryReply) ProtoMessage()

func (*PageDictionaryReply) ProtoReflect

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

func (*PageDictionaryReply) Reset

func (x *PageDictionaryReply) Reset()

func (*PageDictionaryReply) String

func (x *PageDictionaryReply) String() string

func (*PageDictionaryReply) Validate

func (m *PageDictionaryReply) Validate() error

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

func (m *PageDictionaryReply) ValidateAll() error

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

type PageDictionaryReplyMultiError

type PageDictionaryReplyMultiError []error

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

func (PageDictionaryReplyMultiError) AllErrors

func (m PageDictionaryReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageDictionaryReplyMultiError) Error

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

type PageDictionaryReplyValidationError

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

PageDictionaryReplyValidationError is the validation error returned by PageDictionaryReply.Validate if the designated constraints aren't met.

func (PageDictionaryReplyValidationError) Cause

Cause function returns cause value.

func (PageDictionaryReplyValidationError) Error

Error satisfies the builtin error interface

func (PageDictionaryReplyValidationError) ErrorName

ErrorName returns error name.

func (PageDictionaryReplyValidationError) Field

Field function returns field value.

func (PageDictionaryReplyValidationError) Key

Key function returns key value.

func (PageDictionaryReplyValidationError) Reason

Reason function returns reason value.

type PageDictionaryRequest

type PageDictionaryRequest struct {
	Page     uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Keyword  *string `protobuf:"bytes,3,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
	Name     *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PageDictionaryRequest) Descriptor deprecated

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

Deprecated: Use PageDictionaryRequest.ProtoReflect.Descriptor instead.

func (*PageDictionaryRequest) GetKeyword

func (x *PageDictionaryRequest) GetKeyword() string

func (*PageDictionaryRequest) GetName

func (x *PageDictionaryRequest) GetName() string

func (*PageDictionaryRequest) GetPage

func (x *PageDictionaryRequest) GetPage() uint32

func (*PageDictionaryRequest) GetPageSize

func (x *PageDictionaryRequest) GetPageSize() uint32

func (*PageDictionaryRequest) ProtoMessage

func (*PageDictionaryRequest) ProtoMessage()

func (*PageDictionaryRequest) ProtoReflect

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

func (*PageDictionaryRequest) Reset

func (x *PageDictionaryRequest) Reset()

func (*PageDictionaryRequest) String

func (x *PageDictionaryRequest) String() string

func (*PageDictionaryRequest) Validate

func (m *PageDictionaryRequest) Validate() error

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

func (m *PageDictionaryRequest) ValidateAll() error

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

type PageDictionaryRequestMultiError

type PageDictionaryRequestMultiError []error

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

func (PageDictionaryRequestMultiError) AllErrors

func (m PageDictionaryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageDictionaryRequestMultiError) Error

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

type PageDictionaryRequestValidationError

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

PageDictionaryRequestValidationError is the validation error returned by PageDictionaryRequest.Validate if the designated constraints aren't met.

func (PageDictionaryRequestValidationError) Cause

Cause function returns cause value.

func (PageDictionaryRequestValidationError) Error

Error satisfies the builtin error interface

func (PageDictionaryRequestValidationError) ErrorName

ErrorName returns error name.

func (PageDictionaryRequestValidationError) Field

Field function returns field value.

func (PageDictionaryRequestValidationError) Key

Key function returns key value.

func (PageDictionaryRequestValidationError) Reason

Reason function returns reason value.

type PageDictionaryValueReply

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

func (*PageDictionaryValueReply) Descriptor deprecated

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

Deprecated: Use PageDictionaryValueReply.ProtoReflect.Descriptor instead.

func (*PageDictionaryValueReply) GetList

func (x *PageDictionaryValueReply) GetList() []*DictionaryValue

func (*PageDictionaryValueReply) GetTotal

func (x *PageDictionaryValueReply) GetTotal() uint32

func (*PageDictionaryValueReply) ProtoMessage

func (*PageDictionaryValueReply) ProtoMessage()

func (*PageDictionaryValueReply) ProtoReflect

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

func (*PageDictionaryValueReply) Reset

func (x *PageDictionaryValueReply) Reset()

func (*PageDictionaryValueReply) String

func (x *PageDictionaryValueReply) String() string

func (*PageDictionaryValueReply) Validate

func (m *PageDictionaryValueReply) Validate() error

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

func (m *PageDictionaryValueReply) ValidateAll() error

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

type PageDictionaryValueReplyMultiError

type PageDictionaryValueReplyMultiError []error

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

func (PageDictionaryValueReplyMultiError) AllErrors

func (m PageDictionaryValueReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageDictionaryValueReplyMultiError) Error

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

type PageDictionaryValueReplyValidationError

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

PageDictionaryValueReplyValidationError is the validation error returned by PageDictionaryValueReply.Validate if the designated constraints aren't met.

func (PageDictionaryValueReplyValidationError) Cause

Cause function returns cause value.

func (PageDictionaryValueReplyValidationError) Error

Error satisfies the builtin error interface

func (PageDictionaryValueReplyValidationError) ErrorName

ErrorName returns error name.

func (PageDictionaryValueReplyValidationError) Field

Field function returns field value.

func (PageDictionaryValueReplyValidationError) Key

Key function returns key value.

func (PageDictionaryValueReplyValidationError) Reason

Reason function returns reason value.

type PageDictionaryValueRequest

type PageDictionaryValueRequest struct {
	Page         uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize     uint32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	DictionaryId uint32  `protobuf:"varint,3,opt,name=dictionary_id,json=dictionaryId,proto3" json:"dictionary_id,omitempty"`
	Label        *string `protobuf:"bytes,4,opt,name=label,proto3,oneof" json:"label,omitempty"`
	Value        *string `protobuf:"bytes,5,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PageDictionaryValueRequest) Descriptor deprecated

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

Deprecated: Use PageDictionaryValueRequest.ProtoReflect.Descriptor instead.

func (*PageDictionaryValueRequest) GetDictionaryId

func (x *PageDictionaryValueRequest) GetDictionaryId() uint32

func (*PageDictionaryValueRequest) GetLabel

func (x *PageDictionaryValueRequest) GetLabel() string

func (*PageDictionaryValueRequest) GetPage

func (x *PageDictionaryValueRequest) GetPage() uint32

func (*PageDictionaryValueRequest) GetPageSize

func (x *PageDictionaryValueRequest) GetPageSize() uint32

func (*PageDictionaryValueRequest) GetValue

func (x *PageDictionaryValueRequest) GetValue() string

func (*PageDictionaryValueRequest) ProtoMessage

func (*PageDictionaryValueRequest) ProtoMessage()

func (*PageDictionaryValueRequest) ProtoReflect

func (*PageDictionaryValueRequest) Reset

func (x *PageDictionaryValueRequest) Reset()

func (*PageDictionaryValueRequest) String

func (x *PageDictionaryValueRequest) String() string

func (*PageDictionaryValueRequest) Validate

func (m *PageDictionaryValueRequest) Validate() error

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

func (m *PageDictionaryValueRequest) ValidateAll() error

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

type PageDictionaryValueRequestMultiError

type PageDictionaryValueRequestMultiError []error

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

func (PageDictionaryValueRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PageDictionaryValueRequestMultiError) Error

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

type PageDictionaryValueRequestValidationError

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

PageDictionaryValueRequestValidationError is the validation error returned by PageDictionaryValueRequest.Validate if the designated constraints aren't met.

func (PageDictionaryValueRequestValidationError) Cause

Cause function returns cause value.

func (PageDictionaryValueRequestValidationError) Error

Error satisfies the builtin error interface

func (PageDictionaryValueRequestValidationError) ErrorName

ErrorName returns error name.

func (PageDictionaryValueRequestValidationError) Field

Field function returns field value.

func (PageDictionaryValueRequestValidationError) Key

Key function returns key value.

func (PageDictionaryValueRequestValidationError) Reason

Reason function returns reason value.

type ServiceClient

type ServiceClient interface {
	// PageDictionary 获取分页字典信息
	PageDictionary(ctx context.Context, in *PageDictionaryRequest, opts ...grpc.CallOption) (*PageDictionaryReply, error)
	// AddDictionary 添加字典信息
	AddDictionary(ctx context.Context, in *AddDictionaryRequest, opts ...grpc.CallOption) (*AddDictionaryReply, error)
	// UpdateDictionary 更新字典信息
	UpdateDictionary(ctx context.Context, in *UpdateDictionaryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteDictionary 删除字典信息
	DeleteDictionary(ctx context.Context, in *DeleteDictionaryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// PageDictionaryValue 获取分页字典值
	PageDictionaryValue(ctx context.Context, in *PageDictionaryValueRequest, opts ...grpc.CallOption) (*PageDictionaryValueReply, error)
	// GetDictionaryValue 获取指定字典值
	GetDictionaryValue(ctx context.Context, in *GetDictionaryValueRequest, opts ...grpc.CallOption) (*GetDictionaryValueReply, error)
	// AddDictionaryValue 删除字典值
	AddDictionaryValue(ctx context.Context, in *AddDictionaryValueRequest, opts ...grpc.CallOption) (*AddDictionaryValueReply, error)
	// UpdateDictionaryValue 更新字典值
	UpdateDictionaryValue(ctx context.Context, in *UpdateDictionaryValueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteDictionaryValue 删除字典值
	DeleteDictionaryValue(ctx context.Context, in *DeleteDictionaryValueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ServiceClient is the client API for Service 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 NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceHTTPClient

type ServiceHTTPClient interface {
	AddDictionary(ctx context.Context, req *AddDictionaryRequest, opts ...http.CallOption) (rsp *AddDictionaryReply, err error)
	AddDictionaryValue(ctx context.Context, req *AddDictionaryValueRequest, opts ...http.CallOption) (rsp *AddDictionaryValueReply, err error)
	DeleteDictionary(ctx context.Context, req *DeleteDictionaryRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteDictionaryValue(ctx context.Context, req *DeleteDictionaryValueRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	GetDictionaryValue(ctx context.Context, req *GetDictionaryValueRequest, opts ...http.CallOption) (rsp *GetDictionaryValueReply, err error)
	PageDictionary(ctx context.Context, req *PageDictionaryRequest, opts ...http.CallOption) (rsp *PageDictionaryReply, err error)
	PageDictionaryValue(ctx context.Context, req *PageDictionaryValueRequest, opts ...http.CallOption) (rsp *PageDictionaryValueReply, err error)
	UpdateDictionary(ctx context.Context, req *UpdateDictionaryRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateDictionaryValue(ctx context.Context, req *UpdateDictionaryValueRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
}

func NewServiceHTTPClient

func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient

type ServiceHTTPClientImpl

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

func (*ServiceHTTPClientImpl) AddDictionary

func (*ServiceHTTPClientImpl) AddDictionaryValue

func (*ServiceHTTPClientImpl) DeleteDictionary

func (c *ServiceHTTPClientImpl) DeleteDictionary(ctx context.Context, in *DeleteDictionaryRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) DeleteDictionaryValue

func (c *ServiceHTTPClientImpl) DeleteDictionaryValue(ctx context.Context, in *DeleteDictionaryValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) GetDictionaryValue

func (*ServiceHTTPClientImpl) PageDictionary

func (*ServiceHTTPClientImpl) PageDictionaryValue

func (*ServiceHTTPClientImpl) UpdateDictionary

func (c *ServiceHTTPClientImpl) UpdateDictionary(ctx context.Context, in *UpdateDictionaryRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) UpdateDictionaryValue

func (c *ServiceHTTPClientImpl) UpdateDictionaryValue(ctx context.Context, in *UpdateDictionaryValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)

type ServiceHTTPServer

type ServiceHTTPServer interface {
	// AddDictionary AddDictionary 添加字典信息
	AddDictionary(context.Context, *AddDictionaryRequest) (*AddDictionaryReply, error)
	// AddDictionaryValue AddDictionaryValue 删除字典值
	AddDictionaryValue(context.Context, *AddDictionaryValueRequest) (*AddDictionaryValueReply, error)
	// DeleteDictionary DeleteDictionary 删除字典信息
	DeleteDictionary(context.Context, *DeleteDictionaryRequest) (*emptypb.Empty, error)
	// DeleteDictionaryValue DeleteDictionaryValue 删除字典值
	DeleteDictionaryValue(context.Context, *DeleteDictionaryValueRequest) (*emptypb.Empty, error)
	// GetDictionaryValue GetDictionaryValue 获取指定字典值
	GetDictionaryValue(context.Context, *GetDictionaryValueRequest) (*GetDictionaryValueReply, error)
	// PageDictionary PageDictionary 获取分页字典信息
	PageDictionary(context.Context, *PageDictionaryRequest) (*PageDictionaryReply, error)
	// PageDictionaryValue PageDictionaryValue 获取分页字典值
	PageDictionaryValue(context.Context, *PageDictionaryValueRequest) (*PageDictionaryValueReply, error)
	// UpdateDictionary UpdateDictionary 更新字典信息
	UpdateDictionary(context.Context, *UpdateDictionaryRequest) (*emptypb.Empty, error)
	// UpdateDictionaryValue UpdateDictionaryValue 更新字典值
	UpdateDictionaryValue(context.Context, *UpdateDictionaryValueRequest) (*emptypb.Empty, error)
}

type ServiceServer

type ServiceServer interface {
	// PageDictionary 获取分页字典信息
	PageDictionary(context.Context, *PageDictionaryRequest) (*PageDictionaryReply, error)
	// AddDictionary 添加字典信息
	AddDictionary(context.Context, *AddDictionaryRequest) (*AddDictionaryReply, error)
	// UpdateDictionary 更新字典信息
	UpdateDictionary(context.Context, *UpdateDictionaryRequest) (*emptypb.Empty, error)
	// DeleteDictionary 删除字典信息
	DeleteDictionary(context.Context, *DeleteDictionaryRequest) (*emptypb.Empty, error)
	// PageDictionaryValue 获取分页字典值
	PageDictionaryValue(context.Context, *PageDictionaryValueRequest) (*PageDictionaryValueReply, error)
	// GetDictionaryValue 获取指定字典值
	GetDictionaryValue(context.Context, *GetDictionaryValueRequest) (*GetDictionaryValueReply, error)
	// AddDictionaryValue 删除字典值
	AddDictionaryValue(context.Context, *AddDictionaryValueRequest) (*AddDictionaryValueReply, error)
	// UpdateDictionaryValue 更新字典值
	UpdateDictionaryValue(context.Context, *UpdateDictionaryValueRequest) (*emptypb.Empty, error)
	// DeleteDictionaryValue 删除字典值
	DeleteDictionaryValue(context.Context, *DeleteDictionaryValueRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) AddDictionary

func (UnimplementedServiceServer) AddDictionaryValue

func (UnimplementedServiceServer) DeleteDictionary

func (UnimplementedServiceServer) DeleteDictionaryValue

func (UnimplementedServiceServer) GetDictionaryValue

func (UnimplementedServiceServer) PageDictionary

func (UnimplementedServiceServer) UpdateDictionary

func (UnimplementedServiceServer) UpdateDictionaryValue

type UnsafeServiceServer

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

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

type UpdateDictionaryRequest

type UpdateDictionaryRequest struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Keyword     string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,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"`
	// contains filtered or unexported fields
}

func (*UpdateDictionaryRequest) Descriptor deprecated

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

Deprecated: Use UpdateDictionaryRequest.ProtoReflect.Descriptor instead.

func (*UpdateDictionaryRequest) GetDescription

func (x *UpdateDictionaryRequest) GetDescription() string

func (*UpdateDictionaryRequest) GetId

func (x *UpdateDictionaryRequest) GetId() uint32

func (*UpdateDictionaryRequest) GetKeyword

func (x *UpdateDictionaryRequest) GetKeyword() string

func (*UpdateDictionaryRequest) GetName

func (x *UpdateDictionaryRequest) GetName() string

func (*UpdateDictionaryRequest) ProtoMessage

func (*UpdateDictionaryRequest) ProtoMessage()

func (*UpdateDictionaryRequest) ProtoReflect

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

func (*UpdateDictionaryRequest) Reset

func (x *UpdateDictionaryRequest) Reset()

func (*UpdateDictionaryRequest) String

func (x *UpdateDictionaryRequest) String() string

func (*UpdateDictionaryRequest) Validate

func (m *UpdateDictionaryRequest) Validate() error

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

func (m *UpdateDictionaryRequest) ValidateAll() error

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

type UpdateDictionaryRequestMultiError

type UpdateDictionaryRequestMultiError []error

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

func (UpdateDictionaryRequestMultiError) AllErrors

func (m UpdateDictionaryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateDictionaryRequestMultiError) Error

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

type UpdateDictionaryRequestValidationError

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

UpdateDictionaryRequestValidationError is the validation error returned by UpdateDictionaryRequest.Validate if the designated constraints aren't met.

func (UpdateDictionaryRequestValidationError) Cause

Cause function returns cause value.

func (UpdateDictionaryRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDictionaryRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDictionaryRequestValidationError) Field

Field function returns field value.

func (UpdateDictionaryRequestValidationError) Key

Key function returns key value.

func (UpdateDictionaryRequestValidationError) Reason

Reason function returns reason value.

type UpdateDictionaryValueRequest

type UpdateDictionaryValueRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DictId      uint32  `protobuf:"varint,2,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"`
	Label       string  `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	Value       string  `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Type        *string `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"`
	Extra       *string `protobuf:"bytes,6,opt,name=extra,proto3,oneof" json:"extra,omitempty"`
	Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Weight      *uint32 `protobuf:"varint,8,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	Status      *bool   `protobuf:"varint,9,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDictionaryValueRequest) Descriptor deprecated

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

Deprecated: Use UpdateDictionaryValueRequest.ProtoReflect.Descriptor instead.

func (*UpdateDictionaryValueRequest) GetDescription

func (x *UpdateDictionaryValueRequest) GetDescription() string

func (*UpdateDictionaryValueRequest) GetDictId

func (x *UpdateDictionaryValueRequest) GetDictId() uint32

func (*UpdateDictionaryValueRequest) GetExtra

func (x *UpdateDictionaryValueRequest) GetExtra() string

func (*UpdateDictionaryValueRequest) GetId

func (*UpdateDictionaryValueRequest) GetLabel

func (x *UpdateDictionaryValueRequest) GetLabel() string

func (*UpdateDictionaryValueRequest) GetStatus

func (x *UpdateDictionaryValueRequest) GetStatus() bool

func (*UpdateDictionaryValueRequest) GetType

func (x *UpdateDictionaryValueRequest) GetType() string

func (*UpdateDictionaryValueRequest) GetValue

func (x *UpdateDictionaryValueRequest) GetValue() string

func (*UpdateDictionaryValueRequest) GetWeight

func (x *UpdateDictionaryValueRequest) GetWeight() uint32

func (*UpdateDictionaryValueRequest) ProtoMessage

func (*UpdateDictionaryValueRequest) ProtoMessage()

func (*UpdateDictionaryValueRequest) ProtoReflect

func (*UpdateDictionaryValueRequest) Reset

func (x *UpdateDictionaryValueRequest) Reset()

func (*UpdateDictionaryValueRequest) String

func (*UpdateDictionaryValueRequest) Validate

func (m *UpdateDictionaryValueRequest) Validate() error

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

func (m *UpdateDictionaryValueRequest) ValidateAll() error

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

type UpdateDictionaryValueRequestMultiError

type UpdateDictionaryValueRequestMultiError []error

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

func (UpdateDictionaryValueRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDictionaryValueRequestMultiError) Error

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

type UpdateDictionaryValueRequestValidationError

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

UpdateDictionaryValueRequestValidationError is the validation error returned by UpdateDictionaryValueRequest.Validate if the designated constraints aren't met.

func (UpdateDictionaryValueRequestValidationError) Cause

Cause function returns cause value.

func (UpdateDictionaryValueRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDictionaryValueRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDictionaryValueRequestValidationError) Field

Field function returns field value.

func (UpdateDictionaryValueRequestValidationError) Key

Key function returns key value.

func (UpdateDictionaryValueRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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