protobuf

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 29 Imported by: 2

Documentation

Overview

Package protobuf is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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)

View Source
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

Cause function returns cause value.

func (BooleanQueryValidationError) Error

Error satisfies the builtin error interface

func (BooleanQueryValidationError) ErrorName

func (e BooleanQueryValidationError) ErrorName() string

ErrorName returns error name.

func (BooleanQueryValidationError) Field

Field function returns field value.

func (BooleanQueryValidationError) Key

Key function returns key value.

func (BooleanQueryValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetLeader

func (x *Cluster) GetLeader() string

func (*Cluster) GetNodes

func (x *Cluster) GetNodes() map[string]*Node

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

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

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) String

func (x *Cluster) String() string

func (*Cluster) Validate

func (m *Cluster) Validate() error

Validate checks the field values on Cluster with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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

Cause function returns cause value.

func (ClusterResponseValidationError) Error

Error satisfies the builtin error interface

func (ClusterResponseValidationError) ErrorName

func (e ClusterResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterResponseValidationError) Field

Field function returns field value.

func (ClusterResponseValidationError) Key

Key function returns key value.

func (ClusterResponseValidationError) Reason

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

Cause function returns cause value.

func (DateRangeQueryValidationError) Error

Error satisfies the builtin error interface

func (DateRangeQueryValidationError) ErrorName

func (e DateRangeQueryValidationError) ErrorName() string

ErrorName returns error name.

func (DateRangeQueryValidationError) Field

Field function returns field value.

func (DateRangeQueryValidationError) Key

Key function returns key value.

func (DateRangeQueryValidationError) Reason

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

Cause function returns cause value.

func (DeleteDictionariesValidationError) Error

Error satisfies the builtin error interface

func (DeleteDictionariesValidationError) ErrorName

ErrorName returns error name.

func (DeleteDictionariesValidationError) Field

Field function returns field value.

func (DeleteDictionariesValidationError) Key

Key function returns key value.

func (DeleteDictionariesValidationError) Reason

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

Cause function returns cause value.

func (DeleteDictionaryRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDictionaryRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDictionaryRequestValidationError) Field

Field function returns field value.

func (DeleteDictionaryRequestValidationError) Key

Key function returns key value.

func (DeleteDictionaryRequestValidationError) Reason

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

Cause function returns cause value.

func (DeleteDocumentValidationError) Error

Error satisfies the builtin error interface

func (DeleteDocumentValidationError) ErrorName

func (e DeleteDocumentValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteDocumentValidationError) Field

Field function returns field value.

func (DeleteDocumentValidationError) Key

Key function returns key value.

func (DeleteDocumentValidationError) Reason

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

Cause function returns cause value.

func (DeleteDocumentsValidationError) Error

Error satisfies the builtin error interface

func (DeleteDocumentsValidationError) ErrorName

func (e DeleteDocumentsValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteDocumentsValidationError) Field

Field function returns field value.

func (DeleteDocumentsValidationError) Key

Key function returns key value.

func (DeleteDocumentsValidationError) Reason

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

Cause function returns cause value.

func (DeleteMetadataRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteMetadataRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteMetadataRequestValidationError) Field

Field function returns field value.

func (DeleteMetadataRequestValidationError) Key

Key function returns key value.

func (DeleteMetadataRequestValidationError) Reason

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

Cause function returns cause value.

func (DictionaryResponseValidationError) Error

Error satisfies the builtin error interface

func (DictionaryResponseValidationError) ErrorName

ErrorName returns error name.

func (DictionaryResponseValidationError) Field

Field function returns field value.

func (DictionaryResponseValidationError) Key

Key function returns key value.

func (DictionaryResponseValidationError) Reason

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetFields

func (x *Document) GetFields() []byte

func (*Document) GetId

func (x *Document) GetId() string

func (*Document) GetTenant

func (x *Document) GetTenant() string

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

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

