treatmentSuggestionTemplate

package
v0.0.0-...-c38fcd0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const OperationTreatmentSuggestionTemplateCreateTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/CreateTreatmentSuggestionTemplate"
View Source
const OperationTreatmentSuggestionTemplateDeleteTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/DeleteTreatmentSuggestionTemplate"
View Source
const OperationTreatmentSuggestionTemplateGetTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/GetTreatmentSuggestionTemplate"
View Source
const OperationTreatmentSuggestionTemplateListTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/ListTreatmentSuggestionTemplate"
View Source
const OperationTreatmentSuggestionTemplateUpdateTreatmentSuggestionTemplate = "/api.system.treatmentSuggestionTemplate.TreatmentSuggestionTemplate/UpdateTreatmentSuggestionTemplate"

Variables

View Source
var File_api_system_treatmentSuggestionTemplate_treatmentSuggestionTemplate_proto protoreflect.FileDescriptor
View Source
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 (*CreateTreatmentSuggestionTemplateRequest) GetKeywordID

func (*CreateTreatmentSuggestionTemplateRequest) GetMax

func (*CreateTreatmentSuggestionTemplateRequest) GetMin

func (*CreateTreatmentSuggestionTemplateRequest) GetName

func (*CreateTreatmentSuggestionTemplateRequest) GetReverse

func (*CreateTreatmentSuggestionTemplateRequest) GetScaleID

func (*CreateTreatmentSuggestionTemplateRequest) GetTreatmentID

func (*CreateTreatmentSuggestionTemplateRequest) ProtoMessage

func (*CreateTreatmentSuggestionTemplateRequest) ProtoReflect

func (*CreateTreatmentSuggestionTemplateRequest) Reset

func (*CreateTreatmentSuggestionTemplateRequest) String

func (*CreateTreatmentSuggestionTemplateRequest) Validate

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

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

AllErrors returns a list of validation violation errors.

func (CreateTreatmentSuggestionTemplateRequestMultiError) Error

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

Cause function returns cause value.

func (CreateTreatmentSuggestionTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateTreatmentSuggestionTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateTreatmentSuggestionTemplateRequestValidationError) Field

Field function returns field value.

func (CreateTreatmentSuggestionTemplateRequestValidationError) Key

Key function returns key value.

func (CreateTreatmentSuggestionTemplateRequestValidationError) Reason

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 (*GetTreatmentSuggestionTemplateReply) GetId

func (*GetTreatmentSuggestionTemplateReply) GetKeyword

func (*GetTreatmentSuggestionTemplateReply) GetKeywordID

func (x *GetTreatmentSuggestionTemplateReply) GetKeywordID() string

func (*GetTreatmentSuggestionTemplateReply) GetMax

func (*GetTreatmentSuggestionTemplateReply) GetMin

func (*GetTreatmentSuggestionTemplateReply) GetName

func (*GetTreatmentSuggestionTemplateReply) GetReverse

func (*GetTreatmentSuggestionTemplateReply) GetScale

func (*GetTreatmentSuggestionTemplateReply) GetScaleID

func (*GetTreatmentSuggestionTemplateReply) GetTreatment

func (*GetTreatmentSuggestionTemplateReply) GetTreatmentID

func (x *GetTreatmentSuggestionTemplateReply) GetTreatmentID() string

func (*GetTreatmentSuggestionTemplateReply) ProtoMessage

func (*GetTreatmentSuggestionTemplateReply) ProtoMessage()

func (*GetTreatmentSuggestionTemplateReply) ProtoReflect

func (*GetTreatmentSuggestionTemplateReply) Reset

func (*GetTreatmentSuggestionTemplateReply) String

func (*GetTreatmentSuggestionTemplateReply) Validate

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

AllErrors returns a list of validation violation errors.

func (GetTreatmentSuggestionTemplateReplyMultiError) Error

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

Cause function returns cause value.

func (GetTreatmentSuggestionTemplateReplyValidationError) Error

Error satisfies the builtin error interface

func (GetTreatmentSuggestionTemplateReplyValidationError) ErrorName

ErrorName returns error name.

func (GetTreatmentSuggestionTemplateReplyValidationError) Field

Field function returns field value.

func (GetTreatmentSuggestionTemplateReplyValidationError) Key

