Documentation ¶
Overview ¶
Package protobuf is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterDocsearchHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDocsearchHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DocsearchClient) error
- func RegisterDocsearchHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDocsearchHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DocsearchServer) error
- func RegisterDocsearchServer(s grpc.ServiceRegistrar, srv DocsearchServer)
- type BooleanQuery
- func (*BooleanQuery) Descriptor() ([]byte, []int)deprecated
- func (x *BooleanQuery) GetBoost() float64
- func (x *BooleanQuery) GetMinShould() int32
- func (x *BooleanQuery) GetMustNots() map[string]*Query
- func (x *BooleanQuery) GetMusts() map[string]*Query
- func (x *BooleanQuery) GetShoulds() map[string]*Query
- func (*BooleanQuery) ProtoMessage()
- func (x *BooleanQuery) ProtoReflect() protoreflect.Message
- func (x *BooleanQuery) Reset()
- func (x *BooleanQuery) String() string
- func (m *BooleanQuery) Validate() error
- type BooleanQueryValidationError
- func (e BooleanQueryValidationError) Cause() error
- func (e BooleanQueryValidationError) Error() string
- func (e BooleanQueryValidationError) ErrorName() string
- func (e BooleanQueryValidationError) Field() string
- func (e BooleanQueryValidationError) Key() bool
- func (e BooleanQueryValidationError) Reason() string
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetLeader() string
- func (x *Cluster) GetNodes() map[string]*Node
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- func (m *Cluster) Validate() error
- type ClusterResponse
- func (*ClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterResponse) GetCluster() *Cluster
- func (*ClusterResponse) ProtoMessage()
- func (x *ClusterResponse) ProtoReflect() protoreflect.Message
- func (x *ClusterResponse) Reset()
- func (x *ClusterResponse) String() string
- func (m *ClusterResponse) Validate() error
- type ClusterResponseValidationError
- func (e ClusterResponseValidationError) Cause() error
- func (e ClusterResponseValidationError) Error() string
- func (e ClusterResponseValidationError) ErrorName() string
- func (e ClusterResponseValidationError) Field() string
- func (e ClusterResponseValidationError) Key() bool
- func (e ClusterResponseValidationError) Reason() string
- type ClusterValidationError
- type DateRangeQuery
- func (*DateRangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *DateRangeQuery) GetBoost() float64
- func (x *DateRangeQuery) GetEnd() string
- func (x *DateRangeQuery) GetField() string
- func (x *DateRangeQuery) GetStart() string
- func (*DateRangeQuery) ProtoMessage()
- func (x *DateRangeQuery) ProtoReflect() protoreflect.Message
- func (x *DateRangeQuery) Reset()
- func (x *DateRangeQuery) String() string
- func (m *DateRangeQuery) Validate() error
- type DateRangeQueryValidationError
- func (e DateRangeQueryValidationError) Cause() error
- func (e DateRangeQueryValidationError) Error() string
- func (e DateRangeQueryValidationError) ErrorName() string
- func (e DateRangeQueryValidationError) Field() string
- func (e DateRangeQueryValidationError) Key() bool
- func (e DateRangeQueryValidationError) Reason() string
- type DeleteDictionaries
- func (*DeleteDictionaries) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDictionaries) GetRequests() []*DeleteDictionaryRequest
- func (*DeleteDictionaries) ProtoMessage()
- func (x *DeleteDictionaries) ProtoReflect() protoreflect.Message
- func (x *DeleteDictionaries) Reset()
- func (x *DeleteDictionaries) String() string
- func (m *DeleteDictionaries) Validate() error
- type DeleteDictionariesValidationError
- func (e DeleteDictionariesValidationError) Cause() error
- func (e DeleteDictionariesValidationError) Error() string
- func (e DeleteDictionariesValidationError) ErrorName() string
- func (e DeleteDictionariesValidationError) Field() string
- func (e DeleteDictionariesValidationError) Key() bool
- func (e DeleteDictionariesValidationError) Reason() string
- type DeleteDictionaryRequest
- func (*DeleteDictionaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDictionaryRequest) GetId() string
- func (*DeleteDictionaryRequest) ProtoMessage()
- func (x *DeleteDictionaryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDictionaryRequest) Reset()
- func (x *DeleteDictionaryRequest) String() string
- func (m *DeleteDictionaryRequest) Validate() error
- type DeleteDictionaryRequestValidationError
- func (e DeleteDictionaryRequestValidationError) Cause() error
- func (e DeleteDictionaryRequestValidationError) Error() string
- func (e DeleteDictionaryRequestValidationError) ErrorName() string
- func (e DeleteDictionaryRequestValidationError) Field() string
- func (e DeleteDictionaryRequestValidationError) Key() bool
- func (e DeleteDictionaryRequestValidationError) Reason() string
- type DeleteDocument
- func (*DeleteDocument) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDocument) GetId() string
- func (x *DeleteDocument) GetTenant() string
- func (*DeleteDocument) ProtoMessage()
- func (x *DeleteDocument) ProtoReflect() protoreflect.Message
- func (x *DeleteDocument) Reset()
- func (x *DeleteDocument) String() string
- func (m *DeleteDocument) Validate() error
- type DeleteDocumentValidationError
- func (e DeleteDocumentValidationError) Cause() error
- func (e DeleteDocumentValidationError) Error() string
- func (e DeleteDocumentValidationError) ErrorName() string
- func (e DeleteDocumentValidationError) Field() string
- func (e DeleteDocumentValidationError) Key() bool
- func (e DeleteDocumentValidationError) Reason() string
- type DeleteDocuments
- func (*DeleteDocuments) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDocuments) GetRequests() []*DeleteDocument
- func (x *DeleteDocuments) GetTenant() string
- func (*DeleteDocuments) ProtoMessage()
- func (x *DeleteDocuments) ProtoReflect() protoreflect.Message
- func (x *DeleteDocuments) Reset()
- func (x *DeleteDocuments) String() string
- func (m *DeleteDocuments) Validate() error
- type DeleteDocumentsValidationError
- func (e DeleteDocumentsValidationError) Cause() error
- func (e DeleteDocumentsValidationError) Error() string
- func (e DeleteDocumentsValidationError) ErrorName() string
- func (e DeleteDocumentsValidationError) Field() string
- func (e DeleteDocumentsValidationError) Key() bool
- func (e DeleteDocumentsValidationError) Reason() string
- type DeleteMetadataRequest
- func (*DeleteMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMetadataRequest) GetId() string
- func (*DeleteMetadataRequest) ProtoMessage()
- func (x *DeleteMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMetadataRequest) Reset()
- func (x *DeleteMetadataRequest) String() string
- func (m *DeleteMetadataRequest) Validate() error
- type DeleteMetadataRequestValidationError
- func (e DeleteMetadataRequestValidationError) Cause() error
- func (e DeleteMetadataRequestValidationError) Error() string
- func (e DeleteMetadataRequestValidationError) ErrorName() string
- func (e DeleteMetadataRequestValidationError) Field() string
- func (e DeleteMetadataRequestValidationError) Key() bool
- func (e DeleteMetadataRequestValidationError) Reason() string
- type DictionaryResponse
- func (*DictionaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryResponse) GetResults() bool
- func (*DictionaryResponse) ProtoMessage()
- func (x *DictionaryResponse) ProtoReflect() protoreflect.Message
- func (x *DictionaryResponse) Reset()
- func (x *DictionaryResponse) String() string
- func (m *DictionaryResponse) Validate() error
- type DictionaryResponseValidationError
- func (e DictionaryResponseValidationError) Cause() error
- func (e DictionaryResponseValidationError) Error() string
- func (e DictionaryResponseValidationError) ErrorName() string
- func (e DictionaryResponseValidationError) Field() string
- func (e DictionaryResponseValidationError) Key() bool
- func (e DictionaryResponseValidationError) Reason() string
- type DocsearchClient
- type DocsearchServer
- type Docsearch_WatchClient
- type Docsearch_WatchServer
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) GetFields() []byte
- func (x *Document) GetId() string
- func (x *Document) GetTenant() string
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (x *Document) String() string
- func (m *Document) Validate() error
- type DocumentValidationError
- type Documents
- func (*Documents) Descriptor() ([]byte, []int)deprecated
- func (x *Documents) GetRequests() []*Document
- func (x *Documents) GetTenant() string
- func (*Documents) ProtoMessage()
- func (x *Documents) ProtoReflect() protoreflect.Message
- func (x *Documents) Reset()
- func (x *Documents) String() string
- func (m *Documents) Validate() error
- type DocumentsValidationError
- type Event
- type EventValidationError
- type Event_Type
- type FuzzyQuery
- func (*FuzzyQuery) Descriptor() ([]byte, []int)deprecated
- func (x *FuzzyQuery) GetBoost() float64
- func (x *FuzzyQuery) GetField() string
- func (x *FuzzyQuery) GetFuzziness() int32
- func (x *FuzzyQuery) GetPrefix() int32
- func (x *FuzzyQuery) GetTerm() string
- func (*FuzzyQuery) ProtoMessage()
- func (x *FuzzyQuery) ProtoReflect() protoreflect.Message
- func (x *FuzzyQuery) Reset()
- func (x *FuzzyQuery) String() string
- func (m *FuzzyQuery) Validate() error
- type FuzzyQueryValidationError
- type GeoBoundingBoxQuery
- func (*GeoBoundingBoxQuery) Descriptor() ([]byte, []int)deprecated
- func (x *GeoBoundingBoxQuery) GetBoost() float64
- func (x *GeoBoundingBoxQuery) GetBottomRightLat() float64
- func (x *GeoBoundingBoxQuery) GetBottomRightLon() float64
- func (x *GeoBoundingBoxQuery) GetField() string
- func (x *GeoBoundingBoxQuery) GetTopLeftLat() float64
- func (x *GeoBoundingBoxQuery) GetTopLeftLon() float64
- func (*GeoBoundingBoxQuery) ProtoMessage()
- func (x *GeoBoundingBoxQuery) ProtoReflect() protoreflect.Message
- func (x *GeoBoundingBoxQuery) Reset()
- func (x *GeoBoundingBoxQuery) String() string
- func (m *GeoBoundingBoxQuery) Validate() error
- type GeoBoundingBoxQueryValidationError
- func (e GeoBoundingBoxQueryValidationError) Cause() error
- func (e GeoBoundingBoxQueryValidationError) Error() string
- func (e GeoBoundingBoxQueryValidationError) ErrorName() string
- func (e GeoBoundingBoxQueryValidationError) Field() string
- func (e GeoBoundingBoxQueryValidationError) Key() bool
- func (e GeoBoundingBoxQueryValidationError) Reason() string
- type GeoBoundingPolygonQuery
- func (*GeoBoundingPolygonQuery) Descriptor() ([]byte, []int)deprecated
- func (x *GeoBoundingPolygonQuery) GetBoost() float64
- func (x *GeoBoundingPolygonQuery) GetField() string
- func (x *GeoBoundingPolygonQuery) GetPoints() []*GeoPoint
- func (*GeoBoundingPolygonQuery) ProtoMessage()
- func (x *GeoBoundingPolygonQuery) ProtoReflect() protoreflect.Message
- func (x *GeoBoundingPolygonQuery) Reset()
- func (x *GeoBoundingPolygonQuery) String() string
- func (m *GeoBoundingPolygonQuery) Validate() error
- type GeoBoundingPolygonQueryValidationError
- func (e GeoBoundingPolygonQueryValidationError) Cause() error
- func (e GeoBoundingPolygonQueryValidationError) Error() string
- func (e GeoBoundingPolygonQueryValidationError) ErrorName() string
- func (e GeoBoundingPolygonQueryValidationError) Field() string
- func (e GeoBoundingPolygonQueryValidationError) Key() bool
- func (e GeoBoundingPolygonQueryValidationError) Reason() string
- type GeoDistanceQuery
- func (*GeoDistanceQuery) Descriptor() ([]byte, []int)deprecated
- func (x *GeoDistanceQuery) GetBoost() float64
- func (x *GeoDistanceQuery) GetDistance() string
- func (x *GeoDistanceQuery) GetField() string
- func (x *GeoDistanceQuery) GetPoint() *GeoPoint
- func (*GeoDistanceQuery) ProtoMessage()
- func (x *GeoDistanceQuery) ProtoReflect() protoreflect.Message
- func (x *GeoDistanceQuery) Reset()
- func (x *GeoDistanceQuery) String() string
- func (m *GeoDistanceQuery) Validate() error
- type GeoDistanceQueryValidationError
- func (e GeoDistanceQueryValidationError) Cause() error
- func (e GeoDistanceQueryValidationError) Error() string
- func (e GeoDistanceQueryValidationError) ErrorName() string
- func (e GeoDistanceQueryValidationError) Field() string
- func (e GeoDistanceQueryValidationError) Key() bool
- func (e GeoDistanceQueryValidationError) Reason() string
- type GeoPoint
- func (*GeoPoint) Descriptor() ([]byte, []int)deprecated
- func (x *GeoPoint) GetLat() float64
- func (x *GeoPoint) GetLon() float64
- func (*GeoPoint) ProtoMessage()
- func (x *GeoPoint) ProtoReflect() protoreflect.Message
- func (x *GeoPoint) Reset()
- func (x *GeoPoint) String() string
- func (m *GeoPoint) Validate() error
- type GeoPointValidationError
- type GetMetadataRequest
- func (*GetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataRequest) GetId() string
- func (*GetMetadataRequest) ProtoMessage()
- func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetadataRequest) Reset()
- func (x *GetMetadataRequest) String() string
- func (m *GetMetadataRequest) Validate() error
- type GetMetadataRequestValidationError
- func (e GetMetadataRequestValidationError) Cause() error
- func (e GetMetadataRequestValidationError) Error() string
- func (e GetMetadataRequestValidationError) ErrorName() string
- func (e GetMetadataRequestValidationError) Field() string
- func (e GetMetadataRequestValidationError) Key() bool
- func (e GetMetadataRequestValidationError) Reason() string
- type JoinRequest
- func (*JoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRequest) GetId() string
- func (x *JoinRequest) GetNode() *Node
- func (*JoinRequest) ProtoMessage()
- func (x *JoinRequest) ProtoReflect() protoreflect.Message
- func (x *JoinRequest) Reset()
- func (x *JoinRequest) String() string
- func (m *JoinRequest) Validate() error
- type JoinRequestValidationError
- func (e JoinRequestValidationError) Cause() error
- func (e JoinRequestValidationError) Error() string
- func (e JoinRequestValidationError) ErrorName() string
- func (e JoinRequestValidationError) Field() string
- func (e JoinRequestValidationError) Key() bool
- func (e JoinRequestValidationError) Reason() string
- type LeaveRequest
- func (*LeaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaveRequest) GetId() string
- func (*LeaveRequest) ProtoMessage()
- func (x *LeaveRequest) ProtoReflect() protoreflect.Message
- func (x *LeaveRequest) Reset()
- func (x *LeaveRequest) String() string
- func (m *LeaveRequest) Validate() error
- type LeaveRequestValidationError
- func (e LeaveRequestValidationError) Cause() error
- func (e LeaveRequestValidationError) Error() string
- func (e LeaveRequestValidationError) ErrorName() string
- func (e LeaveRequestValidationError) Field() string
- func (e LeaveRequestValidationError) Key() bool
- func (e LeaveRequestValidationError) Reason() string
- type LivenessCheckResponse
- func (*LivenessCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LivenessCheckResponse) GetAlive() bool
- func (*LivenessCheckResponse) ProtoMessage()
- func (x *LivenessCheckResponse) ProtoReflect() protoreflect.Message
- func (x *LivenessCheckResponse) Reset()
- func (x *LivenessCheckResponse) String() string
- func (m *LivenessCheckResponse) Validate() error
- type LivenessCheckResponseValidationError
- func (e LivenessCheckResponseValidationError) Cause() error
- func (e LivenessCheckResponseValidationError) Error() string
- func (e LivenessCheckResponseValidationError) ErrorName() string
- func (e LivenessCheckResponseValidationError) Field() string
- func (e LivenessCheckResponseValidationError) Key() bool
- func (e LivenessCheckResponseValidationError) Reason() string
- type MatchAllQuery
- func (*MatchAllQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MatchAllQuery) GetBoost() float64
- func (*MatchAllQuery) ProtoMessage()
- func (x *MatchAllQuery) ProtoReflect() protoreflect.Message
- func (x *MatchAllQuery) Reset()
- func (x *MatchAllQuery) String() string
- func (m *MatchAllQuery) Validate() error
- type MatchAllQueryValidationError
- func (e MatchAllQueryValidationError) Cause() error
- func (e MatchAllQueryValidationError) Error() string
- func (e MatchAllQueryValidationError) ErrorName() string
- func (e MatchAllQueryValidationError) Field() string
- func (e MatchAllQueryValidationError) Key() bool
- func (e MatchAllQueryValidationError) Reason() string
- type MatchNoneQuery
- func (*MatchNoneQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MatchNoneQuery) GetBoost() float64
- func (*MatchNoneQuery) ProtoMessage()
- func (x *MatchNoneQuery) ProtoReflect() protoreflect.Message
- func (x *MatchNoneQuery) Reset()
- func (x *MatchNoneQuery) String() string
- func (m *MatchNoneQuery) Validate() error
- type MatchNoneQueryValidationError
- func (e MatchNoneQueryValidationError) Cause() error
- func (e MatchNoneQueryValidationError) Error() string
- func (e MatchNoneQueryValidationError) ErrorName() string
- func (e MatchNoneQueryValidationError) Field() string
- func (e MatchNoneQueryValidationError) Key() bool
- func (e MatchNoneQueryValidationError) Reason() string
- type MatchPhraseQuery
- func (*MatchPhraseQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MatchPhraseQuery) GetAnalyzerName() string
- func (x *MatchPhraseQuery) GetBoost() float64
- func (x *MatchPhraseQuery) GetField() string
- func (x *MatchPhraseQuery) GetMatchPhrase() string
- func (x *MatchPhraseQuery) GetSlop() int32
- func (*MatchPhraseQuery) ProtoMessage()
- func (x *MatchPhraseQuery) ProtoReflect() protoreflect.Message
- func (x *MatchPhraseQuery) Reset()
- func (x *MatchPhraseQuery) String() string
- func (m *MatchPhraseQuery) Validate() error
- type MatchPhraseQueryValidationError
- func (e MatchPhraseQueryValidationError) Cause() error
- func (e MatchPhraseQueryValidationError) Error() string
- func (e MatchPhraseQueryValidationError) ErrorName() string
- func (e MatchPhraseQueryValidationError) Field() string
- func (e MatchPhraseQueryValidationError) Key() bool
- func (e MatchPhraseQueryValidationError) Reason() string
- type MatchQuery
- func (*MatchQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MatchQuery) GetAnalyzerName() string
- func (x *MatchQuery) GetBoost() float64
- func (x *MatchQuery) GetField() string
- func (x *MatchQuery) GetMatch() string
- func (x *MatchQuery) GetOperator() MatchQuery_MatchOperator
- func (*MatchQuery) ProtoMessage()
- func (x *MatchQuery) ProtoReflect() protoreflect.Message
- func (x *MatchQuery) Reset()
- func (x *MatchQuery) String() string
- func (m *MatchQuery) Validate() error
- type MatchQueryValidationError
- type MatchQuery_MatchOperator
- func (MatchQuery_MatchOperator) Descriptor() protoreflect.EnumDescriptor
- func (x MatchQuery_MatchOperator) Enum() *MatchQuery_MatchOperator
- func (MatchQuery_MatchOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchQuery_MatchOperator) Number() protoreflect.EnumNumber
- func (x MatchQuery_MatchOperator) String() string
- func (MatchQuery_MatchOperator) Type() protoreflect.EnumType
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetGrpcAddress() string
- func (x *Metadata) GetHttpAddress() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) Validate() error
- type MetadataValidationError
- type MetricsResponse
- func (*MetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsResponse) GetMetrics() []byte
- func (*MetricsResponse) ProtoMessage()
- func (x *MetricsResponse) ProtoReflect() protoreflect.Message
- func (x *MetricsResponse) Reset()
- func (x *MetricsResponse) String() string
- func (m *MetricsResponse) Validate() error
- type MetricsResponseValidationError
- func (e MetricsResponseValidationError) Cause() error
- func (e MetricsResponseValidationError) Error() string
- func (e MetricsResponseValidationError) ErrorName() string
- func (e MetricsResponseValidationError) Field() string
- func (e MetricsResponseValidationError) Key() bool
- func (e MetricsResponseValidationError) Reason() string
- type MultiPhraseQuery
- func (*MultiPhraseQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MultiPhraseQuery) GetBoost() float64
- func (x *MultiPhraseQuery) GetField() string
- func (x *MultiPhraseQuery) GetSlop() int32
- func (x *MultiPhraseQuery) GetTerms() []string
- func (*MultiPhraseQuery) ProtoMessage()
- func (x *MultiPhraseQuery) ProtoReflect() protoreflect.Message
- func (x *MultiPhraseQuery) Reset()
- func (x *MultiPhraseQuery) String() string
- func (m *MultiPhraseQuery) Validate() error
- type MultiPhraseQueryValidationError
- func (e MultiPhraseQueryValidationError) Cause() error
- func (e MultiPhraseQueryValidationError) Error() string
- func (e MultiPhraseQueryValidationError) ErrorName() string
- func (e MultiPhraseQueryValidationError) Field() string
- func (e MultiPhraseQueryValidationError) Key() bool
- func (e MultiPhraseQueryValidationError) Reason() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetMetadata() *Metadata
- func (x *Node) GetRaftAddress() string
- func (x *Node) GetState() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- func (m *Node) Validate() error
- type NodeResponse
- func (*NodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeResponse) GetNode() *Node
- func (*NodeResponse) ProtoMessage()
- func (x *NodeResponse) ProtoReflect() protoreflect.Message
- func (x *NodeResponse) Reset()
- func (x *NodeResponse) String() string
- func (m *NodeResponse) Validate() error
- type NodeResponseValidationError
- func (e NodeResponseValidationError) Cause() error
- func (e NodeResponseValidationError) Error() string
- func (e NodeResponseValidationError) ErrorName() string
- func (e NodeResponseValidationError) Field() string
- func (e NodeResponseValidationError) Key() bool
- func (e NodeResponseValidationError) Reason() string
- type NodeValidationError
- type NumericRangeQuery
- func (*NumericRangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *NumericRangeQuery) GetBoost() float64
- func (x *NumericRangeQuery) GetField() string
- func (x *NumericRangeQuery) GetMax() float64
- func (x *NumericRangeQuery) GetMin() float64
- func (*NumericRangeQuery) ProtoMessage()
- func (x *NumericRangeQuery) ProtoReflect() protoreflect.Message
- func (x *NumericRangeQuery) Reset()
- func (x *NumericRangeQuery) String() string
- func (m *NumericRangeQuery) Validate() error
- type NumericRangeQueryValidationError
- func (e NumericRangeQueryValidationError) Cause() error
- func (e NumericRangeQueryValidationError) Error() string
- func (e NumericRangeQueryValidationError) ErrorName() string
- func (e NumericRangeQueryValidationError) Field() string
- func (e NumericRangeQueryValidationError) Key() bool
- func (e NumericRangeQueryValidationError) Reason() string
- type PrefixQuery
- func (*PrefixQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PrefixQuery) GetBoost() float64
- func (x *PrefixQuery) GetField() string
- func (x *PrefixQuery) GetPrefix() string
- func (*PrefixQuery) ProtoMessage()
- func (x *PrefixQuery) ProtoReflect() protoreflect.Message
- func (x *PrefixQuery) Reset()
- func (x *PrefixQuery) String() string
- func (m *PrefixQuery) Validate() error
- type PrefixQueryValidationError
- func (e PrefixQueryValidationError) Cause() error
- func (e PrefixQueryValidationError) Error() string
- func (e PrefixQueryValidationError) ErrorName() string
- func (e PrefixQueryValidationError) Field() string
- func (e PrefixQueryValidationError) Key() bool
- func (e PrefixQueryValidationError) Reason() string
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetBool() *BooleanQuery
- func (x *Query) GetDateRange() *DateRangeQuery
- func (x *Query) GetFuzzy() *FuzzyQuery
- func (x *Query) GetGeoBoundingBox() *GeoBoundingBoxQuery
- func (x *Query) GetGeoBoundingPolygon() *GeoBoundingPolygonQuery
- func (x *Query) GetGeoDistance() *GeoDistanceQuery
- func (x *Query) GetMatchAll() *MatchAllQuery
- func (x *Query) GetMatchNone() *MatchNoneQuery
- func (x *Query) GetMatchPhrase() *MatchPhraseQuery
- func (x *Query) GetMatchQuery() *MatchQuery
- func (x *Query) GetMultiPhrase() *MultiPhraseQuery
- func (x *Query) GetNumericRange() *NumericRangeQuery
- func (x *Query) GetPrefix() *PrefixQuery
- func (m *Query) GetQuery() isQuery_Query
- func (x *Query) GetRegexp() *RegexpQuery
- func (x *Query) GetTerm() *TermQuery
- func (x *Query) GetTermRange() *TermRangeQuery
- func (x *Query) GetWildcard() *WildcardQuery
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- func (m *Query) Validate() error
- type QueryValidationError
- type Query_Bool
- type Query_DateRange
- type Query_Fuzzy
- type Query_GeoBoundingBox
- type Query_GeoBoundingPolygon
- type Query_GeoDistance
- type Query_MatchAll
- type Query_MatchNone
- type Query_MatchPhrase
- type Query_MatchQuery
- type Query_MultiPhrase
- type Query_NumericRange
- type Query_Prefix
- type Query_Regexp
- type Query_Term
- type Query_TermRange
- type Query_Wildcard
- type ReadinessCheckResponse
- func (*ReadinessCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessCheckResponse) GetReady() bool
- func (*ReadinessCheckResponse) ProtoMessage()
- func (x *ReadinessCheckResponse) ProtoReflect() protoreflect.Message
- func (x *ReadinessCheckResponse) Reset()
- func (x *ReadinessCheckResponse) String() string
- func (m *ReadinessCheckResponse) Validate() error
- type ReadinessCheckResponseValidationError
- func (e ReadinessCheckResponseValidationError) Cause() error
- func (e ReadinessCheckResponseValidationError) Error() string
- func (e ReadinessCheckResponseValidationError) ErrorName() string
- func (e ReadinessCheckResponseValidationError) Field() string
- func (e ReadinessCheckResponseValidationError) Key() bool
- func (e ReadinessCheckResponseValidationError) Reason() string
- type RegexpQuery
- func (*RegexpQuery) Descriptor() ([]byte, []int)deprecated
- func (x *RegexpQuery) GetBoost() float64
- func (x *RegexpQuery) GetField() string
- func (x *RegexpQuery) GetRegexp() string
- func (*RegexpQuery) ProtoMessage()
- func (x *RegexpQuery) ProtoReflect() protoreflect.Message
- func (x *RegexpQuery) Reset()
- func (x *RegexpQuery) String() string
- func (m *RegexpQuery) Validate() error
- type RegexpQueryValidationError
- func (e RegexpQueryValidationError) Cause() error
- func (e RegexpQueryValidationError) Error() string
- func (e RegexpQueryValidationError) ErrorName() string
- func (e RegexpQueryValidationError) Field() string
- func (e RegexpQueryValidationError) Key() bool
- func (e RegexpQueryValidationError) Reason() string
- type SearchMetadataRequest
- func (*SearchMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMetadataRequest) GetFrom() int32
- func (x *SearchMetadataRequest) GetSize() int32
- func (*SearchMetadataRequest) ProtoMessage()
- func (x *SearchMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *SearchMetadataRequest) Reset()
- func (x *SearchMetadataRequest) String() string
- func (m *SearchMetadataRequest) Validate() error
- type SearchMetadataRequestValidationError
- func (e SearchMetadataRequestValidationError) Cause() error
- func (e SearchMetadataRequestValidationError) Error() string
- func (e SearchMetadataRequestValidationError) ErrorName() string
- func (e SearchMetadataRequestValidationError) Field() string
- func (e SearchMetadataRequestValidationError) Key() bool
- func (e SearchMetadataRequestValidationError) Reason() string
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetMetadata() *SearchMetadataRequest
- func (x *SearchRequest) GetQuery() map[string]*Query
- func (x *SearchRequest) GetTenant() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- func (m *SearchRequest) Validate() error
- type SearchRequestValidationError
- func (e SearchRequestValidationError) Cause() error
- func (e SearchRequestValidationError) Error() string
- func (e SearchRequestValidationError) ErrorName() string
- func (e SearchRequestValidationError) Field() string
- func (e SearchRequestValidationError) Key() bool
- func (e SearchRequestValidationError) Reason() string
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetResult() []byte
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- func (m *SearchResponse) Validate() error
- type SearchResponseValidationError
- func (e SearchResponseValidationError) Cause() error
- func (e SearchResponseValidationError) Error() string
- func (e SearchResponseValidationError) ErrorName() string
- func (e SearchResponseValidationError) Field() string
- func (e SearchResponseValidationError) Key() bool
- func (e SearchResponseValidationError) Reason() string
- type SetMetadataRequest
- func (*SetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMetadataRequest) GetId() string
- func (x *SetMetadataRequest) GetMetadata() *Metadata
- func (*SetMetadataRequest) ProtoMessage()
- func (x *SetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *SetMetadataRequest) Reset()
- func (x *SetMetadataRequest) String() string
- func (m *SetMetadataRequest) Validate() error
- type SetMetadataRequestValidationError
- func (e SetMetadataRequestValidationError) Cause() error
- func (e SetMetadataRequestValidationError) Error() string
- func (e SetMetadataRequestValidationError) ErrorName() string
- func (e SetMetadataRequestValidationError) Field() string
- func (e SetMetadataRequestValidationError) Key() bool
- func (e SetMetadataRequestValidationError) Reason() string
- type TermQuery
- func (*TermQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TermQuery) GetBoost() float64
- func (x *TermQuery) GetField() string
- func (x *TermQuery) GetTerm() string
- func (*TermQuery) ProtoMessage()
- func (x *TermQuery) ProtoReflect() protoreflect.Message
- func (x *TermQuery) Reset()
- func (x *TermQuery) String() string
- func (m *TermQuery) Validate() error
- type TermQueryValidationError
- type TermRangeQuery
- func (*TermRangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TermRangeQuery) GetBoost() float64
- func (x *TermRangeQuery) GetField() string
- func (x *TermRangeQuery) GetMax() string
- func (x *TermRangeQuery) GetMin() string
- func (*TermRangeQuery) ProtoMessage()
- func (x *TermRangeQuery) ProtoReflect() protoreflect.Message
- func (x *TermRangeQuery) Reset()
- func (x *TermRangeQuery) String() string
- func (m *TermRangeQuery) Validate() error
- type TermRangeQueryValidationError
- func (e TermRangeQueryValidationError) Cause() error
- func (e TermRangeQueryValidationError) Error() string
- func (e TermRangeQueryValidationError) ErrorName() string
- func (e TermRangeQueryValidationError) Field() string
- func (e TermRangeQueryValidationError) Key() bool
- func (e TermRangeQueryValidationError) Reason() string
- type UnimplementedDocsearchServer
- func (UnimplementedDocsearchServer) BulkDelete(context.Context, *DeleteDocuments) (*emptypb.Empty, error)
- func (UnimplementedDocsearchServer) Cluster(context.Context, *emptypb.Empty) (*ClusterResponse, error)
- func (UnimplementedDocsearchServer) Delete(context.Context, *DeleteDocument) (*emptypb.Empty, error)
- func (UnimplementedDocsearchServer) DeleteDictionary(context.Context, *DeleteDictionaryRequest) (*DictionaryResponse, error)
- func (UnimplementedDocsearchServer) Insert(context.Context, *Document) (*emptypb.Empty, error)
- func (UnimplementedDocsearchServer) Join(context.Context, *JoinRequest) (*emptypb.Empty, error)
- func (UnimplementedDocsearchServer) Leave(context.Context, *LeaveRequest) (*emptypb.Empty, error)
- func (UnimplementedDocsearchServer) LivenessCheck(context.Context, *emptypb.Empty) (*LivenessCheckResponse, error)
- func (UnimplementedDocsearchServer) Metrics(context.Context, *emptypb.Empty) (*MetricsResponse, error)
- func (UnimplementedDocsearchServer) Node(context.Context, *emptypb.Empty) (*NodeResponse, error)
- func (UnimplementedDocsearchServer) ReadinessCheck(context.Context, *emptypb.Empty) (*ReadinessCheckResponse, error)
- func (UnimplementedDocsearchServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
- func (UnimplementedDocsearchServer) Upload(context.Context, *Documents) (*emptypb.Empty, error)
- func (UnimplementedDocsearchServer) UploadDictionary(context.Context, *UserDictionaryRecords) (*DictionaryResponse, error)
- func (UnimplementedDocsearchServer) Watch(*emptypb.Empty, Docsearch_WatchServer) error
- type UnsafeDocsearchServer
- type UserDictionaryRecord
- func (*UserDictionaryRecord) Descriptor() ([]byte, []int)deprecated
- func (x *UserDictionaryRecord) GetPos() string
- func (x *UserDictionaryRecord) GetText() string
- func (x *UserDictionaryRecord) GetTokens() []string
- func (x *UserDictionaryRecord) GetYomi() []string
- func (*UserDictionaryRecord) ProtoMessage()
- func (x *UserDictionaryRecord) ProtoReflect() protoreflect.Message
- func (x *UserDictionaryRecord) Reset()
- func (x *UserDictionaryRecord) String() string
- func (m *UserDictionaryRecord) Validate() error
- type UserDictionaryRecordValidationError
- func (e UserDictionaryRecordValidationError) Cause() error
- func (e UserDictionaryRecordValidationError) Error() string
- func (e UserDictionaryRecordValidationError) ErrorName() string
- func (e UserDictionaryRecordValidationError) Field() string
- func (e UserDictionaryRecordValidationError) Key() bool
- func (e UserDictionaryRecordValidationError) Reason() string
- type UserDictionaryRecords
- func (*UserDictionaryRecords) Descriptor() ([]byte, []int)deprecated
- func (x *UserDictionaryRecords) GetId() string
- func (x *UserDictionaryRecords) GetRecords() []*UserDictionaryRecord
- func (*UserDictionaryRecords) ProtoMessage()
- func (x *UserDictionaryRecords) ProtoReflect() protoreflect.Message
- func (x *UserDictionaryRecords) Reset()
- func (x *UserDictionaryRecords) String() string
- func (m *UserDictionaryRecords) Validate() error
- type UserDictionaryRecordsValidationError
- func (e UserDictionaryRecordsValidationError) Cause() error
- func (e UserDictionaryRecordsValidationError) Error() string
- func (e UserDictionaryRecordsValidationError) ErrorName() string
- func (e UserDictionaryRecordsValidationError) Field() string
- func (e UserDictionaryRecordsValidationError) Key() bool
- func (e UserDictionaryRecordsValidationError) Reason() string
- type WatchResponse
- func (*WatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WatchResponse) GetEvent() *Event
- func (*WatchResponse) ProtoMessage()
- func (x *WatchResponse) ProtoReflect() protoreflect.Message
- func (x *WatchResponse) Reset()
- func (x *WatchResponse) String() string
- func (m *WatchResponse) Validate() error
- type WatchResponseValidationError
- func (e WatchResponseValidationError) Cause() error
- func (e WatchResponseValidationError) Error() string
- func (e WatchResponseValidationError) ErrorName() string
- func (e WatchResponseValidationError) Field() string
- func (e WatchResponseValidationError) Key() bool
- func (e WatchResponseValidationError) Reason() string
- type WildcardQuery
- func (*WildcardQuery) Descriptor() ([]byte, []int)deprecated
- func (x *WildcardQuery) GetBoost() float64
- func (x *WildcardQuery) GetField() string
- func (x *WildcardQuery) GetWildcard() string
- func (*WildcardQuery) ProtoMessage()
- func (x *WildcardQuery) ProtoReflect() protoreflect.Message
- func (x *WildcardQuery) Reset()
- func (x *WildcardQuery) String() string
- func (m *WildcardQuery) Validate() error
- type WildcardQueryValidationError
- func (e WildcardQueryValidationError) Cause() error
- func (e WildcardQueryValidationError) Error() string
- func (e WildcardQueryValidationError) ErrorName() string
- func (e WildcardQueryValidationError) Field() string
- func (e WildcardQueryValidationError) Key() bool
- func (e WildcardQueryValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( MatchQuery_MatchOperator_name = map[int32]string{ 0: "Unknown", 1: "Or", 2: "And", } MatchQuery_MatchOperator_value = map[string]int32{ "Unknown": 0, "Or": 1, "And": 2, } )
Enum value maps for MatchQuery_MatchOperator.
var ( Event_Type_name = map[int32]string{ 0: "Unknown", 1: "JoinNode", 2: "LeaveNode", 3: "GetNode", 4: "Upload", 5: "Delete", 6: "Search", 7: "Dictionary", 8: "RemoveDictionary", } Event_Type_value = map[string]int32{ "Unknown": 0, "JoinNode": 1, "LeaveNode": 2, "GetNode": 3, "Upload": 4, "Delete": 5, "Search": 6, "Dictionary": 7, "RemoveDictionary": 8, } )
Enum value maps for Event_Type.
var Docsearch_ServiceDesc = grpc.ServiceDesc{ ServiceName: "docsearch.Docsearch", HandlerType: (*DocsearchServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "LivenessCheck", Handler: _Docsearch_LivenessCheck_Handler, }, { MethodName: "ReadinessCheck", Handler: _Docsearch_ReadinessCheck_Handler, }, { MethodName: "Node", Handler: _Docsearch_Node_Handler, }, { MethodName: "Join", Handler: _Docsearch_Join_Handler, }, { MethodName: "Leave", Handler: _Docsearch_Leave_Handler, }, { MethodName: "Cluster", Handler: _Docsearch_Cluster_Handler, }, { MethodName: "Insert", Handler: _Docsearch_Insert_Handler, }, { MethodName: "Delete", Handler: _Docsearch_Delete_Handler, }, { MethodName: "Upload", Handler: _Docsearch_Upload_Handler, }, { MethodName: "BulkDelete", Handler: _Docsearch_BulkDelete_Handler, }, { MethodName: "Search", Handler: _Docsearch_Search_Handler, }, { MethodName: "UploadDictionary", Handler: _Docsearch_UploadDictionary_Handler, }, { MethodName: "DeleteDictionary", Handler: _Docsearch_DeleteDictionary_Handler, }, { MethodName: "Metrics", Handler: _Docsearch_Metrics_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _Docsearch_Watch_Handler, ServerStreams: true, }, }, Metadata: "docsearch.proto", }
Docsearch_ServiceDesc is the grpc.ServiceDesc for Docsearch service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_docsearch_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDocsearchHandler ¶
func RegisterDocsearchHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDocsearchHandler registers the http handlers for service Docsearch to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDocsearchHandlerClient ¶
func RegisterDocsearchHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DocsearchClient) error
RegisterDocsearchHandlerClient registers the http handlers for service Docsearch to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DocsearchClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DocsearchClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DocsearchClient" to call the correct interceptors.
func RegisterDocsearchHandlerFromEndpoint ¶
func RegisterDocsearchHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDocsearchHandlerFromEndpoint is same as RegisterDocsearchHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDocsearchHandlerServer ¶
func RegisterDocsearchHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DocsearchServer) error
RegisterDocsearchHandlerServer registers the http handlers for service Docsearch to "mux". UnaryRPC :call DocsearchServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDocsearchHandlerFromEndpoint instead.
func RegisterDocsearchServer ¶
func RegisterDocsearchServer(s grpc.ServiceRegistrar, srv DocsearchServer)
Types ¶
type BooleanQuery ¶
type BooleanQuery struct { Musts map[string]*Query `` /* 151-byte string literal not displayed */ Shoulds map[string]*Query `` /* 155-byte string literal not displayed */ MustNots map[string]*Query `` /* 157-byte string literal not displayed */ Boost float64 `protobuf:"fixed64,4,opt,name=boost,proto3" json:"boost,omitempty"` MinShould int32 `protobuf:"varint,5,opt,name=minShould,proto3" json:"minShould,omitempty"` // contains filtered or unexported fields }
func (*BooleanQuery) Descriptor
deprecated
func (*BooleanQuery) Descriptor() ([]byte, []int)
Deprecated: Use BooleanQuery.ProtoReflect.Descriptor instead.
func (*BooleanQuery) GetBoost ¶
func (x *BooleanQuery) GetBoost() float64
func (*BooleanQuery) GetMinShould ¶
func (x *BooleanQuery) GetMinShould() int32
func (*BooleanQuery) GetMustNots ¶
func (x *BooleanQuery) GetMustNots() map[string]*Query
func (*BooleanQuery) GetMusts ¶
func (x *BooleanQuery) GetMusts() map[string]*Query
func (*BooleanQuery) GetShoulds ¶
func (x *BooleanQuery) GetShoulds() map[string]*Query
func (*BooleanQuery) ProtoMessage ¶
func (*BooleanQuery) ProtoMessage()
func (*BooleanQuery) ProtoReflect ¶
func (x *BooleanQuery) ProtoReflect() protoreflect.Message
func (*BooleanQuery) Reset ¶
func (x *BooleanQuery) Reset()
func (*BooleanQuery) String ¶
func (x *BooleanQuery) String() string
func (*BooleanQuery) Validate ¶
func (m *BooleanQuery) Validate() error
Validate checks the field values on BooleanQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type BooleanQueryValidationError ¶
type BooleanQueryValidationError struct {
// contains filtered or unexported fields
}
BooleanQueryValidationError is the validation error returned by BooleanQuery.Validate if the designated constraints aren't met.
func (BooleanQueryValidationError) Cause ¶
func (e BooleanQueryValidationError) Cause() error
Cause function returns cause value.
func (BooleanQueryValidationError) Error ¶
func (e BooleanQueryValidationError) Error() string
Error satisfies the builtin error interface
func (BooleanQueryValidationError) ErrorName ¶
func (e BooleanQueryValidationError) ErrorName() string
ErrorName returns error name.
func (BooleanQueryValidationError) Field ¶
func (e BooleanQueryValidationError) Field() string
Field function returns field value.
func (BooleanQueryValidationError) Key ¶
func (e BooleanQueryValidationError) Key() bool
Key function returns key value.
func (BooleanQueryValidationError) Reason ¶
func (e BooleanQueryValidationError) Reason() string
Reason function returns reason value.
type Cluster ¶
type Cluster struct { Nodes map[string]*Node `` /* 151-byte string literal not displayed */ Leader string `protobuf:"bytes,2,opt,name=leader,proto3" json:"leader,omitempty"` // contains filtered or unexported fields }
func (*Cluster) Descriptor
deprecated
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type ClusterResponse ¶
type ClusterResponse struct { Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*ClusterResponse) Descriptor
deprecated
func (*ClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClusterResponse.ProtoReflect.Descriptor instead.
func (*ClusterResponse) GetCluster ¶
func (x *ClusterResponse) GetCluster() *Cluster
func (*ClusterResponse) ProtoMessage ¶
func (*ClusterResponse) ProtoMessage()
func (*ClusterResponse) ProtoReflect ¶
func (x *ClusterResponse) ProtoReflect() protoreflect.Message
func (*ClusterResponse) Reset ¶
func (x *ClusterResponse) Reset()
func (*ClusterResponse) String ¶
func (x *ClusterResponse) String() string
func (*ClusterResponse) Validate ¶
func (m *ClusterResponse) Validate() error
Validate checks the field values on ClusterResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClusterResponseValidationError ¶
type ClusterResponseValidationError struct {
// contains filtered or unexported fields
}
ClusterResponseValidationError is the validation error returned by ClusterResponse.Validate if the designated constraints aren't met.
func (ClusterResponseValidationError) Cause ¶
func (e ClusterResponseValidationError) Cause() error
Cause function returns cause value.
func (ClusterResponseValidationError) Error ¶
func (e ClusterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterResponseValidationError) ErrorName ¶
func (e ClusterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterResponseValidationError) Field ¶
func (e ClusterResponseValidationError) Field() string
Field function returns field value.
func (ClusterResponseValidationError) Key ¶
func (e ClusterResponseValidationError) Key() bool
Key function returns key value.
func (ClusterResponseValidationError) Reason ¶
func (e ClusterResponseValidationError) Reason() string
Reason function returns reason value.
type ClusterValidationError ¶
type ClusterValidationError struct {
// contains filtered or unexported fields
}
ClusterValidationError is the validation error returned by Cluster.Validate if the designated constraints aren't met.
func (ClusterValidationError) Cause ¶
func (e ClusterValidationError) Cause() error
Cause function returns cause value.
func (ClusterValidationError) Error ¶
func (e ClusterValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterValidationError) ErrorName ¶
func (e ClusterValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterValidationError) Field ¶
func (e ClusterValidationError) Field() string
Field function returns field value.
func (ClusterValidationError) Key ¶
func (e ClusterValidationError) Key() bool
Key function returns key value.
func (ClusterValidationError) Reason ¶
func (e ClusterValidationError) Reason() string
Reason function returns reason value.
type DateRangeQuery ¶
type DateRangeQuery struct { Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // inclusiveStart bool // inclusiveEnd bool Field string `protobuf:"bytes,5,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,6,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*DateRangeQuery) Descriptor
deprecated
func (*DateRangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use DateRangeQuery.ProtoReflect.Descriptor instead.
func (*DateRangeQuery) GetBoost ¶
func (x *DateRangeQuery) GetBoost() float64
func (*DateRangeQuery) GetEnd ¶
func (x *DateRangeQuery) GetEnd() string
func (*DateRangeQuery) GetField ¶
func (x *DateRangeQuery) GetField() string
func (*DateRangeQuery) GetStart ¶
func (x *DateRangeQuery) GetStart() string
func (*DateRangeQuery) ProtoMessage ¶
func (*DateRangeQuery) ProtoMessage()
func (*DateRangeQuery) ProtoReflect ¶
func (x *DateRangeQuery) ProtoReflect() protoreflect.Message
func (*DateRangeQuery) Reset ¶
func (x *DateRangeQuery) Reset()
func (*DateRangeQuery) String ¶
func (x *DateRangeQuery) String() string
func (*DateRangeQuery) Validate ¶
func (m *DateRangeQuery) Validate() error
Validate checks the field values on DateRangeQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DateRangeQueryValidationError ¶
type DateRangeQueryValidationError struct {
// contains filtered or unexported fields
}
DateRangeQueryValidationError is the validation error returned by DateRangeQuery.Validate if the designated constraints aren't met.
func (DateRangeQueryValidationError) Cause ¶
func (e DateRangeQueryValidationError) Cause() error
Cause function returns cause value.
func (DateRangeQueryValidationError) Error ¶
func (e DateRangeQueryValidationError) Error() string
Error satisfies the builtin error interface
func (DateRangeQueryValidationError) ErrorName ¶
func (e DateRangeQueryValidationError) ErrorName() string
ErrorName returns error name.
func (DateRangeQueryValidationError) Field ¶
func (e DateRangeQueryValidationError) Field() string
Field function returns field value.
func (DateRangeQueryValidationError) Key ¶
func (e DateRangeQueryValidationError) Key() bool
Key function returns key value.
func (DateRangeQueryValidationError) Reason ¶
func (e DateRangeQueryValidationError) Reason() string
Reason function returns reason value.
type DeleteDictionaries ¶
type DeleteDictionaries struct { Requests []*DeleteDictionaryRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*DeleteDictionaries) Descriptor
deprecated
func (*DeleteDictionaries) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDictionaries.ProtoReflect.Descriptor instead.
func (*DeleteDictionaries) GetRequests ¶
func (x *DeleteDictionaries) GetRequests() []*DeleteDictionaryRequest
func (*DeleteDictionaries) ProtoMessage ¶
func (*DeleteDictionaries) ProtoMessage()
func (*DeleteDictionaries) ProtoReflect ¶
func (x *DeleteDictionaries) ProtoReflect() protoreflect.Message
func (*DeleteDictionaries) Reset ¶
func (x *DeleteDictionaries) Reset()
func (*DeleteDictionaries) String ¶
func (x *DeleteDictionaries) String() string
func (*DeleteDictionaries) Validate ¶
func (m *DeleteDictionaries) Validate() error
Validate checks the field values on DeleteDictionaries with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteDictionariesValidationError ¶
type DeleteDictionariesValidationError struct {
// contains filtered or unexported fields
}
DeleteDictionariesValidationError is the validation error returned by DeleteDictionaries.Validate if the designated constraints aren't met.
func (DeleteDictionariesValidationError) Cause ¶
func (e DeleteDictionariesValidationError) Cause() error
Cause function returns cause value.
func (DeleteDictionariesValidationError) Error ¶
func (e DeleteDictionariesValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDictionariesValidationError) ErrorName ¶
func (e DeleteDictionariesValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDictionariesValidationError) Field ¶
func (e DeleteDictionariesValidationError) Field() string
Field function returns field value.
func (DeleteDictionariesValidationError) Key ¶
func (e DeleteDictionariesValidationError) Key() bool
Key function returns key value.
func (DeleteDictionariesValidationError) Reason ¶
func (e DeleteDictionariesValidationError) Reason() string
Reason function returns reason value.
type DeleteDictionaryRequest ¶
type DeleteDictionaryRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDictionaryRequest) Descriptor
deprecated
func (*DeleteDictionaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDictionaryRequest.ProtoReflect.Descriptor instead.
func (*DeleteDictionaryRequest) GetId ¶
func (x *DeleteDictionaryRequest) GetId() string
func (*DeleteDictionaryRequest) ProtoMessage ¶
func (*DeleteDictionaryRequest) ProtoMessage()
func (*DeleteDictionaryRequest) ProtoReflect ¶
func (x *DeleteDictionaryRequest) ProtoReflect() protoreflect.Message
func (*DeleteDictionaryRequest) Reset ¶
func (x *DeleteDictionaryRequest) Reset()
func (*DeleteDictionaryRequest) String ¶
func (x *DeleteDictionaryRequest) String() string
func (*DeleteDictionaryRequest) Validate ¶
func (m *DeleteDictionaryRequest) Validate() error
Validate checks the field values on DeleteDictionaryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteDictionaryRequestValidationError ¶
type DeleteDictionaryRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDictionaryRequestValidationError is the validation error returned by DeleteDictionaryRequest.Validate if the designated constraints aren't met.
func (DeleteDictionaryRequestValidationError) Cause ¶
func (e DeleteDictionaryRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDictionaryRequestValidationError) Error ¶
func (e DeleteDictionaryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDictionaryRequestValidationError) ErrorName ¶
func (e DeleteDictionaryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDictionaryRequestValidationError) Field ¶
func (e DeleteDictionaryRequestValidationError) Field() string
Field function returns field value.
func (DeleteDictionaryRequestValidationError) Key ¶
func (e DeleteDictionaryRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDictionaryRequestValidationError) Reason ¶
func (e DeleteDictionaryRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDocument ¶
type DeleteDocument struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*DeleteDocument) Descriptor
deprecated
func (*DeleteDocument) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocument.ProtoReflect.Descriptor instead.
func (*DeleteDocument) GetId ¶
func (x *DeleteDocument) GetId() string
func (*DeleteDocument) GetTenant ¶
func (x *DeleteDocument) GetTenant() string
func (*DeleteDocument) ProtoMessage ¶
func (*DeleteDocument) ProtoMessage()
func (*DeleteDocument) ProtoReflect ¶
func (x *DeleteDocument) ProtoReflect() protoreflect.Message
func (*DeleteDocument) Reset ¶
func (x *DeleteDocument) Reset()
func (*DeleteDocument) String ¶
func (x *DeleteDocument) String() string
func (*DeleteDocument) Validate ¶
func (m *DeleteDocument) Validate() error
Validate checks the field values on DeleteDocument with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteDocumentValidationError ¶
type DeleteDocumentValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentValidationError is the validation error returned by DeleteDocument.Validate if the designated constraints aren't met.
func (DeleteDocumentValidationError) Cause ¶
func (e DeleteDocumentValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentValidationError) Error ¶
func (e DeleteDocumentValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentValidationError) ErrorName ¶
func (e DeleteDocumentValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentValidationError) Field ¶
func (e DeleteDocumentValidationError) Field() string
Field function returns field value.
func (DeleteDocumentValidationError) Key ¶
func (e DeleteDocumentValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentValidationError) Reason ¶
func (e DeleteDocumentValidationError) Reason() string
Reason function returns reason value.
type DeleteDocuments ¶
type DeleteDocuments struct { Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` Requests []*DeleteDocument `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*DeleteDocuments) Descriptor
deprecated
func (*DeleteDocuments) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocuments.ProtoReflect.Descriptor instead.
func (*DeleteDocuments) GetRequests ¶
func (x *DeleteDocuments) GetRequests() []*DeleteDocument
func (*DeleteDocuments) GetTenant ¶
func (x *DeleteDocuments) GetTenant() string
func (*DeleteDocuments) ProtoMessage ¶
func (*DeleteDocuments) ProtoMessage()
func (*DeleteDocuments) ProtoReflect ¶
func (x *DeleteDocuments) ProtoReflect() protoreflect.Message
func (*DeleteDocuments) Reset ¶
func (x *DeleteDocuments) Reset()
func (*DeleteDocuments) String ¶
func (x *DeleteDocuments) String() string
func (*DeleteDocuments) Validate ¶
func (m *DeleteDocuments) Validate() error
Validate checks the field values on DeleteDocuments with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteDocumentsValidationError ¶
type DeleteDocumentsValidationError struct {
// contains filtered or unexported fields
}
DeleteDocumentsValidationError is the validation error returned by DeleteDocuments.Validate if the designated constraints aren't met.
func (DeleteDocumentsValidationError) Cause ¶
func (e DeleteDocumentsValidationError) Cause() error
Cause function returns cause value.
func (DeleteDocumentsValidationError) Error ¶
func (e DeleteDocumentsValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDocumentsValidationError) ErrorName ¶
func (e DeleteDocumentsValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDocumentsValidationError) Field ¶
func (e DeleteDocumentsValidationError) Field() string
Field function returns field value.
func (DeleteDocumentsValidationError) Key ¶
func (e DeleteDocumentsValidationError) Key() bool
Key function returns key value.
func (DeleteDocumentsValidationError) Reason ¶
func (e DeleteDocumentsValidationError) Reason() string
Reason function returns reason value.
type DeleteMetadataRequest ¶
type DeleteMetadataRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMetadataRequest) Descriptor
deprecated
func (*DeleteMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMetadataRequest.ProtoReflect.Descriptor instead.
func (*DeleteMetadataRequest) GetId ¶
func (x *DeleteMetadataRequest) GetId() string
func (*DeleteMetadataRequest) ProtoMessage ¶
func (*DeleteMetadataRequest) ProtoMessage()
func (*DeleteMetadataRequest) ProtoReflect ¶
func (x *DeleteMetadataRequest) ProtoReflect() protoreflect.Message
func (*DeleteMetadataRequest) Reset ¶
func (x *DeleteMetadataRequest) Reset()
func (*DeleteMetadataRequest) String ¶
func (x *DeleteMetadataRequest) String() string
func (*DeleteMetadataRequest) Validate ¶
func (m *DeleteMetadataRequest) Validate() error
Validate checks the field values on DeleteMetadataRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteMetadataRequestValidationError ¶
type DeleteMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteMetadataRequestValidationError is the validation error returned by DeleteMetadataRequest.Validate if the designated constraints aren't met.
func (DeleteMetadataRequestValidationError) Cause ¶
func (e DeleteMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteMetadataRequestValidationError) Error ¶
func (e DeleteMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteMetadataRequestValidationError) ErrorName ¶
func (e DeleteMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteMetadataRequestValidationError) Field ¶
func (e DeleteMetadataRequestValidationError) Field() string
Field function returns field value.
func (DeleteMetadataRequestValidationError) Key ¶
func (e DeleteMetadataRequestValidationError) Key() bool
Key function returns key value.
func (DeleteMetadataRequestValidationError) Reason ¶
func (e DeleteMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type DictionaryResponse ¶
type DictionaryResponse struct { Results bool `protobuf:"varint,1,opt,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*DictionaryResponse) Descriptor
deprecated
func (*DictionaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DictionaryResponse.ProtoReflect.Descriptor instead.
func (*DictionaryResponse) GetResults ¶
func (x *DictionaryResponse) GetResults() bool
func (*DictionaryResponse) ProtoMessage ¶
func (*DictionaryResponse) ProtoMessage()
func (*DictionaryResponse) ProtoReflect ¶
func (x *DictionaryResponse) ProtoReflect() protoreflect.Message
func (*DictionaryResponse) Reset ¶
func (x *DictionaryResponse) Reset()
func (*DictionaryResponse) String ¶
func (x *DictionaryResponse) String() string
func (*DictionaryResponse) Validate ¶
func (m *DictionaryResponse) Validate() error
Validate checks the field values on DictionaryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DictionaryResponseValidationError ¶
type DictionaryResponseValidationError struct {
// contains filtered or unexported fields
}
DictionaryResponseValidationError is the validation error returned by DictionaryResponse.Validate if the designated constraints aren't met.
func (DictionaryResponseValidationError) Cause ¶
func (e DictionaryResponseValidationError) Cause() error
Cause function returns cause value.
func (DictionaryResponseValidationError) Error ¶
func (e DictionaryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DictionaryResponseValidationError) ErrorName ¶
func (e DictionaryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DictionaryResponseValidationError) Field ¶
func (e DictionaryResponseValidationError) Field() string
Field function returns field value.
func (DictionaryResponseValidationError) Key ¶
func (e DictionaryResponseValidationError) Key() bool
Key function returns key value.
func (DictionaryResponseValidationError) Reason ¶
func (e DictionaryResponseValidationError) Reason() string
Reason function returns reason value.
type DocsearchClient ¶
type DocsearchClient interface { LivenessCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LivenessCheckResponse, error) ReadinessCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ReadinessCheckResponse, error) Node(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeResponse, error) Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Leave(ctx context.Context, in *LeaveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Cluster(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ClusterResponse, error) Insert(ctx context.Context, in *Document, opts ...grpc.CallOption) (*emptypb.Empty, error) Delete(ctx context.Context, in *DeleteDocument, opts ...grpc.CallOption) (*emptypb.Empty, error) Upload(ctx context.Context, in *Documents, opts ...grpc.CallOption) (*emptypb.Empty, error) BulkDelete(ctx context.Context, in *DeleteDocuments, opts ...grpc.CallOption) (*emptypb.Empty, error) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) UploadDictionary(ctx context.Context, in *UserDictionaryRecords, opts ...grpc.CallOption) (*DictionaryResponse, error) DeleteDictionary(ctx context.Context, in *DeleteDictionaryRequest, opts ...grpc.CallOption) (*DictionaryResponse, error) Watch(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Docsearch_WatchClient, error) Metrics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MetricsResponse, error) }
DocsearchClient is the client API for Docsearch 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 NewDocsearchClient ¶
func NewDocsearchClient(cc grpc.ClientConnInterface) DocsearchClient
type DocsearchServer ¶
type DocsearchServer interface { LivenessCheck(context.Context, *emptypb.Empty) (*LivenessCheckResponse, error) ReadinessCheck(context.Context, *emptypb.Empty) (*ReadinessCheckResponse, error) Node(context.Context, *emptypb.Empty) (*NodeResponse, error) Join(context.Context, *JoinRequest) (*emptypb.Empty, error) Leave(context.Context, *LeaveRequest) (*emptypb.Empty, error) Cluster(context.Context, *emptypb.Empty) (*ClusterResponse, error) Insert(context.Context, *Document) (*emptypb.Empty, error) Delete(context.Context, *DeleteDocument) (*emptypb.Empty, error) Upload(context.Context, *Documents) (*emptypb.Empty, error) BulkDelete(context.Context, *DeleteDocuments) (*emptypb.Empty, error) Search(context.Context, *SearchRequest) (*SearchResponse, error) UploadDictionary(context.Context, *UserDictionaryRecords) (*DictionaryResponse, error) DeleteDictionary(context.Context, *DeleteDictionaryRequest) (*DictionaryResponse, error) Watch(*emptypb.Empty, Docsearch_WatchServer) error Metrics(context.Context, *emptypb.Empty) (*MetricsResponse, error) // contains filtered or unexported methods }
DocsearchServer is the server API for Docsearch service. All implementations must embed UnimplementedDocsearchServer for forward compatibility
type Docsearch_WatchClient ¶
type Docsearch_WatchClient interface { Recv() (*WatchResponse, error) grpc.ClientStream }
type Docsearch_WatchServer ¶
type Docsearch_WatchServer interface { Send(*WatchResponse) error grpc.ServerStream }
type Document ¶
type Document struct { Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fields []byte `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*Document) Descriptor
deprecated
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
type DocumentValidationError ¶
type DocumentValidationError struct {
// contains filtered or unexported fields
}
DocumentValidationError is the validation error returned by Document.Validate if the designated constraints aren't met.
func (DocumentValidationError) Cause ¶
func (e DocumentValidationError) Cause() error
Cause function returns cause value.
func (DocumentValidationError) Error ¶
func (e DocumentValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentValidationError) ErrorName ¶
func (e DocumentValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentValidationError) Field ¶
func (e DocumentValidationError) Field() string
Field function returns field value.
func (DocumentValidationError) Key ¶
func (e DocumentValidationError) Key() bool
Key function returns key value.
func (DocumentValidationError) Reason ¶
func (e DocumentValidationError) Reason() string
Reason function returns reason value.
type Documents ¶
type Documents struct { Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` Requests []*Document `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*Documents) Descriptor
deprecated
func (*Documents) GetRequests ¶
func (*Documents) ProtoMessage ¶
func (*Documents) ProtoMessage()
func (*Documents) ProtoReflect ¶
func (x *Documents) ProtoReflect() protoreflect.Message
type DocumentsValidationError ¶
type DocumentsValidationError struct {
// contains filtered or unexported fields
}
DocumentsValidationError is the validation error returned by Documents.Validate if the designated constraints aren't met.
func (DocumentsValidationError) Cause ¶
func (e DocumentsValidationError) Cause() error
Cause function returns cause value.
func (DocumentsValidationError) Error ¶
func (e DocumentsValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentsValidationError) ErrorName ¶
func (e DocumentsValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentsValidationError) Field ¶
func (e DocumentsValidationError) Field() string
Field function returns field value.
func (DocumentsValidationError) Key ¶
func (e DocumentsValidationError) Key() bool
Key function returns key value.
func (DocumentsValidationError) Reason ¶
func (e DocumentsValidationError) Reason() string
Reason function returns reason value.
type Event ¶
type Event struct { Type Event_Type `protobuf:"varint,1,opt,name=type,proto3,enum=docsearch.Event_Type" json:"type,omitempty"` Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetType ¶
func (x *Event) GetType() Event_Type
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventValidationError ¶
type EventValidationError struct {
// contains filtered or unexported fields
}
EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.
func (EventValidationError) Cause ¶
func (e EventValidationError) Cause() error
Cause function returns cause value.
func (EventValidationError) Error ¶
func (e EventValidationError) Error() string
Error satisfies the builtin error interface
func (EventValidationError) ErrorName ¶
func (e EventValidationError) ErrorName() string
ErrorName returns error name.
func (EventValidationError) Field ¶
func (e EventValidationError) Field() string
Field function returns field value.
func (EventValidationError) Key ¶
func (e EventValidationError) Key() bool
Key function returns key value.
func (EventValidationError) Reason ¶
func (e EventValidationError) Reason() string
Reason function returns reason value.
type Event_Type ¶
type Event_Type int32
const ( Event_Unknown Event_Type = 0 Event_JoinNode Event_Type = 1 Event_LeaveNode Event_Type = 2 Event_GetNode Event_Type = 3 Event_Upload Event_Type = 4 Event_Delete Event_Type = 5 Event_Search Event_Type = 6 Event_Dictionary Event_Type = 7 Event_RemoveDictionary Event_Type = 8 )
func (Event_Type) Descriptor ¶
func (Event_Type) Descriptor() protoreflect.EnumDescriptor
func (Event_Type) Enum ¶
func (x Event_Type) Enum() *Event_Type
func (Event_Type) EnumDescriptor
deprecated
func (Event_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_Type.Descriptor instead.
func (Event_Type) Number ¶
func (x Event_Type) Number() protoreflect.EnumNumber
func (Event_Type) String ¶
func (x Event_Type) String() string
func (Event_Type) Type ¶
func (Event_Type) Type() protoreflect.EnumType
type FuzzyQuery ¶
type FuzzyQuery struct { Term string `protobuf:"bytes,1,opt,name=term,proto3" json:"term,omitempty"` Prefix int32 `protobuf:"varint,2,opt,name=prefix,proto3" json:"prefix,omitempty"` Fuzziness int32 `protobuf:"varint,3,opt,name=fuzziness,proto3" json:"fuzziness,omitempty"` Field string `protobuf:"bytes,4,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,5,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*FuzzyQuery) Descriptor
deprecated
func (*FuzzyQuery) Descriptor() ([]byte, []int)
Deprecated: Use FuzzyQuery.ProtoReflect.Descriptor instead.
func (*FuzzyQuery) GetBoost ¶
func (x *FuzzyQuery) GetBoost() float64
func (*FuzzyQuery) GetField ¶
func (x *FuzzyQuery) GetField() string
func (*FuzzyQuery) GetFuzziness ¶
func (x *FuzzyQuery) GetFuzziness() int32
func (*FuzzyQuery) GetPrefix ¶
func (x *FuzzyQuery) GetPrefix() int32
func (*FuzzyQuery) GetTerm ¶
func (x *FuzzyQuery) GetTerm() string
func (*FuzzyQuery) ProtoMessage ¶
func (*FuzzyQuery) ProtoMessage()
func (*FuzzyQuery) ProtoReflect ¶
func (x *FuzzyQuery) ProtoReflect() protoreflect.Message
func (*FuzzyQuery) Reset ¶
func (x *FuzzyQuery) Reset()
func (*FuzzyQuery) String ¶
func (x *FuzzyQuery) String() string
func (*FuzzyQuery) Validate ¶
func (m *FuzzyQuery) Validate() error
Validate checks the field values on FuzzyQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FuzzyQueryValidationError ¶
type FuzzyQueryValidationError struct {
// contains filtered or unexported fields
}
FuzzyQueryValidationError is the validation error returned by FuzzyQuery.Validate if the designated constraints aren't met.
func (FuzzyQueryValidationError) Cause ¶
func (e FuzzyQueryValidationError) Cause() error
Cause function returns cause value.
func (FuzzyQueryValidationError) Error ¶
func (e FuzzyQueryValidationError) Error() string
Error satisfies the builtin error interface
func (FuzzyQueryValidationError) ErrorName ¶
func (e FuzzyQueryValidationError) ErrorName() string
ErrorName returns error name.
func (FuzzyQueryValidationError) Field ¶
func (e FuzzyQueryValidationError) Field() string
Field function returns field value.
func (FuzzyQueryValidationError) Key ¶
func (e FuzzyQueryValidationError) Key() bool
Key function returns key value.
func (FuzzyQueryValidationError) Reason ¶
func (e FuzzyQueryValidationError) Reason() string
Reason function returns reason value.
type GeoBoundingBoxQuery ¶
type GeoBoundingBoxQuery struct { TopLeftLon float64 `protobuf:"fixed64,1,opt,name=topLeftLon,proto3" json:"topLeftLon,omitempty"` TopLeftLat float64 `protobuf:"fixed64,2,opt,name=topLeftLat,proto3" json:"topLeftLat,omitempty"` BottomRightLon float64 `protobuf:"fixed64,3,opt,name=bottomRightLon,proto3" json:"bottomRightLon,omitempty"` BottomRightLat float64 `protobuf:"fixed64,4,opt,name=bottomRightLat,proto3" json:"bottomRightLat,omitempty"` Field string `protobuf:"bytes,5,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,6,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*GeoBoundingBoxQuery) Descriptor
deprecated
func (*GeoBoundingBoxQuery) Descriptor() ([]byte, []int)
Deprecated: Use GeoBoundingBoxQuery.ProtoReflect.Descriptor instead.
func (*GeoBoundingBoxQuery) GetBoost ¶
func (x *GeoBoundingBoxQuery) GetBoost() float64
func (*GeoBoundingBoxQuery) GetBottomRightLat ¶
func (x *GeoBoundingBoxQuery) GetBottomRightLat() float64
func (*GeoBoundingBoxQuery) GetBottomRightLon ¶
func (x *GeoBoundingBoxQuery) GetBottomRightLon() float64
func (*GeoBoundingBoxQuery) GetField ¶
func (x *GeoBoundingBoxQuery) GetField() string
func (*GeoBoundingBoxQuery) GetTopLeftLat ¶
func (x *GeoBoundingBoxQuery) GetTopLeftLat() float64
func (*GeoBoundingBoxQuery) GetTopLeftLon ¶
func (x *GeoBoundingBoxQuery) GetTopLeftLon() float64
func (*GeoBoundingBoxQuery) ProtoMessage ¶
func (*GeoBoundingBoxQuery) ProtoMessage()
func (*GeoBoundingBoxQuery) ProtoReflect ¶
func (x *GeoBoundingBoxQuery) ProtoReflect() protoreflect.Message
func (*GeoBoundingBoxQuery) Reset ¶
func (x *GeoBoundingBoxQuery) Reset()
func (*GeoBoundingBoxQuery) String ¶
func (x *GeoBoundingBoxQuery) String() string
func (*GeoBoundingBoxQuery) Validate ¶
func (m *GeoBoundingBoxQuery) Validate() error
Validate checks the field values on GeoBoundingBoxQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GeoBoundingBoxQueryValidationError ¶
type GeoBoundingBoxQueryValidationError struct {
// contains filtered or unexported fields
}
GeoBoundingBoxQueryValidationError is the validation error returned by GeoBoundingBoxQuery.Validate if the designated constraints aren't met.
func (GeoBoundingBoxQueryValidationError) Cause ¶
func (e GeoBoundingBoxQueryValidationError) Cause() error
Cause function returns cause value.
func (GeoBoundingBoxQueryValidationError) Error ¶
func (e GeoBoundingBoxQueryValidationError) Error() string
Error satisfies the builtin error interface
func (GeoBoundingBoxQueryValidationError) ErrorName ¶
func (e GeoBoundingBoxQueryValidationError) ErrorName() string
ErrorName returns error name.
func (GeoBoundingBoxQueryValidationError) Field ¶
func (e GeoBoundingBoxQueryValidationError) Field() string
Field function returns field value.
func (GeoBoundingBoxQueryValidationError) Key ¶
func (e GeoBoundingBoxQueryValidationError) Key() bool
Key function returns key value.
func (GeoBoundingBoxQueryValidationError) Reason ¶
func (e GeoBoundingBoxQueryValidationError) Reason() string
Reason function returns reason value.
type GeoBoundingPolygonQuery ¶
type GeoBoundingPolygonQuery struct { Points []*GeoPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,3,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*GeoBoundingPolygonQuery) Descriptor
deprecated
func (*GeoBoundingPolygonQuery) Descriptor() ([]byte, []int)
Deprecated: Use GeoBoundingPolygonQuery.ProtoReflect.Descriptor instead.
func (*GeoBoundingPolygonQuery) GetBoost ¶
func (x *GeoBoundingPolygonQuery) GetBoost() float64
func (*GeoBoundingPolygonQuery) GetField ¶
func (x *GeoBoundingPolygonQuery) GetField() string
func (*GeoBoundingPolygonQuery) GetPoints ¶
func (x *GeoBoundingPolygonQuery) GetPoints() []*GeoPoint
func (*GeoBoundingPolygonQuery) ProtoMessage ¶
func (*GeoBoundingPolygonQuery) ProtoMessage()
func (*GeoBoundingPolygonQuery) ProtoReflect ¶
func (x *GeoBoundingPolygonQuery) ProtoReflect() protoreflect.Message
func (*GeoBoundingPolygonQuery) Reset ¶
func (x *GeoBoundingPolygonQuery) Reset()
func (*GeoBoundingPolygonQuery) String ¶
func (x *GeoBoundingPolygonQuery) String() string
func (*GeoBoundingPolygonQuery) Validate ¶
func (m *GeoBoundingPolygonQuery) Validate() error
Validate checks the field values on GeoBoundingPolygonQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GeoBoundingPolygonQueryValidationError ¶
type GeoBoundingPolygonQueryValidationError struct {
// contains filtered or unexported fields
}
GeoBoundingPolygonQueryValidationError is the validation error returned by GeoBoundingPolygonQuery.Validate if the designated constraints aren't met.
func (GeoBoundingPolygonQueryValidationError) Cause ¶
func (e GeoBoundingPolygonQueryValidationError) Cause() error
Cause function returns cause value.
func (GeoBoundingPolygonQueryValidationError) Error ¶
func (e GeoBoundingPolygonQueryValidationError) Error() string
Error satisfies the builtin error interface
func (GeoBoundingPolygonQueryValidationError) ErrorName ¶
func (e GeoBoundingPolygonQueryValidationError) ErrorName() string
ErrorName returns error name.
func (GeoBoundingPolygonQueryValidationError) Field ¶
func (e GeoBoundingPolygonQueryValidationError) Field() string
Field function returns field value.
func (GeoBoundingPolygonQueryValidationError) Key ¶
func (e GeoBoundingPolygonQueryValidationError) Key() bool
Key function returns key value.
func (GeoBoundingPolygonQueryValidationError) Reason ¶
func (e GeoBoundingPolygonQueryValidationError) Reason() string
Reason function returns reason value.
type GeoDistanceQuery ¶
type GeoDistanceQuery struct { Point *GeoPoint `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"` Distance string `protobuf:"bytes,2,opt,name=distance,proto3" json:"distance,omitempty"` Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,4,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*GeoDistanceQuery) Descriptor
deprecated
func (*GeoDistanceQuery) Descriptor() ([]byte, []int)
Deprecated: Use GeoDistanceQuery.ProtoReflect.Descriptor instead.
func (*GeoDistanceQuery) GetBoost ¶
func (x *GeoDistanceQuery) GetBoost() float64
func (*GeoDistanceQuery) GetDistance ¶
func (x *GeoDistanceQuery) GetDistance() string
func (*GeoDistanceQuery) GetField ¶
func (x *GeoDistanceQuery) GetField() string
func (*GeoDistanceQuery) GetPoint ¶
func (x *GeoDistanceQuery) GetPoint() *GeoPoint
func (*GeoDistanceQuery) ProtoMessage ¶
func (*GeoDistanceQuery) ProtoMessage()
func (*GeoDistanceQuery) ProtoReflect ¶
func (x *GeoDistanceQuery) ProtoReflect() protoreflect.Message
func (*GeoDistanceQuery) Reset ¶
func (x *GeoDistanceQuery) Reset()
func (*GeoDistanceQuery) String ¶
func (x *GeoDistanceQuery) String() string
func (*GeoDistanceQuery) Validate ¶
func (m *GeoDistanceQuery) Validate() error
Validate checks the field values on GeoDistanceQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GeoDistanceQueryValidationError ¶
type GeoDistanceQueryValidationError struct {
// contains filtered or unexported fields
}
GeoDistanceQueryValidationError is the validation error returned by GeoDistanceQuery.Validate if the designated constraints aren't met.
func (GeoDistanceQueryValidationError) Cause ¶
func (e GeoDistanceQueryValidationError) Cause() error
Cause function returns cause value.
func (GeoDistanceQueryValidationError) Error ¶
func (e GeoDistanceQueryValidationError) Error() string
Error satisfies the builtin error interface
func (GeoDistanceQueryValidationError) ErrorName ¶
func (e GeoDistanceQueryValidationError) ErrorName() string
ErrorName returns error name.
func (GeoDistanceQueryValidationError) Field ¶
func (e GeoDistanceQueryValidationError) Field() string
Field function returns field value.
func (GeoDistanceQueryValidationError) Key ¶
func (e GeoDistanceQueryValidationError) Key() bool
Key function returns key value.
func (GeoDistanceQueryValidationError) Reason ¶
func (e GeoDistanceQueryValidationError) Reason() string
Reason function returns reason value.
type GeoPoint ¶
type GeoPoint struct { Lon float64 `protobuf:"fixed64,1,opt,name=lon,proto3" json:"lon,omitempty"` Lat float64 `protobuf:"fixed64,2,opt,name=lat,proto3" json:"lat,omitempty"` // contains filtered or unexported fields }
func (*GeoPoint) Descriptor
deprecated
func (*GeoPoint) ProtoMessage ¶
func (*GeoPoint) ProtoMessage()
func (*GeoPoint) ProtoReflect ¶
func (x *GeoPoint) ProtoReflect() protoreflect.Message
type GeoPointValidationError ¶
type GeoPointValidationError struct {
// contains filtered or unexported fields
}
GeoPointValidationError is the validation error returned by GeoPoint.Validate if the designated constraints aren't met.
func (GeoPointValidationError) Cause ¶
func (e GeoPointValidationError) Cause() error
Cause function returns cause value.
func (GeoPointValidationError) Error ¶
func (e GeoPointValidationError) Error() string
Error satisfies the builtin error interface
func (GeoPointValidationError) ErrorName ¶
func (e GeoPointValidationError) ErrorName() string
ErrorName returns error name.
func (GeoPointValidationError) Field ¶
func (e GeoPointValidationError) Field() string
Field function returns field value.
func (GeoPointValidationError) Key ¶
func (e GeoPointValidationError) Key() bool
Key function returns key value.
func (GeoPointValidationError) Reason ¶
func (e GeoPointValidationError) Reason() string
Reason function returns reason value.
type GetMetadataRequest ¶
type GetMetadataRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetMetadataRequest) Descriptor
deprecated
func (*GetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetMetadataRequest) GetId ¶
func (x *GetMetadataRequest) GetId() string
func (*GetMetadataRequest) ProtoMessage ¶
func (*GetMetadataRequest) ProtoMessage()
func (*GetMetadataRequest) ProtoReflect ¶
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetMetadataRequest) Reset ¶
func (x *GetMetadataRequest) Reset()
func (*GetMetadataRequest) String ¶
func (x *GetMetadataRequest) String() string
func (*GetMetadataRequest) Validate ¶
func (m *GetMetadataRequest) Validate() error
Validate checks the field values on GetMetadataRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetMetadataRequestValidationError ¶
type GetMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
GetMetadataRequestValidationError is the validation error returned by GetMetadataRequest.Validate if the designated constraints aren't met.
func (GetMetadataRequestValidationError) Cause ¶
func (e GetMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMetadataRequestValidationError) Error ¶
func (e GetMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMetadataRequestValidationError) ErrorName ¶
func (e GetMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMetadataRequestValidationError) Field ¶
func (e GetMetadataRequestValidationError) Field() string
Field function returns field value.
func (GetMetadataRequestValidationError) Key ¶
func (e GetMetadataRequestValidationError) Key() bool
Key function returns key value.
func (GetMetadataRequestValidationError) Reason ¶
func (e GetMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type JoinRequest ¶
type JoinRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Node *Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*JoinRequest) Descriptor
deprecated
func (*JoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.
func (*JoinRequest) GetId ¶
func (x *JoinRequest) GetId() string
func (*JoinRequest) GetNode ¶
func (x *JoinRequest) GetNode() *Node
func (*JoinRequest) ProtoMessage ¶
func (*JoinRequest) ProtoMessage()
func (*JoinRequest) ProtoReflect ¶
func (x *JoinRequest) ProtoReflect() protoreflect.Message
func (*JoinRequest) Reset ¶
func (x *JoinRequest) Reset()
func (*JoinRequest) String ¶
func (x *JoinRequest) String() string
func (*JoinRequest) Validate ¶
func (m *JoinRequest) Validate() error
Validate checks the field values on JoinRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type JoinRequestValidationError ¶
type JoinRequestValidationError struct {
// contains filtered or unexported fields
}
JoinRequestValidationError is the validation error returned by JoinRequest.Validate if the designated constraints aren't met.
func (JoinRequestValidationError) Cause ¶
func (e JoinRequestValidationError) Cause() error
Cause function returns cause value.
func (JoinRequestValidationError) Error ¶
func (e JoinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (JoinRequestValidationError) ErrorName ¶
func (e JoinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (JoinRequestValidationError) Field ¶
func (e JoinRequestValidationError) Field() string
Field function returns field value.
func (JoinRequestValidationError) Key ¶
func (e JoinRequestValidationError) Key() bool
Key function returns key value.
func (JoinRequestValidationError) Reason ¶
func (e JoinRequestValidationError) Reason() string
Reason function returns reason value.
type LeaveRequest ¶
type LeaveRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*LeaveRequest) Descriptor
deprecated
func (*LeaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaveRequest.ProtoReflect.Descriptor instead.
func (*LeaveRequest) GetId ¶
func (x *LeaveRequest) GetId() string
func (*LeaveRequest) ProtoMessage ¶
func (*LeaveRequest) ProtoMessage()
func (*LeaveRequest) ProtoReflect ¶
func (x *LeaveRequest) ProtoReflect() protoreflect.Message
func (*LeaveRequest) Reset ¶
func (x *LeaveRequest) Reset()
func (*LeaveRequest) String ¶
func (x *LeaveRequest) String() string
func (*LeaveRequest) Validate ¶
func (m *LeaveRequest) Validate() error
Validate checks the field values on LeaveRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LeaveRequestValidationError ¶
type LeaveRequestValidationError struct {
// contains filtered or unexported fields
}
LeaveRequestValidationError is the validation error returned by LeaveRequest.Validate if the designated constraints aren't met.
func (LeaveRequestValidationError) Cause ¶
func (e LeaveRequestValidationError) Cause() error
Cause function returns cause value.
func (LeaveRequestValidationError) Error ¶
func (e LeaveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LeaveRequestValidationError) ErrorName ¶
func (e LeaveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LeaveRequestValidationError) Field ¶
func (e LeaveRequestValidationError) Field() string
Field function returns field value.
func (LeaveRequestValidationError) Key ¶
func (e LeaveRequestValidationError) Key() bool
Key function returns key value.
func (LeaveRequestValidationError) Reason ¶
func (e LeaveRequestValidationError) Reason() string
Reason function returns reason value.
type LivenessCheckResponse ¶
type LivenessCheckResponse struct { Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"` // contains filtered or unexported fields }
func (*LivenessCheckResponse) Descriptor
deprecated
func (*LivenessCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use LivenessCheckResponse.ProtoReflect.Descriptor instead.
func (*LivenessCheckResponse) GetAlive ¶
func (x *LivenessCheckResponse) GetAlive() bool
func (*LivenessCheckResponse) ProtoMessage ¶
func (*LivenessCheckResponse) ProtoMessage()
func (*LivenessCheckResponse) ProtoReflect ¶
func (x *LivenessCheckResponse) ProtoReflect() protoreflect.Message
func (*LivenessCheckResponse) Reset ¶
func (x *LivenessCheckResponse) Reset()
func (*LivenessCheckResponse) String ¶
func (x *LivenessCheckResponse) String() string
func (*LivenessCheckResponse) Validate ¶
func (m *LivenessCheckResponse) Validate() error
Validate checks the field values on LivenessCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LivenessCheckResponseValidationError ¶
type LivenessCheckResponseValidationError struct {
// contains filtered or unexported fields
}
LivenessCheckResponseValidationError is the validation error returned by LivenessCheckResponse.Validate if the designated constraints aren't met.
func (LivenessCheckResponseValidationError) Cause ¶
func (e LivenessCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (LivenessCheckResponseValidationError) Error ¶
func (e LivenessCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LivenessCheckResponseValidationError) ErrorName ¶
func (e LivenessCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LivenessCheckResponseValidationError) Field ¶
func (e LivenessCheckResponseValidationError) Field() string
Field function returns field value.
func (LivenessCheckResponseValidationError) Key ¶
func (e LivenessCheckResponseValidationError) Key() bool
Key function returns key value.
func (LivenessCheckResponseValidationError) Reason ¶
func (e LivenessCheckResponseValidationError) Reason() string
Reason function returns reason value.
type MatchAllQuery ¶
type MatchAllQuery struct { Boost float64 `protobuf:"fixed64,1,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*MatchAllQuery) Descriptor
deprecated
func (*MatchAllQuery) Descriptor() ([]byte, []int)
Deprecated: Use MatchAllQuery.ProtoReflect.Descriptor instead.
func (*MatchAllQuery) GetBoost ¶
func (x *MatchAllQuery) GetBoost() float64
func (*MatchAllQuery) ProtoMessage ¶
func (*MatchAllQuery) ProtoMessage()
func (*MatchAllQuery) ProtoReflect ¶
func (x *MatchAllQuery) ProtoReflect() protoreflect.Message
func (*MatchAllQuery) Reset ¶
func (x *MatchAllQuery) Reset()
func (*MatchAllQuery) String ¶
func (x *MatchAllQuery) String() string
func (*MatchAllQuery) Validate ¶
func (m *MatchAllQuery) Validate() error
Validate checks the field values on MatchAllQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MatchAllQueryValidationError ¶
type MatchAllQueryValidationError struct {
// contains filtered or unexported fields
}
MatchAllQueryValidationError is the validation error returned by MatchAllQuery.Validate if the designated constraints aren't met.
func (MatchAllQueryValidationError) Cause ¶
func (e MatchAllQueryValidationError) Cause() error
Cause function returns cause value.
func (MatchAllQueryValidationError) Error ¶
func (e MatchAllQueryValidationError) Error() string
Error satisfies the builtin error interface
func (MatchAllQueryValidationError) ErrorName ¶
func (e MatchAllQueryValidationError) ErrorName() string
ErrorName returns error name.
func (MatchAllQueryValidationError) Field ¶
func (e MatchAllQueryValidationError) Field() string
Field function returns field value.
func (MatchAllQueryValidationError) Key ¶
func (e MatchAllQueryValidationError) Key() bool
Key function returns key value.
func (MatchAllQueryValidationError) Reason ¶
func (e MatchAllQueryValidationError) Reason() string
Reason function returns reason value.
type MatchNoneQuery ¶
type MatchNoneQuery struct { Boost float64 `protobuf:"fixed64,1,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*MatchNoneQuery) Descriptor
deprecated
func (*MatchNoneQuery) Descriptor() ([]byte, []int)
Deprecated: Use MatchNoneQuery.ProtoReflect.Descriptor instead.
func (*MatchNoneQuery) GetBoost ¶
func (x *MatchNoneQuery) GetBoost() float64
func (*MatchNoneQuery) ProtoMessage ¶
func (*MatchNoneQuery) ProtoMessage()
func (*MatchNoneQuery) ProtoReflect ¶
func (x *MatchNoneQuery) ProtoReflect() protoreflect.Message
func (*MatchNoneQuery) Reset ¶
func (x *MatchNoneQuery) Reset()
func (*MatchNoneQuery) String ¶
func (x *MatchNoneQuery) String() string
func (*MatchNoneQuery) Validate ¶
func (m *MatchNoneQuery) Validate() error
Validate checks the field values on MatchNoneQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MatchNoneQueryValidationError ¶
type MatchNoneQueryValidationError struct {
// contains filtered or unexported fields
}
MatchNoneQueryValidationError is the validation error returned by MatchNoneQuery.Validate if the designated constraints aren't met.
func (MatchNoneQueryValidationError) Cause ¶
func (e MatchNoneQueryValidationError) Cause() error
Cause function returns cause value.
func (MatchNoneQueryValidationError) Error ¶
func (e MatchNoneQueryValidationError) Error() string
Error satisfies the builtin error interface
func (MatchNoneQueryValidationError) ErrorName ¶
func (e MatchNoneQueryValidationError) ErrorName() string
ErrorName returns error name.
func (MatchNoneQueryValidationError) Field ¶
func (e MatchNoneQueryValidationError) Field() string
Field function returns field value.
func (MatchNoneQueryValidationError) Key ¶
func (e MatchNoneQueryValidationError) Key() bool
Key function returns key value.
func (MatchNoneQueryValidationError) Reason ¶
func (e MatchNoneQueryValidationError) Reason() string
Reason function returns reason value.
type MatchPhraseQuery ¶
type MatchPhraseQuery struct { MatchPhrase string `protobuf:"bytes,1,opt,name=matchPhrase,proto3" json:"matchPhrase,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` AnalyzerName string `protobuf:"bytes,3,opt,name=analyzer_name,json=analyzerName,proto3" json:"analyzer_name,omitempty"` Boost float64 `protobuf:"fixed64,4,opt,name=boost,proto3" json:"boost,omitempty"` Slop int32 `protobuf:"varint,5,opt,name=slop,proto3" json:"slop,omitempty"` // contains filtered or unexported fields }
func (*MatchPhraseQuery) Descriptor
deprecated
func (*MatchPhraseQuery) Descriptor() ([]byte, []int)
Deprecated: Use MatchPhraseQuery.ProtoReflect.Descriptor instead.
func (*MatchPhraseQuery) GetAnalyzerName ¶
func (x *MatchPhraseQuery) GetAnalyzerName() string
func (*MatchPhraseQuery) GetBoost ¶
func (x *MatchPhraseQuery) GetBoost() float64
func (*MatchPhraseQuery) GetField ¶
func (x *MatchPhraseQuery) GetField() string
func (*MatchPhraseQuery) GetMatchPhrase ¶
func (x *MatchPhraseQuery) GetMatchPhrase() string
func (*MatchPhraseQuery) GetSlop ¶
func (x *MatchPhraseQuery) GetSlop() int32
func (*MatchPhraseQuery) ProtoMessage ¶
func (*MatchPhraseQuery) ProtoMessage()
func (*MatchPhraseQuery) ProtoReflect ¶
func (x *MatchPhraseQuery) ProtoReflect() protoreflect.Message
func (*MatchPhraseQuery) Reset ¶
func (x *MatchPhraseQuery) Reset()
func (*MatchPhraseQuery) String ¶
func (x *MatchPhraseQuery) String() string
func (*MatchPhraseQuery) Validate ¶
func (m *MatchPhraseQuery) Validate() error
Validate checks the field values on MatchPhraseQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MatchPhraseQueryValidationError ¶
type MatchPhraseQueryValidationError struct {
// contains filtered or unexported fields
}
MatchPhraseQueryValidationError is the validation error returned by MatchPhraseQuery.Validate if the designated constraints aren't met.
func (MatchPhraseQueryValidationError) Cause ¶
func (e MatchPhraseQueryValidationError) Cause() error
Cause function returns cause value.
func (MatchPhraseQueryValidationError) Error ¶
func (e MatchPhraseQueryValidationError) Error() string
Error satisfies the builtin error interface
func (MatchPhraseQueryValidationError) ErrorName ¶
func (e MatchPhraseQueryValidationError) ErrorName() string
ErrorName returns error name.
func (MatchPhraseQueryValidationError) Field ¶
func (e MatchPhraseQueryValidationError) Field() string
Field function returns field value.
func (MatchPhraseQueryValidationError) Key ¶
func (e MatchPhraseQueryValidationError) Key() bool
Key function returns key value.
func (MatchPhraseQueryValidationError) Reason ¶
func (e MatchPhraseQueryValidationError) Reason() string
Reason function returns reason value.
type MatchQuery ¶
type MatchQuery struct { Match string `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` AnalyzerName string `protobuf:"bytes,3,opt,name=analyzer_name,json=analyzerName,proto3" json:"analyzer_name,omitempty"` Boost float64 `protobuf:"fixed64,4,opt,name=boost,proto3" json:"boost,omitempty"` Operator MatchQuery_MatchOperator `protobuf:"varint,5,opt,name=operator,proto3,enum=docsearch.MatchQuery_MatchOperator" json:"operator,omitempty"` // contains filtered or unexported fields }
func (*MatchQuery) Descriptor
deprecated
func (*MatchQuery) Descriptor() ([]byte, []int)
Deprecated: Use MatchQuery.ProtoReflect.Descriptor instead.
func (*MatchQuery) GetAnalyzerName ¶
func (x *MatchQuery) GetAnalyzerName() string
func (*MatchQuery) GetBoost ¶
func (x *MatchQuery) GetBoost() float64
func (*MatchQuery) GetField ¶
func (x *MatchQuery) GetField() string
func (*MatchQuery) GetMatch ¶
func (x *MatchQuery) GetMatch() string
func (*MatchQuery) GetOperator ¶
func (x *MatchQuery) GetOperator() MatchQuery_MatchOperator
func (*MatchQuery) ProtoMessage ¶
func (*MatchQuery) ProtoMessage()
func (*MatchQuery) ProtoReflect ¶
func (x *MatchQuery) ProtoReflect() protoreflect.Message
func (*MatchQuery) Reset ¶
func (x *MatchQuery) Reset()
func (*MatchQuery) String ¶
func (x *MatchQuery) String() string
func (*MatchQuery) Validate ¶
func (m *MatchQuery) Validate() error
Validate checks the field values on MatchQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MatchQueryValidationError ¶
type MatchQueryValidationError struct {
// contains filtered or unexported fields
}
MatchQueryValidationError is the validation error returned by MatchQuery.Validate if the designated constraints aren't met.
func (MatchQueryValidationError) Cause ¶
func (e MatchQueryValidationError) Cause() error
Cause function returns cause value.
func (MatchQueryValidationError) Error ¶
func (e MatchQueryValidationError) Error() string
Error satisfies the builtin error interface
func (MatchQueryValidationError) ErrorName ¶
func (e MatchQueryValidationError) ErrorName() string
ErrorName returns error name.
func (MatchQueryValidationError) Field ¶
func (e MatchQueryValidationError) Field() string
Field function returns field value.
func (MatchQueryValidationError) Key ¶
func (e MatchQueryValidationError) Key() bool
Key function returns key value.
func (MatchQueryValidationError) Reason ¶
func (e MatchQueryValidationError) Reason() string
Reason function returns reason value.
type MatchQuery_MatchOperator ¶
type MatchQuery_MatchOperator int32
const ( MatchQuery_Unknown MatchQuery_MatchOperator = 0 MatchQuery_Or MatchQuery_MatchOperator = 1 MatchQuery_And MatchQuery_MatchOperator = 2 )
func (MatchQuery_MatchOperator) Descriptor ¶
func (MatchQuery_MatchOperator) Descriptor() protoreflect.EnumDescriptor
func (MatchQuery_MatchOperator) Enum ¶
func (x MatchQuery_MatchOperator) Enum() *MatchQuery_MatchOperator
func (MatchQuery_MatchOperator) EnumDescriptor
deprecated
func (MatchQuery_MatchOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchQuery_MatchOperator.Descriptor instead.
func (MatchQuery_MatchOperator) Number ¶
func (x MatchQuery_MatchOperator) Number() protoreflect.EnumNumber
func (MatchQuery_MatchOperator) String ¶
func (x MatchQuery_MatchOperator) String() string
func (MatchQuery_MatchOperator) Type ¶
func (MatchQuery_MatchOperator) Type() protoreflect.EnumType
type Metadata ¶
type Metadata struct { GrpcAddress string `protobuf:"bytes,1,opt,name=grpc_address,json=grpcAddress,proto3" json:"grpc_address,omitempty"` HttpAddress string `protobuf:"bytes,2,opt,name=http_address,json=httpAddress,proto3" json:"http_address,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetGrpcAddress ¶
func (*Metadata) GetHttpAddress ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type MetadataValidationError ¶
type MetadataValidationError struct {
// contains filtered or unexported fields
}
MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.
func (MetadataValidationError) Cause ¶
func (e MetadataValidationError) Cause() error
Cause function returns cause value.
func (MetadataValidationError) Error ¶
func (e MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataValidationError) ErrorName ¶
func (e MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataValidationError) Field ¶
func (e MetadataValidationError) Field() string
Field function returns field value.
func (MetadataValidationError) Key ¶
func (e MetadataValidationError) Key() bool
Key function returns key value.
func (MetadataValidationError) Reason ¶
func (e MetadataValidationError) Reason() string
Reason function returns reason value.
type MetricsResponse ¶
type MetricsResponse struct { Metrics []byte `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*MetricsResponse) Descriptor
deprecated
func (*MetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MetricsResponse.ProtoReflect.Descriptor instead.
func (*MetricsResponse) GetMetrics ¶
func (x *MetricsResponse) GetMetrics() []byte
func (*MetricsResponse) ProtoMessage ¶
func (*MetricsResponse) ProtoMessage()
func (*MetricsResponse) ProtoReflect ¶
func (x *MetricsResponse) ProtoReflect() protoreflect.Message
func (*MetricsResponse) Reset ¶
func (x *MetricsResponse) Reset()
func (*MetricsResponse) String ¶
func (x *MetricsResponse) String() string
func (*MetricsResponse) Validate ¶
func (m *MetricsResponse) Validate() error
Validate checks the field values on MetricsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MetricsResponseValidationError ¶
type MetricsResponseValidationError struct {
// contains filtered or unexported fields
}
MetricsResponseValidationError is the validation error returned by MetricsResponse.Validate if the designated constraints aren't met.
func (MetricsResponseValidationError) Cause ¶
func (e MetricsResponseValidationError) Cause() error
Cause function returns cause value.
func (MetricsResponseValidationError) Error ¶
func (e MetricsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MetricsResponseValidationError) ErrorName ¶
func (e MetricsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MetricsResponseValidationError) Field ¶
func (e MetricsResponseValidationError) Field() string
Field function returns field value.
func (MetricsResponseValidationError) Key ¶
func (e MetricsResponseValidationError) Key() bool
Key function returns key value.
func (MetricsResponseValidationError) Reason ¶
func (e MetricsResponseValidationError) Reason() string
Reason function returns reason value.
type MultiPhraseQuery ¶
type MultiPhraseQuery struct { Terms []string `protobuf:"bytes,1,rep,name=terms,proto3" json:"terms,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,3,opt,name=boost,proto3" json:"boost,omitempty"` Slop int32 `protobuf:"varint,4,opt,name=slop,proto3" json:"slop,omitempty"` // contains filtered or unexported fields }
func (*MultiPhraseQuery) Descriptor
deprecated
func (*MultiPhraseQuery) Descriptor() ([]byte, []int)
Deprecated: Use MultiPhraseQuery.ProtoReflect.Descriptor instead.
func (*MultiPhraseQuery) GetBoost ¶
func (x *MultiPhraseQuery) GetBoost() float64
func (*MultiPhraseQuery) GetField ¶
func (x *MultiPhraseQuery) GetField() string
func (*MultiPhraseQuery) GetSlop ¶
func (x *MultiPhraseQuery) GetSlop() int32
func (*MultiPhraseQuery) GetTerms ¶
func (x *MultiPhraseQuery) GetTerms() []string
func (*MultiPhraseQuery) ProtoMessage ¶
func (*MultiPhraseQuery) ProtoMessage()
func (*MultiPhraseQuery) ProtoReflect ¶
func (x *MultiPhraseQuery) ProtoReflect() protoreflect.Message
func (*MultiPhraseQuery) Reset ¶
func (x *MultiPhraseQuery) Reset()
func (*MultiPhraseQuery) String ¶
func (x *MultiPhraseQuery) String() string
func (*MultiPhraseQuery) Validate ¶
func (m *MultiPhraseQuery) Validate() error
Validate checks the field values on MultiPhraseQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MultiPhraseQueryValidationError ¶
type MultiPhraseQueryValidationError struct {
// contains filtered or unexported fields
}
MultiPhraseQueryValidationError is the validation error returned by MultiPhraseQuery.Validate if the designated constraints aren't met.
func (MultiPhraseQueryValidationError) Cause ¶
func (e MultiPhraseQueryValidationError) Cause() error
Cause function returns cause value.
func (MultiPhraseQueryValidationError) Error ¶
func (e MultiPhraseQueryValidationError) Error() string
Error satisfies the builtin error interface
func (MultiPhraseQueryValidationError) ErrorName ¶
func (e MultiPhraseQueryValidationError) ErrorName() string
ErrorName returns error name.
func (MultiPhraseQueryValidationError) Field ¶
func (e MultiPhraseQueryValidationError) Field() string
Field function returns field value.
func (MultiPhraseQueryValidationError) Key ¶
func (e MultiPhraseQueryValidationError) Key() bool
Key function returns key value.
func (MultiPhraseQueryValidationError) Reason ¶
func (e MultiPhraseQueryValidationError) Reason() string
Reason function returns reason value.
type Node ¶
type Node struct { RaftAddress string `protobuf:"bytes,1,opt,name=raft_address,json=raftAddress,proto3" json:"raft_address,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetMetadata ¶
func (*Node) GetRaftAddress ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeResponse ¶
type NodeResponse struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*NodeResponse) Descriptor
deprecated
func (*NodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeResponse.ProtoReflect.Descriptor instead.
func (*NodeResponse) GetNode ¶
func (x *NodeResponse) GetNode() *Node
func (*NodeResponse) ProtoMessage ¶
func (*NodeResponse) ProtoMessage()
func (*NodeResponse) ProtoReflect ¶
func (x *NodeResponse) ProtoReflect() protoreflect.Message
func (*NodeResponse) Reset ¶
func (x *NodeResponse) Reset()
func (*NodeResponse) String ¶
func (x *NodeResponse) String() string
func (*NodeResponse) Validate ¶
func (m *NodeResponse) Validate() error
Validate checks the field values on NodeResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NodeResponseValidationError ¶
type NodeResponseValidationError struct {
// contains filtered or unexported fields
}
NodeResponseValidationError is the validation error returned by NodeResponse.Validate if the designated constraints aren't met.
func (NodeResponseValidationError) Cause ¶
func (e NodeResponseValidationError) Cause() error
Cause function returns cause value.
func (NodeResponseValidationError) Error ¶
func (e NodeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NodeResponseValidationError) ErrorName ¶
func (e NodeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NodeResponseValidationError) Field ¶
func (e NodeResponseValidationError) Field() string
Field function returns field value.
func (NodeResponseValidationError) Key ¶
func (e NodeResponseValidationError) Key() bool
Key function returns key value.
func (NodeResponseValidationError) Reason ¶
func (e NodeResponseValidationError) Reason() string
Reason function returns reason value.
type NodeValidationError ¶
type NodeValidationError struct {
// contains filtered or unexported fields
}
NodeValidationError is the validation error returned by Node.Validate if the designated constraints aren't met.
func (NodeValidationError) Cause ¶
func (e NodeValidationError) Cause() error
Cause function returns cause value.
func (NodeValidationError) Error ¶
func (e NodeValidationError) Error() string
Error satisfies the builtin error interface
func (NodeValidationError) ErrorName ¶
func (e NodeValidationError) ErrorName() string
ErrorName returns error name.
func (NodeValidationError) Field ¶
func (e NodeValidationError) Field() string
Field function returns field value.
func (NodeValidationError) Key ¶
func (e NodeValidationError) Key() bool
Key function returns key value.
func (NodeValidationError) Reason ¶
func (e NodeValidationError) Reason() string
Reason function returns reason value.
type NumericRangeQuery ¶
type NumericRangeQuery struct { Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"` Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"` // inclusiveMin bool // inclusiveMax bool Field string `protobuf:"bytes,5,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,6,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*NumericRangeQuery) Descriptor
deprecated
func (*NumericRangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use NumericRangeQuery.ProtoReflect.Descriptor instead.
func (*NumericRangeQuery) GetBoost ¶
func (x *NumericRangeQuery) GetBoost() float64
func (*NumericRangeQuery) GetField ¶
func (x *NumericRangeQuery) GetField() string
func (*NumericRangeQuery) GetMax ¶
func (x *NumericRangeQuery) GetMax() float64
func (*NumericRangeQuery) GetMin ¶
func (x *NumericRangeQuery) GetMin() float64
func (*NumericRangeQuery) ProtoMessage ¶
func (*NumericRangeQuery) ProtoMessage()
func (*NumericRangeQuery) ProtoReflect ¶
func (x *NumericRangeQuery) ProtoReflect() protoreflect.Message
func (*NumericRangeQuery) Reset ¶
func (x *NumericRangeQuery) Reset()
func (*NumericRangeQuery) String ¶
func (x *NumericRangeQuery) String() string
func (*NumericRangeQuery) Validate ¶
func (m *NumericRangeQuery) Validate() error
Validate checks the field values on NumericRangeQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NumericRangeQueryValidationError ¶
type NumericRangeQueryValidationError struct {
// contains filtered or unexported fields
}
NumericRangeQueryValidationError is the validation error returned by NumericRangeQuery.Validate if the designated constraints aren't met.
func (NumericRangeQueryValidationError) Cause ¶
func (e NumericRangeQueryValidationError) Cause() error
Cause function returns cause value.
func (NumericRangeQueryValidationError) Error ¶
func (e NumericRangeQueryValidationError) Error() string
Error satisfies the builtin error interface
func (NumericRangeQueryValidationError) ErrorName ¶
func (e NumericRangeQueryValidationError) ErrorName() string
ErrorName returns error name.
func (NumericRangeQueryValidationError) Field ¶
func (e NumericRangeQueryValidationError) Field() string
Field function returns field value.
func (NumericRangeQueryValidationError) Key ¶
func (e NumericRangeQueryValidationError) Key() bool
Key function returns key value.
func (NumericRangeQueryValidationError) Reason ¶
func (e NumericRangeQueryValidationError) Reason() string
Reason function returns reason value.
type PrefixQuery ¶
type PrefixQuery struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,3,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*PrefixQuery) Descriptor
deprecated
func (*PrefixQuery) Descriptor() ([]byte, []int)
Deprecated: Use PrefixQuery.ProtoReflect.Descriptor instead.
func (*PrefixQuery) GetBoost ¶
func (x *PrefixQuery) GetBoost() float64
func (*PrefixQuery) GetField ¶
func (x *PrefixQuery) GetField() string
func (*PrefixQuery) GetPrefix ¶
func (x *PrefixQuery) GetPrefix() string
func (*PrefixQuery) ProtoMessage ¶
func (*PrefixQuery) ProtoMessage()
func (*PrefixQuery) ProtoReflect ¶
func (x *PrefixQuery) ProtoReflect() protoreflect.Message
func (*PrefixQuery) Reset ¶
func (x *PrefixQuery) Reset()
func (*PrefixQuery) String ¶
func (x *PrefixQuery) String() string
func (*PrefixQuery) Validate ¶
func (m *PrefixQuery) Validate() error
Validate checks the field values on PrefixQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PrefixQueryValidationError ¶
type PrefixQueryValidationError struct {
// contains filtered or unexported fields
}
PrefixQueryValidationError is the validation error returned by PrefixQuery.Validate if the designated constraints aren't met.
func (PrefixQueryValidationError) Cause ¶
func (e PrefixQueryValidationError) Cause() error
Cause function returns cause value.
func (PrefixQueryValidationError) Error ¶
func (e PrefixQueryValidationError) Error() string
Error satisfies the builtin error interface
func (PrefixQueryValidationError) ErrorName ¶
func (e PrefixQueryValidationError) ErrorName() string
ErrorName returns error name.
func (PrefixQueryValidationError) Field ¶
func (e PrefixQueryValidationError) Field() string
Field function returns field value.
func (PrefixQueryValidationError) Key ¶
func (e PrefixQueryValidationError) Key() bool
Key function returns key value.
func (PrefixQueryValidationError) Reason ¶
func (e PrefixQueryValidationError) Reason() string
Reason function returns reason value.
type Query ¶
type Query struct { // Types that are assignable to Query: // *Query_MatchAll // *Query_MatchQuery // *Query_MatchNone // *Query_MatchPhrase // *Query_MultiPhrase // *Query_Prefix // *Query_Regexp // *Query_Term // *Query_TermRange // *Query_Bool // *Query_DateRange // *Query_GeoBoundingBox // *Query_GeoDistance // *Query_GeoBoundingPolygon // *Query_NumericRange // *Query_Wildcard // *Query_Fuzzy Query isQuery_Query `protobuf_oneof:"query"` // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetBool ¶
func (x *Query) GetBool() *BooleanQuery
func (*Query) GetDateRange ¶
func (x *Query) GetDateRange() *DateRangeQuery
func (*Query) GetFuzzy ¶
func (x *Query) GetFuzzy() *FuzzyQuery
func (*Query) GetGeoBoundingBox ¶
func (x *Query) GetGeoBoundingBox() *GeoBoundingBoxQuery
func (*Query) GetGeoBoundingPolygon ¶
func (x *Query) GetGeoBoundingPolygon() *GeoBoundingPolygonQuery
func (*Query) GetGeoDistance ¶
func (x *Query) GetGeoDistance() *GeoDistanceQuery
func (*Query) GetMatchAll ¶
func (x *Query) GetMatchAll() *MatchAllQuery
func (*Query) GetMatchNone ¶
func (x *Query) GetMatchNone() *MatchNoneQuery
func (*Query) GetMatchPhrase ¶
func (x *Query) GetMatchPhrase() *MatchPhraseQuery
func (*Query) GetMatchQuery ¶
func (x *Query) GetMatchQuery() *MatchQuery
func (*Query) GetMultiPhrase ¶
func (x *Query) GetMultiPhrase() *MultiPhraseQuery
func (*Query) GetNumericRange ¶
func (x *Query) GetNumericRange() *NumericRangeQuery
func (*Query) GetPrefix ¶
func (x *Query) GetPrefix() *PrefixQuery
func (*Query) GetRegexp ¶
func (x *Query) GetRegexp() *RegexpQuery
func (*Query) GetTermRange ¶
func (x *Query) GetTermRange() *TermRangeQuery
func (*Query) GetWildcard ¶
func (x *Query) GetWildcard() *WildcardQuery
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type QueryValidationError ¶
type QueryValidationError struct {
// contains filtered or unexported fields
}
QueryValidationError is the validation error returned by Query.Validate if the designated constraints aren't met.
func (QueryValidationError) Cause ¶
func (e QueryValidationError) Cause() error
Cause function returns cause value.
func (QueryValidationError) Error ¶
func (e QueryValidationError) Error() string
Error satisfies the builtin error interface
func (QueryValidationError) ErrorName ¶
func (e QueryValidationError) ErrorName() string
ErrorName returns error name.
func (QueryValidationError) Field ¶
func (e QueryValidationError) Field() string
Field function returns field value.
func (QueryValidationError) Key ¶
func (e QueryValidationError) Key() bool
Key function returns key value.
func (QueryValidationError) Reason ¶
func (e QueryValidationError) Reason() string
Reason function returns reason value.
type Query_Bool ¶
type Query_Bool struct {
Bool *BooleanQuery `protobuf:"bytes,10,opt,name=bool,proto3,oneof"`
}
type Query_DateRange ¶
type Query_DateRange struct {
DateRange *DateRangeQuery `protobuf:"bytes,11,opt,name=dateRange,proto3,oneof"`
}
type Query_Fuzzy ¶
type Query_Fuzzy struct {
Fuzzy *FuzzyQuery `protobuf:"bytes,17,opt,name=fuzzy,proto3,oneof"`
}
type Query_GeoBoundingBox ¶
type Query_GeoBoundingBox struct {
GeoBoundingBox *GeoBoundingBoxQuery `protobuf:"bytes,12,opt,name=geoBoundingBox,proto3,oneof"`
}
type Query_GeoBoundingPolygon ¶
type Query_GeoBoundingPolygon struct {
GeoBoundingPolygon *GeoBoundingPolygonQuery `protobuf:"bytes,14,opt,name=geoBoundingPolygon,proto3,oneof"`
}
type Query_GeoDistance ¶
type Query_GeoDistance struct {
GeoDistance *GeoDistanceQuery `protobuf:"bytes,13,opt,name=geoDistance,proto3,oneof"`
}
type Query_MatchAll ¶
type Query_MatchAll struct {
MatchAll *MatchAllQuery `protobuf:"bytes,1,opt,name=matchAll,proto3,oneof"`
}
type Query_MatchNone ¶
type Query_MatchNone struct {
MatchNone *MatchNoneQuery `protobuf:"bytes,3,opt,name=matchNone,proto3,oneof"`
}
type Query_MatchPhrase ¶
type Query_MatchPhrase struct {
MatchPhrase *MatchPhraseQuery `protobuf:"bytes,4,opt,name=matchPhrase,proto3,oneof"`
}
type Query_MatchQuery ¶
type Query_MatchQuery struct {
MatchQuery *MatchQuery `protobuf:"bytes,2,opt,name=matchQuery,proto3,oneof"`
}
type Query_MultiPhrase ¶
type Query_MultiPhrase struct {
MultiPhrase *MultiPhraseQuery `protobuf:"bytes,5,opt,name=multiPhrase,proto3,oneof"`
}
type Query_NumericRange ¶
type Query_NumericRange struct {
NumericRange *NumericRangeQuery `protobuf:"bytes,15,opt,name=numericRange,proto3,oneof"`
}
type Query_Prefix ¶
type Query_Prefix struct {
Prefix *PrefixQuery `protobuf:"bytes,6,opt,name=prefix,proto3,oneof"`
}
type Query_Regexp ¶
type Query_Regexp struct {
Regexp *RegexpQuery `protobuf:"bytes,7,opt,name=regexp,proto3,oneof"`
}
type Query_Term ¶
type Query_Term struct {
Term *TermQuery `protobuf:"bytes,8,opt,name=term,proto3,oneof"`
}
type Query_TermRange ¶
type Query_TermRange struct {
TermRange *TermRangeQuery `protobuf:"bytes,9,opt,name=termRange,proto3,oneof"`
}
type Query_Wildcard ¶
type Query_Wildcard struct {
Wildcard *WildcardQuery `protobuf:"bytes,16,opt,name=wildcard,proto3,oneof"`
}
type ReadinessCheckResponse ¶
type ReadinessCheckResponse struct { Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"` // contains filtered or unexported fields }
func (*ReadinessCheckResponse) Descriptor
deprecated
func (*ReadinessCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessCheckResponse.ProtoReflect.Descriptor instead.
func (*ReadinessCheckResponse) GetReady ¶
func (x *ReadinessCheckResponse) GetReady() bool
func (*ReadinessCheckResponse) ProtoMessage ¶
func (*ReadinessCheckResponse) ProtoMessage()
func (*ReadinessCheckResponse) ProtoReflect ¶
func (x *ReadinessCheckResponse) ProtoReflect() protoreflect.Message
func (*ReadinessCheckResponse) Reset ¶
func (x *ReadinessCheckResponse) Reset()
func (*ReadinessCheckResponse) String ¶
func (x *ReadinessCheckResponse) String() string
func (*ReadinessCheckResponse) Validate ¶
func (m *ReadinessCheckResponse) Validate() error
Validate checks the field values on ReadinessCheckResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadinessCheckResponseValidationError ¶
type ReadinessCheckResponseValidationError struct {
// contains filtered or unexported fields
}
ReadinessCheckResponseValidationError is the validation error returned by ReadinessCheckResponse.Validate if the designated constraints aren't met.
func (ReadinessCheckResponseValidationError) Cause ¶
func (e ReadinessCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadinessCheckResponseValidationError) Error ¶
func (e ReadinessCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadinessCheckResponseValidationError) ErrorName ¶
func (e ReadinessCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadinessCheckResponseValidationError) Field ¶
func (e ReadinessCheckResponseValidationError) Field() string
Field function returns field value.
func (ReadinessCheckResponseValidationError) Key ¶
func (e ReadinessCheckResponseValidationError) Key() bool
Key function returns key value.
func (ReadinessCheckResponseValidationError) Reason ¶
func (e ReadinessCheckResponseValidationError) Reason() string
Reason function returns reason value.
type RegexpQuery ¶
type RegexpQuery struct { Regexp string `protobuf:"bytes,1,opt,name=regexp,proto3" json:"regexp,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,3,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*RegexpQuery) Descriptor
deprecated
func (*RegexpQuery) Descriptor() ([]byte, []int)
Deprecated: Use RegexpQuery.ProtoReflect.Descriptor instead.
func (*RegexpQuery) GetBoost ¶
func (x *RegexpQuery) GetBoost() float64
func (*RegexpQuery) GetField ¶
func (x *RegexpQuery) GetField() string
func (*RegexpQuery) GetRegexp ¶
func (x *RegexpQuery) GetRegexp() string
func (*RegexpQuery) ProtoMessage ¶
func (*RegexpQuery) ProtoMessage()
func (*RegexpQuery) ProtoReflect ¶
func (x *RegexpQuery) ProtoReflect() protoreflect.Message
func (*RegexpQuery) Reset ¶
func (x *RegexpQuery) Reset()
func (*RegexpQuery) String ¶
func (x *RegexpQuery) String() string
func (*RegexpQuery) Validate ¶
func (m *RegexpQuery) Validate() error
Validate checks the field values on RegexpQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RegexpQueryValidationError ¶
type RegexpQueryValidationError struct {
// contains filtered or unexported fields
}
RegexpQueryValidationError is the validation error returned by RegexpQuery.Validate if the designated constraints aren't met.
func (RegexpQueryValidationError) Cause ¶
func (e RegexpQueryValidationError) Cause() error
Cause function returns cause value.
func (RegexpQueryValidationError) Error ¶
func (e RegexpQueryValidationError) Error() string
Error satisfies the builtin error interface
func (RegexpQueryValidationError) ErrorName ¶
func (e RegexpQueryValidationError) ErrorName() string
ErrorName returns error name.
func (RegexpQueryValidationError) Field ¶
func (e RegexpQueryValidationError) Field() string
Field function returns field value.
func (RegexpQueryValidationError) Key ¶
func (e RegexpQueryValidationError) Key() bool
Key function returns key value.
func (RegexpQueryValidationError) Reason ¶
func (e RegexpQueryValidationError) Reason() string
Reason function returns reason value.
type SearchMetadataRequest ¶
type SearchMetadataRequest struct { From int32 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"` Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*SearchMetadataRequest) Descriptor
deprecated
func (*SearchMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchMetadataRequest.ProtoReflect.Descriptor instead.
func (*SearchMetadataRequest) GetFrom ¶
func (x *SearchMetadataRequest) GetFrom() int32
func (*SearchMetadataRequest) GetSize ¶
func (x *SearchMetadataRequest) GetSize() int32
func (*SearchMetadataRequest) ProtoMessage ¶
func (*SearchMetadataRequest) ProtoMessage()
func (*SearchMetadataRequest) ProtoReflect ¶
func (x *SearchMetadataRequest) ProtoReflect() protoreflect.Message
func (*SearchMetadataRequest) Reset ¶
func (x *SearchMetadataRequest) Reset()
func (*SearchMetadataRequest) String ¶
func (x *SearchMetadataRequest) String() string
func (*SearchMetadataRequest) Validate ¶
func (m *SearchMetadataRequest) Validate() error
Validate checks the field values on SearchMetadataRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SearchMetadataRequestValidationError ¶
type SearchMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
SearchMetadataRequestValidationError is the validation error returned by SearchMetadataRequest.Validate if the designated constraints aren't met.
func (SearchMetadataRequestValidationError) Cause ¶
func (e SearchMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (SearchMetadataRequestValidationError) Error ¶
func (e SearchMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SearchMetadataRequestValidationError) ErrorName ¶
func (e SearchMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SearchMetadataRequestValidationError) Field ¶
func (e SearchMetadataRequestValidationError) Field() string
Field function returns field value.
func (SearchMetadataRequestValidationError) Key ¶
func (e SearchMetadataRequestValidationError) Key() bool
Key function returns key value.
func (SearchMetadataRequestValidationError) Reason ¶
func (e SearchMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type SearchRequest ¶
type SearchRequest struct { // key: // match_all // match_query // match_none // match_phrase // multi_phrase // prefix // regexp // term // term_range // bool // date_range // geo_bounding_box // geo_distance // geo_bounding_polygon // numeric_range // wildcard // fuzzy Metadata *SearchMetadataRequest `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Query map[string]*Query `` /* 151-byte string literal not displayed */ Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetMetadata ¶
func (x *SearchRequest) GetMetadata() *SearchMetadataRequest
func (*SearchRequest) GetQuery ¶
func (x *SearchRequest) GetQuery() map[string]*Query
func (*SearchRequest) GetTenant ¶
func (x *SearchRequest) GetTenant() string
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
func (*SearchRequest) Validate ¶
func (m *SearchRequest) Validate() error
Validate checks the field values on SearchRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SearchRequestValidationError ¶
type SearchRequestValidationError struct {
// contains filtered or unexported fields
}
SearchRequestValidationError is the validation error returned by SearchRequest.Validate if the designated constraints aren't met.
func (SearchRequestValidationError) Cause ¶
func (e SearchRequestValidationError) Cause() error
Cause function returns cause value.
func (SearchRequestValidationError) Error ¶
func (e SearchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SearchRequestValidationError) ErrorName ¶
func (e SearchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SearchRequestValidationError) Field ¶
func (e SearchRequestValidationError) Field() string
Field function returns field value.
func (SearchRequestValidationError) Key ¶
func (e SearchRequestValidationError) Key() bool
Key function returns key value.
func (SearchRequestValidationError) Reason ¶
func (e SearchRequestValidationError) Reason() string
Reason function returns reason value.
type SearchResponse ¶
type SearchResponse struct { Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetResult ¶
func (x *SearchResponse) GetResult() []byte
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
func (*SearchResponse) Validate ¶
func (m *SearchResponse) Validate() error
Validate checks the field values on SearchResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SearchResponseValidationError ¶
type SearchResponseValidationError struct {
// contains filtered or unexported fields
}
SearchResponseValidationError is the validation error returned by SearchResponse.Validate if the designated constraints aren't met.
func (SearchResponseValidationError) Cause ¶
func (e SearchResponseValidationError) Cause() error
Cause function returns cause value.
func (SearchResponseValidationError) Error ¶
func (e SearchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SearchResponseValidationError) ErrorName ¶
func (e SearchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SearchResponseValidationError) Field ¶
func (e SearchResponseValidationError) Field() string
Field function returns field value.
func (SearchResponseValidationError) Key ¶
func (e SearchResponseValidationError) Key() bool
Key function returns key value.
func (SearchResponseValidationError) Reason ¶
func (e SearchResponseValidationError) Reason() string
Reason function returns reason value.
type SetMetadataRequest ¶
type SetMetadataRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*SetMetadataRequest) Descriptor
deprecated
func (*SetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMetadataRequest.ProtoReflect.Descriptor instead.
func (*SetMetadataRequest) GetId ¶
func (x *SetMetadataRequest) GetId() string
func (*SetMetadataRequest) GetMetadata ¶
func (x *SetMetadataRequest) GetMetadata() *Metadata
func (*SetMetadataRequest) ProtoMessage ¶
func (*SetMetadataRequest) ProtoMessage()
func (*SetMetadataRequest) ProtoReflect ¶
func (x *SetMetadataRequest) ProtoReflect() protoreflect.Message
func (*SetMetadataRequest) Reset ¶
func (x *SetMetadataRequest) Reset()
func (*SetMetadataRequest) String ¶
func (x *SetMetadataRequest) String() string
func (*SetMetadataRequest) Validate ¶
func (m *SetMetadataRequest) Validate() error
Validate checks the field values on SetMetadataRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetMetadataRequestValidationError ¶
type SetMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
SetMetadataRequestValidationError is the validation error returned by SetMetadataRequest.Validate if the designated constraints aren't met.
func (SetMetadataRequestValidationError) Cause ¶
func (e SetMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (SetMetadataRequestValidationError) Error ¶
func (e SetMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetMetadataRequestValidationError) ErrorName ¶
func (e SetMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetMetadataRequestValidationError) Field ¶
func (e SetMetadataRequestValidationError) Field() string
Field function returns field value.
func (SetMetadataRequestValidationError) Key ¶
func (e SetMetadataRequestValidationError) Key() bool
Key function returns key value.
func (SetMetadataRequestValidationError) Reason ¶
func (e SetMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type TermQuery ¶
type TermQuery struct { Term string `protobuf:"bytes,1,opt,name=term,proto3" json:"term,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,3,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*TermQuery) Descriptor
deprecated
func (*TermQuery) ProtoMessage ¶
func (*TermQuery) ProtoMessage()
func (*TermQuery) ProtoReflect ¶
func (x *TermQuery) ProtoReflect() protoreflect.Message
type TermQueryValidationError ¶
type TermQueryValidationError struct {
// contains filtered or unexported fields
}
TermQueryValidationError is the validation error returned by TermQuery.Validate if the designated constraints aren't met.
func (TermQueryValidationError) Cause ¶
func (e TermQueryValidationError) Cause() error
Cause function returns cause value.
func (TermQueryValidationError) Error ¶
func (e TermQueryValidationError) Error() string
Error satisfies the builtin error interface
func (TermQueryValidationError) ErrorName ¶
func (e TermQueryValidationError) ErrorName() string
ErrorName returns error name.
func (TermQueryValidationError) Field ¶
func (e TermQueryValidationError) Field() string
Field function returns field value.
func (TermQueryValidationError) Key ¶
func (e TermQueryValidationError) Key() bool
Key function returns key value.
func (TermQueryValidationError) Reason ¶
func (e TermQueryValidationError) Reason() string
Reason function returns reason value.
type TermRangeQuery ¶
type TermRangeQuery struct { Min string `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"` Max string `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"` // bool inclusiveMin = 3; // bool inclusiveMax = 4; Field string `protobuf:"bytes,5,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,6,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*TermRangeQuery) Descriptor
deprecated
func (*TermRangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use TermRangeQuery.ProtoReflect.Descriptor instead.
func (*TermRangeQuery) GetBoost ¶
func (x *TermRangeQuery) GetBoost() float64
func (*TermRangeQuery) GetField ¶
func (x *TermRangeQuery) GetField() string
func (*TermRangeQuery) GetMax ¶
func (x *TermRangeQuery) GetMax() string
func (*TermRangeQuery) GetMin ¶
func (x *TermRangeQuery) GetMin() string
func (*TermRangeQuery) ProtoMessage ¶
func (*TermRangeQuery) ProtoMessage()
func (*TermRangeQuery) ProtoReflect ¶
func (x *TermRangeQuery) ProtoReflect() protoreflect.Message
func (*TermRangeQuery) Reset ¶
func (x *TermRangeQuery) Reset()
func (*TermRangeQuery) String ¶
func (x *TermRangeQuery) String() string
func (*TermRangeQuery) Validate ¶
func (m *TermRangeQuery) Validate() error
Validate checks the field values on TermRangeQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TermRangeQueryValidationError ¶
type TermRangeQueryValidationError struct {
// contains filtered or unexported fields
}
TermRangeQueryValidationError is the validation error returned by TermRangeQuery.Validate if the designated constraints aren't met.
func (TermRangeQueryValidationError) Cause ¶
func (e TermRangeQueryValidationError) Cause() error
Cause function returns cause value.
func (TermRangeQueryValidationError) Error ¶
func (e TermRangeQueryValidationError) Error() string
Error satisfies the builtin error interface
func (TermRangeQueryValidationError) ErrorName ¶
func (e TermRangeQueryValidationError) ErrorName() string
ErrorName returns error name.
func (TermRangeQueryValidationError) Field ¶
func (e TermRangeQueryValidationError) Field() string
Field function returns field value.
func (TermRangeQueryValidationError) Key ¶
func (e TermRangeQueryValidationError) Key() bool
Key function returns key value.
func (TermRangeQueryValidationError) Reason ¶
func (e TermRangeQueryValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDocsearchServer ¶
type UnimplementedDocsearchServer struct { }
UnimplementedDocsearchServer must be embedded to have forward compatible implementations.
func (UnimplementedDocsearchServer) BulkDelete ¶
func (UnimplementedDocsearchServer) BulkDelete(context.Context, *DeleteDocuments) (*emptypb.Empty, error)
func (UnimplementedDocsearchServer) Cluster ¶
func (UnimplementedDocsearchServer) Cluster(context.Context, *emptypb.Empty) (*ClusterResponse, error)
func (UnimplementedDocsearchServer) Delete ¶
func (UnimplementedDocsearchServer) Delete(context.Context, *DeleteDocument) (*emptypb.Empty, error)
func (UnimplementedDocsearchServer) DeleteDictionary ¶
func (UnimplementedDocsearchServer) DeleteDictionary(context.Context, *DeleteDictionaryRequest) (*DictionaryResponse, error)
func (UnimplementedDocsearchServer) Join ¶
func (UnimplementedDocsearchServer) Join(context.Context, *JoinRequest) (*emptypb.Empty, error)
func (UnimplementedDocsearchServer) Leave ¶
func (UnimplementedDocsearchServer) Leave(context.Context, *LeaveRequest) (*emptypb.Empty, error)
func (UnimplementedDocsearchServer) LivenessCheck ¶
func (UnimplementedDocsearchServer) LivenessCheck(context.Context, *emptypb.Empty) (*LivenessCheckResponse, error)
func (UnimplementedDocsearchServer) Metrics ¶
func (UnimplementedDocsearchServer) Metrics(context.Context, *emptypb.Empty) (*MetricsResponse, error)
func (UnimplementedDocsearchServer) Node ¶
func (UnimplementedDocsearchServer) Node(context.Context, *emptypb.Empty) (*NodeResponse, error)
func (UnimplementedDocsearchServer) ReadinessCheck ¶
func (UnimplementedDocsearchServer) ReadinessCheck(context.Context, *emptypb.Empty) (*ReadinessCheckResponse, error)
func (UnimplementedDocsearchServer) Search ¶
func (UnimplementedDocsearchServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
func (UnimplementedDocsearchServer) UploadDictionary ¶
func (UnimplementedDocsearchServer) UploadDictionary(context.Context, *UserDictionaryRecords) (*DictionaryResponse, error)
func (UnimplementedDocsearchServer) Watch ¶
func (UnimplementedDocsearchServer) Watch(*emptypb.Empty, Docsearch_WatchServer) error
type UnsafeDocsearchServer ¶
type UnsafeDocsearchServer interface {
// contains filtered or unexported methods
}
UnsafeDocsearchServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DocsearchServer will result in compilation errors.
type UserDictionaryRecord ¶
type UserDictionaryRecord struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // 覚えさせたい文言 Tokens []string `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` // 単語別のトークン Yomi []string `protobuf:"bytes,3,rep,name=yomi,proto3" json:"yomi,omitempty"` // 読み Pos string `protobuf:"bytes,4,opt,name=pos,proto3" json:"pos,omitempty"` // 品詞 // contains filtered or unexported fields }
func (*UserDictionaryRecord) Descriptor
deprecated
func (*UserDictionaryRecord) Descriptor() ([]byte, []int)
Deprecated: Use UserDictionaryRecord.ProtoReflect.Descriptor instead.
func (*UserDictionaryRecord) GetPos ¶
func (x *UserDictionaryRecord) GetPos() string
func (*UserDictionaryRecord) GetText ¶
func (x *UserDictionaryRecord) GetText() string
func (*UserDictionaryRecord) GetTokens ¶
func (x *UserDictionaryRecord) GetTokens() []string
func (*UserDictionaryRecord) GetYomi ¶
func (x *UserDictionaryRecord) GetYomi() []string
func (*UserDictionaryRecord) ProtoMessage ¶
func (*UserDictionaryRecord) ProtoMessage()
func (*UserDictionaryRecord) ProtoReflect ¶
func (x *UserDictionaryRecord) ProtoReflect() protoreflect.Message
func (*UserDictionaryRecord) Reset ¶
func (x *UserDictionaryRecord) Reset()
func (*UserDictionaryRecord) String ¶
func (x *UserDictionaryRecord) String() string
func (*UserDictionaryRecord) Validate ¶
func (m *UserDictionaryRecord) Validate() error
Validate checks the field values on UserDictionaryRecord with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UserDictionaryRecordValidationError ¶
type UserDictionaryRecordValidationError struct {
// contains filtered or unexported fields
}
UserDictionaryRecordValidationError is the validation error returned by UserDictionaryRecord.Validate if the designated constraints aren't met.
func (UserDictionaryRecordValidationError) Cause ¶
func (e UserDictionaryRecordValidationError) Cause() error
Cause function returns cause value.
func (UserDictionaryRecordValidationError) Error ¶
func (e UserDictionaryRecordValidationError) Error() string
Error satisfies the builtin error interface
func (UserDictionaryRecordValidationError) ErrorName ¶
func (e UserDictionaryRecordValidationError) ErrorName() string
ErrorName returns error name.
func (UserDictionaryRecordValidationError) Field ¶
func (e UserDictionaryRecordValidationError) Field() string
Field function returns field value.
func (UserDictionaryRecordValidationError) Key ¶
func (e UserDictionaryRecordValidationError) Key() bool
Key function returns key value.
func (UserDictionaryRecordValidationError) Reason ¶
func (e UserDictionaryRecordValidationError) Reason() string
Reason function returns reason value.
type UserDictionaryRecords ¶
type UserDictionaryRecords struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Records []*UserDictionaryRecord `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*UserDictionaryRecords) Descriptor
deprecated
func (*UserDictionaryRecords) Descriptor() ([]byte, []int)
Deprecated: Use UserDictionaryRecords.ProtoReflect.Descriptor instead.
func (*UserDictionaryRecords) GetId ¶
func (x *UserDictionaryRecords) GetId() string
func (*UserDictionaryRecords) GetRecords ¶
func (x *UserDictionaryRecords) GetRecords() []*UserDictionaryRecord
func (*UserDictionaryRecords) ProtoMessage ¶
func (*UserDictionaryRecords) ProtoMessage()
func (*UserDictionaryRecords) ProtoReflect ¶
func (x *UserDictionaryRecords) ProtoReflect() protoreflect.Message
func (*UserDictionaryRecords) Reset ¶
func (x *UserDictionaryRecords) Reset()
func (*UserDictionaryRecords) String ¶
func (x *UserDictionaryRecords) String() string
func (*UserDictionaryRecords) Validate ¶
func (m *UserDictionaryRecords) Validate() error
Validate checks the field values on UserDictionaryRecords with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UserDictionaryRecordsValidationError ¶
type UserDictionaryRecordsValidationError struct {
// contains filtered or unexported fields
}
UserDictionaryRecordsValidationError is the validation error returned by UserDictionaryRecords.Validate if the designated constraints aren't met.
func (UserDictionaryRecordsValidationError) Cause ¶
func (e UserDictionaryRecordsValidationError) Cause() error
Cause function returns cause value.
func (UserDictionaryRecordsValidationError) Error ¶
func (e UserDictionaryRecordsValidationError) Error() string
Error satisfies the builtin error interface
func (UserDictionaryRecordsValidationError) ErrorName ¶
func (e UserDictionaryRecordsValidationError) ErrorName() string
ErrorName returns error name.
func (UserDictionaryRecordsValidationError) Field ¶
func (e UserDictionaryRecordsValidationError) Field() string
Field function returns field value.
func (UserDictionaryRecordsValidationError) Key ¶
func (e UserDictionaryRecordsValidationError) Key() bool
Key function returns key value.
func (UserDictionaryRecordsValidationError) Reason ¶
func (e UserDictionaryRecordsValidationError) Reason() string
Reason function returns reason value.
type WatchResponse ¶
type WatchResponse struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*WatchResponse) Descriptor
deprecated
func (*WatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
func (*WatchResponse) GetEvent ¶
func (x *WatchResponse) GetEvent() *Event
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶
func (x *WatchResponse) Reset()
func (*WatchResponse) String ¶
func (x *WatchResponse) String() string
func (*WatchResponse) Validate ¶
func (m *WatchResponse) Validate() error
Validate checks the field values on WatchResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WatchResponseValidationError ¶
type WatchResponseValidationError struct {
// contains filtered or unexported fields
}
WatchResponseValidationError is the validation error returned by WatchResponse.Validate if the designated constraints aren't met.
func (WatchResponseValidationError) Cause ¶
func (e WatchResponseValidationError) Cause() error
Cause function returns cause value.
func (WatchResponseValidationError) Error ¶
func (e WatchResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WatchResponseValidationError) ErrorName ¶
func (e WatchResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WatchResponseValidationError) Field ¶
func (e WatchResponseValidationError) Field() string
Field function returns field value.
func (WatchResponseValidationError) Key ¶
func (e WatchResponseValidationError) Key() bool
Key function returns key value.
func (WatchResponseValidationError) Reason ¶
func (e WatchResponseValidationError) Reason() string
Reason function returns reason value.
type WildcardQuery ¶
type WildcardQuery struct { Wildcard string `protobuf:"bytes,1,opt,name=wildcard,proto3" json:"wildcard,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Boost float64 `protobuf:"fixed64,3,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
func (*WildcardQuery) Descriptor
deprecated
func (*WildcardQuery) Descriptor() ([]byte, []int)
Deprecated: Use WildcardQuery.ProtoReflect.Descriptor instead.
func (*WildcardQuery) GetBoost ¶
func (x *WildcardQuery) GetBoost() float64
func (*WildcardQuery) GetField ¶
func (x *WildcardQuery) GetField() string
func (*WildcardQuery) GetWildcard ¶
func (x *WildcardQuery) GetWildcard() string
func (*WildcardQuery) ProtoMessage ¶
func (*WildcardQuery) ProtoMessage()
func (*WildcardQuery) ProtoReflect ¶
func (x *WildcardQuery) ProtoReflect() protoreflect.Message
func (*WildcardQuery) Reset ¶
func (x *WildcardQuery) Reset()
func (*WildcardQuery) String ¶
func (x *WildcardQuery) String() string
func (*WildcardQuery) Validate ¶
func (m *WildcardQuery) Validate() error
Validate checks the field values on WildcardQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WildcardQueryValidationError ¶
type WildcardQueryValidationError struct {
// contains filtered or unexported fields
}
WildcardQueryValidationError is the validation error returned by WildcardQuery.Validate if the designated constraints aren't met.
func (WildcardQueryValidationError) Cause ¶
func (e WildcardQueryValidationError) Cause() error
Cause function returns cause value.
func (WildcardQueryValidationError) Error ¶
func (e WildcardQueryValidationError) Error() string
Error satisfies the builtin error interface
func (WildcardQueryValidationError) ErrorName ¶
func (e WildcardQueryValidationError) ErrorName() string
ErrorName returns error name.
func (WildcardQueryValidationError) Field ¶
func (e WildcardQueryValidationError) Field() string
Field function returns field value.
func (WildcardQueryValidationError) Key ¶
func (e WildcardQueryValidationError) Key() bool
Key function returns key value.
func (WildcardQueryValidationError) Reason ¶
func (e WildcardQueryValidationError) Reason() string
Reason function returns reason value.