func (*Document) Reset

func (x *Document) Reset()

func (*Document) String

func (x *Document) String() string

func (*Document) Validate

func (m *Document) Validate() error

Validate checks the field values on Document with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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) Descriptor() ([]byte, []int)

Deprecated: Use Documents.ProtoReflect.Descriptor instead.

func (*Documents) GetRequests

func (x *Documents) GetRequests() []*Document

func (*Documents) GetTenant

func (x *Documents) GetTenant() string

func (*Documents) ProtoMessage

func (*Documents) ProtoMessage()

func (*Documents) ProtoReflect

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

func (*Documents) Reset

func (x *Documents) Reset()

func (*Documents) String

func (x *Documents) String() string

func (*Documents) Validate

func (m *Documents) Validate() error

Validate checks the field values on Documents with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetData

func (x *Event) GetData() *anypb.Any

func (*Event) GetType

func (x *Event) GetType() Event_Type

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

func (*Event) Validate

func (m *Event) Validate() error

Validate checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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

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

Error satisfies the builtin error interface

func (FuzzyQueryValidationError) ErrorName

func (e FuzzyQueryValidationError) ErrorName() string

ErrorName returns error name.

func (FuzzyQueryValidationError) Field

Field function returns field value.

func (FuzzyQueryValidationError) Key

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

Cause function returns cause value.

func (GeoBoundingBoxQueryValidationError) Error

Error satisfies the builtin error interface

func (GeoBoundingBoxQueryValidationError) ErrorName

ErrorName returns error name.

func (GeoBoundingBoxQueryValidationError) Field

Field function returns field value.

func (GeoBoundingBoxQueryValidationError) Key

Key function returns key value.

func (GeoBoundingBoxQueryValidationError) Reason

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

Cause function returns cause value.

func (GeoBoundingPolygonQueryValidationError) Error

Error satisfies the builtin error interface

func (GeoBoundingPolygonQueryValidationError) ErrorName

ErrorName returns error name.

func (GeoBoundingPolygonQueryValidationError) Field

Field function returns field value.

func (GeoBoundingPolygonQueryValidationError) Key

Key function returns key value.

func (GeoBoundingPolygonQueryValidationError) Reason

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

Cause function returns cause value.

func (GeoDistanceQueryValidationError) Error

Error satisfies the builtin error interface

func (GeoDistanceQueryValidationError) ErrorName

ErrorName returns error name.

func (GeoDistanceQueryValidationError) Field

Field function returns field value.

func (GeoDistanceQueryValidationError) Key

Key function returns key value.