Key function returns key value.

func (GetTreatmentSuggestionTemplateReplyValidationError) Reason

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 (*ListTreatmentSuggestionTemplateReply) GetPage

func (*ListTreatmentSuggestionTemplateReply) GetPerPage

func (*ListTreatmentSuggestionTemplateReply) GetTotal

func (*ListTreatmentSuggestionTemplateReply) ProtoMessage

func (*ListTreatmentSuggestionTemplateReply) ProtoMessage()

func (*ListTreatmentSuggestionTemplateReply) ProtoReflect

func (*ListTreatmentSuggestionTemplateReply) Reset

func (*ListTreatmentSuggestionTemplateReply) String

func (*ListTreatmentSuggestionTemplateReply) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ListTreatmentSuggestionTemplateReplyMultiError) Error

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

Cause function returns cause value.

func (ListTreatmentSuggestionTemplateReplyValidationError) Error

Error satisfies the builtin error interface

func (ListTreatmentSuggestionTemplateReplyValidationError) ErrorName

ErrorName returns error name.

func (ListTreatmentSuggestionTemplateReplyValidationError) Field

Field function returns field value.

func (ListTreatmentSuggestionTemplateReplyValidationError) Key

Key function returns key value.

func (ListTreatmentSuggestionTemplateReplyValidationError) Reason

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 (*ListTreatmentSuggestionTemplateRequest) GetPerPage

func (*ListTreatmentSuggestionTemplateRequest) ProtoMessage

func (*ListTreatmentSuggestionTemplateRequest) ProtoReflect

func (*ListTreatmentSuggestionTemplateRequest) Reset

func (*ListTreatmentSuggestionTemplateRequest) String

func (*ListTreatmentSuggestionTemplateRequest) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ListTreatmentSuggestionTemplateRequestMultiError) Error

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

Cause function returns cause value.

func (ListTreatmentSuggestionTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTreatmentSuggestionTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTreatmentSuggestionTemplateRequestValidationError) Field

Field function returns field value.

func (ListTreatmentSuggestionTemplateRequestValidationError) Key

Key function returns key value.

func (ListTreatmentSuggestionTemplateRequestValidationError) Reason

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.

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 (*TreatmentSuggestionTemplateHTTPClientImpl) DeleteTreatmentSuggestionTemplate

func (c *TreatmentSuggestionTemplateHTTPClientImpl) DeleteTreatmentSuggestionTemplate(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*api.Success, error)

func (*TreatmentSuggestionTemplateHTTPClientImpl) GetTreatmentSuggestionTemplate

func (*TreatmentSuggestionTemplateHTTPClientImpl) ListTreatmentSuggestionTemplate

func (*TreatmentSuggestionTemplateHTTPClientImpl) UpdateTreatmentSuggestionTemplate

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) DeleteTreatmentSuggestionTemplate

func (UnimplementedTreatmentSuggestionTemplateServer) GetTreatmentSuggestionTemplate

func (UnimplementedTreatmentSuggestionTemplateServer) UpdateTreatmentSuggestionTemplate

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 (*UpdateTreatmentSuggestionTemplateRequest) GetId

func (*UpdateTreatmentSuggestionTemplateRequest) GetMax

func (*UpdateTreatmentSuggestionTemplateRequest) GetMin

func (*UpdateTreatmentSuggestionTemplateRequest) GetName

func (*UpdateTreatmentSuggestionTemplateRequest) GetReverse

func (*UpdateTreatmentSuggestionTemplateRequest) ProtoMessage

func (*UpdateTreatmentSuggestionTemplateRequest) ProtoReflect

func (*UpdateTreatmentSuggestionTemplateRequest) Reset

func (*UpdateTreatmentSuggestionTemplateRequest) String

func (*UpdateTreatmentSuggestionTemplateRequest) Validate

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

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

AllErrors returns a list of validation violation errors.

func (UpdateTreatmentSuggestionTemplateRequestMultiError) Error

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

Cause function returns cause value.

func (UpdateTreatmentSuggestionTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTreatmentSuggestionTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTreatmentSuggestionTemplateRequestValidationError) Field

Field function returns field value.

func (UpdateTreatmentSuggestionTemplateRequestValidationError) Key

Key function returns key value.

func (UpdateTreatmentSuggestionTemplateRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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