mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
1213 lines
43 KiB
Go
1213 lines
43 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: service_msg.proto
|
|
|
|
package servicepb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
|
|
schemapb "github.com/zilliztech/milvus-distributed/internal/proto/schemapb"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
//*
|
|
// @brief Placeholder value types
|
|
type PlaceholderType int32
|
|
|
|
const (
|
|
PlaceholderType_NONE PlaceholderType = 0
|
|
PlaceholderType_VECTOR_BINARY PlaceholderType = 100
|
|
PlaceholderType_VECTOR_FLOAT PlaceholderType = 101
|
|
)
|
|
|
|
var PlaceholderType_name = map[int32]string{
|
|
0: "NONE",
|
|
100: "VECTOR_BINARY",
|
|
101: "VECTOR_FLOAT",
|
|
}
|
|
|
|
var PlaceholderType_value = map[string]int32{
|
|
"NONE": 0,
|
|
"VECTOR_BINARY": 100,
|
|
"VECTOR_FLOAT": 101,
|
|
}
|
|
|
|
func (x PlaceholderType) String() string {
|
|
return proto.EnumName(PlaceholderType_name, int32(x))
|
|
}
|
|
|
|
func (PlaceholderType) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{0}
|
|
}
|
|
|
|
//*
|
|
// @brief Collection name
|
|
type CollectionName struct {
|
|
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CollectionName) Reset() { *m = CollectionName{} }
|
|
func (m *CollectionName) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionName) ProtoMessage() {}
|
|
func (*CollectionName) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{0}
|
|
}
|
|
|
|
func (m *CollectionName) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CollectionName.Unmarshal(m, b)
|
|
}
|
|
func (m *CollectionName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CollectionName.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CollectionName) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CollectionName.Merge(m, src)
|
|
}
|
|
func (m *CollectionName) XXX_Size() int {
|
|
return xxx_messageInfo_CollectionName.Size(m)
|
|
}
|
|
func (m *CollectionName) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CollectionName.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CollectionName proto.InternalMessageInfo
|
|
|
|
func (m *CollectionName) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//*
|
|
// @brief Partition name
|
|
type PartitionName struct {
|
|
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PartitionName) Reset() { *m = PartitionName{} }
|
|
func (m *PartitionName) String() string { return proto.CompactTextString(m) }
|
|
func (*PartitionName) ProtoMessage() {}
|
|
func (*PartitionName) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{1}
|
|
}
|
|
|
|
func (m *PartitionName) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PartitionName.Unmarshal(m, b)
|
|
}
|
|
func (m *PartitionName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PartitionName.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PartitionName) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PartitionName.Merge(m, src)
|
|
}
|
|
func (m *PartitionName) XXX_Size() int {
|
|
return xxx_messageInfo_PartitionName.Size(m)
|
|
}
|
|
func (m *PartitionName) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PartitionName.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PartitionName proto.InternalMessageInfo
|
|
|
|
func (m *PartitionName) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PartitionName) GetTag() string {
|
|
if m != nil {
|
|
return m.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//*
|
|
// @brief Row batch for Insert call
|
|
type RowBatch struct {
|
|
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
PartitionTag string `protobuf:"bytes,2,opt,name=partition_tag,json=partitionTag,proto3" json:"partition_tag,omitempty"`
|
|
RowData []*commonpb.Blob `protobuf:"bytes,3,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"`
|
|
HashKeys []uint32 `protobuf:"varint,4,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RowBatch) Reset() { *m = RowBatch{} }
|
|
func (m *RowBatch) String() string { return proto.CompactTextString(m) }
|
|
func (*RowBatch) ProtoMessage() {}
|
|
func (*RowBatch) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{2}
|
|
}
|
|
|
|
func (m *RowBatch) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RowBatch.Unmarshal(m, b)
|
|
}
|
|
func (m *RowBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RowBatch.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RowBatch) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RowBatch.Merge(m, src)
|
|
}
|
|
func (m *RowBatch) XXX_Size() int {
|
|
return xxx_messageInfo_RowBatch.Size(m)
|
|
}
|
|
func (m *RowBatch) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RowBatch.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RowBatch proto.InternalMessageInfo
|
|
|
|
func (m *RowBatch) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RowBatch) GetPartitionTag() string {
|
|
if m != nil {
|
|
return m.PartitionTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RowBatch) GetRowData() []*commonpb.Blob {
|
|
if m != nil {
|
|
return m.RowData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RowBatch) GetHashKeys() []uint32 {
|
|
if m != nil {
|
|
return m.HashKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Placeholder value in DSL
|
|
type PlaceholderValue struct {
|
|
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
Type PlaceholderType `protobuf:"varint,2,opt,name=type,proto3,enum=milvus.proto.service.PlaceholderType" json:"type,omitempty"`
|
|
// values is a 2d-array, every array contains a vector
|
|
Values [][]byte `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PlaceholderValue) Reset() { *m = PlaceholderValue{} }
|
|
func (m *PlaceholderValue) String() string { return proto.CompactTextString(m) }
|
|
func (*PlaceholderValue) ProtoMessage() {}
|
|
func (*PlaceholderValue) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{3}
|
|
}
|
|
|
|
func (m *PlaceholderValue) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PlaceholderValue.Unmarshal(m, b)
|
|
}
|
|
func (m *PlaceholderValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PlaceholderValue.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PlaceholderValue) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PlaceholderValue.Merge(m, src)
|
|
}
|
|
func (m *PlaceholderValue) XXX_Size() int {
|
|
return xxx_messageInfo_PlaceholderValue.Size(m)
|
|
}
|
|
func (m *PlaceholderValue) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PlaceholderValue.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PlaceholderValue proto.InternalMessageInfo
|
|
|
|
func (m *PlaceholderValue) GetTag() string {
|
|
if m != nil {
|
|
return m.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PlaceholderValue) GetType() PlaceholderType {
|
|
if m != nil {
|
|
return m.Type
|
|
}
|
|
return PlaceholderType_NONE
|
|
}
|
|
|
|
func (m *PlaceholderValue) GetValues() [][]byte {
|
|
if m != nil {
|
|
return m.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PlaceholderGroup struct {
|
|
Placeholders []*PlaceholderValue `protobuf:"bytes,1,rep,name=placeholders,proto3" json:"placeholders,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PlaceholderGroup) Reset() { *m = PlaceholderGroup{} }
|
|
func (m *PlaceholderGroup) String() string { return proto.CompactTextString(m) }
|
|
func (*PlaceholderGroup) ProtoMessage() {}
|
|
func (*PlaceholderGroup) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{4}
|
|
}
|
|
|
|
func (m *PlaceholderGroup) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PlaceholderGroup.Unmarshal(m, b)
|
|
}
|
|
func (m *PlaceholderGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PlaceholderGroup.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PlaceholderGroup) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PlaceholderGroup.Merge(m, src)
|
|
}
|
|
func (m *PlaceholderGroup) XXX_Size() int {
|
|
return xxx_messageInfo_PlaceholderGroup.Size(m)
|
|
}
|
|
func (m *PlaceholderGroup) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PlaceholderGroup.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PlaceholderGroup proto.InternalMessageInfo
|
|
|
|
func (m *PlaceholderGroup) GetPlaceholders() []*PlaceholderValue {
|
|
if m != nil {
|
|
return m.Placeholders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Query for Search call
|
|
type Query struct {
|
|
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
PartitionTags []string `protobuf:"bytes,2,rep,name=partition_tags,json=partitionTags,proto3" json:"partition_tags,omitempty"`
|
|
Dsl string `protobuf:"bytes,3,opt,name=dsl,proto3" json:"dsl,omitempty"`
|
|
// placeholder_group contains the serialized PlaceholderGroup
|
|
PlaceholderGroup []byte `protobuf:"bytes,4,opt,name=placeholder_group,json=placeholderGroup,proto3" json:"placeholder_group,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Query) Reset() { *m = Query{} }
|
|
func (m *Query) String() string { return proto.CompactTextString(m) }
|
|
func (*Query) ProtoMessage() {}
|
|
func (*Query) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{5}
|
|
}
|
|
|
|
func (m *Query) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Query.Unmarshal(m, b)
|
|
}
|
|
func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Query.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Query) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Query.Merge(m, src)
|
|
}
|
|
func (m *Query) XXX_Size() int {
|
|
return xxx_messageInfo_Query.Size(m)
|
|
}
|
|
func (m *Query) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Query.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Query proto.InternalMessageInfo
|
|
|
|
func (m *Query) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Query) GetPartitionTags() []string {
|
|
if m != nil {
|
|
return m.PartitionTags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Query) GetDsl() string {
|
|
if m != nil {
|
|
return m.Dsl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Query) GetPlaceholderGroup() []byte {
|
|
if m != nil {
|
|
return m.PlaceholderGroup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief String response
|
|
type StringResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StringResponse) Reset() { *m = StringResponse{} }
|
|
func (m *StringResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*StringResponse) ProtoMessage() {}
|
|
func (*StringResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{6}
|
|
}
|
|
|
|
func (m *StringResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_StringResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *StringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_StringResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *StringResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StringResponse.Merge(m, src)
|
|
}
|
|
func (m *StringResponse) XXX_Size() int {
|
|
return xxx_messageInfo_StringResponse.Size(m)
|
|
}
|
|
func (m *StringResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StringResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StringResponse proto.InternalMessageInfo
|
|
|
|
func (m *StringResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StringResponse) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//*
|
|
// @brief Bool response
|
|
type BoolResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BoolResponse) Reset() { *m = BoolResponse{} }
|
|
func (m *BoolResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*BoolResponse) ProtoMessage() {}
|
|
func (*BoolResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{7}
|
|
}
|
|
|
|
func (m *BoolResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BoolResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BoolResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BoolResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BoolResponse.Merge(m, src)
|
|
}
|
|
func (m *BoolResponse) XXX_Size() int {
|
|
return xxx_messageInfo_BoolResponse.Size(m)
|
|
}
|
|
func (m *BoolResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BoolResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BoolResponse proto.InternalMessageInfo
|
|
|
|
func (m *BoolResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BoolResponse) GetValue() bool {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return false
|
|
}
|
|
|
|
//*
|
|
// @brief String list response
|
|
type StringListResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StringListResponse) Reset() { *m = StringListResponse{} }
|
|
func (m *StringListResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*StringListResponse) ProtoMessage() {}
|
|
func (*StringListResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{8}
|
|
}
|
|
|
|
func (m *StringListResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_StringListResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *StringListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_StringListResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *StringListResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StringListResponse.Merge(m, src)
|
|
}
|
|
func (m *StringListResponse) XXX_Size() int {
|
|
return xxx_messageInfo_StringListResponse.Size(m)
|
|
}
|
|
func (m *StringListResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StringListResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StringListResponse proto.InternalMessageInfo
|
|
|
|
func (m *StringListResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StringListResponse) GetValues() []string {
|
|
if m != nil {
|
|
return m.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Integer list response
|
|
type IntegerListResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Values []int64 `protobuf:"varint,2,rep,packed,name=values,proto3" json:"values,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IntegerListResponse) Reset() { *m = IntegerListResponse{} }
|
|
func (m *IntegerListResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*IntegerListResponse) ProtoMessage() {}
|
|
func (*IntegerListResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{9}
|
|
}
|
|
|
|
func (m *IntegerListResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IntegerListResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *IntegerListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IntegerListResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IntegerListResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IntegerListResponse.Merge(m, src)
|
|
}
|
|
func (m *IntegerListResponse) XXX_Size() int {
|
|
return xxx_messageInfo_IntegerListResponse.Size(m)
|
|
}
|
|
func (m *IntegerListResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IntegerListResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IntegerListResponse proto.InternalMessageInfo
|
|
|
|
func (m *IntegerListResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IntegerListResponse) GetValues() []int64 {
|
|
if m != nil {
|
|
return m.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Range response, [begin, end)
|
|
type IntegerRangeResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Begin int64 `protobuf:"varint,2,opt,name=begin,proto3" json:"begin,omitempty"`
|
|
End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IntegerRangeResponse) Reset() { *m = IntegerRangeResponse{} }
|
|
func (m *IntegerRangeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*IntegerRangeResponse) ProtoMessage() {}
|
|
func (*IntegerRangeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{10}
|
|
}
|
|
|
|
func (m *IntegerRangeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IntegerRangeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *IntegerRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IntegerRangeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IntegerRangeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IntegerRangeResponse.Merge(m, src)
|
|
}
|
|
func (m *IntegerRangeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_IntegerRangeResponse.Size(m)
|
|
}
|
|
func (m *IntegerRangeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IntegerRangeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IntegerRangeResponse proto.InternalMessageInfo
|
|
|
|
func (m *IntegerRangeResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IntegerRangeResponse) GetBegin() int64 {
|
|
if m != nil {
|
|
return m.Begin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IntegerRangeResponse) GetEnd() int64 {
|
|
if m != nil {
|
|
return m.End
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//*
|
|
// @brief Response of DescribeCollection
|
|
type CollectionDescription struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
Statistics []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=statistics,proto3" json:"statistics,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CollectionDescription) Reset() { *m = CollectionDescription{} }
|
|
func (m *CollectionDescription) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionDescription) ProtoMessage() {}
|
|
func (*CollectionDescription) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{11}
|
|
}
|
|
|
|
func (m *CollectionDescription) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CollectionDescription.Unmarshal(m, b)
|
|
}
|
|
func (m *CollectionDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CollectionDescription.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CollectionDescription) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CollectionDescription.Merge(m, src)
|
|
}
|
|
func (m *CollectionDescription) XXX_Size() int {
|
|
return xxx_messageInfo_CollectionDescription.Size(m)
|
|
}
|
|
func (m *CollectionDescription) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CollectionDescription.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CollectionDescription proto.InternalMessageInfo
|
|
|
|
func (m *CollectionDescription) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionDescription) GetSchema() *schemapb.CollectionSchema {
|
|
if m != nil {
|
|
return m.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionDescription) GetStatistics() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Statistics
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Response of DescribePartition
|
|
type PartitionDescription struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Name *PartitionName `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Statistics []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=statistics,proto3" json:"statistics,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PartitionDescription) Reset() { *m = PartitionDescription{} }
|
|
func (m *PartitionDescription) String() string { return proto.CompactTextString(m) }
|
|
func (*PartitionDescription) ProtoMessage() {}
|
|
func (*PartitionDescription) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{12}
|
|
}
|
|
|
|
func (m *PartitionDescription) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PartitionDescription.Unmarshal(m, b)
|
|
}
|
|
func (m *PartitionDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PartitionDescription.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PartitionDescription) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PartitionDescription.Merge(m, src)
|
|
}
|
|
func (m *PartitionDescription) XXX_Size() int {
|
|
return xxx_messageInfo_PartitionDescription.Size(m)
|
|
}
|
|
func (m *PartitionDescription) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PartitionDescription.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PartitionDescription proto.InternalMessageInfo
|
|
|
|
func (m *PartitionDescription) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PartitionDescription) GetName() *PartitionName {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PartitionDescription) GetStatistics() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Statistics
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Response of GetSysConfig
|
|
type SysConfigResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
|
|
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SysConfigResponse) Reset() { *m = SysConfigResponse{} }
|
|
func (m *SysConfigResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SysConfigResponse) ProtoMessage() {}
|
|
func (*SysConfigResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{13}
|
|
}
|
|
|
|
func (m *SysConfigResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SysConfigResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SysConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SysConfigResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SysConfigResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SysConfigResponse.Merge(m, src)
|
|
}
|
|
func (m *SysConfigResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SysConfigResponse.Size(m)
|
|
}
|
|
func (m *SysConfigResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SysConfigResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SysConfigResponse proto.InternalMessageInfo
|
|
|
|
func (m *SysConfigResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SysConfigResponse) GetKeys() []string {
|
|
if m != nil {
|
|
return m.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SysConfigResponse) GetValues() []string {
|
|
if m != nil {
|
|
return m.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Entities hit by query
|
|
type Hits struct {
|
|
IDs []int64 `protobuf:"varint,1,rep,packed,name=IDs,proto3" json:"IDs,omitempty"`
|
|
RowData [][]byte `protobuf:"bytes,2,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"`
|
|
Scores []float32 `protobuf:"fixed32,3,rep,packed,name=scores,proto3" json:"scores,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Hits) Reset() { *m = Hits{} }
|
|
func (m *Hits) String() string { return proto.CompactTextString(m) }
|
|
func (*Hits) ProtoMessage() {}
|
|
func (*Hits) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{14}
|
|
}
|
|
|
|
func (m *Hits) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Hits.Unmarshal(m, b)
|
|
}
|
|
func (m *Hits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Hits.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Hits) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Hits.Merge(m, src)
|
|
}
|
|
func (m *Hits) XXX_Size() int {
|
|
return xxx_messageInfo_Hits.Size(m)
|
|
}
|
|
func (m *Hits) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Hits.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Hits proto.InternalMessageInfo
|
|
|
|
func (m *Hits) GetIDs() []int64 {
|
|
if m != nil {
|
|
return m.IDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Hits) GetRowData() [][]byte {
|
|
if m != nil {
|
|
return m.RowData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Hits) GetScores() []float32 {
|
|
if m != nil {
|
|
return m.Scores
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Query result
|
|
type QueryResult struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Hits [][]byte `protobuf:"bytes,2,rep,name=hits,proto3" json:"hits,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *QueryResult) Reset() { *m = QueryResult{} }
|
|
func (m *QueryResult) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryResult) ProtoMessage() {}
|
|
func (*QueryResult) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{15}
|
|
}
|
|
|
|
func (m *QueryResult) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_QueryResult.Unmarshal(m, b)
|
|
}
|
|
func (m *QueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_QueryResult.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *QueryResult) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QueryResult.Merge(m, src)
|
|
}
|
|
func (m *QueryResult) XXX_Size() int {
|
|
return xxx_messageInfo_QueryResult.Size(m)
|
|
}
|
|
func (m *QueryResult) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QueryResult.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QueryResult proto.InternalMessageInfo
|
|
|
|
func (m *QueryResult) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryResult) GetHits() [][]byte {
|
|
if m != nil {
|
|
return m.Hits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//*
|
|
// @brief Index params
|
|
// @collection_name: target collection
|
|
// @field_name: target field
|
|
// @index_name: a name for index provided by user, unique within this field
|
|
// @extra_params: index parameters in json format
|
|
// for vector field:
|
|
// extra_params["index_type"] = one of the values: FLAT, IVF_LAT, IVF_SQ8, NSGMIX, IVFSQ8H,
|
|
// PQ, HNSW, HNSW_SQ8NM, ANNOY
|
|
// extra_params["metric_type"] = one of the values: L2, IP, HAMMING, JACCARD, TANIMOTO
|
|
// SUBSTRUCTURE, SUPERSTRUCTURE
|
|
// extra_params["params"] = extra parameters for index, for example ivflat: {nlist: 2048}
|
|
// for structured field:
|
|
// extra_params["index_type"] = one of the values: SORTED
|
|
type IndexParam struct {
|
|
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
|
|
ExtraParams []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IndexParam) Reset() { *m = IndexParam{} }
|
|
func (m *IndexParam) String() string { return proto.CompactTextString(m) }
|
|
func (*IndexParam) ProtoMessage() {}
|
|
func (*IndexParam) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{16}
|
|
}
|
|
|
|
func (m *IndexParam) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IndexParam.Unmarshal(m, b)
|
|
}
|
|
func (m *IndexParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IndexParam.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IndexParam) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IndexParam.Merge(m, src)
|
|
}
|
|
func (m *IndexParam) XXX_Size() int {
|
|
return xxx_messageInfo_IndexParam.Size(m)
|
|
}
|
|
func (m *IndexParam) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IndexParam.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IndexParam proto.InternalMessageInfo
|
|
|
|
func (m *IndexParam) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IndexParam) GetFieldName() string {
|
|
if m != nil {
|
|
return m.FieldName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IndexParam) GetExtraParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.ExtraParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeIndexRequest struct {
|
|
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeIndexRequest) Reset() { *m = DescribeIndexRequest{} }
|
|
func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeIndexRequest) ProtoMessage() {}
|
|
func (*DescribeIndexRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{17}
|
|
}
|
|
|
|
func (m *DescribeIndexRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeIndexRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeIndexRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeIndexRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeIndexRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeIndexRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeIndexRequest.Size(m)
|
|
}
|
|
func (m *DescribeIndexRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeIndexRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeIndexRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeIndexRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DescribeIndexRequest) GetFieldName() string {
|
|
if m != nil {
|
|
return m.FieldName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DescribeIndexProgressRequest struct {
|
|
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeIndexProgressRequest) Reset() { *m = DescribeIndexProgressRequest{} }
|
|
func (m *DescribeIndexProgressRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeIndexProgressRequest) ProtoMessage() {}
|
|
func (*DescribeIndexProgressRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{18}
|
|
}
|
|
|
|
func (m *DescribeIndexProgressRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeIndexProgressRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeIndexProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeIndexProgressRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeIndexProgressRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeIndexProgressRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeIndexProgressRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeIndexProgressRequest.Size(m)
|
|
}
|
|
func (m *DescribeIndexProgressRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeIndexProgressRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeIndexProgressRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeIndexProgressRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DescribeIndexProgressRequest) GetFieldName() string {
|
|
if m != nil {
|
|
return m.FieldName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DescribeIndexResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
FieldName string `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
|
|
ExtraParams []*commonpb.KeyValuePair `protobuf:"bytes,4,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeIndexResponse) Reset() { *m = DescribeIndexResponse{} }
|
|
func (m *DescribeIndexResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeIndexResponse) ProtoMessage() {}
|
|
func (*DescribeIndexResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b4b40b84dd2f74cb, []int{19}
|
|
}
|
|
|
|
func (m *DescribeIndexResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeIndexResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeIndexResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeIndexResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeIndexResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeIndexResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeIndexResponse.Size(m)
|
|
}
|
|
func (m *DescribeIndexResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeIndexResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeIndexResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeIndexResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeIndexResponse) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DescribeIndexResponse) GetFieldName() string {
|
|
if m != nil {
|
|
return m.FieldName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DescribeIndexResponse) GetExtraParams() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.ExtraParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("milvus.proto.service.PlaceholderType", PlaceholderType_name, PlaceholderType_value)
|
|
proto.RegisterType((*CollectionName)(nil), "milvus.proto.service.CollectionName")
|
|
proto.RegisterType((*PartitionName)(nil), "milvus.proto.service.PartitionName")
|
|
proto.RegisterType((*RowBatch)(nil), "milvus.proto.service.RowBatch")
|
|
proto.RegisterType((*PlaceholderValue)(nil), "milvus.proto.service.PlaceholderValue")
|
|
proto.RegisterType((*PlaceholderGroup)(nil), "milvus.proto.service.PlaceholderGroup")
|
|
proto.RegisterType((*Query)(nil), "milvus.proto.service.Query")
|
|
proto.RegisterType((*StringResponse)(nil), "milvus.proto.service.StringResponse")
|
|
proto.RegisterType((*BoolResponse)(nil), "milvus.proto.service.BoolResponse")
|
|
proto.RegisterType((*StringListResponse)(nil), "milvus.proto.service.StringListResponse")
|
|
proto.RegisterType((*IntegerListResponse)(nil), "milvus.proto.service.IntegerListResponse")
|
|
proto.RegisterType((*IntegerRangeResponse)(nil), "milvus.proto.service.IntegerRangeResponse")
|
|
proto.RegisterType((*CollectionDescription)(nil), "milvus.proto.service.CollectionDescription")
|
|
proto.RegisterType((*PartitionDescription)(nil), "milvus.proto.service.PartitionDescription")
|
|
proto.RegisterType((*SysConfigResponse)(nil), "milvus.proto.service.SysConfigResponse")
|
|
proto.RegisterType((*Hits)(nil), "milvus.proto.service.Hits")
|
|
proto.RegisterType((*QueryResult)(nil), "milvus.proto.service.QueryResult")
|
|
proto.RegisterType((*IndexParam)(nil), "milvus.proto.service.IndexParam")
|
|
proto.RegisterType((*DescribeIndexRequest)(nil), "milvus.proto.service.DescribeIndexRequest")
|
|
proto.RegisterType((*DescribeIndexProgressRequest)(nil), "milvus.proto.service.DescribeIndexProgressRequest")
|
|
proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.service.DescribeIndexResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("service_msg.proto", fileDescriptor_b4b40b84dd2f74cb) }
|
|
|
|
var fileDescriptor_b4b40b84dd2f74cb = []byte{
|
|
// 868 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdd, 0x6e, 0x1b, 0x45,
|
|
0x14, 0x66, 0xbd, 0x6e, 0xb0, 0x8f, 0xd7, 0xae, 0x33, 0xb8, 0x95, 0xdb, 0x82, 0x64, 0xb6, 0x2a,
|
|
0x58, 0x20, 0x6c, 0x29, 0x45, 0x42, 0xbd, 0x40, 0x22, 0x4e, 0x0a, 0xa4, 0xa9, 0x12, 0x33, 0x89,
|
|
0x22, 0x15, 0x24, 0x56, 0xe3, 0xdd, 0x93, 0xf5, 0x88, 0xf5, 0xce, 0x32, 0x33, 0x9b, 0xd4, 0x7d,
|
|
0x10, 0x2e, 0x78, 0x05, 0x1e, 0x84, 0x3b, 0x1e, 0x80, 0xa7, 0x41, 0x3b, 0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