v1

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Field_ListFieldType_FullMethodName = "/application.api.application.field.v1.Field/ListFieldType"
	Field_ListField_FullMethodName     = "/application.api.application.field.v1.Field/ListField"
	Field_CreateField_FullMethodName   = "/application.api.application.field.v1.Field/CreateField"
	Field_UpdateField_FullMethodName   = "/application.api.application.field.v1.Field/UpdateField"
	Field_DeleteField_FullMethodName   = "/application.api.application.field.v1.Field/DeleteField"
)
View Source
const OperationFieldCreateField = "/application.api.application.field.v1.Field/CreateField"
View Source
const OperationFieldDeleteField = "/application.api.application.field.v1.Field/DeleteField"
View Source
const OperationFieldListField = "/application.api.application.field.v1.Field/ListField"
View Source
const OperationFieldListFieldType = "/application.api.application.field.v1.Field/ListFieldType"
View Source
const OperationFieldUpdateField = "/application.api.application.field.v1.Field/UpdateField"

Variables

View Source
var Field_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "application.api.application.field.v1.Field",
	HandlerType: (*FieldServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListFieldType",
			Handler:    _Field_ListFieldType_Handler,
		},
		{
			MethodName: "ListField",
			Handler:    _Field_ListField_Handler,
		},
		{
			MethodName: "CreateField",
			Handler:    _Field_CreateField_Handler,
		},
		{
			MethodName: "UpdateField",
			Handler:    _Field_UpdateField_Handler,
		},
		{
			MethodName: "DeleteField",
			Handler:    _Field_DeleteField_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/application/field/application_field_service.proto",
}

Field_ServiceDesc is the grpc.ServiceDesc for Field 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_application_field_application_field_proto protoreflect.FileDescriptor
View Source
var File_api_application_field_application_field_service_proto protoreflect.FileDescriptor

Functions

func RegisterFieldHTTPServer

func RegisterFieldHTTPServer(s *http.Server, srv FieldHTTPServer)

func RegisterFieldServer

func RegisterFieldServer(s grpc.ServiceRegistrar, srv FieldServer)

Types

type CreateFieldReply

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

func (*CreateFieldReply) Descriptor deprecated

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

Deprecated: Use CreateFieldReply.ProtoReflect.Descriptor instead.

func (*CreateFieldReply) GetId

func (x *CreateFieldReply) GetId() uint32

func (*CreateFieldReply) ProtoMessage

func (*CreateFieldReply) ProtoMessage()

func (*CreateFieldReply) ProtoReflect

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

func (*CreateFieldReply) Reset

func (x *CreateFieldReply) Reset()

func (*CreateFieldReply) String

func (x *CreateFieldReply) String() string

func (*CreateFieldReply) Validate

func (m *CreateFieldReply) Validate() error

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

func (m *CreateFieldReply) ValidateAll() error

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

type CreateFieldReplyMultiError

type CreateFieldReplyMultiError []error

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

func (CreateFieldReplyMultiError) AllErrors

func (m CreateFieldReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateFieldReplyMultiError) Error

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

type CreateFieldReplyValidationError

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

CreateFieldReplyValidationError is the validation error returned by CreateFieldReply.Validate if the designated constraints aren't met.

func (CreateFieldReplyValidationError) Cause

Cause function returns cause value.

func (CreateFieldReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateFieldReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateFieldReplyValidationError) Field

Field function returns field value.

func (CreateFieldReplyValidationError) Key

Key function returns key value.

func (CreateFieldReplyValidationError) Reason

Reason function returns reason value.

type CreateFieldRequest

type CreateFieldRequest struct {
	Keyword     string  `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Type        string  `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Name        string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFieldRequest) Descriptor deprecated

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

Deprecated: Use CreateFieldRequest.ProtoReflect.Descriptor instead.

func (*CreateFieldRequest) GetDescription

func (x *CreateFieldRequest) GetDescription() string

func (*CreateFieldRequest) GetKeyword

func (x *CreateFieldRequest) GetKeyword() string

