api

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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_base_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IDListRequest

type IDListRequest struct {
	IdList []string `protobuf:"bytes,1,rep,name=idList,proto3" json:"idList,omitempty"`
	// contains filtered or unexported fields
}

func (*IDListRequest) Descriptor deprecated

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

Deprecated: Use IDListRequest.ProtoReflect.Descriptor instead.

func (*IDListRequest) GetIdList

func (x *IDListRequest) GetIdList() []string

func (*IDListRequest) ProtoMessage

func (*IDListRequest) ProtoMessage()

func (*IDListRequest) ProtoReflect

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

func (*IDListRequest) Reset

func (x *IDListRequest) Reset()

func (*IDListRequest) String

func (x *IDListRequest) String() string

func (*IDListRequest) Validate

func (m *IDListRequest) Validate() error

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

func (m *IDListRequest) ValidateAll() error

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

type IDListRequestMultiError

type IDListRequestMultiError []error

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

func (IDListRequestMultiError) AllErrors

func (m IDListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IDListRequestMultiError) Error

func (m IDListRequestMultiError) Error() string

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

type IDListRequestValidationError

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

IDListRequestValidationError is the validation error returned by IDListRequest.Validate if the designated constraints aren't met.

func (IDListRequestValidationError) Cause

Cause function returns cause value.

func (IDListRequestValidationError) Error

Error satisfies the builtin error interface

func (IDListRequestValidationError) ErrorName

func (e IDListRequestValidationError) ErrorName() string

ErrorName returns error name.

func (IDListRequestValidationError) Field

Field function returns field value.

func (IDListRequestValidationError) Key

Key function returns key value.

func (IDListRequestValidationError) Reason

Reason function returns reason value.

type IDRequest

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

func (*IDRequest) Descriptor deprecated

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

Deprecated: Use IDRequest.ProtoReflect.Descriptor instead.

func (*IDRequest) GetId

func (x *IDRequest) GetId() string

func (*IDRequest) ProtoMessage

func (*IDRequest) ProtoMessage()

func (*IDRequest) ProtoReflect

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

func (*IDRequest) Reset

func (x *IDRequest) Reset()

func (*IDRequest) String

func (x *IDRequest) String() string

func (*IDRequest) Validate

func (m *IDRequest) Validate() error

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

func (m *IDRequest) ValidateAll() error

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

type IDRequestMultiError

type IDRequestMultiError []error

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

func (IDRequestMultiError) AllErrors

func (m IDRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IDRequestMultiError) Error

func (m IDRequestMultiError) Error() string

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

type IDRequestValidationError

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

IDRequestValidationError is the validation error returned by IDRequest.Validate if the designated constraints aren't met.

func (IDRequestValidationError) Cause

func (e IDRequestValidationError) Cause() error

Cause function returns cause value.

func (IDRequestValidationError) Error

func (e IDRequestValidationError) Error() string

Error satisfies the builtin error interface

func (IDRequestValidationError) ErrorName

func (e IDRequestValidationError) ErrorName() string

ErrorName returns error name.

func (IDRequestValidationError) Field

func (e IDRequestValidationError) Field() string

Field function returns field value.

func (IDRequestValidationError) Key

Key function returns key value.

func (IDRequestValidationError) Reason

func (e IDRequestValidationError) Reason() string

Reason function returns reason value.

type KeywordReply

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

func (*KeywordReply) Descriptor deprecated

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

Deprecated: Use KeywordReply.ProtoReflect.Descriptor instead.

func (*KeywordReply) GetId

func (x *KeywordReply) GetId() string

func (*KeywordReply) GetName

func (x *KeywordReply) GetName() string

func (*KeywordReply) ProtoMessage

func (*KeywordReply) ProtoMessage()

func (*KeywordReply) ProtoReflect

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

func (*KeywordReply) Reset

func (x *KeywordReply) Reset()

func (*KeywordReply) String

func (x *KeywordReply) String() string

func (*KeywordReply) Validate

func (m *KeywordReply) Validate() error

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

func (m *KeywordReply) ValidateAll() error

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

type KeywordReplyMultiError

