Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTreatmentSuggestionTemplateHTTPServer(s *http.Server, srv TreatmentSuggestionTemplateHTTPServer)
- func RegisterTreatmentSuggestionTemplateServer(s grpc.ServiceRegistrar, srv TreatmentSuggestionTemplateServer)
- type CreateTreatmentSuggestionTemplateRequest
- func (*CreateTreatmentSuggestionTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTreatmentSuggestionTemplateRequest) GetContent() string
- func (x *CreateTreatmentSuggestionTemplateRequest) GetKeywordID() string
- func (x *CreateTreatmentSuggestionTemplateRequest) GetMax() int32
- func (x *CreateTreatmentSuggestionTemplateRequest) GetMin() int32
- func (x *CreateTreatmentSuggestionTemplateRequest) GetName() string
- func (x *CreateTreatmentSuggestionTemplateRequest) GetReverse() int32
- func (x *CreateTreatmentSuggestionTemplateRequest) GetScaleID() string
- func (x *CreateTreatmentSuggestionTemplateRequest) GetTreatmentID() string
- func (*CreateTreatmentSuggestionTemplateRequest) ProtoMessage()
- func (x *CreateTreatmentSuggestionTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTreatmentSuggestionTemplateRequest) Reset()
- func (x *CreateTreatmentSuggestionTemplateRequest) String() string
- func (m *CreateTreatmentSuggestionTemplateRequest) Validate() error
- func (m *CreateTreatmentSuggestionTemplateRequest) ValidateAll() error
- type CreateTreatmentSuggestionTemplateRequestMultiError
- type CreateTreatmentSuggestionTemplateRequestValidationError
- func (e CreateTreatmentSuggestionTemplateRequestValidationError) Cause() error
- func (e CreateTreatmentSuggestionTemplateRequestValidationError) Error() string
- func (e CreateTreatmentSuggestionTemplateRequestValidationError) ErrorName() string
- func (e CreateTreatmentSuggestionTemplateRequestValidationError) Field() string
- func (e CreateTreatmentSuggestionTemplateRequestValidationError) Key() bool
- func (e CreateTreatmentSuggestionTemplateRequestValidationError) Reason() string
- type GetTreatmentSuggestionTemplateReply
- func (*GetTreatmentSuggestionTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTreatmentSuggestionTemplateReply) GetContent() string
- func (x *GetTreatmentSuggestionTemplateReply) GetId() string
- func (x *GetTreatmentSuggestionTemplateReply) GetKeyword() *api.KeywordReply
- func (x *GetTreatmentSuggestionTemplateReply) GetKeywordID() string
- func (x *GetTreatmentSuggestionTemplateReply) GetMax() int32
- func (x *GetTreatmentSuggestionTemplateReply) GetMin() int32
- func (x *GetTreatmentSuggestionTemplateReply) GetName() string
- func (x *GetTreatmentSuggestionTemplateReply) GetReverse() int32
- func (x *GetTreatmentSuggestionTemplateReply) GetScale() *api.ScaleReply
- func (x *GetTreatmentSuggestionTemplateReply) GetScaleID() string
- func (x *GetTreatmentSuggestionTemplateReply) GetTreatment() *api.TreatmentReply
- func (x *GetTreatmentSuggestionTemplateReply) GetTreatmentID() string
- func (*GetTreatmentSuggestionTemplateReply) ProtoMessage()
- func (x *GetTreatmentSuggestionTemplateReply) ProtoReflect() protoreflect.Message
- func (x *GetTreatmentSuggestionTemplateReply) Reset()
- func (x *GetTreatmentSuggestionTemplateReply) String() string
- func (m *GetTreatmentSuggestionTemplateReply) Validate() error
- func (m *GetTreatmentSuggestionTemplateReply) ValidateAll() error
- type GetTreatmentSuggestionTemplateReplyMultiError
- type GetTreatmentSuggestionTemplateReplyValidationError
- func (e GetTreatmentSuggestionTemplateReplyValidationError) Cause() error
- func (e GetTreatmentSuggestionTemplateReplyValidationError) Error() string
- func (e GetTreatmentSuggestionTemplateReplyValidationError) ErrorName() string
- func (e GetTreatmentSuggestionTemplateReplyValidationError) Field() string
- func (e GetTreatmentSuggestionTemplateReplyValidationError) Key() bool
- func (e GetTreatmentSuggestionTemplateReplyValidationError) Reason() string
- type ListTreatmentSuggestionTemplateReply
- func (*ListTreatmentSuggestionTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListTreatmentSuggestionTemplateReply) GetDataList() []*GetTreatmentSuggestionTemplateReply
- func (x *ListTreatmentSuggestionTemplateReply) GetPage() int32
- func (x *ListTreatmentSuggestionTemplateReply) GetPerPage() int32
- func (x *ListTreatmentSuggestionTemplateReply) GetTotal() int32
- func (*ListTreatmentSuggestionTemplateReply) ProtoMessage()
- func (x *ListTreatmentSuggestionTemplateReply) ProtoReflect() protoreflect.Message
- func (x *ListTreatmentSuggestionTemplateReply) Reset()
- func (x *ListTreatmentSuggestionTemplateReply) String() string
- func (m *ListTreatmentSuggestionTemplateReply) Validate() error
- func (m *ListTreatmentSuggestionTemplateReply) ValidateAll() error
- type ListTreatmentSuggestionTemplateReplyMultiError
- type ListTreatmentSuggestionTemplateReplyValidationError
- func (e ListTreatmentSuggestionTemplateReplyValidationError) Cause() error
- func (e ListTreatmentSuggestionTemplateReplyValidationError) Error() string
- func (e ListTreatmentSuggestionTemplateReplyValidationError) ErrorName() string
- func (e ListTreatmentSuggestionTemplateReplyValidationError) Field() string
- func (e ListTreatmentSuggestionTemplateReplyValidationError) Key() bool
- func (e ListTreatmentSuggestionTemplateReplyValidationError) Reason() string
- type ListTreatmentSuggestionTemplateRequest
- func (*ListTreatmentSuggestionTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTreatmentSuggestionTemplateRequest) GetPage() int32
- func (x *ListTreatmentSuggestionTemplateRequest) GetPerPage() int32
- func (*ListTreatmentSuggestionTemplateRequest) ProtoMessage()
- func (x *ListTreatmentSuggestionTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *ListTreatmentSuggestionTemplateRequest) Reset()
- func (x *ListTreatmentSuggestionTemplateRequest) String() string
- func (m *ListTreatmentSuggestionTemplateRequest) Validate() error
- func (m *ListTreatmentSuggestionTemplateRequest) ValidateAll() error
- type ListTreatmentSuggestionTemplateRequestMultiError
- type ListTreatmentSuggestionTemplateRequestValidationError
- func (e ListTreatmentSuggestionTemplateRequestValidationError) Cause() error
- func (e ListTreatmentSuggestionTemplateRequestValidationError) Error() string
- func (e ListTreatmentSuggestionTemplateRequestValidationError) ErrorName() string
- func (e ListTreatmentSuggestionTemplateRequestValidationError) Field() string
- func (e ListTreatmentSuggestionTemplateRequestValidationError) Key() bool
- func (e ListTreatmentSuggestionTemplateRequestValidationError) Reason() string
- type TreatmentSuggestionTemplateClient
- type TreatmentSuggestionTemplateHTTPClient
- type TreatmentSuggestionTemplateHTTPClientImpl
- func (c *TreatmentSuggestionTemplateHTTPClientImpl) CreateTreatmentSuggestionTemplate(ctx context.Context, in *CreateTreatmentSuggestionTemplateRequest, ...) (*api.Success, error)
- func (c *TreatmentSuggestionTemplateHTTPClientImpl) DeleteTreatmentSuggestionTemplate(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *TreatmentSuggestionTemplateHTTPClientImpl) GetTreatmentSuggestionTemplate(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetTreatmentSuggestionTemplateReply, error)
- func (c *TreatmentSuggestionTemplateHTTPClientImpl) ListTreatmentSuggestionTemplate(ctx context.Context, in *ListTreatmentSuggestionTemplateRequest, ...) (*ListTreatmentSuggestionTemplateReply, error)
- func (c *TreatmentSuggestionTemplateHTTPClientImpl) UpdateTreatmentSuggestionTemplate(ctx context.Context, in *UpdateTreatmentSuggestionTemplateRequest, ...) (*api.Success, error)
- type TreatmentSuggestionTemplateHTTPServer
- type TreatmentSuggestionTemplateServer
- type UnimplementedTreatmentSuggestionTemplateServer
- func (UnimplementedTreatmentSuggestionTemplateServer) CreateTreatmentSuggestionTemplate(context.Context, *CreateTreatmentSuggestionTemplateRequest) (*api.Success, error)
- func (UnimplementedTreatmentSuggestionTemplateServer) DeleteTreatmentSuggestionTemplate(context.Context, *api.IDRequest) (*api.Success, error)
- func (UnimplementedTreatmentSuggestionTemplateServer) GetTreatmentSuggestionTemplate(context.Context, *api.IDRequest) (*GetTreatmentSuggestionTemplateReply, error)
- func (UnimplementedTreatmentSuggestionTemplateServer) ListTreatmentSuggestionTemplate(context.Context, *ListTreatmentSuggestionTemplateRequest) (*ListTreatmentSuggestionTemplateReply, error)
- func (UnimplementedTreatmentSuggestionTemplateServer) UpdateTreatmentSuggestionTemplate(context.Context, *UpdateTreatmentSuggestionTemplateRequest) (*api.Success, error)
- type UnsafeTreatmentSuggestionTemplateServer
- type UpdateTreatmentSuggestionTemplateRequest
- func (*UpdateTreatmentSuggestionTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTreatmentSuggestionTemplateRequest) GetContent() string
- func (x *UpdateTreatmentSuggestionTemplateRequest) GetId() string
- func (x *UpdateTreatmentSuggestionTemplateRequest) GetMax() int32
- func (x *UpdateTreatmentSuggestionTemplateRequest) GetMin() int32
- func (x *UpdateTreatmentSuggestionTemplateRequest) GetName() string
- func (x *UpdateTreatmentSuggestionTemplateRequest) GetReverse() int32
- func (*UpdateTreatmentSuggestionTemplateRequest) ProtoMessage()
- func (x *UpdateTreatmentSuggestionTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTreatmentSuggestionTemplateRequest) Reset()
- func (x *UpdateTreatmentSuggestionTemplateRequest) String() string
- func (m *UpdateTreatmentSuggestionTemplateRequest) Validate() error
- func (m *UpdateTreatmentSuggestionTemplateRequest) ValidateAll() error
- type UpdateTreatmentSuggestionTemplateRequestMultiError
- type UpdateTreatmentSuggestionTemplateRequestValidationError
- func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Cause() error
- func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Error() string
- func (e UpdateTreatmentSuggestionTemplateRequestValidationError) ErrorName() string
- func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Field() string
- func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Key() bool
- func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Reason() string
Constants ¶
const OperationTreatmentSuggestionTemplateCreateTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/CreateTreatmentSuggestionTemplate"
const OperationTreatmentSuggestionTemplateDeleteTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/DeleteTreatmentSuggestionTemplate"
const OperationTreatmentSuggestionTemplateGetTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/GetTreatmentSuggestionTemplate"
const OperationTreatmentSuggestionTemplateListTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/ListTreatmentSuggestionTemplate"
const OperationTreatmentSuggestionTemplateUpdateTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/UpdateTreatmentSuggestionTemplate"
Variables ¶
var File_api_system_treatmentSuggestionTemplate_treatmentSuggestionTemplate_proto protoreflect.FileDescriptor
var TreatmentSuggestionTemplate_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate", HandlerType: (*TreatmentSuggestionTemplateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTreatmentSuggestionTemplate", Handler: _TreatmentSuggestionTemplate_CreateTreatmentSuggestionTemplate_Handler, }, { MethodName: "UpdateTreatmentSuggestionTemplate", Handler: _TreatmentSuggestionTemplate_UpdateTreatmentSuggestionTemplate_Handler, }, { MethodName: "DeleteTreatmentSuggestionTemplate", Handler: _TreatmentSuggestionTemplate_DeleteTreatmentSuggestionTemplate_Handler, }, { MethodName: "GetTreatmentSuggestionTemplate", Handler: _TreatmentSuggestionTemplate_GetTreatmentSuggestionTemplate_Handler, }, { MethodName: "ListTreatmentSuggestionTemplate", Handler: _TreatmentSuggestionTemplate_ListTreatmentSuggestionTemplate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/system/treatmentSuggestionTemplate/treatmentSuggestionTemplate.proto", }
TreatmentSuggestionTemplate_ServiceDesc is the grpc.ServiceDesc for TreatmentSuggestionTemplate service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTreatmentSuggestionTemplateHTTPServer ¶
func RegisterTreatmentSuggestionTemplateHTTPServer(s *http.Server, srv TreatmentSuggestionTemplateHTTPServer)
func RegisterTreatmentSuggestionTemplateServer ¶
func RegisterTreatmentSuggestionTemplateServer(s grpc.ServiceRegistrar, srv TreatmentSuggestionTemplateServer)
Types ¶
type CreateTreatmentSuggestionTemplateRequest ¶
type CreateTreatmentSuggestionTemplateRequest struct { KeywordID string `protobuf:"bytes,1,opt,name=keywordID,proto3" json:"keywordID,omitempty"` TreatmentID string `protobuf:"bytes,2,opt,name=treatmentID,proto3" json:"treatmentID,omitempty"` Max int32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` Min int32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` Reverse int32 `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` ScaleID string `protobuf:"bytes,9,opt,name=scaleID,proto3" json:"scaleID,omitempty"` // contains filtered or unexported fields }
func (*CreateTreatmentSuggestionTemplateRequest) Descriptor
deprecated
func (*CreateTreatmentSuggestionTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTreatmentSuggestionTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateTreatmentSuggestionTemplateRequest) GetContent ¶
func (x *CreateTreatmentSuggestionTemplateRequest) GetContent() string
func (*CreateTreatmentSuggestionTemplateRequest) GetKeywordID ¶
func (x *CreateTreatmentSuggestionTemplateRequest) GetKeywordID() string
func (*CreateTreatmentSuggestionTemplateRequest) GetMax ¶
func (x *CreateTreatmentSuggestionTemplateRequest) GetMax() int32
func (*CreateTreatmentSuggestionTemplateRequest) GetMin ¶
func (x *CreateTreatmentSuggestionTemplateRequest) GetMin() int32
func (*CreateTreatmentSuggestionTemplateRequest) GetName ¶
func (x *CreateTreatmentSuggestionTemplateRequest) GetName() string
func (*CreateTreatmentSuggestionTemplateRequest) GetReverse ¶
func (x *CreateTreatmentSuggestionTemplateRequest) GetReverse() int32
func (*CreateTreatmentSuggestionTemplateRequest) GetScaleID ¶
func (x *CreateTreatmentSuggestionTemplateRequest) GetScaleID() string
func (*CreateTreatmentSuggestionTemplateRequest) GetTreatmentID ¶
func (x *CreateTreatmentSuggestionTemplateRequest) GetTreatmentID() string
func (*CreateTreatmentSuggestionTemplateRequest) ProtoMessage ¶
func (*CreateTreatmentSuggestionTemplateRequest) ProtoMessage()
func (*CreateTreatmentSuggestionTemplateRequest) ProtoReflect ¶
func (x *CreateTreatmentSuggestionTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateTreatmentSuggestionTemplateRequest) Reset ¶
func (x *CreateTreatmentSuggestionTemplateRequest) Reset()
func (*CreateTreatmentSuggestionTemplateRequest) String ¶
func (x *CreateTreatmentSuggestionTemplateRequest) String() string
func (*CreateTreatmentSuggestionTemplateRequest) Validate ¶
func (m *CreateTreatmentSuggestionTemplateRequest) Validate() error
Validate checks the field values on CreateTreatmentSuggestionTemplateRequest 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 (*CreateTreatmentSuggestionTemplateRequest) ValidateAll ¶
func (m *CreateTreatmentSuggestionTemplateRequest) ValidateAll() error
ValidateAll checks the field values on CreateTreatmentSuggestionTemplateRequest 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 CreateTreatmentSuggestionTemplateRequestMultiError, or nil if none found.
type CreateTreatmentSuggestionTemplateRequestMultiError ¶
type CreateTreatmentSuggestionTemplateRequestMultiError []error
CreateTreatmentSuggestionTemplateRequestMultiError is an error wrapping multiple validation errors returned by CreateTreatmentSuggestionTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTreatmentSuggestionTemplateRequestMultiError) AllErrors ¶
func (m CreateTreatmentSuggestionTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTreatmentSuggestionTemplateRequestMultiError) Error ¶
func (m CreateTreatmentSuggestionTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTreatmentSuggestionTemplateRequestValidationError ¶
type CreateTreatmentSuggestionTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTreatmentSuggestionTemplateRequestValidationError is the validation error returned by CreateTreatmentSuggestionTemplateRequest.Validate if the designated constraints aren't met.
func (CreateTreatmentSuggestionTemplateRequestValidationError) Cause ¶
func (e CreateTreatmentSuggestionTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTreatmentSuggestionTemplateRequestValidationError) Error ¶
func (e CreateTreatmentSuggestionTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTreatmentSuggestionTemplateRequestValidationError) ErrorName ¶
func (e CreateTreatmentSuggestionTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTreatmentSuggestionTemplateRequestValidationError) Field ¶
func (e CreateTreatmentSuggestionTemplateRequestValidationError) Field() string
Field function returns field value.
func (CreateTreatmentSuggestionTemplateRequestValidationError) Key ¶
func (e CreateTreatmentSuggestionTemplateRequestValidationError) Key() bool
Key function returns key value.
func (CreateTreatmentSuggestionTemplateRequestValidationError) Reason ¶
func (e CreateTreatmentSuggestionTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type GetTreatmentSuggestionTemplateReply ¶
type GetTreatmentSuggestionTemplateReply struct { KeywordID string `protobuf:"bytes,1,opt,name=keywordID,proto3" json:"keywordID,omitempty"` TreatmentID string `protobuf:"bytes,2,opt,name=treatmentID,proto3" json:"treatmentID,omitempty"` Max int32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` Min int32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` Reverse int32 `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` ScaleID string `protobuf:"bytes,19,opt,name=scaleID,proto3" json:"scaleID,omitempty"` Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` Keyword *api.KeywordReply `protobuf:"bytes,11,opt,name=keyword,proto3" json:"keyword,omitempty"` Treatment *api.TreatmentReply `protobuf:"bytes,12,opt,name=treatment,proto3" json:"treatment,omitempty"` Scale *api.ScaleReply `protobuf:"bytes,13,opt,name=scale,proto3" json:"scale,omitempty"` // contains filtered or unexported fields }
func (*GetTreatmentSuggestionTemplateReply) Descriptor
deprecated
func (*GetTreatmentSuggestionTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTreatmentSuggestionTemplateReply.ProtoReflect.Descriptor instead.
func (*GetTreatmentSuggestionTemplateReply) GetContent ¶
func (x *GetTreatmentSuggestionTemplateReply) GetContent() string
func (*GetTreatmentSuggestionTemplateReply) GetId ¶
func (x *GetTreatmentSuggestionTemplateReply) GetId() string
func (*GetTreatmentSuggestionTemplateReply) GetKeyword ¶
func (x *GetTreatmentSuggestionTemplateReply) GetKeyword() *api.KeywordReply
func (*GetTreatmentSuggestionTemplateReply) GetKeywordID ¶
func (x *GetTreatmentSuggestionTemplateReply) GetKeywordID() string
func (*GetTreatmentSuggestionTemplateReply) GetMax ¶
func (x *GetTreatmentSuggestionTemplateReply) GetMax() int32
func (*GetTreatmentSuggestionTemplateReply) GetMin ¶
func (x *GetTreatmentSuggestionTemplateReply) GetMin() int32
func (*GetTreatmentSuggestionTemplateReply) GetName ¶
func (x *GetTreatmentSuggestionTemplateReply) GetName() string
func (*GetTreatmentSuggestionTemplateReply) GetReverse ¶
func (x *GetTreatmentSuggestionTemplateReply) GetReverse() int32
func (*GetTreatmentSuggestionTemplateReply) GetScale ¶
func (x *GetTreatmentSuggestionTemplateReply) GetScale() *api.ScaleReply
func (*GetTreatmentSuggestionTemplateReply) GetScaleID ¶
func (x *GetTreatmentSuggestionTemplateReply) GetScaleID() string
func (*GetTreatmentSuggestionTemplateReply) GetTreatment ¶
func (x *GetTreatmentSuggestionTemplateReply) GetTreatment() *api.TreatmentReply
func (*GetTreatmentSuggestionTemplateReply) GetTreatmentID ¶
func (x *GetTreatmentSuggestionTemplateReply) GetTreatmentID() string
func (*GetTreatmentSuggestionTemplateReply) ProtoMessage ¶
func (*GetTreatmentSuggestionTemplateReply) ProtoMessage()
func (*GetTreatmentSuggestionTemplateReply) ProtoReflect ¶
func (x *GetTreatmentSuggestionTemplateReply) ProtoReflect() protoreflect.Message
func (*GetTreatmentSuggestionTemplateReply) Reset ¶
func (x *GetTreatmentSuggestionTemplateReply) Reset()
func (*GetTreatmentSuggestionTemplateReply) String ¶
func (x *GetTreatmentSuggestionTemplateReply) String() string
func (*GetTreatmentSuggestionTemplateReply) Validate ¶
func (m *GetTreatmentSuggestionTemplateReply) Validate() error
Validate checks the field values on GetTreatmentSuggestionTemplateReply 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 (*GetTreatmentSuggestionTemplateReply) ValidateAll ¶
func (m *GetTreatmentSuggestionTemplateReply) ValidateAll() error
ValidateAll checks the field values on GetTreatmentSuggestionTemplateReply 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 GetTreatmentSuggestionTemplateReplyMultiError, or nil if none found.
type GetTreatmentSuggestionTemplateReplyMultiError ¶
type GetTreatmentSuggestionTemplateReplyMultiError []error
GetTreatmentSuggestionTemplateReplyMultiError is an error wrapping multiple validation errors returned by GetTreatmentSuggestionTemplateReply.ValidateAll() if the designated constraints aren't met.
func (GetTreatmentSuggestionTemplateReplyMultiError) AllErrors ¶
func (m GetTreatmentSuggestionTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTreatmentSuggestionTemplateReplyMultiError) Error ¶
func (m GetTreatmentSuggestionTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTreatmentSuggestionTemplateReplyValidationError ¶
type GetTreatmentSuggestionTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
GetTreatmentSuggestionTemplateReplyValidationError is the validation error returned by GetTreatmentSuggestionTemplateReply.Validate if the designated constraints aren't met.
func (GetTreatmentSuggestionTemplateReplyValidationError) Cause ¶
func (e GetTreatmentSuggestionTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (GetTreatmentSuggestionTemplateReplyValidationError) Error ¶
func (e GetTreatmentSuggestionTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetTreatmentSuggestionTemplateReplyValidationError) ErrorName ¶
func (e GetTreatmentSuggestionTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetTreatmentSuggestionTemplateReplyValidationError) Field ¶
func (e GetTreatmentSuggestionTemplateReplyValidationError) Field() string
Field function returns field value.
func (GetTreatmentSuggestionTemplateReplyValidationError) Key ¶
func (e GetTreatmentSuggestionTemplateReplyValidationError) Key() bool
Key function returns key value.
func (GetTreatmentSuggestionTemplateReplyValidationError) Reason ¶
func (e GetTreatmentSuggestionTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type ListTreatmentSuggestionTemplateReply ¶
type ListTreatmentSuggestionTemplateReply struct { DataList []*GetTreatmentSuggestionTemplateReply `protobuf:"bytes,1,rep,name=dataList,proto3" json:"dataList,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"` // contains filtered or unexported fields }
func (*ListTreatmentSuggestionTemplateReply) Descriptor
deprecated
func (*ListTreatmentSuggestionTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use ListTreatmentSuggestionTemplateReply.ProtoReflect.Descriptor instead.
func (*ListTreatmentSuggestionTemplateReply) GetDataList ¶
func (x *ListTreatmentSuggestionTemplateReply) GetDataList() []*GetTreatmentSuggestionTemplateReply
func (*ListTreatmentSuggestionTemplateReply) GetPage ¶
func (x *ListTreatmentSuggestionTemplateReply) GetPage() int32
func (*ListTreatmentSuggestionTemplateReply) GetPerPage ¶
func (x *ListTreatmentSuggestionTemplateReply) GetPerPage() int32
func (*ListTreatmentSuggestionTemplateReply) GetTotal ¶
func (x *ListTreatmentSuggestionTemplateReply) GetTotal() int32
func (*ListTreatmentSuggestionTemplateReply) ProtoMessage ¶
func (*ListTreatmentSuggestionTemplateReply) ProtoMessage()
func (*ListTreatmentSuggestionTemplateReply) ProtoReflect ¶
func (x *ListTreatmentSuggestionTemplateReply) ProtoReflect() protoreflect.Message
func (*ListTreatmentSuggestionTemplateReply) Reset ¶
func (x *ListTreatmentSuggestionTemplateReply) Reset()
func (*ListTreatmentSuggestionTemplateReply) String ¶
func (x *ListTreatmentSuggestionTemplateReply) String() string
func (*ListTreatmentSuggestionTemplateReply) Validate ¶
func (m *ListTreatmentSuggestionTemplateReply) Validate() error
Validate checks the field values on ListTreatmentSuggestionTemplateReply 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 (*ListTreatmentSuggestionTemplateReply) ValidateAll ¶
func (m *ListTreatmentSuggestionTemplateReply) ValidateAll() error
ValidateAll checks the field values on ListTreatmentSuggestionTemplateReply 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 ListTreatmentSuggestionTemplateReplyMultiError, or nil if none found.
type ListTreatmentSuggestionTemplateReplyMultiError ¶
type ListTreatmentSuggestionTemplateReplyMultiError []error
ListTreatmentSuggestionTemplateReplyMultiError is an error wrapping multiple validation errors returned by ListTreatmentSuggestionTemplateReply.ValidateAll() if the designated constraints aren't met.
func (ListTreatmentSuggestionTemplateReplyMultiError) AllErrors ¶
func (m ListTreatmentSuggestionTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTreatmentSuggestionTemplateReplyMultiError) Error ¶
func (m ListTreatmentSuggestionTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTreatmentSuggestionTemplateReplyValidationError ¶
type ListTreatmentSuggestionTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
ListTreatmentSuggestionTemplateReplyValidationError is the validation error returned by ListTreatmentSuggestionTemplateReply.Validate if the designated constraints aren't met.
func (ListTreatmentSuggestionTemplateReplyValidationError) Cause ¶
func (e ListTreatmentSuggestionTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (ListTreatmentSuggestionTemplateReplyValidationError) Error ¶
func (e ListTreatmentSuggestionTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListTreatmentSuggestionTemplateReplyValidationError) ErrorName ¶
func (e ListTreatmentSuggestionTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListTreatmentSuggestionTemplateReplyValidationError) Field ¶
func (e ListTreatmentSuggestionTemplateReplyValidationError) Field() string
Field function returns field value.
func (ListTreatmentSuggestionTemplateReplyValidationError) Key ¶
func (e ListTreatmentSuggestionTemplateReplyValidationError) Key() bool
Key function returns key value.
func (ListTreatmentSuggestionTemplateReplyValidationError) Reason ¶
func (e ListTreatmentSuggestionTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type ListTreatmentSuggestionTemplateRequest ¶
type ListTreatmentSuggestionTemplateRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,2,opt,name=perPage,proto3" json:"perPage,omitempty"` // contains filtered or unexported fields }
func (*ListTreatmentSuggestionTemplateRequest) Descriptor
deprecated
func (*ListTreatmentSuggestionTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTreatmentSuggestionTemplateRequest.ProtoReflect.Descriptor instead.
func (*ListTreatmentSuggestionTemplateRequest) GetPage ¶
func (x *ListTreatmentSuggestionTemplateRequest) GetPage() int32
func (*ListTreatmentSuggestionTemplateRequest) GetPerPage ¶
func (x *ListTreatmentSuggestionTemplateRequest) GetPerPage() int32
func (*ListTreatmentSuggestionTemplateRequest) ProtoMessage ¶
func (*ListTreatmentSuggestionTemplateRequest) ProtoMessage()
func (*ListTreatmentSuggestionTemplateRequest) ProtoReflect ¶
func (x *ListTreatmentSuggestionTemplateRequest) ProtoReflect() protoreflect.Message
func (*ListTreatmentSuggestionTemplateRequest) Reset ¶
func (x *ListTreatmentSuggestionTemplateRequest) Reset()
func (*ListTreatmentSuggestionTemplateRequest) String ¶
func (x *ListTreatmentSuggestionTemplateRequest) String() string
func (*ListTreatmentSuggestionTemplateRequest) Validate ¶
func (m *ListTreatmentSuggestionTemplateRequest) Validate() error
Validate checks the field values on ListTreatmentSuggestionTemplateRequest 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 (*ListTreatmentSuggestionTemplateRequest) ValidateAll ¶
func (m *ListTreatmentSuggestionTemplateRequest) ValidateAll() error
ValidateAll checks the field values on ListTreatmentSuggestionTemplateRequest 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 ListTreatmentSuggestionTemplateRequestMultiError, or nil if none found.
type ListTreatmentSuggestionTemplateRequestMultiError ¶
type ListTreatmentSuggestionTemplateRequestMultiError []error
ListTreatmentSuggestionTemplateRequestMultiError is an error wrapping multiple validation errors returned by ListTreatmentSuggestionTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (ListTreatmentSuggestionTemplateRequestMultiError) AllErrors ¶
func (m ListTreatmentSuggestionTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTreatmentSuggestionTemplateRequestMultiError) Error ¶
func (m ListTreatmentSuggestionTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTreatmentSuggestionTemplateRequestValidationError ¶
type ListTreatmentSuggestionTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
ListTreatmentSuggestionTemplateRequestValidationError is the validation error returned by ListTreatmentSuggestionTemplateRequest.Validate if the designated constraints aren't met.
func (ListTreatmentSuggestionTemplateRequestValidationError) Cause ¶
func (e ListTreatmentSuggestionTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTreatmentSuggestionTemplateRequestValidationError) Error ¶
func (e ListTreatmentSuggestionTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTreatmentSuggestionTemplateRequestValidationError) ErrorName ¶
func (e ListTreatmentSuggestionTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTreatmentSuggestionTemplateRequestValidationError) Field ¶
func (e ListTreatmentSuggestionTemplateRequestValidationError) Field() string
Field function returns field value.
func (ListTreatmentSuggestionTemplateRequestValidationError) Key ¶
func (e ListTreatmentSuggestionTemplateRequestValidationError) Key() bool
Key function returns key value.
func (ListTreatmentSuggestionTemplateRequestValidationError) Reason ¶
func (e ListTreatmentSuggestionTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type TreatmentSuggestionTemplateClient ¶
type TreatmentSuggestionTemplateClient interface { CreateTreatmentSuggestionTemplate(ctx context.Context, in *CreateTreatmentSuggestionTemplateRequest, opts ...grpc.CallOption) (*api.Success, error) UpdateTreatmentSuggestionTemplate(ctx context.Context, in *UpdateTreatmentSuggestionTemplateRequest, opts ...grpc.CallOption) (*api.Success, error) DeleteTreatmentSuggestionTemplate(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*api.Success, error) GetTreatmentSuggestionTemplate(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*GetTreatmentSuggestionTemplateReply, error) ListTreatmentSuggestionTemplate(ctx context.Context, in *ListTreatmentSuggestionTemplateRequest, opts ...grpc.CallOption) (*ListTreatmentSuggestionTemplateReply, error) }
TreatmentSuggestionTemplateClient is the client API for TreatmentSuggestionTemplate 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 NewTreatmentSuggestionTemplateClient ¶
func NewTreatmentSuggestionTemplateClient(cc grpc.ClientConnInterface) TreatmentSuggestionTemplateClient
type TreatmentSuggestionTemplateHTTPClient ¶
type TreatmentSuggestionTemplateHTTPClient interface { CreateTreatmentSuggestionTemplate(ctx context.Context, req *CreateTreatmentSuggestionTemplateRequest, opts ...http.CallOption) (rsp *api.Success, err error) DeleteTreatmentSuggestionTemplate(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *api.Success, err error) GetTreatmentSuggestionTemplate(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *GetTreatmentSuggestionTemplateReply, err error) ListTreatmentSuggestionTemplate(ctx context.Context, req *ListTreatmentSuggestionTemplateRequest, opts ...http.CallOption) (rsp *ListTreatmentSuggestionTemplateReply, err error) UpdateTreatmentSuggestionTemplate(ctx context.Context, req *UpdateTreatmentSuggestionTemplateRequest, opts ...http.CallOption) (rsp *api.Success, err error) }
func NewTreatmentSuggestionTemplateHTTPClient ¶
func NewTreatmentSuggestionTemplateHTTPClient(client *http.Client) TreatmentSuggestionTemplateHTTPClient
type TreatmentSuggestionTemplateHTTPClientImpl ¶
type TreatmentSuggestionTemplateHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*TreatmentSuggestionTemplateHTTPClientImpl) CreateTreatmentSuggestionTemplate ¶
func (c *TreatmentSuggestionTemplateHTTPClientImpl) CreateTreatmentSuggestionTemplate(ctx context.Context, in *CreateTreatmentSuggestionTemplateRequest, opts ...http.CallOption) (*api.Success, error)
func (*TreatmentSuggestionTemplateHTTPClientImpl) DeleteTreatmentSuggestionTemplate ¶
func (c *TreatmentSuggestionTemplateHTTPClientImpl) DeleteTreatmentSuggestionTemplate(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*api.Success, error)
func (*TreatmentSuggestionTemplateHTTPClientImpl) GetTreatmentSuggestionTemplate ¶
func (c *TreatmentSuggestionTemplateHTTPClientImpl) GetTreatmentSuggestionTemplate(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetTreatmentSuggestionTemplateReply, error)
func (*TreatmentSuggestionTemplateHTTPClientImpl) ListTreatmentSuggestionTemplate ¶
func (c *TreatmentSuggestionTemplateHTTPClientImpl) ListTreatmentSuggestionTemplate(ctx context.Context, in *ListTreatmentSuggestionTemplateRequest, opts ...http.CallOption) (*ListTreatmentSuggestionTemplateReply, error)
func (*TreatmentSuggestionTemplateHTTPClientImpl) UpdateTreatmentSuggestionTemplate ¶
func (c *TreatmentSuggestionTemplateHTTPClientImpl) UpdateTreatmentSuggestionTemplate(ctx context.Context, in *UpdateTreatmentSuggestionTemplateRequest, opts ...http.CallOption) (*api.Success, error)
type TreatmentSuggestionTemplateHTTPServer ¶
type TreatmentSuggestionTemplateHTTPServer interface { CreateTreatmentSuggestionTemplate(context.Context, *CreateTreatmentSuggestionTemplateRequest) (*api.Success, error) DeleteTreatmentSuggestionTemplate(context.Context, *api.IDRequest) (*api.Success, error) GetTreatmentSuggestionTemplate(context.Context, *api.IDRequest) (*GetTreatmentSuggestionTemplateReply, error) ListTreatmentSuggestionTemplate(context.Context, *ListTreatmentSuggestionTemplateRequest) (*ListTreatmentSuggestionTemplateReply, error) UpdateTreatmentSuggestionTemplate(context.Context, *UpdateTreatmentSuggestionTemplateRequest) (*api.Success, error) }
type TreatmentSuggestionTemplateServer ¶
type TreatmentSuggestionTemplateServer interface { CreateTreatmentSuggestionTemplate(context.Context, *CreateTreatmentSuggestionTemplateRequest) (*api.Success, error) UpdateTreatmentSuggestionTemplate(context.Context, *UpdateTreatmentSuggestionTemplateRequest) (*api.Success, error) DeleteTreatmentSuggestionTemplate(context.Context, *api.IDRequest) (*api.Success, error) GetTreatmentSuggestionTemplate(context.Context, *api.IDRequest) (*GetTreatmentSuggestionTemplateReply, error) ListTreatmentSuggestionTemplate(context.Context, *ListTreatmentSuggestionTemplateRequest) (*ListTreatmentSuggestionTemplateReply, error) // contains filtered or unexported methods }
TreatmentSuggestionTemplateServer is the server API for TreatmentSuggestionTemplate service. All implementations must embed UnimplementedTreatmentSuggestionTemplateServer for forward compatibility
type UnimplementedTreatmentSuggestionTemplateServer ¶
type UnimplementedTreatmentSuggestionTemplateServer struct { }
UnimplementedTreatmentSuggestionTemplateServer must be embedded to have forward compatible implementations.
func (UnimplementedTreatmentSuggestionTemplateServer) CreateTreatmentSuggestionTemplate ¶
func (UnimplementedTreatmentSuggestionTemplateServer) CreateTreatmentSuggestionTemplate(context.Context, *CreateTreatmentSuggestionTemplateRequest) (*api.Success, error)
func (UnimplementedTreatmentSuggestionTemplateServer) DeleteTreatmentSuggestionTemplate ¶
func (UnimplementedTreatmentSuggestionTemplateServer) GetTreatmentSuggestionTemplate ¶
func (UnimplementedTreatmentSuggestionTemplateServer) GetTreatmentSuggestionTemplate(context.Context, *api.IDRequest) (*GetTreatmentSuggestionTemplateReply, error)
func (UnimplementedTreatmentSuggestionTemplateServer) ListTreatmentSuggestionTemplate ¶
func (UnimplementedTreatmentSuggestionTemplateServer) ListTreatmentSuggestionTemplate(context.Context, *ListTreatmentSuggestionTemplateRequest) (*ListTreatmentSuggestionTemplateReply, error)
func (UnimplementedTreatmentSuggestionTemplateServer) UpdateTreatmentSuggestionTemplate ¶
func (UnimplementedTreatmentSuggestionTemplateServer) UpdateTreatmentSuggestionTemplate(context.Context, *UpdateTreatmentSuggestionTemplateRequest) (*api.Success, error)
type UnsafeTreatmentSuggestionTemplateServer ¶
type UnsafeTreatmentSuggestionTemplateServer interface {
// contains filtered or unexported methods
}
UnsafeTreatmentSuggestionTemplateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TreatmentSuggestionTemplateServer will result in compilation errors.
type UpdateTreatmentSuggestionTemplateRequest ¶
type UpdateTreatmentSuggestionTemplateRequest struct { // string keywordID = 1 [(validate.rules).string.pattern = "^[0-9]{19}$",(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { // description: "量表关键参数ID", // type: STRING // }]; // // string treatmentID = 2 [(validate.rules).string.min_len = 1,(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { // description: "治疗项目ID", // type: STRING // }]; Max int32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` Min int32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` Reverse int32 `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` // string scaleID = 9 [(validate.rules).string.pattern = "^[0-9]{19}$",(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { // description: "量表ID", // type: STRING // }]; Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateTreatmentSuggestionTemplateRequest) Descriptor
deprecated
func (*UpdateTreatmentSuggestionTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTreatmentSuggestionTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateTreatmentSuggestionTemplateRequest) GetContent ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) GetContent() string
func (*UpdateTreatmentSuggestionTemplateRequest) GetId ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) GetId() string
func (*UpdateTreatmentSuggestionTemplateRequest) GetMax ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) GetMax() int32
func (*UpdateTreatmentSuggestionTemplateRequest) GetMin ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) GetMin() int32
func (*UpdateTreatmentSuggestionTemplateRequest) GetName ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) GetName() string
func (*UpdateTreatmentSuggestionTemplateRequest) GetReverse ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) GetReverse() int32
func (*UpdateTreatmentSuggestionTemplateRequest) ProtoMessage ¶
func (*UpdateTreatmentSuggestionTemplateRequest) ProtoMessage()
func (*UpdateTreatmentSuggestionTemplateRequest) ProtoReflect ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateTreatmentSuggestionTemplateRequest) Reset ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) Reset()
func (*UpdateTreatmentSuggestionTemplateRequest) String ¶
func (x *UpdateTreatmentSuggestionTemplateRequest) String() string
func (*UpdateTreatmentSuggestionTemplateRequest) Validate ¶
func (m *UpdateTreatmentSuggestionTemplateRequest) Validate() error
Validate checks the field values on UpdateTreatmentSuggestionTemplateRequest 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 (*UpdateTreatmentSuggestionTemplateRequest) ValidateAll ¶
func (m *UpdateTreatmentSuggestionTemplateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTreatmentSuggestionTemplateRequest 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 UpdateTreatmentSuggestionTemplateRequestMultiError, or nil if none found.
type UpdateTreatmentSuggestionTemplateRequestMultiError ¶
type UpdateTreatmentSuggestionTemplateRequestMultiError []error
UpdateTreatmentSuggestionTemplateRequestMultiError is an error wrapping multiple validation errors returned by UpdateTreatmentSuggestionTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTreatmentSuggestionTemplateRequestMultiError) AllErrors ¶
func (m UpdateTreatmentSuggestionTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTreatmentSuggestionTemplateRequestMultiError) Error ¶
func (m UpdateTreatmentSuggestionTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTreatmentSuggestionTemplateRequestValidationError ¶
type UpdateTreatmentSuggestionTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTreatmentSuggestionTemplateRequestValidationError is the validation error returned by UpdateTreatmentSuggestionTemplateRequest.Validate if the designated constraints aren't met.
func (UpdateTreatmentSuggestionTemplateRequestValidationError) Cause ¶
func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTreatmentSuggestionTemplateRequestValidationError) Error ¶
func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTreatmentSuggestionTemplateRequestValidationError) ErrorName ¶
func (e UpdateTreatmentSuggestionTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTreatmentSuggestionTemplateRequestValidationError) Field ¶
func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Field() string
Field function returns field value.
func (UpdateTreatmentSuggestionTemplateRequestValidationError) Key ¶
func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTreatmentSuggestionTemplateRequestValidationError) Reason ¶
func (e UpdateTreatmentSuggestionTemplateRequestValidationError) Reason() string
Reason function returns reason value.