func (*CreateFieldRequest) GetName

func (x *CreateFieldRequest) GetName() string

func (*CreateFieldRequest) GetType

func (x *CreateFieldRequest) GetType() string

func (*CreateFieldRequest) ProtoMessage

func (*CreateFieldRequest) ProtoMessage()

func (*CreateFieldRequest) ProtoReflect

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

func (*CreateFieldRequest) Reset

func (x *CreateFieldRequest) Reset()

func (*CreateFieldRequest) String

func (x *CreateFieldRequest) String() string

func (*CreateFieldRequest) Validate

func (m *CreateFieldRequest) Validate() error

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

func (m *CreateFieldRequest) ValidateAll() error

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

type CreateFieldRequestMultiError

type CreateFieldRequestMultiError []error

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

func (CreateFieldRequestMultiError) AllErrors

func (m CreateFieldRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateFieldRequestMultiError) Error

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

type CreateFieldRequestValidationError

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

CreateFieldRequestValidationError is the validation error returned by CreateFieldRequest.Validate if the designated constraints aren't met.

func (CreateFieldRequestValidationError) Cause

Cause function returns cause value.

func (CreateFieldRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateFieldRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateFieldRequestValidationError) Field

Field function returns field value.

func (CreateFieldRequestValidationError) Key

Key function returns key value.

func (CreateFieldRequestValidationError) Reason

Reason function returns reason value.

type DeleteFieldReply

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

func (*DeleteFieldReply) Descriptor deprecated

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

Deprecated: Use DeleteFieldReply.ProtoReflect.Descriptor instead.

func (*DeleteFieldReply) ProtoMessage

func (*DeleteFieldReply) ProtoMessage()

func (*DeleteFieldReply) ProtoReflect

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

func (*DeleteFieldReply) Reset

func (x *DeleteFieldReply) Reset()

func (*DeleteFieldReply) String

func (x *DeleteFieldReply) String() string

func (*DeleteFieldReply) Validate

func (m *DeleteFieldReply) Validate() error

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

func (m *DeleteFieldReply) ValidateAll() error

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

type DeleteFieldReplyMultiError

type DeleteFieldReplyMultiError []error

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

func (DeleteFieldReplyMultiError) AllErrors

func (m DeleteFieldReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteFieldReplyMultiError) Error

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

type DeleteFieldReplyValidationError

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

DeleteFieldReplyValidationError is the validation error returned by DeleteFieldReply.Validate if the designated constraints aren't met.

func (DeleteFieldReplyValidationError) Cause

Cause function returns cause value.

func (DeleteFieldReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteFieldReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteFieldReplyValidationError) Field

Field function returns field value.

func (DeleteFieldReplyValidationError) Key

Key function returns key value.

func (DeleteFieldReplyValidationError) Reason

Reason function returns reason value.

type DeleteFieldRequest

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

func (*DeleteFieldRequest) Descriptor deprecated

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

Deprecated: Use DeleteFieldRequest.ProtoReflect.Descriptor instead.

func (*DeleteFieldRequest) GetId

func (x *DeleteFieldRequest) GetId() uint32

func (*DeleteFieldRequest) ProtoMessage

func (*DeleteFieldRequest) ProtoMessage()

func (*DeleteFieldRequest) ProtoReflect

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

func (*DeleteFieldRequest) Reset

func (x *DeleteFieldRequest) Reset()

func (*DeleteFieldRequest) String

func (x *DeleteFieldRequest) String() string

func (*DeleteFieldRequest) Validate

func (m *DeleteFieldRequest) Validate() error

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

func (m *DeleteFieldRequest) ValidateAll() error

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

type DeleteFieldRequestMultiError

type DeleteFieldRequestMultiError []error

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

func (DeleteFieldRequestMultiError) AllErrors

func (m DeleteFieldRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteFieldRequestMultiError) Error

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

type DeleteFieldRequestValidationError

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

DeleteFieldRequestValidationError is the validation error returned by DeleteFieldRequest.Validate if the designated constraints aren't met.