type KeywordReplyMultiError []error

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

func (KeywordReplyMultiError) AllErrors

func (m KeywordReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KeywordReplyMultiError) Error

func (m KeywordReplyMultiError) Error() string

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

type KeywordReplyValidationError

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

KeywordReplyValidationError is the validation error returned by KeywordReply.Validate if the designated constraints aren't met.

func (KeywordReplyValidationError) Cause

Cause function returns cause value.

func (KeywordReplyValidationError) Error

Error satisfies the builtin error interface

func (KeywordReplyValidationError) ErrorName

func (e KeywordReplyValidationError) ErrorName() string

ErrorName returns error name.

func (KeywordReplyValidationError) Field

Field function returns field value.

func (KeywordReplyValidationError) Key

Key function returns key value.

func (KeywordReplyValidationError) Reason

Reason function returns reason value.

type PageSearch

type PageSearch 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"`
	Query   string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*PageSearch) Descriptor deprecated

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

Deprecated: Use PageSearch.ProtoReflect.Descriptor instead.

func (*PageSearch) GetPage

func (x *PageSearch) GetPage() int32

func (*PageSearch) GetPerPage

func (x *PageSearch) GetPerPage() int32

func (*PageSearch) GetQuery

func (x *PageSearch) GetQuery() string

func (*PageSearch) ProtoMessage

func (*PageSearch) ProtoMessage()

func (*PageSearch) ProtoReflect

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

func (*PageSearch) Reset

func (x *PageSearch) Reset()

func (*PageSearch) String

func (x *PageSearch) String() string

func (*PageSearch) Validate

func (m *PageSearch) Validate() error

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

func (m *PageSearch) ValidateAll() error

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

type PageSearchMultiError

type PageSearchMultiError []error

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

func (PageSearchMultiError) AllErrors

func (m PageSearchMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageSearchMultiError) Error

func (m PageSearchMultiError) Error() string

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

type PageSearchValidationError

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

PageSearchValidationError is the validation error returned by PageSearch.Validate if the designated constraints aren't met.

func (PageSearchValidationError) Cause

func (e PageSearchValidationError) Cause() error

Cause function returns cause value.

func (PageSearchValidationError) Error

Error satisfies the builtin error interface

func (PageSearchValidationError) ErrorName

func (e PageSearchValidationError) ErrorName() string

ErrorName returns error name.

func (PageSearchValidationError) Field

Field function returns field value.

func (PageSearchValidationError) Key

Key function returns key value.

func (PageSearchValidationError) Reason

func (e PageSearchValidationError) Reason() string

Reason function returns reason value.

type ScaleReply

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

func (*ScaleReply) Descriptor deprecated

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

Deprecated: Use ScaleReply.ProtoReflect.Descriptor instead.

func (*ScaleReply) GetId

func (x *ScaleReply) GetId() string

func (*ScaleReply) GetName

func (x *ScaleReply) GetName() string

func (*ScaleReply) ProtoMessage

func (*ScaleReply) ProtoMessage()

func (*ScaleReply) ProtoReflect

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

func (*ScaleReply) Reset

func (x *ScaleReply) Reset()

func (*ScaleReply) String

func (x *ScaleReply) String() string

func (*ScaleReply) Validate

func (m *ScaleReply) Validate() error

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

func (m *ScaleReply) ValidateAll() error

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

type ScaleReplyMultiError

type ScaleReplyMultiError []error

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

func (ScaleReplyMultiError) AllErrors

func (m ScaleReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScaleReplyMultiError) Error

func (m ScaleReplyMultiError) Error() string

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

type ScaleReplyValidationError

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

ScaleReplyValidationError is the validation error returned by ScaleReply.Validate if the designated constraints aren't met.

func (ScaleReplyValidationError) Cause

func (e ScaleReplyValidationError) Cause() error

Cause function returns cause value.

func (ScaleReplyValidationError) Error

Error satisfies the builtin error interface

func (ScaleReplyValidationError) ErrorName

func (e ScaleReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ScaleReplyValidationError) Field

Field function returns field value.

func (ScaleReplyValidationError) Key

Key function returns key value.