func (GeoDistanceQueryValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use GeoPoint.ProtoReflect.Descriptor instead.

func (*GeoPoint) GetLat

func (x *GeoPoint) GetLat() float64

func (*GeoPoint) GetLon

func (x *GeoPoint) GetLon() float64

func (*GeoPoint) ProtoMessage

func (*GeoPoint) ProtoMessage()

func (*GeoPoint) ProtoReflect

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

func (*GeoPoint) Reset

func (x *GeoPoint) Reset()

func (*GeoPoint) String

func (x *GeoPoint) String() string

func (*GeoPoint) Validate

func (m *GeoPoint) Validate() error

Validate checks the field values on GeoPoint with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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

Cause function returns cause value.

func (GetMetadataRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMetadataRequestValidationError) ErrorName

ErrorName returns error name.

func (GetMetadataRequestValidationError) Field

Field function returns field value.

func (GetMetadataRequestValidationError) Key

Key function returns key value.

func (GetMetadataRequestValidationError) Reason

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

Cause function returns cause value.

func (JoinRequestValidationError) Error

Error satisfies the builtin error interface

func (JoinRequestValidationError) ErrorName

func (e JoinRequestValidationError) ErrorName() string

ErrorName returns error name.

func (JoinRequestValidationError) Field

Field function returns field value.

func (JoinRequestValidationError) Key

Key function returns key value.

func (JoinRequestValidationError) Reason

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

Cause function returns cause value.

func (LeaveRequestValidationError) Error

Error satisfies the builtin error interface

func (LeaveRequestValidationError) ErrorName

func (e LeaveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LeaveRequestValidationError) Field

Field function returns field value.

func (LeaveRequestValidationError) Key

Key function returns key value.

func (LeaveRequestValidationError) Reason

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

Cause function returns cause value.

func (LivenessCheckResponseValidationError) Error

Error satisfies the builtin error interface

func (LivenessCheckResponseValidationError) ErrorName

ErrorName returns error name.

func (LivenessCheckResponseValidationError) Field

Field function returns field value.

func (LivenessCheckResponseValidationError) Key

Key function returns key value.

func (LivenessCheckResponseValidationError) Reason

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

Cause function returns cause value.

func (MatchAllQueryValidationError) Error

Error satisfies the builtin error interface

func (MatchAllQueryValidationError) ErrorName

func (e MatchAllQueryValidationError) ErrorName() string

ErrorName returns error name.

func (MatchAllQueryValidationError) Field

Field function returns field value.

func (MatchAllQueryValidationError) Key

Key function returns key value.

func (MatchAllQueryValidationError) Reason

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

Cause function returns cause value.

func (MatchNoneQueryValidationError) Error

Error satisfies the builtin error interface

func (MatchNoneQueryValidationError) ErrorName

func (e MatchNoneQueryValidationError) ErrorName() string

ErrorName returns error name.

func (MatchNoneQueryValidationError) Field

Field function returns field value.

func (MatchNoneQueryValidationError) Key

Key function returns key value.

func (MatchNoneQueryValidationError) Reason

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

Cause function returns cause value.

func (MatchPhraseQueryValidationError) Error

Error satisfies the builtin error interface

func (MatchPhraseQueryValidationError) ErrorName

ErrorName returns error name.

func (MatchPhraseQueryValidationError) Field

Field function returns field value.

func (MatchPhraseQueryValidationError) Key

Key function returns key value.

func (MatchPhraseQueryValidationError) Reason

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

Error satisfies the builtin error interface

func (MatchQueryValidationError) ErrorName

func (e MatchQueryValidationError) ErrorName() string

ErrorName returns error name.

func (MatchQueryValidationError) Field

Field function returns field value.

func (MatchQueryValidationError) Key

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

func (MatchQuery_MatchOperator) EnumDescriptor deprecated

func (MatchQuery_MatchOperator) EnumDescriptor() ([]byte, []int)

Deprecated: Use MatchQuery_MatchOperator.Descriptor instead.

func (MatchQuery_MatchOperator) Number

func (MatchQuery_MatchOperator) String

func (x MatchQuery_MatchOperator) String() string

func (MatchQuery_MatchOperator) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetGrpcAddress

func (x *Metadata) GetGrpcAddress() string

func (*Metadata) GetHttpAddress

func (x *Metadata) GetHttpAddress() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) Validate

func (m *Metadata) Validate() error

Validate checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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

Cause function returns cause value.

func (MetricsResponseValidationError) Error

Error satisfies the builtin error interface

func (MetricsResponseValidationError) ErrorName