func (DeleteFieldRequestValidationError) Cause

Cause function returns cause value.

func (DeleteFieldRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteFieldRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteFieldRequestValidationError) Field

Field function returns field value.

func (DeleteFieldRequestValidationError) Key

Key function returns key value.

func (DeleteFieldRequestValidationError) Reason

Reason function returns reason value.

type FieldClient

type FieldClient interface {
	// ListFieldType 获取可用的字段列表
	ListFieldType(ctx context.Context, in *ListFieldTypeRequest, opts ...grpc.CallOption) (*ListFieldTypeReply, error)
	// ListField 获取用户字段列表
	ListField(ctx context.Context, in *ListFieldRequest, opts ...grpc.CallOption) (*ListFieldReply, error)
	// CreateField 创建用户字段
	CreateField(ctx context.Context, in *CreateFieldRequest, opts ...grpc.CallOption) (*CreateFieldReply, error)
	// UpdateField 更新用户字段
	UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*UpdateFieldReply, error)
	// DeleteField 删除用户字段
	DeleteField(ctx context.Context, in *DeleteFieldRequest, opts ...grpc.CallOption) (*DeleteFieldReply, error)
}

FieldClient is the client API for Field 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 NewFieldClient

func NewFieldClient(cc grpc.ClientConnInterface) FieldClient

type FieldHTTPClient

type FieldHTTPClient interface {
	CreateField(ctx context.Context, req *CreateFieldRequest, opts ...http.CallOption) (rsp *CreateFieldReply, err error)
	DeleteField(ctx context.Context, req *DeleteFieldRequest, opts ...http.CallOption) (rsp *DeleteFieldReply, err error)
	ListField(ctx context.Context, req *ListFieldRequest, opts ...http.CallOption) (rsp *ListFieldReply, err error)
	ListFieldType(ctx context.Context, req *ListFieldTypeRequest, opts ...http.CallOption) (rsp *ListFieldTypeReply, err error)
	UpdateField(ctx context.Context, req *UpdateFieldRequest, opts ...http.CallOption) (rsp *UpdateFieldReply, err error)
}

func NewFieldHTTPClient

func NewFieldHTTPClient(client *http.Client) FieldHTTPClient

type FieldHTTPClientImpl

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

func (*FieldHTTPClientImpl) CreateField

func (*FieldHTTPClientImpl) DeleteField

func (*FieldHTTPClientImpl) ListField

func (*FieldHTTPClientImpl) ListFieldType

func (*FieldHTTPClientImpl) UpdateField

type FieldHTTPServer

type FieldHTTPServer interface {
	// CreateField CreateField 创建用户字段
	CreateField(context.Context, *CreateFieldRequest) (*CreateFieldReply, error)
	// DeleteField DeleteField 删除用户字段
	DeleteField(context.Context, *DeleteFieldRequest) (*DeleteFieldReply, error)
	// ListField ListField 获取用户字段列表
	ListField(context.Context, *ListFieldRequest) (*ListFieldReply, error)
	// ListFieldType ListFieldType 获取可用的字段列表
	ListFieldType(context.Context, *ListFieldTypeRequest) (*ListFieldTypeReply, error)
	// UpdateField UpdateField 更新用户字段
	UpdateField(context.Context, *UpdateFieldRequest) (*UpdateFieldReply, error)
}

type FieldServer

type FieldServer interface {
	// ListFieldType 获取可用的字段列表
	ListFieldType(context.Context, *ListFieldTypeRequest) (*ListFieldTypeReply, error)
	// ListField 获取用户字段列表
	ListField(context.Context, *ListFieldRequest) (*ListFieldReply, error)
	// CreateField 创建用户字段
	CreateField(context.Context, *CreateFieldRequest) (*CreateFieldReply, error)
	// UpdateField 更新用户字段
	UpdateField(context.Context, *UpdateFieldRequest) (*UpdateFieldReply, error)
	// DeleteField 删除用户字段
	DeleteField(context.Context, *DeleteFieldRequest) (*DeleteFieldReply, error)
	// contains filtered or unexported methods
}

