protocol

package
v1.21.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConsistencyLevel_name = map[int32]string{
		0: "CONSISTENCY_LEVEL_UNSPECIFIED",
		1: "CONSISTENCY_LEVEL_ONE",
		2: "CONSISTENCY_LEVEL_QUORUM",
		3: "CONSISTENCY_LEVEL_ALL",
	}
	ConsistencyLevel_value = map[string]int32{
		"CONSISTENCY_LEVEL_UNSPECIFIED": 0,
		"CONSISTENCY_LEVEL_ONE":         1,
		"CONSISTENCY_LEVEL_QUORUM":      2,
		"CONSISTENCY_LEVEL_ALL":         3,
	}
)

Enum value maps for ConsistencyLevel.

View Source
var (
	Filters_Operator_name = map[int32]string{
		0:  "OPERATOR_UNSPECIFIED",
		1:  "OPERATOR_EQUAL",
		2:  "OPERATOR_NOT_EQUAL",
		3:  "OPERATOR_GREATER_THAN",
		4:  "OPERATOR_GREATER_THAN_EQUAL",
		5:  "OPERATOR_LESS_THAN",
		6:  "OPERATOR_LESS_THAN_EQUAL",
		7:  "OPERATOR_AND",
		8:  "OPERATOR_OR",
		9:  "OPERATOR_WITHIN_GEO_RANGE",
		10: "OPERATOR_LIKE",
		11: "OPERATOR_IS_NULL",
		12: "OPERATOR_CONTAINS_ANY",
		13: "OPERATOR_CONTAINS_ALL",
	}
	Filters_Operator_value = map[string]int32{
		"OPERATOR_UNSPECIFIED":        0,
		"OPERATOR_EQUAL":              1,
		"OPERATOR_NOT_EQUAL":          2,
		"OPERATOR_GREATER_THAN":       3,
		"OPERATOR_GREATER_THAN_EQUAL": 4,
		"OPERATOR_LESS_THAN":          5,
		"OPERATOR_LESS_THAN_EQUAL":    6,
		"OPERATOR_AND":                7,
		"OPERATOR_OR":                 8,
		"OPERATOR_WITHIN_GEO_RANGE":   9,
		"OPERATOR_LIKE":               10,
		"OPERATOR_IS_NULL":            11,
		"OPERATOR_CONTAINS_ANY":       12,
		"OPERATOR_CONTAINS_ALL":       13,
	}
)

Enum value maps for Filters_Operator.

View Source
var (
	HybridSearchParams_FusionType_name = map[int32]string{
		0: "FUSION_TYPE_UNSPECIFIED",
		1: "FUSION_TYPE_RANKED",
		2: "FUSION_TYPE_RELATIVE_SCORE",
	}
	HybridSearchParams_FusionType_value = map[string]int32{
		"FUSION_TYPE_UNSPECIFIED":    0,
		"FUSION_TYPE_RANKED":         1,
		"FUSION_TYPE_RELATIVE_SCORE": 2,
	}
)

Enum value maps for HybridSearchParams_FusionType.

View Source
var File_batch_proto protoreflect.FileDescriptor
View Source
var File_search_get_proto protoreflect.FileDescriptor
View Source
var File_weaviate_proto protoreflect.FileDescriptor
View Source
var Weaviate_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "weaviategrpc.Weaviate",
	HandlerType: (*WeaviateServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Search",
			Handler:    _Weaviate_Search_Handler,
		},
		{
			MethodName: "BatchObjects",
			Handler:    _Weaviate_BatchObjects_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "weaviate.proto",
}

Weaviate_ServiceDesc is the grpc.ServiceDesc for Weaviate service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterWeaviateServer

func RegisterWeaviateServer(s grpc.ServiceRegistrar, srv WeaviateServer)

Types

type AdditionalProperties

type AdditionalProperties struct {
	Uuid   bool `protobuf:"varint,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Vector bool `protobuf:"varint,2,opt,name=vector,proto3" json:"vector,omitempty"`
	// protolint:disable:next FIELD_NAMES_LOWER_SNAKE_CASE
	CreationTimeUnix bool `protobuf:"varint,3,opt,name=creationTimeUnix,proto3" json:"creationTimeUnix,omitempty"`
	// protolint:disable:next FIELD_NAMES_LOWER_SNAKE_CASE
	LastUpdateTimeUnix bool `protobuf:"varint,4,opt,name=lastUpdateTimeUnix,proto3" json:"lastUpdateTimeUnix,omitempty"`
	Distance           bool `protobuf:"varint,5,opt,name=distance,proto3" json:"distance,omitempty"`
	Certainty          bool `protobuf:"varint,6,opt,name=certainty,proto3" json:"certainty,omitempty"`
	Score              bool `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"`
	// protolint:disable:next FIELD_NAMES_LOWER_SNAKE_CASE
	ExplainScore bool `protobuf:"varint,8,opt,name=explainScore,proto3" json:"explainScore,omitempty"`
	IsConsistent bool `protobuf:"varint,9,opt,name=is_consistent,json=isConsistent,proto3" json:"is_consistent,omitempty"`
	// contains filtered or unexported fields
}

func (*AdditionalProperties) Descriptor deprecated

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

Deprecated: Use AdditionalProperties.ProtoReflect.Descriptor instead.

func (*AdditionalProperties) GetCertainty

func (x *AdditionalProperties) GetCertainty() bool

func (*AdditionalProperties) GetCreationTimeUnix

func (x *AdditionalProperties) GetCreationTimeUnix() bool

func (*AdditionalProperties) GetDistance

func (x *AdditionalProperties) GetDistance() bool

func (*AdditionalProperties) GetExplainScore

func (x *AdditionalProperties) GetExplainScore() bool

func (*AdditionalProperties) GetIsConsistent

func (x *AdditionalProperties) GetIsConsistent() bool

func (*AdditionalProperties) GetLastUpdateTimeUnix

func (x *AdditionalProperties) GetLastUpdateTimeUnix() bool

func (*AdditionalProperties) GetScore

func (x *AdditionalProperties) GetScore() bool

func (*AdditionalProperties) GetUuid

func (x *AdditionalProperties) GetUuid() bool

func (*AdditionalProperties) GetVector

func (x *AdditionalProperties) GetVector() bool

func (*AdditionalProperties) ProtoMessage

func (*AdditionalProperties) ProtoMessage()

func (*AdditionalProperties) ProtoReflect

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

func (*AdditionalProperties) Reset

func (x *AdditionalProperties) Reset()

func (*AdditionalProperties) String

func (x *AdditionalProperties) String() string

type BM25SearchParams