func (e MetricsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (MetricsResponseValidationError) Field

Field function returns field value.

func (MetricsResponseValidationError) Key

Key function returns key value.

func (MetricsResponseValidationError) Reason

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

Cause function returns cause value.

func (MultiPhraseQueryValidationError) Error

Error satisfies the builtin error interface

func (MultiPhraseQueryValidationError) ErrorName

ErrorName returns error name.

func (MultiPhraseQueryValidationError) Field

Field function returns field value.

func (MultiPhraseQueryValidationError) Key

Key function returns key value.

func (MultiPhraseQueryValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetMetadata

func (x *Node) GetMetadata() *Metadata

func (*Node) GetRaftAddress

func (x *Node) GetRaftAddress() string

func (*Node) GetState

func (x *Node) GetState() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

func (*Node) Validate

func (m *Node) Validate() error

Validate checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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

Cause function returns cause value.

func (NodeResponseValidationError) Error

Error satisfies the builtin error interface

func (NodeResponseValidationError) ErrorName

func (e NodeResponseValidationError) ErrorName() string

ErrorName returns error name.

func (NodeResponseValidationError) Field

Field function returns field value.

func (NodeResponseValidationError) Key

Key function returns key value.

func (NodeResponseValidationError) Reason

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

Cause function returns cause value.

func (NumericRangeQueryValidationError) Error

Error satisfies the builtin error interface

func (NumericRangeQueryValidationError) ErrorName

ErrorName returns error name.

func (NumericRangeQueryValidationError) Field

Field function returns field value.

func (NumericRangeQueryValidationError) Key

Key function returns key value.

func (NumericRangeQueryValidationError) Reason

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

Cause function returns cause value.

func (PrefixQueryValidationError) Error

Error satisfies the builtin error interface

func (PrefixQueryValidationError) ErrorName

func (e PrefixQueryValidationError) ErrorName() string

ErrorName returns error name.

func (PrefixQueryValidationError) Field

Field function returns field value.

func (PrefixQueryValidationError) Key

Key function returns key value.

func (PrefixQueryValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Query.ProtoReflect.Descriptor instead.

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

func (m *Query) GetQuery() isQuery_Query

func (*Query) GetRegexp

func (x *Query) GetRegexp() *RegexpQuery

func (*Query) GetTerm

func (x *Query) GetTerm() *TermQuery

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

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

func (*Query) Validate

func (m *Query) Validate() error

Validate checks the field values on Query with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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

Cause function returns cause value.

func (ReadinessCheckResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadinessCheckResponseValidationError) ErrorName

ErrorName returns error name.

func (ReadinessCheckResponseValidationError) Field

Field function returns field value.

func (ReadinessCheckResponseValidationError) Key

Key function returns key value.

func (ReadinessCheckResponseValidationError) Reason

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

Cause function returns cause value.

func (RegexpQueryValidationError) Error

Error satisfies the builtin error interface

func (RegexpQueryValidationError) ErrorName

func (e RegexpQueryValidationError) ErrorName() string

ErrorName returns error name.

func (RegexpQueryValidationError) Field

Field function returns field value.

func (RegexpQueryValidationError) Key

Key function returns key value.

func (RegexpQueryValidationError) Reason

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

Cause function returns cause value.

func (SearchMetadataRequestValidationError) Error

Error satisfies the builtin error interface

func (SearchMetadataRequestValidationError) ErrorName

ErrorName returns error name.

func (SearchMetadataRequestValidationError) Field

Field function returns field value.

func (SearchMetadataRequestValidationError) Key

Key function returns key value.

func (SearchMetadataRequestValidationError) Reason

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

Cause function returns cause value.

func (SearchRequestValidationError) Error

Error satisfies the builtin error interface

func (SearchRequestValidationError) ErrorName

func (e SearchRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SearchRequestValidationError) Field

Field function returns field value.

func (SearchRequestValidationError) Key

Key function returns key value.

func (SearchRequestValidationError) Reason

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

Cause function returns cause value.

func (SearchResponseValidationError) Error

Error satisfies the builtin error interface

func (SearchResponseValidationError) ErrorName

func (e SearchResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SearchResponseValidationError) Field

Field function returns field value.

func (SearchResponseValidationError) Key

Key function returns key value.

func (SearchResponseValidationError) Reason

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

Cause function returns cause value.

func (SetMetadataRequestValidationError) Error

Error satisfies the builtin error interface

func (SetMetadataRequestValidationError) ErrorName

ErrorName returns error name.

func (SetMetadataRequestValidationError) Field

Field function returns field value.

func (SetMetadataRequestValidationError) Key

Key function returns key value.

func (SetMetadataRequestValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use TermQuery.ProtoReflect.Descriptor instead.

func (*TermQuery) GetBoost

func (x *TermQuery) GetBoost() float64

func (*TermQuery) GetField

func (x *TermQuery) GetField() string

func (*TermQuery) GetTerm

func (x *TermQuery) GetTerm() string

func (*TermQuery) ProtoMessage

func (*TermQuery) ProtoMessage()

func (*TermQuery) ProtoReflect

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

func (*TermQuery) Reset

func (x *TermQuery) Reset()

func (*TermQuery) String

func (x *TermQuery) String() string

func (*TermQuery) Validate

func (m *TermQuery) Validate() error

Validate checks the field values on TermQuery with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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

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

Cause function returns cause value.

func (TermRangeQueryValidationError) Error

Error satisfies the builtin error interface

func (TermRangeQueryValidationError) ErrorName

func (e TermRangeQueryValidationError) ErrorName() string

ErrorName returns error name.

func (TermRangeQueryValidationError) Field

Field function returns field value.

func (TermRangeQueryValidationError) Key

Key function returns key value.

func (TermRangeQueryValidationError) Reason

Reason function returns reason value.

type UnimplementedDocsearchServer

type UnimplementedDocsearchServer struct {
}

UnimplementedDocsearchServer must be embedded to have forward compatible implementations.

func (UnimplementedDocsearchServer) BulkDelete

func (UnimplementedDocsearchServer) Cluster

func (UnimplementedDocsearchServer) Delete

func (UnimplementedDocsearchServer) DeleteDictionary

func (UnimplementedDocsearchServer) Insert

func (UnimplementedDocsearchServer) Join

func (UnimplementedDocsearchServer) Leave

func (UnimplementedDocsearchServer) LivenessCheck

func (UnimplementedDocsearchServer) Metrics

func (UnimplementedDocsearchServer) Node

func (UnimplementedDocsearchServer) ReadinessCheck

func (UnimplementedDocsearchServer) Search

func (UnimplementedDocsearchServer) Upload

func (UnimplementedDocsearchServer) UploadDictionary

func (UnimplementedDocsearchServer) Watch

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

Cause function returns cause value.

func (UserDictionaryRecordValidationError) Error

Error satisfies the builtin error interface

func (UserDictionaryRecordValidationError) ErrorName

ErrorName returns error name.

func (UserDictionaryRecordValidationError) Field

Field function returns field value.

func (UserDictionaryRecordValidationError) Key

Key function returns key value.

func (UserDictionaryRecordValidationError) Reason

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

Cause function returns cause value.

func (UserDictionaryRecordsValidationError) Error

Error satisfies the builtin error interface

func (UserDictionaryRecordsValidationError) ErrorName

ErrorName returns error name.

func (UserDictionaryRecordsValidationError) Field

Field function returns field value.

func (UserDictionaryRecordsValidationError) Key

Key function returns key value.

func (UserDictionaryRecordsValidationError) Reason

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

Cause function returns cause value.

func (WatchResponseValidationError) Error

Error satisfies the builtin error interface

func (WatchResponseValidationError) ErrorName

func (e WatchResponseValidationError) ErrorName() string

ErrorName returns error name.

func (WatchResponseValidationError) Field

Field function returns field value.

func (WatchResponseValidationError) Key

Key function returns key value.

func (WatchResponseValidationError) Reason

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

Cause function returns cause value.

func (WildcardQueryValidationError) Error

Error satisfies the builtin error interface

func (WildcardQueryValidationError) ErrorName

func (e WildcardQueryValidationError) ErrorName() string

ErrorName returns error name.

func (WildcardQueryValidationError) Field

Field function returns field value.

func (WildcardQueryValidationError) Key

Key function returns key value.

func (WildcardQueryValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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