FieldServer is the server API for Field service. All implementations must embed UnimplementedFieldServer for forward compatibility

type ListFieldReply

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

func (*ListFieldReply) Descriptor deprecated

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

Deprecated: Use ListFieldReply.ProtoReflect.Descriptor instead.

func (*ListFieldReply) GetList

func (x *ListFieldReply) GetList() []*ListFieldReply_Field

func (*ListFieldReply) GetTotal

func (x *ListFieldReply) GetTotal() uint32

func (*ListFieldReply) ProtoMessage

func (*ListFieldReply) ProtoMessage()

func (*ListFieldReply) ProtoReflect

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

func (*ListFieldReply) Reset

func (x *ListFieldReply) Reset()

func (*ListFieldReply) String

func (x *ListFieldReply) String() string

func (*ListFieldReply) Validate

func (m *ListFieldReply) Validate() error

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

func (m *ListFieldReply) ValidateAll() error

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

type ListFieldReplyMultiError

type ListFieldReplyMultiError []error

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

func (ListFieldReplyMultiError) AllErrors

func (m ListFieldReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListFieldReplyMultiError) Error

func (m ListFieldReplyMultiError) Error() string

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

type ListFieldReplyValidationError

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

ListFieldReplyValidationError is the validation error returned by ListFieldReply.Validate if the designated constraints aren't met.

func (ListFieldReplyValidationError) Cause

Cause function returns cause value.

func (ListFieldReplyValidationError) Error

Error satisfies the builtin error interface

func (ListFieldReplyValidationError) ErrorName

func (e ListFieldReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListFieldReplyValidationError) Field

Field function returns field value.

func (ListFieldReplyValidationError) Key

Key function returns key value.

func (ListFieldReplyValidationError) Reason

Reason function returns reason value.

type ListFieldReply_Field