type BM25SearchParams struct {
	Query      string   `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*BM25SearchParams) Descriptor deprecated

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

Deprecated: Use BM25SearchParams.ProtoReflect.Descriptor instead.

func (*BM25SearchParams) GetProperties

func (x *BM25SearchParams) GetProperties() []string

func (*BM25SearchParams) GetQuery

func (x *BM25SearchParams) GetQuery() string

func (*BM25SearchParams) ProtoMessage

func (*BM25SearchParams) ProtoMessage()

func (*BM25SearchParams) ProtoReflect

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

func (*BM25SearchParams) Reset

func (x *BM25SearchParams) Reset()

func (*BM25SearchParams) String

func (x *BM25SearchParams) String() string

type BatchObject

type BatchObject struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Vector     []float32               `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`
	Properties *BatchObject_Properties `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"`
	ClassName  string                  `protobuf:"bytes,4,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
	Tenant     string                  `protobuf:"bytes,5,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObject) Descriptor deprecated

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

Deprecated: Use BatchObject.ProtoReflect.Descriptor instead.

func (*BatchObject) GetClassName

func (x *BatchObject) GetClassName() string

func (*BatchObject) GetProperties

func (x *BatchObject) GetProperties() *BatchObject_Properties

func (*BatchObject) GetTenant

func (x *BatchObject) GetTenant() string

func (*BatchObject) GetUuid

func (x *BatchObject) GetUuid() string

func (*BatchObject) GetVector

func (x *BatchObject) GetVector() []float32

func (*BatchObject) ProtoMessage

func (*BatchObject) ProtoMessage()

func (*BatchObject) ProtoReflect

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

func (*BatchObject) Reset

func (x *BatchObject) Reset()

func (*BatchObject) String

func (x *BatchObject) String() string

type BatchObject_Properties

type BatchObject_Properties struct {
	NonRefProperties *structpb.Struct `protobuf:"bytes,1,opt,name=non_ref_properties,json=nonRefProperties,proto3" json:"non_ref_properties,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	RefPropsSingle []*BatchObject_RefPropertiesSingleTarget `protobuf:"bytes,2,rep,name=ref_props_single,json=refPropsSingle,proto3" json:"ref_props_single,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	RefPropsMulti          []*BatchObject_RefPropertiesMultiTarget `protobuf:"bytes,3,rep,name=ref_props_multi,json=refPropsMulti,proto3" json:"ref_props_multi,omitempty"`
	NumberArrayProperties  []*NumberArrayProperties                `` /* 126-byte string literal not displayed */
	IntArrayProperties     []*IntArrayProperties                   `protobuf:"bytes,5,rep,name=int_array_properties,json=intArrayProperties,proto3" json:"int_array_properties,omitempty"`
	TextArrayProperties    []*TextArrayProperties                  `protobuf:"bytes,6,rep,name=text_array_properties,json=textArrayProperties,proto3" json:"text_array_properties,omitempty"`
	BooleanArrayProperties []*BooleanArrayProperties               `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BatchObject_Properties) Descriptor deprecated

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

Deprecated: Use BatchObject_Properties.ProtoReflect.Descriptor instead.

func (*BatchObject_Properties) GetBooleanArrayProperties

func (x *BatchObject_Properties) GetBooleanArrayProperties() []*BooleanArrayProperties

func (*BatchObject_Properties) GetIntArrayProperties

func (x *BatchObject_Properties) GetIntArrayProperties() []*IntArrayProperties

func (*BatchObject_Properties) GetNonRefProperties

func (x *BatchObject_Properties) GetNonRefProperties() *structpb.Struct

func (*BatchObject_Properties) GetNumberArrayProperties

func (x *BatchObject_Properties) GetNumberArrayProperties() []*NumberArrayProperties

func (*BatchObject_Properties) GetRefPropsMulti

func (*BatchObject_Properties) GetRefPropsSingle

func (*BatchObject_Properties) GetTextArrayProperties

func (x *BatchObject_Properties) GetTextArrayProperties() []*TextArrayProperties

func (*BatchObject_Properties) ProtoMessage

func (*BatchObject_Properties) ProtoMessage()

func (*BatchObject_Properties) ProtoReflect

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

func (*BatchObject_Properties) Reset

func (x *BatchObject_Properties) Reset()

func (*BatchObject_Properties) String

func (x *BatchObject_Properties) String() string

type BatchObject_RefPropertiesMultiTarget

type BatchObject_RefPropertiesMultiTarget struct {
	Uuids            []string `protobuf:"bytes,1,rep,name=uuids,proto3" json:"uuids,omitempty"`
	PropName         string   `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	TargetCollection string   `protobuf:"bytes,3,opt,name=target_collection,json=targetCollection,proto3" json:"target_collection,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObject_RefPropertiesMultiTarget) Descriptor deprecated

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

Deprecated: Use BatchObject_RefPropertiesMultiTarget.ProtoReflect.Descriptor instead.

func (*BatchObject_RefPropertiesMultiTarget) GetPropName

func (*BatchObject_RefPropertiesMultiTarget) GetTargetCollection

func (x *BatchObject_RefPropertiesMultiTarget) GetTargetCollection() string

func (*BatchObject_RefPropertiesMultiTarget) GetUuids

func (*BatchObject_RefPropertiesMultiTarget) ProtoMessage

func (*BatchObject_RefPropertiesMultiTarget) ProtoMessage()

func (*BatchObject_RefPropertiesMultiTarget) ProtoReflect

func (*BatchObject_RefPropertiesMultiTarget) Reset

func (*BatchObject_RefPropertiesMultiTarget) String

type BatchObject_RefPropertiesSingleTarget

type BatchObject_RefPropertiesSingleTarget struct {
	Uuids    []string `protobuf:"bytes,1,rep,name=uuids,proto3" json:"uuids,omitempty"`
	PropName string   `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObject_RefPropertiesSingleTarget) Descriptor deprecated

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

Deprecated: Use BatchObject_RefPropertiesSingleTarget.ProtoReflect.Descriptor instead.

func (*BatchObject_RefPropertiesSingleTarget) GetPropName

func (*BatchObject_RefPropertiesSingleTarget) GetUuids

func (*BatchObject_RefPropertiesSingleTarget) ProtoMessage

func (*BatchObject_RefPropertiesSingleTarget) ProtoMessage()

func (*BatchObject_RefPropertiesSingleTarget) ProtoReflect

func (*BatchObject_RefPropertiesSingleTarget) Reset

func (*BatchObject_RefPropertiesSingleTarget) String

type BatchObjectsReply

type BatchObjectsReply struct {
	Results []*BatchObjectsReply_BatchResults `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Took    float32                           `protobuf:"fixed32,2,opt,name=took,proto3" json:"took,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObjectsReply) Descriptor deprecated

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

Deprecated: Use BatchObjectsReply.ProtoReflect.Descriptor instead.

func (*BatchObjectsReply) GetResults

func (*BatchObjectsReply) GetTook

func (x *BatchObjectsReply) GetTook() float32

func (*BatchObjectsReply) ProtoMessage

func (*BatchObjectsReply) ProtoMessage()

func (*BatchObjectsReply) ProtoReflect

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

func (*BatchObjectsReply) Reset

func (x *BatchObjectsReply) Reset()

func (*BatchObjectsReply) String

func (x *BatchObjectsReply) String() string

type BatchObjectsReply_BatchResults

type BatchObjectsReply_BatchResults struct {
	Index int32  `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObjectsReply_BatchResults) Descriptor deprecated

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

Deprecated: Use BatchObjectsReply_BatchResults.ProtoReflect.Descriptor instead.

func (*BatchObjectsReply_BatchResults) GetError

func (x *BatchObjectsReply_BatchResults) GetError() string

func (*BatchObjectsReply_BatchResults) GetIndex

func (x *BatchObjectsReply_BatchResults) GetIndex() int32

func (*BatchObjectsReply_BatchResults) ProtoMessage

func (*BatchObjectsReply_BatchResults) ProtoMessage()

func (*BatchObjectsReply_BatchResults) ProtoReflect

func (*BatchObjectsReply_BatchResults) Reset

func (x *BatchObjectsReply_BatchResults) Reset()

func (*BatchObjectsReply_BatchResults) String

type BatchObjectsRequest

type BatchObjectsRequest struct {
	Objects          []*BatchObject    `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	ConsistencyLevel *ConsistencyLevel `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BatchObjectsRequest) Descriptor deprecated

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

Deprecated: Use BatchObjectsRequest.ProtoReflect.Descriptor instead.

func (*BatchObjectsRequest) GetConsistencyLevel

func (x *BatchObjectsRequest) GetConsistencyLevel() ConsistencyLevel

func (*BatchObjectsRequest) GetObjects

func (x *BatchObjectsRequest) GetObjects() []*BatchObject

func (*BatchObjectsRequest) ProtoMessage

func (*BatchObjectsRequest) ProtoMessage()

func (*BatchObjectsRequest) ProtoReflect

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

func (*BatchObjectsRequest) Reset

func (x *BatchObjectsRequest) Reset()

func (*BatchObjectsRequest) String

func (x *BatchObjectsRequest) String() string

type BooleanArray

type BooleanArray struct {
	Values []bool `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*BooleanArray) Descriptor deprecated

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

Deprecated: Use BooleanArray.ProtoReflect.Descriptor instead.

func (*BooleanArray) GetValues

func (x *BooleanArray) GetValues() []bool

func (*BooleanArray) ProtoMessage

func (*BooleanArray) ProtoMessage()

func (*BooleanArray) ProtoReflect

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

func (*BooleanArray) Reset

func (x *BooleanArray) Reset()

func (*BooleanArray) String

func (x *BooleanArray) String() string

type BooleanArrayProperties

type BooleanArrayProperties struct {
	Values   []bool `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	PropName string `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BooleanArrayProperties) Descriptor deprecated

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

Deprecated: Use BooleanArrayProperties.ProtoReflect.Descriptor instead.

func (*BooleanArrayProperties) GetPropName

func (x *BooleanArrayProperties) GetPropName() string

func (*BooleanArrayProperties) GetValues

func (x *BooleanArrayProperties) GetValues() []bool

func (*BooleanArrayProperties) ProtoMessage

func (*BooleanArrayProperties) ProtoMessage()

func (*BooleanArrayProperties) ProtoReflect

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

func (*BooleanArrayProperties) Reset

func (x *BooleanArrayProperties) Reset()

func (*BooleanArrayProperties) String

func (x *BooleanArrayProperties) String() string

type ConsistencyLevel

type ConsistencyLevel int32
const (
	ConsistencyLevel_CONSISTENCY_LEVEL_UNSPECIFIED ConsistencyLevel = 0
	ConsistencyLevel_CONSISTENCY_LEVEL_ONE         ConsistencyLevel = 1
	ConsistencyLevel_CONSISTENCY_LEVEL_QUORUM      ConsistencyLevel = 2
	ConsistencyLevel_CONSISTENCY_LEVEL_ALL         ConsistencyLevel = 3
)

func (ConsistencyLevel) Descriptor

func (ConsistencyLevel) Enum

func (ConsistencyLevel) EnumDescriptor deprecated

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

Deprecated: Use ConsistencyLevel.Descriptor instead.

func (ConsistencyLevel) Number

func (ConsistencyLevel) String

func (x ConsistencyLevel) String() string

func (ConsistencyLevel) Type

type Filters

type Filters struct {
	Operator Filters_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=weaviategrpc.Filters_Operator" json:"operator,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	On      []string   `protobuf:"bytes,2,rep,name=on,proto3" json:"on,omitempty"`
	Filters []*Filters `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// Types that are assignable to TestValue:
	//	*Filters_ValueText
	//	*Filters_ValueInt
	//	*Filters_ValueBoolean
	//	*Filters_ValueNumber
	//	*Filters_ValueTextArray
	//	*Filters_ValueIntArray
	//	*Filters_ValueBooleanArray
	//	*Filters_ValueNumberArray
	TestValue isFilters_TestValue `protobuf_oneof:"test_value"`
	// contains filtered or unexported fields
}

func (*Filters) Descriptor deprecated

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

Deprecated: Use Filters.ProtoReflect.Descriptor instead.

func (*Filters) GetFilters

func (x *Filters) GetFilters() []*Filters

func (*Filters) GetOn

func (x *Filters) GetOn() []string

func (*Filters) GetOperator

func (x *Filters) GetOperator() Filters_Operator

func (*Filters) GetTestValue

func (m *Filters) GetTestValue() isFilters_TestValue

func (*Filters) GetValueBoolean

func (x *Filters) GetValueBoolean() bool

func (*Filters) GetValueBooleanArray

func (x *Filters) GetValueBooleanArray() *BooleanArray

func (*Filters) GetValueInt

func (x *Filters) GetValueInt() int64

func (*Filters) GetValueIntArray

func (x *Filters) GetValueIntArray() *IntArray

func (*Filters) GetValueNumber

func (x *Filters) GetValueNumber() float32

func (*Filters) GetValueNumberArray

func (x *Filters) GetValueNumberArray() *NumberArray

func (*Filters) GetValueText

func (x *Filters) GetValueText() string

func (*Filters) GetValueTextArray

func (x *Filters) GetValueTextArray() *TextArray

func (*Filters) ProtoMessage

func (*Filters) ProtoMessage()

func (*Filters) ProtoReflect

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

func (*Filters) Reset

func (x *Filters) Reset()

func (*Filters) String

func (x *Filters) String() string

type Filters_Operator

type Filters_Operator int32
const (
	Filters_OPERATOR_UNSPECIFIED        Filters_Operator = 0
	Filters_OPERATOR_EQUAL              Filters_Operator = 1
	Filters_OPERATOR_NOT_EQUAL          Filters_Operator = 2
	Filters_OPERATOR_GREATER_THAN       Filters_Operator = 3
	Filters_OPERATOR_GREATER_THAN_EQUAL Filters_Operator = 4
	Filters_OPERATOR_LESS_THAN          Filters_Operator = 5
	Filters_OPERATOR_LESS_THAN_EQUAL    Filters_Operator = 6
	Filters_OPERATOR_AND                Filters_Operator = 7
	Filters_OPERATOR_OR                 Filters_Operator = 8
	Filters_OPERATOR_WITHIN_GEO_RANGE   Filters_Operator = 9
	Filters_OPERATOR_LIKE               Filters_Operator = 10
	Filters_OPERATOR_IS_NULL            Filters_Operator = 11
	Filters_OPERATOR_CONTAINS_ANY       Filters_Operator = 12
	Filters_OPERATOR_CONTAINS_ALL       Filters_Operator = 13
)

func (Filters_Operator) Descriptor

func (Filters_Operator) Enum

func (Filters_Operator) EnumDescriptor deprecated

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

Deprecated: Use Filters_Operator.Descriptor instead.

func (Filters_Operator) Number

func (Filters_Operator) String

func (x Filters_Operator) String() string

func (Filters_Operator) Type

type Filters_ValueBoolean

type Filters_ValueBoolean struct {
	ValueBoolean bool `protobuf:"varint,6,opt,name=value_boolean,json=valueBoolean,proto3,oneof"`
}

type Filters_ValueBooleanArray

type Filters_ValueBooleanArray struct {
	ValueBooleanArray *BooleanArray `protobuf:"bytes,11,opt,name=value_boolean_array,json=valueBooleanArray,proto3,oneof"`
}

type Filters_ValueInt

type Filters_ValueInt struct {
	ValueInt int64 `protobuf:"varint,5,opt,name=value_int,json=valueInt,proto3,oneof"`
}

type Filters_ValueIntArray

type Filters_ValueIntArray struct {
	ValueIntArray *IntArray `protobuf:"bytes,10,opt,name=value_int_array,json=valueIntArray,proto3,oneof"`
}

type Filters_ValueNumber

type Filters_ValueNumber struct {
	ValueNumber float32 `protobuf:"fixed32,7,opt,name=value_number,json=valueNumber,proto3,oneof"`
}

type Filters_ValueNumberArray

type Filters_ValueNumberArray struct {
	ValueNumberArray *NumberArray `protobuf:"bytes,12,opt,name=value_number_array,json=valueNumberArray,proto3,oneof"`
}

type Filters_ValueText

type Filters_ValueText struct {
	ValueText string `protobuf:"bytes,4,opt,name=value_text,json=valueText,proto3,oneof"`
}

type Filters_ValueTextArray

type Filters_ValueTextArray struct {
	ValueTextArray *TextArray `protobuf:"bytes,9,opt,name=value_text_array,json=valueTextArray,proto3,oneof"`
}

type GenerativeSearch

type GenerativeSearch struct {
	SingleResponsePrompt string   `protobuf:"bytes,1,opt,name=single_response_prompt,json=singleResponsePrompt,proto3" json:"single_response_prompt,omitempty"`
	GroupedResponseTask  string   `protobuf:"bytes,2,opt,name=grouped_response_task,json=groupedResponseTask,proto3" json:"grouped_response_task,omitempty"`
	GroupedProperties    []string `protobuf:"bytes,3,rep,name=grouped_properties,json=groupedProperties,proto3" json:"grouped_properties,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerativeSearch) Descriptor deprecated

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

Deprecated: Use GenerativeSearch.ProtoReflect.Descriptor instead.

func (*GenerativeSearch) GetGroupedProperties

func (x *GenerativeSearch) GetGroupedProperties() []string

func (*GenerativeSearch) GetGroupedResponseTask

func (x *GenerativeSearch) GetGroupedResponseTask() string

func (*GenerativeSearch) GetSingleResponsePrompt

func (x *GenerativeSearch) GetSingleResponsePrompt() string

func (*GenerativeSearch) ProtoMessage

func (*GenerativeSearch) ProtoMessage()

func (*GenerativeSearch) ProtoReflect

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

func (*GenerativeSearch) Reset

func (x *GenerativeSearch) Reset()

func (*GenerativeSearch) String

func (x *GenerativeSearch) String() string

type GroupBy

type GroupBy struct {

	// currently only supports one entry (eg just properties, no refs). But might
	// be extended in the future.
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Path            []string `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"`
	NumberOfGroups  int32    `protobuf:"varint,2,opt,name=number_of_groups,json=numberOfGroups,proto3" json:"number_of_groups,omitempty"`
	ObjectsPerGroup int32    `protobuf:"varint,3,opt,name=objects_per_group,json=objectsPerGroup,proto3" json:"objects_per_group,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupBy) Descriptor deprecated

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

Deprecated: Use GroupBy.ProtoReflect.Descriptor instead.

func (*GroupBy) GetNumberOfGroups

func (x *GroupBy) GetNumberOfGroups() int32

func (*GroupBy) GetObjectsPerGroup

func (x *GroupBy) GetObjectsPerGroup() int32

func (*GroupBy) GetPath

func (x *GroupBy) GetPath() []string

func (*GroupBy) ProtoMessage

func (*GroupBy) ProtoMessage()

func (*GroupBy) ProtoReflect

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

func (*GroupBy) Reset

func (x *GroupBy) Reset()

func (*GroupBy) String

func (x *GroupBy) String() string

type GroupByResults

type GroupByResults struct {
	Name            string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MinDistance     float32         `protobuf:"fixed32,2,opt,name=min_distance,json=minDistance,proto3" json:"min_distance,omitempty"`
	MaxDistance     float32         `protobuf:"fixed32,3,opt,name=max_distance,json=maxDistance,proto3" json:"max_distance,omitempty"`
	NumberOfObjects int64           `protobuf:"varint,4,opt,name=number_of_objects,json=numberOfObjects,proto3" json:"number_of_objects,omitempty"`
	Objects         []*SearchResult `protobuf:"bytes,5,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupByResults) Descriptor deprecated

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

Deprecated: Use GroupByResults.ProtoReflect.Descriptor instead.

func (*GroupByResults) GetMaxDistance

func (x *GroupByResults) GetMaxDistance() float32

func (*GroupByResults) GetMinDistance

func (x *GroupByResults) GetMinDistance() float32

func (*GroupByResults) GetName

func (x *GroupByResults) GetName() string

func (*GroupByResults) GetNumberOfObjects

func (x *GroupByResults) GetNumberOfObjects() int64

func (*GroupByResults) GetObjects

func (x *GroupByResults) GetObjects() []*SearchResult

func (*GroupByResults) ProtoMessage

func (*GroupByResults) ProtoMessage()

func (*GroupByResults) ProtoReflect

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

func (*GroupByResults) Reset

func (x *GroupByResults) Reset()

func (*GroupByResults) String

func (x *GroupByResults) String() string

type HybridSearchParams

type HybridSearchParams struct {
	Query      string   `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Vector     []float32                     `protobuf:"fixed32,3,rep,packed,name=vector,proto3" json:"vector,omitempty"`
	Alpha      float32                       `protobuf:"fixed32,4,opt,name=alpha,proto3" json:"alpha,omitempty"`
	FusionType HybridSearchParams_FusionType `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HybridSearchParams) Descriptor deprecated

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

Deprecated: Use HybridSearchParams.ProtoReflect.Descriptor instead.

func (*HybridSearchParams) GetAlpha

func (x *HybridSearchParams) GetAlpha() float32

func (*HybridSearchParams) GetFusionType

func (*HybridSearchParams) GetProperties

func (x *HybridSearchParams) GetProperties() []string

func (*HybridSearchParams) GetQuery

func (x *HybridSearchParams) GetQuery() string

func (*HybridSearchParams) GetVector

func (x *HybridSearchParams) GetVector() []float32

func (*HybridSearchParams) ProtoMessage

func (*HybridSearchParams) ProtoMessage()

func (*HybridSearchParams) ProtoReflect

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

func (*HybridSearchParams) Reset

func (x *HybridSearchParams) Reset()

func (*HybridSearchParams) String

func (x *HybridSearchParams) String() string

type HybridSearchParams_FusionType

type HybridSearchParams_FusionType int32
const (
	HybridSearchParams_FUSION_TYPE_UNSPECIFIED    HybridSearchParams_FusionType = 0
	HybridSearchParams_FUSION_TYPE_RANKED         HybridSearchParams_FusionType = 1
	HybridSearchParams_FUSION_TYPE_RELATIVE_SCORE HybridSearchParams_FusionType = 2
)

func (HybridSearchParams_FusionType) Descriptor

func (HybridSearchParams_FusionType) Enum

func (HybridSearchParams_FusionType) EnumDescriptor deprecated

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

Deprecated: Use HybridSearchParams_FusionType.Descriptor instead.

func (HybridSearchParams_FusionType) Number

func (HybridSearchParams_FusionType) String

func (HybridSearchParams_FusionType) Type

type IntArray

type IntArray struct {
	Values []int64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*IntArray) Descriptor deprecated

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

Deprecated: Use IntArray.ProtoReflect.Descriptor instead.

func (*IntArray) GetValues

func (x *IntArray) GetValues() []int64

func (*IntArray) ProtoMessage

func (*IntArray) ProtoMessage()

func (*IntArray) ProtoReflect

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

func (*IntArray) Reset

func (x *IntArray) Reset()

func (*IntArray) String

func (x *IntArray) String() string

type IntArrayProperties

type IntArrayProperties struct {
	Values   []int64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	PropName string  `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	// contains filtered or unexported fields
}

func (*IntArrayProperties) Descriptor deprecated

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

Deprecated: Use IntArrayProperties.ProtoReflect.Descriptor instead.

func (*IntArrayProperties) GetPropName

func (x *IntArrayProperties) GetPropName() string

func (*IntArrayProperties) GetValues

func (x *IntArrayProperties) GetValues() []int64

func (*IntArrayProperties) ProtoMessage

func (*IntArrayProperties) ProtoMessage()

func (*IntArrayProperties) ProtoReflect

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

func (*IntArrayProperties) Reset

func (x *IntArrayProperties) Reset()

func (*IntArrayProperties) String

func (x *IntArrayProperties) String() string

type NearAudioSearchParams

type NearAudioSearchParams struct {
	Audio     string   `protobuf:"bytes,1,opt,name=audio,proto3" json:"audio,omitempty"`
	Certainty *float64 `protobuf:"fixed64,2,opt,name=certainty,proto3,oneof" json:"certainty,omitempty"`
	Distance  *float64 `protobuf:"fixed64,3,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

func (*NearAudioSearchParams) Descriptor deprecated

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

Deprecated: Use NearAudioSearchParams.ProtoReflect.Descriptor instead.

func (*NearAudioSearchParams) GetAudio

func (x *NearAudioSearchParams) GetAudio() string

func (*NearAudioSearchParams) GetCertainty

func (x *NearAudioSearchParams) GetCertainty() float64

func (*NearAudioSearchParams) GetDistance

func (x *NearAudioSearchParams) GetDistance() float64

func (*NearAudioSearchParams) ProtoMessage

func (*NearAudioSearchParams) ProtoMessage()

func (*NearAudioSearchParams) ProtoReflect

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

func (*NearAudioSearchParams) Reset

func (x *NearAudioSearchParams) Reset()

func (*NearAudioSearchParams) String

func (x *NearAudioSearchParams) String() string

type NearImageSearchParams

type NearImageSearchParams struct {
	Image     string   `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Certainty *float64 `protobuf:"fixed64,2,opt,name=certainty,proto3,oneof" json:"certainty,omitempty"`
	Distance  *float64 `protobuf:"fixed64,3,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

func (*NearImageSearchParams) Descriptor deprecated

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

Deprecated: Use NearImageSearchParams.ProtoReflect.Descriptor instead.

func (*NearImageSearchParams) GetCertainty

func (x *NearImageSearchParams) GetCertainty() float64

func (*NearImageSearchParams) GetDistance

func (x *NearImageSearchParams) GetDistance() float64

func (*NearImageSearchParams) GetImage

func (x *NearImageSearchParams) GetImage() string

func (*NearImageSearchParams) ProtoMessage

func (*NearImageSearchParams) ProtoMessage()

func (*NearImageSearchParams) ProtoReflect

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

func (*NearImageSearchParams) Reset

func (x *NearImageSearchParams) Reset()

func (*NearImageSearchParams) String

func (x *NearImageSearchParams) String() string

type NearObjectParams

type NearObjectParams struct {
	Id        string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Certainty *float64 `protobuf:"fixed64,2,opt,name=certainty,proto3,oneof" json:"certainty,omitempty"`
	Distance  *float64 `protobuf:"fixed64,3,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

func (*NearObjectParams) Descriptor deprecated

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

Deprecated: Use NearObjectParams.ProtoReflect.Descriptor instead.

func (*NearObjectParams) GetCertainty

func (x *NearObjectParams) GetCertainty() float64

func (*NearObjectParams) GetDistance

func (x *NearObjectParams) GetDistance() float64

func (*NearObjectParams) GetId

func (x *NearObjectParams) GetId() string

func (*NearObjectParams) ProtoMessage

func (*NearObjectParams) ProtoMessage()

func (*NearObjectParams) ProtoReflect

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

func (*NearObjectParams) Reset

func (x *NearObjectParams) Reset()

func (*NearObjectParams) String

func (x *NearObjectParams) String() string

type NearTextSearchParams

type NearTextSearchParams struct {

	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Query     []string                   `protobuf:"bytes,1,rep,name=query,proto3" json:"query,omitempty"`
	Certainty *float64                   `protobuf:"fixed64,2,opt,name=certainty,proto3,oneof" json:"certainty,omitempty"`
	Distance  *float64                   `protobuf:"fixed64,3,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	MoveTo    *NearTextSearchParams_Move `protobuf:"bytes,4,opt,name=move_to,json=moveTo,proto3,oneof" json:"move_to,omitempty"`
	MoveAway  *NearTextSearchParams_Move `protobuf:"bytes,5,opt,name=move_away,json=moveAway,proto3,oneof" json:"move_away,omitempty"`
	// contains filtered or unexported fields
}

func (*NearTextSearchParams) Descriptor deprecated

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

Deprecated: Use NearTextSearchParams.ProtoReflect.Descriptor instead.

func (*NearTextSearchParams) GetCertainty

func (x *NearTextSearchParams) GetCertainty() float64

func (*NearTextSearchParams) GetDistance

func (x *NearTextSearchParams) GetDistance() float64

func (*NearTextSearchParams) GetMoveAway

func (*NearTextSearchParams) GetMoveTo

func (*NearTextSearchParams) GetQuery

func (x *NearTextSearchParams) GetQuery() []string

func (*NearTextSearchParams) ProtoMessage

func (*NearTextSearchParams) ProtoMessage()

func (*NearTextSearchParams) ProtoReflect

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

func (*NearTextSearchParams) Reset

func (x *NearTextSearchParams) Reset()

func (*NearTextSearchParams) String

func (x *NearTextSearchParams) String() string

type NearTextSearchParams_Move

type NearTextSearchParams_Move struct {
	Force    float32  `protobuf:"fixed32,1,opt,name=force,proto3" json:"force,omitempty"`
	Concepts []string `protobuf:"bytes,2,rep,name=concepts,proto3" json:"concepts,omitempty"`
	Uuids    []string `protobuf:"bytes,3,rep,name=uuids,proto3" json:"uuids,omitempty"`
	// contains filtered or unexported fields
}

func (*NearTextSearchParams_Move) Descriptor deprecated

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

Deprecated: Use NearTextSearchParams_Move.ProtoReflect.Descriptor instead.

func (*NearTextSearchParams_Move) GetConcepts

func (x *NearTextSearchParams_Move) GetConcepts() []string

func (*NearTextSearchParams_Move) GetForce

func (x *NearTextSearchParams_Move) GetForce() float32

func (*NearTextSearchParams_Move) GetUuids

func (x *NearTextSearchParams_Move) GetUuids() []string

func (*NearTextSearchParams_Move) ProtoMessage

func (*NearTextSearchParams_Move) ProtoMessage()

func (*NearTextSearchParams_Move) ProtoReflect

func (*NearTextSearchParams_Move) Reset

func (x *NearTextSearchParams_Move) Reset()

func (*NearTextSearchParams_Move) String

func (x *NearTextSearchParams_Move) String() string

type NearVectorParams

type NearVectorParams struct {

	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Vector    []float32 `protobuf:"fixed32,1,rep,packed,name=vector,proto3" json:"vector,omitempty"`
	Certainty *float64  `protobuf:"fixed64,2,opt,name=certainty,proto3,oneof" json:"certainty,omitempty"`
	Distance  *float64  `protobuf:"fixed64,3,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

func (*NearVectorParams) Descriptor deprecated

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

Deprecated: Use NearVectorParams.ProtoReflect.Descriptor instead.

func (*NearVectorParams) GetCertainty

func (x *NearVectorParams) GetCertainty() float64

func (*NearVectorParams) GetDistance

func (x *NearVectorParams) GetDistance() float64

func (*NearVectorParams) GetVector

func (x *NearVectorParams) GetVector() []float32

func (*NearVectorParams) ProtoMessage

func (*NearVectorParams) ProtoMessage()

func (*NearVectorParams) ProtoReflect

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

func (*NearVectorParams) Reset

func (x *NearVectorParams) Reset()

func (*NearVectorParams) String

func (x *NearVectorParams) String() string

type NearVideoSearchParams

type NearVideoSearchParams struct {
	Video     string   `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"`
	Certainty *float64 `protobuf:"fixed64,2,opt,name=certainty,proto3,oneof" json:"certainty,omitempty"`
	Distance  *float64 `protobuf:"fixed64,3,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

func (*NearVideoSearchParams) Descriptor deprecated

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

Deprecated: Use NearVideoSearchParams.ProtoReflect.Descriptor instead.

func (*NearVideoSearchParams) GetCertainty

func (x *NearVideoSearchParams) GetCertainty() float64

func (*NearVideoSearchParams) GetDistance

func (x *NearVideoSearchParams) GetDistance() float64

func (*NearVideoSearchParams) GetVideo

func (x *NearVideoSearchParams) GetVideo() string

func (*NearVideoSearchParams) ProtoMessage

func (*NearVideoSearchParams) ProtoMessage()

func (*NearVideoSearchParams) ProtoReflect

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

func (*NearVideoSearchParams) Reset

func (x *NearVideoSearchParams) Reset()

func (*NearVideoSearchParams) String

func (x *NearVideoSearchParams) String() string

type NumberArray

type NumberArray struct {
	Values []float64 `protobuf:"fixed64,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberArray) Descriptor deprecated

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

Deprecated: Use NumberArray.ProtoReflect.Descriptor instead.

func (*NumberArray) GetValues

func (x *NumberArray) GetValues() []float64

func (*NumberArray) ProtoMessage

func (*NumberArray) ProtoMessage()

func (*NumberArray) ProtoReflect

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

func (*NumberArray) Reset

func (x *NumberArray) Reset()

func (*NumberArray) String

func (x *NumberArray) String() string

type NumberArrayProperties

type NumberArrayProperties struct {
	Values   []float64 `protobuf:"fixed64,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	PropName string    `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberArrayProperties) Descriptor deprecated

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

Deprecated: Use NumberArrayProperties.ProtoReflect.Descriptor instead.

func (*NumberArrayProperties) GetPropName

func (x *NumberArrayProperties) GetPropName() string

func (*NumberArrayProperties) GetValues

func (x *NumberArrayProperties) GetValues() []float64

func (*NumberArrayProperties) ProtoMessage

func (*NumberArrayProperties) ProtoMessage()

func (*NumberArrayProperties) ProtoReflect

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

func (*NumberArrayProperties) Reset

func (x *NumberArrayProperties) Reset()

func (*NumberArrayProperties) String

func (x *NumberArrayProperties) String() string

type Properties

type Properties struct {
	NonRefProperties []string         `protobuf:"bytes,1,rep,name=non_ref_properties,json=nonRefProperties,proto3" json:"non_ref_properties,omitempty"`
	RefProperties    []*RefProperties `protobuf:"bytes,2,rep,name=ref_properties,json=refProperties,proto3" json:"ref_properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Properties) Descriptor deprecated

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

Deprecated: Use Properties.ProtoReflect.Descriptor instead.

func (*Properties) GetNonRefProperties

func (x *Properties) GetNonRefProperties() []string

func (*Properties) GetRefProperties

func (x *Properties) GetRefProperties() []*RefProperties

func (*Properties) ProtoMessage

func (*Properties) ProtoMessage()

func (*Properties) ProtoReflect

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

func (*Properties) Reset

func (x *Properties) Reset()

func (*Properties) String

func (x *Properties) String() string

type RefProperties

type RefProperties struct {
	ReferenceProperty string                `protobuf:"bytes,2,opt,name=reference_property,json=referenceProperty,proto3" json:"reference_property,omitempty"`
	LinkedProperties  *Properties           `protobuf:"bytes,3,opt,name=linked_properties,json=linkedProperties,proto3" json:"linked_properties,omitempty"`
	Metadata          *AdditionalProperties `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	WhichCollection   string                `protobuf:"bytes,5,opt,name=which_collection,json=whichCollection,proto3" json:"which_collection,omitempty"`
	// contains filtered or unexported fields
}

func (*RefProperties) Descriptor deprecated

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

Deprecated: Use RefProperties.ProtoReflect.Descriptor instead.

func (*RefProperties) GetLinkedProperties

func (x *RefProperties) GetLinkedProperties() *Properties

func (*RefProperties) GetMetadata

func (x *RefProperties) GetMetadata() *AdditionalProperties

func (*RefProperties) GetReferenceProperty

func (x *RefProperties) GetReferenceProperty() string

func (*RefProperties) GetWhichCollection

func (x *RefProperties) GetWhichCollection() string

func (*RefProperties) ProtoMessage

func (*RefProperties) ProtoMessage()

func (*RefProperties) ProtoReflect

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

func (*RefProperties) Reset

func (x *RefProperties) Reset()

func (*RefProperties) String

func (x *RefProperties) String() string

type ResultAdditionalProps

type ResultAdditionalProps struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Vector                    []float32 `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`
	CreationTimeUnix          int64     `protobuf:"varint,3,opt,name=creation_time_unix,json=creationTimeUnix,proto3" json:"creation_time_unix,omitempty"`
	CreationTimeUnixPresent   bool      `` /* 135-byte string literal not displayed */
	LastUpdateTimeUnix        int64     `protobuf:"varint,5,opt,name=last_update_time_unix,json=lastUpdateTimeUnix,proto3" json:"last_update_time_unix,omitempty"`
	LastUpdateTimeUnixPresent bool      `` /* 143-byte string literal not displayed */
	Distance                  float32   `protobuf:"fixed32,7,opt,name=distance,proto3" json:"distance,omitempty"`
	DistancePresent           bool      `protobuf:"varint,8,opt,name=distance_present,json=distancePresent,proto3" json:"distance_present,omitempty"`
	Certainty                 float32   `protobuf:"fixed32,9,opt,name=certainty,proto3" json:"certainty,omitempty"`
	CertaintyPresent          bool      `protobuf:"varint,10,opt,name=certainty_present,json=certaintyPresent,proto3" json:"certainty_present,omitempty"`
	Score                     float32   `protobuf:"fixed32,11,opt,name=score,proto3" json:"score,omitempty"`
	ScorePresent              bool      `protobuf:"varint,12,opt,name=score_present,json=scorePresent,proto3" json:"score_present,omitempty"`
	ExplainScore              string    `protobuf:"bytes,13,opt,name=explain_score,json=explainScore,proto3" json:"explain_score,omitempty"`
	ExplainScorePresent       bool      `protobuf:"varint,14,opt,name=explain_score_present,json=explainScorePresent,proto3" json:"explain_score_present,omitempty"`
	IsConsistent              *bool     `protobuf:"varint,15,opt,name=is_consistent,json=isConsistent,proto3,oneof" json:"is_consistent,omitempty"`
	Generative                string    `protobuf:"bytes,16,opt,name=generative,proto3" json:"generative,omitempty"`
	GenerativePresent         bool      `protobuf:"varint,17,opt,name=generative_present,json=generativePresent,proto3" json:"generative_present,omitempty"`
	// contains filtered or unexported fields
}

func (*ResultAdditionalProps) Descriptor deprecated

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

Deprecated: Use ResultAdditionalProps.ProtoReflect.Descriptor instead.

func (*ResultAdditionalProps) GetCertainty

func (x *ResultAdditionalProps) GetCertainty() float32

func (*ResultAdditionalProps) GetCertaintyPresent

func (x *ResultAdditionalProps) GetCertaintyPresent() bool

func (*ResultAdditionalProps) GetCreationTimeUnix

func (x *ResultAdditionalProps) GetCreationTimeUnix() int64

func (*ResultAdditionalProps) GetCreationTimeUnixPresent

func (x *ResultAdditionalProps) GetCreationTimeUnixPresent() bool

func (*ResultAdditionalProps) GetDistance

func (x *ResultAdditionalProps) GetDistance() float32

func (*ResultAdditionalProps) GetDistancePresent

func (x *ResultAdditionalProps) GetDistancePresent() bool

func (*ResultAdditionalProps) GetExplainScore

func (x *ResultAdditionalProps) GetExplainScore() string

func (*ResultAdditionalProps) GetExplainScorePresent

func (x *ResultAdditionalProps) GetExplainScorePresent() bool

func (*ResultAdditionalProps) GetGenerative

func (x *ResultAdditionalProps) GetGenerative() string

func (*ResultAdditionalProps) GetGenerativePresent

func (x *ResultAdditionalProps) GetGenerativePresent() bool

func (*ResultAdditionalProps) GetId

func (x *ResultAdditionalProps) GetId() string

func (*ResultAdditionalProps) GetIsConsistent

func (x *ResultAdditionalProps) GetIsConsistent() bool

func (*ResultAdditionalProps) GetLastUpdateTimeUnix

func (x *ResultAdditionalProps) GetLastUpdateTimeUnix() int64

func (*ResultAdditionalProps) GetLastUpdateTimeUnixPresent

func (x *ResultAdditionalProps) GetLastUpdateTimeUnixPresent() bool

func (*ResultAdditionalProps) GetScore

func (x *ResultAdditionalProps) GetScore() float32

func (*ResultAdditionalProps) GetScorePresent

func (x *ResultAdditionalProps) GetScorePresent() bool

func (*ResultAdditionalProps) GetVector

func (x *ResultAdditionalProps) GetVector() []float32

func (*ResultAdditionalProps) ProtoMessage

func (*ResultAdditionalProps) ProtoMessage()

func (*ResultAdditionalProps) ProtoReflect

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

func (*ResultAdditionalProps) Reset

func (x *ResultAdditionalProps) Reset()

func (*ResultAdditionalProps) String

func (x *ResultAdditionalProps) String() string

type ResultProperties

type ResultProperties struct {
	NonRefProperties       *structpb.Struct          `protobuf:"bytes,1,opt,name=non_ref_properties,json=nonRefProperties,proto3" json:"non_ref_properties,omitempty"`
	RefProps               []*ReturnRefProperties    `protobuf:"bytes,2,rep,name=ref_props,json=refProps,proto3" json:"ref_props,omitempty"`
	ClassName              string                    `protobuf:"bytes,3,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
	Metadata               *ResultAdditionalProps    `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	NumberArrayProperties  []*NumberArrayProperties  `` /* 126-byte string literal not displayed */
	IntArrayProperties     []*IntArrayProperties     `protobuf:"bytes,6,rep,name=int_array_properties,json=intArrayProperties,proto3" json:"int_array_properties,omitempty"`
	TextArrayProperties    []*TextArrayProperties    `protobuf:"bytes,7,rep,name=text_array_properties,json=textArrayProperties,proto3" json:"text_array_properties,omitempty"`
	BooleanArrayProperties []*BooleanArrayProperties `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResultProperties) Descriptor deprecated

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

Deprecated: Use ResultProperties.ProtoReflect.Descriptor instead.

func (*ResultProperties) GetBooleanArrayProperties

func (x *ResultProperties) GetBooleanArrayProperties() []*BooleanArrayProperties

func (*ResultProperties) GetClassName

func (x *ResultProperties) GetClassName() string

func (*ResultProperties) GetIntArrayProperties

func (x *ResultProperties) GetIntArrayProperties() []*IntArrayProperties

func (*ResultProperties) GetMetadata

func (x *ResultProperties) GetMetadata() *ResultAdditionalProps

func (*ResultProperties) GetNonRefProperties

func (x *ResultProperties) GetNonRefProperties() *structpb.Struct

func (*ResultProperties) GetNumberArrayProperties

func (x *ResultProperties) GetNumberArrayProperties() []*NumberArrayProperties

func (*ResultProperties) GetRefProps

func (x *ResultProperties) GetRefProps() []*ReturnRefProperties

func (*ResultProperties) GetTextArrayProperties

func (x *ResultProperties) GetTextArrayProperties() []*TextArrayProperties

func (*ResultProperties) ProtoMessage

func (*ResultProperties) ProtoMessage()

func (*ResultProperties) ProtoReflect

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

func (*ResultProperties) Reset

func (x *ResultProperties) Reset()

func (*ResultProperties) String

func (x *ResultProperties) String() string

type ReturnRefProperties

type ReturnRefProperties struct {
	Properties []*ResultProperties `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
	PropName   string              `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ReturnRefProperties) Descriptor deprecated

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

Deprecated: Use ReturnRefProperties.ProtoReflect.Descriptor instead.

func (*ReturnRefProperties) GetPropName

func (x *ReturnRefProperties) GetPropName() string

func (*ReturnRefProperties) GetProperties

func (x *ReturnRefProperties) GetProperties() []*ResultProperties

func (*ReturnRefProperties) ProtoMessage

func (*ReturnRefProperties) ProtoMessage()

func (*ReturnRefProperties) ProtoReflect

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

func (*ReturnRefProperties) Reset

func (x *ReturnRefProperties) Reset()

func (*ReturnRefProperties) String

func (x *ReturnRefProperties) String() string

type SearchReply

type SearchReply struct {
	Results                 []*SearchResult   `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Took                    float32           `protobuf:"fixed32,2,opt,name=took,proto3" json:"took,omitempty"`
	GenerativeGroupedResult string            `` /* 132-byte string literal not displayed */
	GroupByResults          []*GroupByResults `protobuf:"bytes,4,rep,name=group_by_results,json=groupByResults,proto3" json:"group_by_results,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchReply) Descriptor deprecated

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

Deprecated: Use SearchReply.ProtoReflect.Descriptor instead.

func (*SearchReply) GetGenerativeGroupedResult

func (x *SearchReply) GetGenerativeGroupedResult() string

func (*SearchReply) GetGroupByResults

func (x *SearchReply) GetGroupByResults() []*GroupByResults

func (*SearchReply) GetResults

func (x *SearchReply) GetResults() []*SearchResult

func (*SearchReply) GetTook

func (x *SearchReply) GetTook() float32

func (*SearchReply) ProtoMessage

func (*SearchReply) ProtoMessage()

func (*SearchReply) ProtoReflect

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

func (*SearchReply) Reset

func (x *SearchReply) Reset()

func (*SearchReply) String

func (x *SearchReply) String() string

type SearchRequest

type SearchRequest struct {
	ClassName            string                 `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
	Limit                uint32                 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	AdditionalProperties *AdditionalProperties  `protobuf:"bytes,3,opt,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	NearVector           *NearVectorParams      `protobuf:"bytes,4,opt,name=near_vector,json=nearVector,proto3" json:"near_vector,omitempty"`
	NearObject           *NearObjectParams      `protobuf:"bytes,5,opt,name=near_object,json=nearObject,proto3" json:"near_object,omitempty"`
	Properties           *Properties            `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"`
	HybridSearch         *HybridSearchParams    `protobuf:"bytes,7,opt,name=hybrid_search,json=hybridSearch,proto3" json:"hybrid_search,omitempty"`
	Bm25Search           *BM25SearchParams      `protobuf:"bytes,8,opt,name=bm25_search,json=bm25Search,proto3" json:"bm25_search,omitempty"`
	Offset               uint32                 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"`
	Autocut              uint32                 `protobuf:"varint,10,opt,name=autocut,proto3" json:"autocut,omitempty"`
	After                string                 `protobuf:"bytes,11,opt,name=after,proto3" json:"after,omitempty"`
	Tenant               string                 `protobuf:"bytes,12,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Filters              *Filters               `protobuf:"bytes,13,opt,name=filters,proto3,oneof" json:"filters,omitempty"`
	NearText             *NearTextSearchParams  `protobuf:"bytes,14,opt,name=near_text,json=nearText,proto3,oneof" json:"near_text,omitempty"`
	NearImage            *NearImageSearchParams `protobuf:"bytes,15,opt,name=near_image,json=nearImage,proto3,oneof" json:"near_image,omitempty"`
	NearAudio            *NearAudioSearchParams `protobuf:"bytes,16,opt,name=near_audio,json=nearAudio,proto3,oneof" json:"near_audio,omitempty"`
	NearVideo            *NearVideoSearchParams `protobuf:"bytes,17,opt,name=near_video,json=nearVideo,proto3,oneof" json:"near_video,omitempty"`
	ConsistencyLevel     *ConsistencyLevel      `` /* 152-byte string literal not displayed */
	Generative           *GenerativeSearch      `protobuf:"bytes,19,opt,name=generative,proto3,oneof" json:"generative,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	SortBy  []*SortBy `protobuf:"bytes,20,rep,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"`
	GroupBy *GroupBy  `protobuf:"bytes,21,opt,name=group_by,json=groupBy,proto3,oneof" json:"group_by,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

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

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetAdditionalProperties

func (x *SearchRequest) GetAdditionalProperties() *AdditionalProperties

func (*SearchRequest) GetAfter

func (x *SearchRequest) GetAfter() string

func (*SearchRequest) GetAutocut

func (x *SearchRequest) GetAutocut() uint32

func (*SearchRequest) GetBm25Search

func (x *SearchRequest) GetBm25Search() *BM25SearchParams

func (*SearchRequest) GetClassName

func (x *SearchRequest) GetClassName() string

func (*SearchRequest) GetConsistencyLevel

func (x *SearchRequest) GetConsistencyLevel() ConsistencyLevel

func (*SearchRequest) GetFilters

func (x *SearchRequest) GetFilters() *Filters

func (*SearchRequest) GetGenerative

func (x *SearchRequest) GetGenerative() *GenerativeSearch

func (*SearchRequest) GetGroupBy

func (x *SearchRequest) GetGroupBy() *GroupBy

func (*SearchRequest) GetHybridSearch

func (x *SearchRequest) GetHybridSearch() *HybridSearchParams

func (*SearchRequest) GetLimit

func (x *SearchRequest) GetLimit() uint32

func (*SearchRequest) GetNearAudio

func (x *SearchRequest) GetNearAudio() *NearAudioSearchParams

func (*SearchRequest) GetNearImage

func (x *SearchRequest) GetNearImage() *NearImageSearchParams

func (*SearchRequest) GetNearObject

func (x *SearchRequest) GetNearObject() *NearObjectParams

func (*SearchRequest) GetNearText

func (x *SearchRequest) GetNearText() *NearTextSearchParams

func (*SearchRequest) GetNearVector

func (x *SearchRequest) GetNearVector() *NearVectorParams

func (*SearchRequest) GetNearVideo

func (x *SearchRequest) GetNearVideo() *NearVideoSearchParams

func (*SearchRequest) GetOffset

func (x *SearchRequest) GetOffset() uint32

func (*SearchRequest) GetProperties

func (x *SearchRequest) GetProperties() *Properties

func (*SearchRequest) GetSortBy

func (x *SearchRequest) GetSortBy() []*SortBy

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

type SearchResult

type SearchResult struct {
	Properties           *ResultProperties      `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	AdditionalProperties *ResultAdditionalProps `protobuf:"bytes,2,opt,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResult) Descriptor deprecated

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

Deprecated: Use SearchResult.ProtoReflect.Descriptor instead.

func (*SearchResult) GetAdditionalProperties

func (x *SearchResult) GetAdditionalProperties() *ResultAdditionalProps

func (*SearchResult) GetProperties

func (x *SearchResult) GetProperties() *ResultProperties

func (*SearchResult) ProtoMessage

func (*SearchResult) ProtoMessage()

func (*SearchResult) ProtoReflect

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

func (*SearchResult) Reset

func (x *SearchResult) Reset()

func (*SearchResult) String

func (x *SearchResult) String() string

type SortBy

type SortBy struct {
	Ascending bool `protobuf:"varint,1,opt,name=ascending,proto3" json:"ascending,omitempty"`
	// currently only supports one entry (eg just properties, no refs). But the
	// weaviate datastructure already has paths in it and this makes it easily
	// extendable in the future
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Path []string `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*SortBy) Descriptor deprecated

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

Deprecated: Use SortBy.ProtoReflect.Descriptor instead.

func (*SortBy) GetAscending

func (x *SortBy) GetAscending() bool

func (*SortBy) GetPath

func (x *SortBy) GetPath() []string

func (*SortBy) ProtoMessage

func (*SortBy) ProtoMessage()

func (*SortBy) ProtoReflect

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

func (*SortBy) Reset

func (x *SortBy) Reset()

func (*SortBy) String

func (x *SortBy) String() string

type TextArray

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

func (*TextArray) Descriptor deprecated

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

Deprecated: Use TextArray.ProtoReflect.Descriptor instead.

func (*TextArray) GetValues

func (x *TextArray) GetValues() []string

func (*TextArray) ProtoMessage

func (*TextArray) ProtoMessage()

func (*TextArray) ProtoReflect

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

func (*TextArray) Reset

func (x *TextArray) Reset()

func (*TextArray) String

func (x *TextArray) String() string

type TextArrayProperties

type TextArrayProperties struct {
	Values   []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	PropName string   `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	// contains filtered or unexported fields
}

func (*TextArrayProperties) Descriptor deprecated

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

Deprecated: Use TextArrayProperties.ProtoReflect.Descriptor instead.

func (*TextArrayProperties) GetPropName

func (x *TextArrayProperties) GetPropName() string

func (*TextArrayProperties) GetValues

func (x *TextArrayProperties) GetValues() []string

func (*TextArrayProperties) ProtoMessage

func (*TextArrayProperties) ProtoMessage()

func (*TextArrayProperties) ProtoReflect

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

func (*TextArrayProperties) Reset

func (x *TextArrayProperties) Reset()

func (*TextArrayProperties) String

func (x *TextArrayProperties) String() string

type UnimplementedWeaviateServer

type UnimplementedWeaviateServer struct {
}

UnimplementedWeaviateServer must be embedded to have forward compatible implementations.

func (UnimplementedWeaviateServer) BatchObjects

func (UnimplementedWeaviateServer) Search

type UnsafeWeaviateServer

type UnsafeWeaviateServer interface {
	// contains filtered or unexported methods
}

UnsafeWeaviateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WeaviateServer will result in compilation errors.

type WeaviateClient

type WeaviateClient interface {
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchReply, error)
	BatchObjects(ctx context.Context, in *BatchObjectsRequest, opts ...grpc.CallOption) (*BatchObjectsReply, error)
}

WeaviateClient is the client API for Weaviate 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 NewWeaviateClient

func NewWeaviateClient(cc grpc.ClientConnInterface) WeaviateClient

type WeaviateServer

type WeaviateServer interface {
	Search(context.Context, *SearchRequest) (*SearchReply, error)
	BatchObjects(context.Context, *BatchObjectsRequest) (*BatchObjectsReply, error)
	// contains filtered or unexported methods
}

WeaviateServer is the server API for Weaviate service. All implementations must embed UnimplementedWeaviateServer for forward compatibility

Jump to

Keyboard shortcuts

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