Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type AddFieldReply
- func (*AddFieldReply) Descriptor() ([]byte, []int)deprecated
- func (x *AddFieldReply) GetId() uint32
- func (*AddFieldReply) ProtoMessage()
- func (x *AddFieldReply) ProtoReflect() protoreflect.Message
- func (x *AddFieldReply) Reset()
- func (x *AddFieldReply) String() string
- func (m *AddFieldReply) Validate() error
- func (m *AddFieldReply) ValidateAll() error
- type AddFieldReplyMultiError
- type AddFieldReplyValidationError
- func (e AddFieldReplyValidationError) Cause() error
- func (e AddFieldReplyValidationError) Error() string
- func (e AddFieldReplyValidationError) ErrorName() string
- func (e AddFieldReplyValidationError) Field() string
- func (e AddFieldReplyValidationError) Key() bool
- func (e AddFieldReplyValidationError) Reason() string
- type AddFieldRequest
- func (*AddFieldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFieldRequest) GetDescription() string
- func (x *AddFieldRequest) GetKeyword() string
- func (x *AddFieldRequest) GetName() string
- func (x *AddFieldRequest) GetType() string
- func (*AddFieldRequest) ProtoMessage()
- func (x *AddFieldRequest) ProtoReflect() protoreflect.Message
- func (x *AddFieldRequest) Reset()
- func (x *AddFieldRequest) String() string
- func (m *AddFieldRequest) Validate() error
- func (m *AddFieldRequest) ValidateAll() error
- type AddFieldRequestMultiError
- type AddFieldRequestValidationError
- func (e AddFieldRequestValidationError) Cause() error
- func (e AddFieldRequestValidationError) Error() string
- func (e AddFieldRequestValidationError) ErrorName() string
- func (e AddFieldRequestValidationError) Field() string
- func (e AddFieldRequestValidationError) Key() bool
- func (e AddFieldRequestValidationError) Reason() string
- type AllFieldTypeReply
- func (*AllFieldTypeReply) Descriptor() ([]byte, []int)deprecated
- func (x *AllFieldTypeReply) GetList() []*AllFieldTypeReplyData
- func (*AllFieldTypeReply) ProtoMessage()
- func (x *AllFieldTypeReply) ProtoReflect() protoreflect.Message
- func (x *AllFieldTypeReply) Reset()
- func (x *AllFieldTypeReply) String() string
- func (m *AllFieldTypeReply) Validate() error
- func (m *AllFieldTypeReply) ValidateAll() error
- type AllFieldTypeReplyData
- func (*AllFieldTypeReplyData) Descriptor() ([]byte, []int)deprecated
- func (x *AllFieldTypeReplyData) GetName() string
- func (x *AllFieldTypeReplyData) GetType() string
- func (*AllFieldTypeReplyData) ProtoMessage()
- func (x *AllFieldTypeReplyData) ProtoReflect() protoreflect.Message
- func (x *AllFieldTypeReplyData) Reset()
- func (x *AllFieldTypeReplyData) String() string
- func (m *AllFieldTypeReplyData) Validate() error
- func (m *AllFieldTypeReplyData) ValidateAll() error
- type AllFieldTypeReplyDataMultiError
- type AllFieldTypeReplyDataValidationError
- func (e AllFieldTypeReplyDataValidationError) Cause() error
- func (e AllFieldTypeReplyDataValidationError) Error() string
- func (e AllFieldTypeReplyDataValidationError) ErrorName() string
- func (e AllFieldTypeReplyDataValidationError) Field() string
- func (e AllFieldTypeReplyDataValidationError) Key() bool
- func (e AllFieldTypeReplyDataValidationError) Reason() string
- type AllFieldTypeReplyMultiError
- type AllFieldTypeReplyValidationError
- func (e AllFieldTypeReplyValidationError) Cause() error
- func (e AllFieldTypeReplyValidationError) Error() string
- func (e AllFieldTypeReplyValidationError) ErrorName() string
- func (e AllFieldTypeReplyValidationError) Field() string
- func (e AllFieldTypeReplyValidationError) Key() bool
- func (e AllFieldTypeReplyValidationError) Reason() string
- type CurrentFieldReply
- func (*CurrentFieldReply) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentFieldReply) GetList() []*Field
- func (*CurrentFieldReply) ProtoMessage()
- func (x *CurrentFieldReply) ProtoReflect() protoreflect.Message
- func (x *CurrentFieldReply) Reset()
- func (x *CurrentFieldReply) String() string
- func (m *CurrentFieldReply) Validate() error
- func (m *CurrentFieldReply) ValidateAll() error
- type CurrentFieldReplyMultiError
- type CurrentFieldReplyValidationError
- func (e CurrentFieldReplyValidationError) Cause() error
- func (e CurrentFieldReplyValidationError) Error() string
- func (e CurrentFieldReplyValidationError) ErrorName() string
- func (e CurrentFieldReplyValidationError) Field() string
- func (e CurrentFieldReplyValidationError) Key() bool
- func (e CurrentFieldReplyValidationError) Reason() string
- type DeleteFieldRequest
- func (*DeleteFieldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFieldRequest) GetId() uint32
- func (*DeleteFieldRequest) ProtoMessage()
- func (x *DeleteFieldRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFieldRequest) Reset()
- func (x *DeleteFieldRequest) String() string
- func (m *DeleteFieldRequest) Validate() error
- func (m *DeleteFieldRequest) ValidateAll() error
- type DeleteFieldRequestMultiError
- type DeleteFieldRequestValidationError
- func (e DeleteFieldRequestValidationError) Cause() error
- func (e DeleteFieldRequestValidationError) Error() string
- func (e DeleteFieldRequestValidationError) ErrorName() string
- func (e DeleteFieldRequestValidationError) Field() string
- func (e DeleteFieldRequestValidationError) Key() bool
- func (e DeleteFieldRequestValidationError) Reason() string
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetCreatedAt() uint32
- func (x *Field) GetDescription() string
- func (x *Field) GetId() uint32
- func (x *Field) GetKeyword() string
- func (x *Field) GetName() string
- func (x *Field) GetType() string
- func (x *Field) GetUpdatedAt() uint32
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- func (m *Field) Validate() error
- func (m *Field) ValidateAll() error
- type FieldMultiError
- type FieldValidationError
- type PageFieldReply
- func (*PageFieldReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageFieldReply) GetList() []*Field
- func (x *PageFieldReply) GetTotal() uint32
- func (*PageFieldReply) ProtoMessage()
- func (x *PageFieldReply) ProtoReflect() protoreflect.Message
- func (x *PageFieldReply) Reset()
- func (x *PageFieldReply) String() string
- func (m *PageFieldReply) Validate() error
- func (m *PageFieldReply) ValidateAll() error
- type PageFieldReplyMultiError
- type PageFieldReplyValidationError
- func (e PageFieldReplyValidationError) Cause() error
- func (e PageFieldReplyValidationError) Error() string
- func (e PageFieldReplyValidationError) ErrorName() string
- func (e PageFieldReplyValidationError) Field() string
- func (e PageFieldReplyValidationError) Key() bool
- func (e PageFieldReplyValidationError) Reason() string
- type PageFieldRequest
- func (*PageFieldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageFieldRequest) GetKeyword() string
- func (x *PageFieldRequest) GetName() string
- func (x *PageFieldRequest) GetPage() uint32
- func (x *PageFieldRequest) GetPageSize() uint32
- func (*PageFieldRequest) ProtoMessage()
- func (x *PageFieldRequest) ProtoReflect() protoreflect.Message
- func (x *PageFieldRequest) Reset()
- func (x *PageFieldRequest) String() string
- func (m *PageFieldRequest) Validate() error
- func (m *PageFieldRequest) ValidateAll() error
- type PageFieldRequestMultiError
- type PageFieldRequestValidationError
- func (e PageFieldRequestValidationError) Cause() error
- func (e PageFieldRequestValidationError) Error() string
- func (e PageFieldRequestValidationError) ErrorName() string
- func (e PageFieldRequestValidationError) Field() string
- func (e PageFieldRequestValidationError) Key() bool
- func (e PageFieldRequestValidationError) Reason() string
- type ServiceClient
- type ServiceHTTPClient
- type ServiceHTTPClientImpl
- func (c *ServiceHTTPClientImpl) AddField(ctx context.Context, in *AddFieldRequest, opts ...http.CallOption) (*AddFieldReply, error)
- func (c *ServiceHTTPClientImpl) AllFieldType(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*AllFieldTypeReply, error)
- func (c *ServiceHTTPClientImpl) DeleteField(ctx context.Context, in *DeleteFieldRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) PageField(ctx context.Context, in *PageFieldRequest, opts ...http.CallOption) (*PageFieldReply, error)
- func (c *ServiceHTTPClientImpl) UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- type ServiceHTTPServer
- type ServiceServer
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) AddField(context.Context, *AddFieldRequest) (*AddFieldReply, error)
- func (UnimplementedServiceServer) AllFieldType(context.Context, *emptypb.Empty) (*AllFieldTypeReply, error)
- func (UnimplementedServiceServer) DeleteField(context.Context, *DeleteFieldRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) PageField(context.Context, *PageFieldRequest) (*PageFieldReply, error)
- func (UnimplementedServiceServer) UpdateField(context.Context, *UpdateFieldRequest) (*emptypb.Empty, error)
- type UnsafeServiceServer
- type UpdateFieldRequest
- func (*UpdateFieldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFieldRequest) GetDescription() string
- func (x *UpdateFieldRequest) GetId() uint32
- func (x *UpdateFieldRequest) GetName() string
- func (x *UpdateFieldRequest) GetType() string
- func (*UpdateFieldRequest) ProtoMessage()
- func (x *UpdateFieldRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFieldRequest) Reset()
- func (x *UpdateFieldRequest) String() string
- func (m *UpdateFieldRequest) Validate() error
- func (m *UpdateFieldRequest) ValidateAll() error
- type UpdateFieldRequestMultiError
- type UpdateFieldRequestValidationError
- func (e UpdateFieldRequestValidationError) Cause() error
- func (e UpdateFieldRequestValidationError) Error() string
- func (e UpdateFieldRequestValidationError) ErrorName() string
- func (e UpdateFieldRequestValidationError) Field() string
- func (e UpdateFieldRequestValidationError) Key() bool
- func (e UpdateFieldRequestValidationError) Reason() string
Constants ¶
const ( Service_AllFieldType_FullMethodName = "/field.Service/AllFieldType" Service_PageField_FullMethodName = "/field.Service/PageField" Service_AddField_FullMethodName = "/field.Service/AddField" Service_UpdateField_FullMethodName = "/field.Service/UpdateField" Service_DeleteField_FullMethodName = "/field.Service/DeleteField" )
const OperationServiceAddField = "/field.Service/AddField"
const OperationServiceAllFieldType = "/field.Service/AllFieldType"
const OperationServiceDeleteField = "/field.Service/DeleteField"
const OperationServicePageField = "/field.Service/PageField"
const OperationServiceUpdateField = "/field.Service/UpdateField"
Variables ¶
var File_user_center_field_proto protoreflect.FileDescriptor
var File_user_center_field_service_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "field.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AllFieldType", Handler: _Service_AllFieldType_Handler, }, { MethodName: "PageField", Handler: _Service_PageField_Handler, }, { MethodName: "AddField", Handler: _Service_AddField_Handler, }, { MethodName: "UpdateField", Handler: _Service_UpdateField_Handler, }, { MethodName: "DeleteField", Handler: _Service_DeleteField_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user_center_field_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 AddFieldReply ¶
type AddFieldReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddFieldReply) Descriptor
deprecated
func (*AddFieldReply) Descriptor() ([]byte, []int)
Deprecated: Use AddFieldReply.ProtoReflect.Descriptor instead.
func (*AddFieldReply) GetId ¶
func (x *AddFieldReply) GetId() uint32
func (*AddFieldReply) ProtoMessage ¶
func (*AddFieldReply) ProtoMessage()
func (*AddFieldReply) ProtoReflect ¶
func (x *AddFieldReply) ProtoReflect() protoreflect.Message
func (*AddFieldReply) Reset ¶
func (x *AddFieldReply) Reset()
func (*AddFieldReply) String ¶
func (x *AddFieldReply) String() string
func (*AddFieldReply) Validate ¶
func (m *AddFieldReply) Validate() error
Validate checks the field values on AddFieldReply 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 (*AddFieldReply) ValidateAll ¶
func (m *AddFieldReply) ValidateAll() error
ValidateAll checks the field values on AddFieldReply 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 AddFieldReplyMultiError, or nil if none found.
type AddFieldReplyMultiError ¶
type AddFieldReplyMultiError []error
AddFieldReplyMultiError is an error wrapping multiple validation errors returned by AddFieldReply.ValidateAll() if the designated constraints aren't met.
func (AddFieldReplyMultiError) AllErrors ¶
func (m AddFieldReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddFieldReplyMultiError) Error ¶
func (m AddFieldReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddFieldReplyValidationError ¶
type AddFieldReplyValidationError struct {
// contains filtered or unexported fields
}
AddFieldReplyValidationError is the validation error returned by AddFieldReply.Validate if the designated constraints aren't met.
func (AddFieldReplyValidationError) Cause ¶
func (e AddFieldReplyValidationError) Cause() error
Cause function returns cause value.
func (AddFieldReplyValidationError) Error ¶
func (e AddFieldReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AddFieldReplyValidationError) ErrorName ¶
func (e AddFieldReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AddFieldReplyValidationError) Field ¶
func (e AddFieldReplyValidationError) Field() string
Field function returns field value.
func (AddFieldReplyValidationError) Key ¶
func (e AddFieldReplyValidationError) Key() bool
Key function returns key value.
func (AddFieldReplyValidationError) Reason ¶
func (e AddFieldReplyValidationError) Reason() string
Reason function returns reason value.
type AddFieldRequest ¶
type AddFieldRequest 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 (*AddFieldRequest) Descriptor
deprecated
func (*AddFieldRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFieldRequest.ProtoReflect.Descriptor instead.
func (*AddFieldRequest) GetDescription ¶
func (x *AddFieldRequest) GetDescription() string
func (*AddFieldRequest) GetKeyword ¶
func (x *AddFieldRequest) GetKeyword() string
func (*AddFieldRequest) GetName ¶
func (x *AddFieldRequest) GetName() string
func (*AddFieldRequest) GetType ¶
func (x *AddFieldRequest) GetType() string
func (*AddFieldRequest) ProtoMessage ¶
func (*AddFieldRequest) ProtoMessage()
func (*AddFieldRequest) ProtoReflect ¶
func (x *AddFieldRequest) ProtoReflect() protoreflect.Message
func (*AddFieldRequest) Reset ¶
func (x *AddFieldRequest) Reset()
func (*AddFieldRequest) String ¶
func (x *AddFieldRequest) String() string
func (*AddFieldRequest) Validate ¶
func (m *AddFieldRequest) Validate() error
Validate checks the field values on AddFieldRequest 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 (*AddFieldRequest) ValidateAll ¶
func (m *AddFieldRequest) ValidateAll() error
ValidateAll checks the field values on AddFieldRequest 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 AddFieldRequestMultiError, or nil if none found.
type AddFieldRequestMultiError ¶
type AddFieldRequestMultiError []error
AddFieldRequestMultiError is an error wrapping multiple validation errors returned by AddFieldRequest.ValidateAll() if the designated constraints aren't met.
func (AddFieldRequestMultiError) AllErrors ¶
func (m AddFieldRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddFieldRequestMultiError) Error ¶
func (m AddFieldRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddFieldRequestValidationError ¶
type AddFieldRequestValidationError struct {
// contains filtered or unexported fields
}
AddFieldRequestValidationError is the validation error returned by AddFieldRequest.Validate if the designated constraints aren't met.
func (AddFieldRequestValidationError) Cause ¶
func (e AddFieldRequestValidationError) Cause() error
Cause function returns cause value.
func (AddFieldRequestValidationError) Error ¶
func (e AddFieldRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddFieldRequestValidationError) ErrorName ¶
func (e AddFieldRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddFieldRequestValidationError) Field ¶
func (e AddFieldRequestValidationError) Field() string
Field function returns field value.
func (AddFieldRequestValidationError) Key ¶
func (e AddFieldRequestValidationError) Key() bool
Key function returns key value.
func (AddFieldRequestValidationError) Reason ¶
func (e AddFieldRequestValidationError) Reason() string
Reason function returns reason value.
type AllFieldTypeReply ¶
type AllFieldTypeReply struct { List []*AllFieldTypeReplyData `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*AllFieldTypeReply) Descriptor
deprecated
func (*AllFieldTypeReply) Descriptor() ([]byte, []int)
Deprecated: Use AllFieldTypeReply.ProtoReflect.Descriptor instead.
func (*AllFieldTypeReply) GetList ¶
func (x *AllFieldTypeReply) GetList() []*AllFieldTypeReplyData
func (*AllFieldTypeReply) ProtoMessage ¶
func (*AllFieldTypeReply) ProtoMessage()
func (*AllFieldTypeReply) ProtoReflect ¶
func (x *AllFieldTypeReply) ProtoReflect() protoreflect.Message
func (*AllFieldTypeReply) Reset ¶
func (x *AllFieldTypeReply) Reset()
func (*AllFieldTypeReply) String ¶
func (x *AllFieldTypeReply) String() string
func (*AllFieldTypeReply) Validate ¶
func (m *AllFieldTypeReply) Validate() error
Validate checks the field values on AllFieldTypeReply 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 (*AllFieldTypeReply) ValidateAll ¶
func (m *AllFieldTypeReply) ValidateAll() error
ValidateAll checks the field values on AllFieldTypeReply 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 AllFieldTypeReplyMultiError, or nil if none found.
type AllFieldTypeReplyData ¶
type AllFieldTypeReplyData 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 (*AllFieldTypeReplyData) Descriptor
deprecated
func (*AllFieldTypeReplyData) Descriptor() ([]byte, []int)
Deprecated: Use AllFieldTypeReplyData.ProtoReflect.Descriptor instead.
func (*AllFieldTypeReplyData) GetName ¶
func (x *AllFieldTypeReplyData) GetName() string
func (*AllFieldTypeReplyData) GetType ¶
func (x *AllFieldTypeReplyData) GetType() string
func (*AllFieldTypeReplyData) ProtoMessage ¶
func (*AllFieldTypeReplyData) ProtoMessage()
func (*AllFieldTypeReplyData) ProtoReflect ¶
func (x *AllFieldTypeReplyData) ProtoReflect() protoreflect.Message
func (*AllFieldTypeReplyData) Reset ¶
func (x *AllFieldTypeReplyData) Reset()
func (*AllFieldTypeReplyData) String ¶
func (x *AllFieldTypeReplyData) String() string
func (*AllFieldTypeReplyData) Validate ¶
func (m *AllFieldTypeReplyData) Validate() error
Validate checks the field values on AllFieldTypeReplyData 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 (*AllFieldTypeReplyData) ValidateAll ¶
func (m *AllFieldTypeReplyData) ValidateAll() error
ValidateAll checks the field values on AllFieldTypeReplyData 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 AllFieldTypeReplyDataMultiError, or nil if none found.
type AllFieldTypeReplyDataMultiError ¶
type AllFieldTypeReplyDataMultiError []error
AllFieldTypeReplyDataMultiError is an error wrapping multiple validation errors returned by AllFieldTypeReplyData.ValidateAll() if the designated constraints aren't met.
func (AllFieldTypeReplyDataMultiError) AllErrors ¶
func (m AllFieldTypeReplyDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllFieldTypeReplyDataMultiError) Error ¶
func (m AllFieldTypeReplyDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllFieldTypeReplyDataValidationError ¶
type AllFieldTypeReplyDataValidationError struct {
// contains filtered or unexported fields
}
AllFieldTypeReplyDataValidationError is the validation error returned by AllFieldTypeReplyData.Validate if the designated constraints aren't met.
func (AllFieldTypeReplyDataValidationError) Cause ¶
func (e AllFieldTypeReplyDataValidationError) Cause() error
Cause function returns cause value.
func (AllFieldTypeReplyDataValidationError) Error ¶
func (e AllFieldTypeReplyDataValidationError) Error() string
Error satisfies the builtin error interface
func (AllFieldTypeReplyDataValidationError) ErrorName ¶
func (e AllFieldTypeReplyDataValidationError) ErrorName() string
ErrorName returns error name.
func (AllFieldTypeReplyDataValidationError) Field ¶
func (e AllFieldTypeReplyDataValidationError) Field() string
Field function returns field value.
func (AllFieldTypeReplyDataValidationError) Key ¶
func (e AllFieldTypeReplyDataValidationError) Key() bool
Key function returns key value.
func (AllFieldTypeReplyDataValidationError) Reason ¶
func (e AllFieldTypeReplyDataValidationError) Reason() string
Reason function returns reason value.
type AllFieldTypeReplyMultiError ¶
type AllFieldTypeReplyMultiError []error
AllFieldTypeReplyMultiError is an error wrapping multiple validation errors returned by AllFieldTypeReply.ValidateAll() if the designated constraints aren't met.
func (AllFieldTypeReplyMultiError) AllErrors ¶
func (m AllFieldTypeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllFieldTypeReplyMultiError) Error ¶
func (m AllFieldTypeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllFieldTypeReplyValidationError ¶
type AllFieldTypeReplyValidationError struct {
// contains filtered or unexported fields
}
AllFieldTypeReplyValidationError is the validation error returned by AllFieldTypeReply.Validate if the designated constraints aren't met.
func (AllFieldTypeReplyValidationError) Cause ¶
func (e AllFieldTypeReplyValidationError) Cause() error
Cause function returns cause value.
func (AllFieldTypeReplyValidationError) Error ¶
func (e AllFieldTypeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AllFieldTypeReplyValidationError) ErrorName ¶
func (e AllFieldTypeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AllFieldTypeReplyValidationError) Field ¶
func (e AllFieldTypeReplyValidationError) Field() string
Field function returns field value.
func (AllFieldTypeReplyValidationError) Key ¶
func (e AllFieldTypeReplyValidationError) Key() bool
Key function returns key value.
func (AllFieldTypeReplyValidationError) Reason ¶
func (e AllFieldTypeReplyValidationError) Reason() string
Reason function returns reason value.
type CurrentFieldReply ¶
type CurrentFieldReply struct { List []*Field `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*CurrentFieldReply) Descriptor
deprecated
func (*CurrentFieldReply) Descriptor() ([]byte, []int)
Deprecated: Use CurrentFieldReply.ProtoReflect.Descriptor instead.
func (*CurrentFieldReply) GetList ¶
func (x *CurrentFieldReply) GetList() []*Field
func (*CurrentFieldReply) ProtoMessage ¶
func (*CurrentFieldReply) ProtoMessage()
func (*CurrentFieldReply) ProtoReflect ¶
func (x *CurrentFieldReply) ProtoReflect() protoreflect.Message
func (*CurrentFieldReply) Reset ¶
func (x *CurrentFieldReply) Reset()
func (*CurrentFieldReply) String ¶
func (x *CurrentFieldReply) String() string
func (*CurrentFieldReply) Validate ¶
func (m *CurrentFieldReply) Validate() error
Validate checks the field values on CurrentFieldReply 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 (*CurrentFieldReply) ValidateAll ¶
func (m *CurrentFieldReply) ValidateAll() error
ValidateAll checks the field values on CurrentFieldReply 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 CurrentFieldReplyMultiError, or nil if none found.
type CurrentFieldReplyMultiError ¶
type CurrentFieldReplyMultiError []error
CurrentFieldReplyMultiError is an error wrapping multiple validation errors returned by CurrentFieldReply.ValidateAll() if the designated constraints aren't met.
func (CurrentFieldReplyMultiError) AllErrors ¶
func (m CurrentFieldReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CurrentFieldReplyMultiError) Error ¶
func (m CurrentFieldReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CurrentFieldReplyValidationError ¶
type CurrentFieldReplyValidationError struct {
// contains filtered or unexported fields
}
CurrentFieldReplyValidationError is the validation error returned by CurrentFieldReply.Validate if the designated constraints aren't met.
func (CurrentFieldReplyValidationError) Cause ¶
func (e CurrentFieldReplyValidationError) Cause() error
Cause function returns cause value.
func (CurrentFieldReplyValidationError) Error ¶
func (e CurrentFieldReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CurrentFieldReplyValidationError) ErrorName ¶
func (e CurrentFieldReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CurrentFieldReplyValidationError) Field ¶
func (e CurrentFieldReplyValidationError) Field() string
Field function returns field value.
func (CurrentFieldReplyValidationError) Key ¶
func (e CurrentFieldReplyValidationError) Key() bool
Key function returns key value.
func (CurrentFieldReplyValidationError) Reason ¶
func (e CurrentFieldReplyValidationError) Reason() string
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 ¶
func (m DeleteFieldRequestMultiError) Error() string
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 ¶
func (e DeleteFieldRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteFieldRequestValidationError) Error ¶
func (e DeleteFieldRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteFieldRequestValidationError) ErrorName ¶
func (e DeleteFieldRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteFieldRequestValidationError) Field ¶
func (e DeleteFieldRequestValidationError) Field() string
Field function returns field value.
func (DeleteFieldRequestValidationError) Key ¶
func (e DeleteFieldRequestValidationError) Key() bool
Key function returns key value.
func (DeleteFieldRequestValidationError) Reason ¶
func (e DeleteFieldRequestValidationError) Reason() string
Reason function returns reason value.
type Field ¶
type 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"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt uint32 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetCreatedAt ¶
func (*Field) GetDescription ¶
func (*Field) GetKeyword ¶
func (*Field) GetUpdatedAt ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
func (*Field) Validate ¶
Validate checks the field values on 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 (*Field) ValidateAll ¶
ValidateAll checks the field values on 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 FieldMultiError, or nil if none found.
type FieldMultiError ¶
type FieldMultiError []error
FieldMultiError is an error wrapping multiple validation errors returned by Field.ValidateAll() if the designated constraints aren't met.
func (FieldMultiError) AllErrors ¶
func (m FieldMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FieldMultiError) Error ¶
func (m FieldMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FieldValidationError ¶
type FieldValidationError struct {
// contains filtered or unexported fields
}
FieldValidationError is the validation error returned by Field.Validate if the designated constraints aren't met.
func (FieldValidationError) Cause ¶
func (e FieldValidationError) Cause() error
Cause function returns cause value.
func (FieldValidationError) Error ¶
func (e FieldValidationError) Error() string
Error satisfies the builtin error interface
func (FieldValidationError) ErrorName ¶
func (e FieldValidationError) ErrorName() string
ErrorName returns error name.
func (FieldValidationError) Field ¶
func (e FieldValidationError) Field() string
Field function returns field value.
func (FieldValidationError) Key ¶
func (e FieldValidationError) Key() bool
Key function returns key value.
func (FieldValidationError) Reason ¶
func (e FieldValidationError) Reason() string
Reason function returns reason value.
type PageFieldReply ¶
type PageFieldReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*Field `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageFieldReply) Descriptor
deprecated
func (*PageFieldReply) Descriptor() ([]byte, []int)
Deprecated: Use PageFieldReply.ProtoReflect.Descriptor instead.
func (*PageFieldReply) GetList ¶
func (x *PageFieldReply) GetList() []*Field
func (*PageFieldReply) GetTotal ¶
func (x *PageFieldReply) GetTotal() uint32
func (*PageFieldReply) ProtoMessage ¶
func (*PageFieldReply) ProtoMessage()
func (*PageFieldReply) ProtoReflect ¶
func (x *PageFieldReply) ProtoReflect() protoreflect.Message
func (*PageFieldReply) Reset ¶
func (x *PageFieldReply) Reset()
func (*PageFieldReply) String ¶
func (x *PageFieldReply) String() string
func (*PageFieldReply) Validate ¶
func (m *PageFieldReply) Validate() error
Validate checks the field values on PageFieldReply 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 (*PageFieldReply) ValidateAll ¶
func (m *PageFieldReply) ValidateAll() error
ValidateAll checks the field values on PageFieldReply 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 PageFieldReplyMultiError, or nil if none found.
type PageFieldReplyMultiError ¶
type PageFieldReplyMultiError []error
PageFieldReplyMultiError is an error wrapping multiple validation errors returned by PageFieldReply.ValidateAll() if the designated constraints aren't met.
func (PageFieldReplyMultiError) AllErrors ¶
func (m PageFieldReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageFieldReplyMultiError) Error ¶
func (m PageFieldReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageFieldReplyValidationError ¶
type PageFieldReplyValidationError struct {
// contains filtered or unexported fields
}
PageFieldReplyValidationError is the validation error returned by PageFieldReply.Validate if the designated constraints aren't met.
func (PageFieldReplyValidationError) Cause ¶
func (e PageFieldReplyValidationError) Cause() error
Cause function returns cause value.
func (PageFieldReplyValidationError) Error ¶
func (e PageFieldReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PageFieldReplyValidationError) ErrorName ¶
func (e PageFieldReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PageFieldReplyValidationError) Field ¶
func (e PageFieldReplyValidationError) Field() string
Field function returns field value.
func (PageFieldReplyValidationError) Key ¶
func (e PageFieldReplyValidationError) Key() bool
Key function returns key value.
func (PageFieldReplyValidationError) Reason ¶
func (e PageFieldReplyValidationError) Reason() string
Reason function returns reason value.
type PageFieldRequest ¶
type PageFieldRequest 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 (*PageFieldRequest) Descriptor
deprecated
func (*PageFieldRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageFieldRequest.ProtoReflect.Descriptor instead.
func (*PageFieldRequest) GetKeyword ¶
func (x *PageFieldRequest) GetKeyword() string
func (*PageFieldRequest) GetName ¶
func (x *PageFieldRequest) GetName() string
func (*PageFieldRequest) GetPage ¶
func (x *PageFieldRequest) GetPage() uint32
func (*PageFieldRequest) GetPageSize ¶
func (x *PageFieldRequest) GetPageSize() uint32
func (*PageFieldRequest) ProtoMessage ¶
func (*PageFieldRequest) ProtoMessage()
func (*PageFieldRequest) ProtoReflect ¶
func (x *PageFieldRequest) ProtoReflect() protoreflect.Message
func (*PageFieldRequest) Reset ¶
func (x *PageFieldRequest) Reset()
func (*PageFieldRequest) String ¶
func (x *PageFieldRequest) String() string
func (*PageFieldRequest) Validate ¶
func (m *PageFieldRequest) Validate() error
Validate checks the field values on PageFieldRequest 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 (*PageFieldRequest) ValidateAll ¶
func (m *PageFieldRequest) ValidateAll() error
ValidateAll checks the field values on PageFieldRequest 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 PageFieldRequestMultiError, or nil if none found.
type PageFieldRequestMultiError ¶
type PageFieldRequestMultiError []error
PageFieldRequestMultiError is an error wrapping multiple validation errors returned by PageFieldRequest.ValidateAll() if the designated constraints aren't met.
func (PageFieldRequestMultiError) AllErrors ¶
func (m PageFieldRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageFieldRequestMultiError) Error ¶
func (m PageFieldRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageFieldRequestValidationError ¶
type PageFieldRequestValidationError struct {
// contains filtered or unexported fields
}
PageFieldRequestValidationError is the validation error returned by PageFieldRequest.Validate if the designated constraints aren't met.
func (PageFieldRequestValidationError) Cause ¶
func (e PageFieldRequestValidationError) Cause() error
Cause function returns cause value.
func (PageFieldRequestValidationError) Error ¶
func (e PageFieldRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PageFieldRequestValidationError) ErrorName ¶
func (e PageFieldRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PageFieldRequestValidationError) Field ¶
func (e PageFieldRequestValidationError) Field() string
Field function returns field value.
func (PageFieldRequestValidationError) Key ¶
func (e PageFieldRequestValidationError) Key() bool
Key function returns key value.
func (PageFieldRequestValidationError) Reason ¶
func (e PageFieldRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceClient ¶
type ServiceClient interface { AllFieldType(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AllFieldTypeReply, error) PageField(ctx context.Context, in *PageFieldRequest, opts ...grpc.CallOption) (*PageFieldReply, error) AddField(ctx context.Context, in *AddFieldRequest, opts ...grpc.CallOption) (*AddFieldReply, error) UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteField(ctx context.Context, in *DeleteFieldRequest, 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 { AddField(ctx context.Context, req *AddFieldRequest, opts ...http.CallOption) (rsp *AddFieldReply, err error) AllFieldType(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *AllFieldTypeReply, err error) DeleteField(ctx context.Context, req *DeleteFieldRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) PageField(ctx context.Context, req *PageFieldRequest, opts ...http.CallOption) (rsp *PageFieldReply, err error) UpdateField(ctx context.Context, req *UpdateFieldRequest, 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) AddField ¶
func (c *ServiceHTTPClientImpl) AddField(ctx context.Context, in *AddFieldRequest, opts ...http.CallOption) (*AddFieldReply, error)
func (*ServiceHTTPClientImpl) AllFieldType ¶
func (c *ServiceHTTPClientImpl) AllFieldType(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*AllFieldTypeReply, error)
func (*ServiceHTTPClientImpl) DeleteField ¶
func (c *ServiceHTTPClientImpl) DeleteField(ctx context.Context, in *DeleteFieldRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) PageField ¶
func (c *ServiceHTTPClientImpl) PageField(ctx context.Context, in *PageFieldRequest, opts ...http.CallOption) (*PageFieldReply, error)
func (*ServiceHTTPClientImpl) UpdateField ¶
func (c *ServiceHTTPClientImpl) UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...http.CallOption) (*emptypb.Empty, error)
type ServiceHTTPServer ¶
type ServiceHTTPServer interface { AddField(context.Context, *AddFieldRequest) (*AddFieldReply, error) AllFieldType(context.Context, *emptypb.Empty) (*AllFieldTypeReply, error) DeleteField(context.Context, *DeleteFieldRequest) (*emptypb.Empty, error) PageField(context.Context, *PageFieldRequest) (*PageFieldReply, error) UpdateField(context.Context, *UpdateFieldRequest) (*emptypb.Empty, error) }
type ServiceServer ¶
type ServiceServer interface { AllFieldType(context.Context, *emptypb.Empty) (*AllFieldTypeReply, error) PageField(context.Context, *PageFieldRequest) (*PageFieldReply, error) AddField(context.Context, *AddFieldRequest) (*AddFieldReply, error) UpdateField(context.Context, *UpdateFieldRequest) (*emptypb.Empty, error) DeleteField(context.Context, *DeleteFieldRequest) (*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) AddField ¶
func (UnimplementedServiceServer) AddField(context.Context, *AddFieldRequest) (*AddFieldReply, error)
func (UnimplementedServiceServer) AllFieldType ¶
func (UnimplementedServiceServer) AllFieldType(context.Context, *emptypb.Empty) (*AllFieldTypeReply, error)
func (UnimplementedServiceServer) DeleteField ¶
func (UnimplementedServiceServer) DeleteField(context.Context, *DeleteFieldRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) PageField ¶
func (UnimplementedServiceServer) PageField(context.Context, *PageFieldRequest) (*PageFieldReply, error)
func (UnimplementedServiceServer) UpdateField ¶
func (UnimplementedServiceServer) UpdateField(context.Context, *UpdateFieldRequest) (*emptypb.Empty, error)
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 UpdateFieldRequest ¶
type UpdateFieldRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,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 (*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) GetName ¶
func (x *UpdateFieldRequest) GetName() string
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 ¶
func (m UpdateFieldRequestMultiError) Error() string
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 ¶
func (e UpdateFieldRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateFieldRequestValidationError) Error ¶
func (e UpdateFieldRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateFieldRequestValidationError) ErrorName ¶
func (e UpdateFieldRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateFieldRequestValidationError) Field ¶
func (e UpdateFieldRequestValidationError) Field() string
Field function returns field value.
func (UpdateFieldRequestValidationError) Key ¶
func (e UpdateFieldRequestValidationError) Key() bool
Key function returns key value.
func (UpdateFieldRequestValidationError) Reason ¶
func (e UpdateFieldRequestValidationError) Reason() string
Reason function returns reason value.