type ListFieldReply_Field 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"`
	Type        string  `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Name        string  `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Status      *bool   `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,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 (*ListFieldReply_Field) Descriptor deprecated

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

Deprecated: Use ListFieldReply_Field.ProtoReflect.Descriptor instead.

func (*ListFieldReply_Field) GetCreatedAt

func (x *ListFieldReply_Field) GetCreatedAt() uint32

func (*ListFieldReply_Field) GetDescription

func (x *ListFieldReply_Field) GetDescription() string

func (*ListFieldReply_Field) GetId

func (x *ListFieldReply_Field) GetId() uint32

func (*ListFieldReply_Field) GetKeyword

func (x *ListFieldReply_Field) GetKeyword() string

func (*ListFieldReply_Field) GetName

func (x *ListFieldReply_Field) GetName() string

func (*ListFieldReply_Field) GetStatus

func (x *ListFieldReply_Field) GetStatus() bool

func (*ListFieldReply_Field) GetType

func (x *ListFieldReply_Field) GetType() string

func (*ListFieldReply_Field) GetUpdatedAt

func (x *ListFieldReply_Field) GetUpdatedAt() uint32

func (*ListFieldReply_Field) ProtoMessage

func (*ListFieldReply_Field) ProtoMessage()

func (*ListFieldReply_Field) ProtoReflect

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

func (*ListFieldReply_Field) Reset

func (x *ListFieldReply_Field) Reset()

func (*ListFieldReply_Field) String

func (x *ListFieldReply_Field) String() string

func (*ListFieldReply_Field) Validate

func (m *ListFieldReply_Field) Validate() error

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

func (m *ListFieldReply_Field) ValidateAll() error

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

type ListFieldReply_FieldMultiError

type ListFieldReply_FieldMultiError []error

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

func (ListFieldReply_FieldMultiError) AllErrors

func (m ListFieldReply_FieldMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListFieldReply_FieldMultiError) Error

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

type ListFieldReply_FieldValidationError

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

ListFieldReply_FieldValidationError is the validation error returned by ListFieldReply_Field.Validate if the designated constraints aren't met.

func (ListFieldReply_FieldValidationError) Cause

Cause function returns cause value.

func (ListFieldReply_FieldValidationError) Error

Error satisfies the builtin error interface

func (ListFieldReply_FieldValidationError) ErrorName

ErrorName returns error name.

func (ListFieldReply_FieldValidationError) Field

Field function returns field value.

func (ListFieldReply_FieldValidationError) Key

Key function returns key value.

func (ListFieldReply_FieldValidationError) Reason

Reason function returns reason value.

type ListFieldRequest

type ListFieldRequest 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"`
	Keyword  *string `protobuf:"bytes,5,opt,name=keyword,proto3,oneof" json:"keyword,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 (*ListFieldRequest) Descriptor deprecated

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

Deprecated: Use ListFieldRequest.ProtoReflect.Descriptor instead.

func (*ListFieldRequest) GetKeyword

func (x *ListFieldRequest) GetKeyword() string

func (*ListFieldRequest) GetName

func (x *ListFieldRequest) GetName() string

func (*ListFieldRequest) GetOrder

func (x *ListFieldRequest) GetOrder() string

func (*ListFieldRequest) GetOrderBy

func (x *ListFieldRequest) GetOrderBy() string

func (*ListFieldRequest) GetPage

func (x *ListFieldRequest) GetPage() uint32

func (*ListFieldRequest) GetPageSize

func (x *ListFieldRequest) GetPageSize() uint32

func (*ListFieldRequest) GetStatus

func (x *ListFieldRequest) GetStatus() bool

func (*ListFieldRequest) ProtoMessage

func (*ListFieldRequest) ProtoMessage()

func (*ListFieldRequest) ProtoReflect

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

func (*ListFieldRequest) Reset

func (x *ListFieldRequest) Reset()

func (*ListFieldRequest) String

func (x *ListFieldRequest) String() string

func (*ListFieldRequest) Validate

func (m *ListFieldRequest) Validate() error

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

func (m *ListFieldRequest) ValidateAll() error

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

type ListFieldRequestMultiError

type ListFieldRequestMultiError []error

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

func (ListFieldRequestMultiError) AllErrors

func (m ListFieldRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListFieldRequestMultiError) Error

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

type ListFieldRequestValidationError

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

ListFieldRequestValidationError is the validation error returned by ListFieldRequest.Validate if the designated constraints aren't met.

func (ListFieldRequestValidationError) Cause

Cause function returns cause value.

func (ListFieldRequestValidationError) Error

Error satisfies the builtin error interface

func (ListFieldRequestValidationError) ErrorName

ErrorName returns error name.

func (ListFieldRequestValidationError) Field

Field function returns field value.

func (ListFieldRequestValidationError) Key

Key function returns key value.

func (ListFieldRequestValidationError) Reason

Reason function returns reason value.

type ListFieldTypeReply

type ListFieldTypeReply struct {
	List []*ListFieldTypeReply_Type `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFieldTypeReply) Descriptor deprecated

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

Deprecated: Use ListFieldTypeReply.ProtoReflect.Descriptor instead.

func (*ListFieldTypeReply) GetList

func (*ListFieldTypeReply) ProtoMessage

func (*ListFieldTypeReply) ProtoMessage()

func (*ListFieldTypeReply) ProtoReflect

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

func (*ListFieldTypeReply) Reset

func (x *ListFieldTypeReply) Reset()

func (*ListFieldTypeReply) String

func (x *ListFieldTypeReply) String() string

func (*ListFieldTypeReply) Validate

func (m *ListFieldTypeReply) Validate() error

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

func (m *ListFieldTypeReply) ValidateAll() error

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

type ListFieldTypeReplyMultiError

type ListFieldTypeReplyMultiError []error

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

func (ListFieldTypeReplyMultiError) AllErrors

func (m ListFieldTypeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListFieldTypeReplyMultiError) Error

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

type ListFieldTypeReplyValidationError

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

ListFieldTypeReplyValidationError is the validation error returned by ListFieldTypeReply.Validate if the designated constraints aren't met.

func (ListFieldTypeReplyValidationError) Cause