func (ScaleReplyValidationError) Reason

func (e ScaleReplyValidationError) Reason() string

Reason function returns reason value.

type Success

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

func (*Success) Descriptor deprecated

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

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

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

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

func (*Success) Validate

func (m *Success) Validate() error

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

func (m *Success) ValidateAll() error

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

type SuccessMultiError

type SuccessMultiError []error

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

func (SuccessMultiError) AllErrors

func (m SuccessMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SuccessMultiError) Error

func (m SuccessMultiError) Error() string

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

type SuccessValidationError

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

SuccessValidationError is the validation error returned by Success.Validate if the designated constraints aren't met.

func (SuccessValidationError) Cause

func (e SuccessValidationError) Cause() error

Cause function returns cause value.

func (SuccessValidationError) Error

func (e SuccessValidationError) Error() string

Error satisfies the builtin error interface

func (SuccessValidationError) ErrorName

func (e SuccessValidationError) ErrorName() string

ErrorName returns error name.

func (SuccessValidationError) Field

func (e SuccessValidationError) Field() string

Field function returns field value.

func (SuccessValidationError) Key

func (e SuccessValidationError) Key() bool

Key function returns key value.

func (SuccessValidationError) Reason

func (e SuccessValidationError) Reason() string

Reason function returns reason value.

type Test

type Test struct {
	Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"`
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetScore

func (x *Test) GetScore() float32

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

func (*Test) Validate

func (m *Test) Validate() error

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

func (m *Test) ValidateAll() error

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

type TestMultiError

type TestMultiError []error

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

func (TestMultiError) AllErrors

func (m TestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestMultiError) Error

func (m TestMultiError) Error() string

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

type TestValidationError

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

TestValidationError is the validation error returned by Test.Validate if the designated constraints aren't met.

func (TestValidationError) Cause

func (e TestValidationError) Cause() error

Cause function returns cause value.

func (TestValidationError) Error

func (e TestValidationError) Error() string

Error satisfies the builtin error interface

func (TestValidationError) ErrorName

func (e TestValidationError) ErrorName() string

ErrorName returns error name.

func (TestValidationError) Field

func (e TestValidationError) Field() string

Field function returns field value.

func (TestValidationError) Key

func (e TestValidationError) Key() bool

Key function returns key value.

func (TestValidationError) Reason

func (e TestValidationError) Reason() string

Reason function returns reason value.

type TreatmentReply

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

func (*TreatmentReply) Descriptor deprecated

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

Deprecated: Use TreatmentReply.ProtoReflect.Descriptor instead.

func (*TreatmentReply) GetId

func (x *TreatmentReply) GetId() string

func (*TreatmentReply) GetName

func (x *TreatmentReply) GetName() string

func (*TreatmentReply) ProtoMessage

func (*TreatmentReply) ProtoMessage()

func (*TreatmentReply) ProtoReflect

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

func (*TreatmentReply) Reset

func (x *TreatmentReply) Reset()

func (*TreatmentReply) String

func (x *TreatmentReply) String() string

func (*TreatmentReply) Validate

func (m *TreatmentReply) Validate() error

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

func (m *TreatmentReply) ValidateAll() error

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

type TreatmentReplyMultiError

type TreatmentReplyMultiError []error

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

func (TreatmentReplyMultiError) AllErrors

func (m TreatmentReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TreatmentReplyMultiError) Error

func (m TreatmentReplyMultiError) Error() string

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

type TreatmentReplyValidationError

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

TreatmentReplyValidationError is the validation error returned by TreatmentReply.Validate if the designated constraints aren't met.

func (TreatmentReplyValidationError) Cause

Cause function returns cause value.

func (TreatmentReplyValidationError) Error

Error satisfies the builtin error interface

func (TreatmentReplyValidationError) ErrorName

func (e TreatmentReplyValidationError) ErrorName() string

ErrorName returns error name.

func (TreatmentReplyValidationError) Field

Field function returns field value.

func (TreatmentReplyValidationError) Key

Key function returns key value.

func (TreatmentReplyValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis
auth
patient
icd
system
icf

Jump to

Keyboard shortcuts

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