Cause function returns cause value.

func (ListFieldTypeReplyValidationError) Error

Error satisfies the builtin error interface

func (ListFieldTypeReplyValidationError) ErrorName

ErrorName returns error name.

func (ListFieldTypeReplyValidationError) Field

Field function returns field value.

func (ListFieldTypeReplyValidationError) Key

Key function returns key value.

func (ListFieldTypeReplyValidationError) Reason

Reason function returns reason value.

type ListFieldTypeReply_Type

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

func (*ListFieldTypeReply_Type) Descriptor deprecated

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

Deprecated: Use ListFieldTypeReply_Type.ProtoReflect.Descriptor instead.

func (*ListFieldTypeReply_Type) GetName

func (x *ListFieldTypeReply_Type) GetName() string

func (*ListFieldTypeReply_Type) GetType

func (x *ListFieldTypeReply_Type) GetType() string

func (*ListFieldTypeReply_Type) ProtoMessage

func (*ListFieldTypeReply_Type) ProtoMessage()

func (*ListFieldTypeReply_Type) ProtoReflect

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

func (*ListFieldTypeReply_Type) Reset

func (x *ListFieldTypeReply_Type) Reset()

func (*ListFieldTypeReply_Type) String

func (x *ListFieldTypeReply_Type) String() string

func (*ListFieldTypeReply_Type) Validate

func (m *ListFieldTypeReply_Type) Validate() error

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

func (m *ListFieldTypeReply_Type) ValidateAll() error

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

type ListFieldTypeReply_TypeMultiError

type ListFieldTypeReply_TypeMultiError []error

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

func (ListFieldTypeReply_TypeMultiError) AllErrors

func (m ListFieldTypeReply_TypeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListFieldTypeReply_TypeMultiError) Error

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

type ListFieldTypeReply_TypeValidationError

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

ListFieldTypeReply_TypeValidationError is the validation error returned by ListFieldTypeReply_Type.Validate if the designated constraints aren't met.

func (ListFieldTypeReply_TypeValidationError) Cause

Cause function returns cause value.

func (ListFieldTypeReply_TypeValidationError) Error

Error satisfies the builtin error interface

func (ListFieldTypeReply_TypeValidationError) ErrorName

ErrorName returns error name.

func (ListFieldTypeReply_TypeValidationError) Field

Field function returns field value.

func (ListFieldTypeReply_TypeValidationError) Key

Key function returns key value.

func (ListFieldTypeReply_TypeValidationError) Reason

Reason function returns reason value.

type ListFieldTypeRequest

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

func (*ListFieldTypeRequest) Descriptor deprecated

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

Deprecated: Use ListFieldTypeRequest.ProtoReflect.Descriptor instead.

func (*ListFieldTypeRequest) ProtoMessage

func (*ListFieldTypeRequest) ProtoMessage()

func (*ListFieldTypeRequest) ProtoReflect

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

func (*ListFieldTypeRequest) Reset

func (x *ListFieldTypeRequest) Reset()

func (*ListFieldTypeRequest) String

func (x *ListFieldTypeRequest) String() string

func (*ListFieldTypeRequest) Validate

func (m *ListFieldTypeRequest) Validate() error

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

func (m *ListFieldTypeRequest) ValidateAll() error

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

type ListFieldTypeRequestMultiError

type ListFieldTypeRequestMultiError []error

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

func (ListFieldTypeRequestMultiError) AllErrors

func (m ListFieldTypeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListFieldTypeRequestMultiError) Error

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

type ListFieldTypeRequestValidationError

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

ListFieldTypeRequestValidationError is the validation error returned by ListFieldTypeRequest.Validate if the designated constraints aren't met.

func (ListFieldTypeRequestValidationError) Cause

Cause function returns cause value.

func (ListFieldTypeRequestValidationError) Error

Error satisfies the builtin error interface

func (ListFieldTypeRequestValidationError) ErrorName

ErrorName returns error name.

func (ListFieldTypeRequestValidationError) Field

Field function returns field value.

func (ListFieldTypeRequestValidationError) Key

Key function returns key value.

func (ListFieldTypeRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedFieldServer

type UnimplementedFieldServer struct {
}

UnimplementedFieldServer must be embedded to have forward compatible implementations.

func (UnimplementedFieldServer) CreateField

func (UnimplementedFieldServer) DeleteField

func (UnimplementedFieldServer) ListField

func (UnimplementedFieldServer) ListFieldType

func (UnimplementedFieldServer) UpdateField

type UnsafeFieldServer

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

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

type UpdateFieldReply

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

func (*UpdateFieldReply) Descriptor deprecated

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

Deprecated: Use UpdateFieldReply.ProtoReflect.Descriptor instead.

func (*UpdateFieldReply) ProtoMessage

func (*UpdateFieldReply) ProtoMessage()

func (*UpdateFieldReply) ProtoReflect

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

func (*UpdateFieldReply) Reset

func (x *UpdateFieldReply) Reset()

func (*UpdateFieldReply) String

func (x *UpdateFieldReply) String() string

func (*UpdateFieldReply) Validate

func (m *UpdateFieldReply) Validate() error

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

func (m *UpdateFieldReply) ValidateAll() error

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

type UpdateFieldReplyMultiError

type UpdateFieldReplyMultiError []error

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

func (UpdateFieldReplyMultiError) AllErrors

func (m UpdateFieldReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateFieldReplyMultiError) Error

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

type UpdateFieldReplyValidationError

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

UpdateFieldReplyValidationError is the validation error returned by UpdateFieldReply.Validate if the designated constraints aren't met.

func (UpdateFieldReplyValidationError) Cause

Cause function returns cause value.

func (UpdateFieldReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateFieldReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateFieldReplyValidationError) Field

Field function returns field value.

func (UpdateFieldReplyValidationError) Key

Key function returns key value.

func (UpdateFieldReplyValidationError) Reason

Reason function returns reason value.

type UpdateFieldRequest

type UpdateFieldRequest 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"`
	Type        string  `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Name        string  `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Status      *bool   `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFieldRequest) Descriptor deprecated

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

Deprecated: Use UpdateFieldRequest.ProtoReflect.Descriptor instead.

func (*UpdateFieldRequest) GetDescription

func (x *UpdateFieldRequest) GetDescription() string

func (*UpdateFieldRequest) GetId

func (x *UpdateFieldRequest) GetId() uint32

func (*UpdateFieldRequest) GetKeyword

func (x *UpdateFieldRequest) GetKeyword() string

func (*UpdateFieldRequest) GetName

func (x *UpdateFieldRequest) GetName() string

func (*UpdateFieldRequest) GetStatus

func (x *UpdateFieldRequest) GetStatus() bool

func (*UpdateFieldRequest) GetType

func (x *UpdateFieldRequest) GetType() string

func (*UpdateFieldRequest) ProtoMessage

func (*UpdateFieldRequest) ProtoMessage()

func (*UpdateFieldRequest) ProtoReflect

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

func (*UpdateFieldRequest) Reset

func (x *UpdateFieldRequest) Reset()

func (*UpdateFieldRequest) String

func (x *UpdateFieldRequest) String() string

func (*UpdateFieldRequest) Validate

func (m *UpdateFieldRequest) Validate() error

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

func (m *UpdateFieldRequest) ValidateAll() error

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

type UpdateFieldRequestMultiError

type UpdateFieldRequestMultiError []error

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

func (UpdateFieldRequestMultiError) AllErrors

func (m UpdateFieldRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateFieldRequestMultiError) Error

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

type UpdateFieldRequestValidationError

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

UpdateFieldRequestValidationError is the validation error returned by UpdateFieldRequest.Validate if the designated constraints aren't met.

func (UpdateFieldRequestValidationError) Cause

Cause function returns cause value.

func (UpdateFieldRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateFieldRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateFieldRequestValidationError) Field

Field function returns field value.

func (UpdateFieldRequestValidationError) Key

Key function returns key value.

func (UpdateFieldRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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