// Code generated by protoc-gen-go. DO NOT EDIT. // source: milvus.proto package milvuspb import ( context "context" 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" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" 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 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_02345ba45cc0e303, []int{0} } type CreateCollectionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // `schema` is the serialized `schema.CollectionSchema` Schema []byte `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateCollectionRequest) Reset() { *m = CreateCollectionRequest{} } func (m *CreateCollectionRequest) String() string { return proto.CompactTextString(m) } func (*CreateCollectionRequest) ProtoMessage() {} func (*CreateCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{0} } func (m *CreateCollectionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateCollectionRequest.Unmarshal(m, b) } func (m *CreateCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateCollectionRequest.Marshal(b, m, deterministic) } func (m *CreateCollectionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateCollectionRequest.Merge(m, src) } func (m *CreateCollectionRequest) XXX_Size() int { return xxx_messageInfo_CreateCollectionRequest.Size(m) } func (m *CreateCollectionRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateCollectionRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateCollectionRequest proto.InternalMessageInfo func (m *CreateCollectionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *CreateCollectionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *CreateCollectionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *CreateCollectionRequest) GetSchema() []byte { if m != nil { return m.Schema } return nil } type DropCollectionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,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 *DropCollectionRequest) Reset() { *m = DropCollectionRequest{} } func (m *DropCollectionRequest) String() string { return proto.CompactTextString(m) } func (*DropCollectionRequest) ProtoMessage() {} func (*DropCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{1} } func (m *DropCollectionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DropCollectionRequest.Unmarshal(m, b) } func (m *DropCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DropCollectionRequest.Marshal(b, m, deterministic) } func (m *DropCollectionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_DropCollectionRequest.Merge(m, src) } func (m *DropCollectionRequest) XXX_Size() int { return xxx_messageInfo_DropCollectionRequest.Size(m) } func (m *DropCollectionRequest) XXX_DiscardUnknown() { xxx_messageInfo_DropCollectionRequest.DiscardUnknown(m) } var xxx_messageInfo_DropCollectionRequest proto.InternalMessageInfo func (m *DropCollectionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *DropCollectionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *DropCollectionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } type HasCollectionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,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 *HasCollectionRequest) Reset() { *m = HasCollectionRequest{} } func (m *HasCollectionRequest) String() string { return proto.CompactTextString(m) } func (*HasCollectionRequest) ProtoMessage() {} func (*HasCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{2} } func (m *HasCollectionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HasCollectionRequest.Unmarshal(m, b) } func (m *HasCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HasCollectionRequest.Marshal(b, m, deterministic) } func (m *HasCollectionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_HasCollectionRequest.Merge(m, src) } func (m *HasCollectionRequest) XXX_Size() int { return xxx_messageInfo_HasCollectionRequest.Size(m) } func (m *HasCollectionRequest) XXX_DiscardUnknown() { xxx_messageInfo_HasCollectionRequest.DiscardUnknown(m) } var xxx_messageInfo_HasCollectionRequest proto.InternalMessageInfo func (m *HasCollectionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *HasCollectionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *HasCollectionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } 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_02345ba45cc0e303, []int{3} } 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 } 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_02345ba45cc0e303, []int{4} } 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 "" } type DescribeCollectionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DescribeCollectionRequest) Reset() { *m = DescribeCollectionRequest{} } func (m *DescribeCollectionRequest) String() string { return proto.CompactTextString(m) } func (*DescribeCollectionRequest) ProtoMessage() {} func (*DescribeCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{5} } func (m *DescribeCollectionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DescribeCollectionRequest.Unmarshal(m, b) } func (m *DescribeCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DescribeCollectionRequest.Marshal(b, m, deterministic) } func (m *DescribeCollectionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_DescribeCollectionRequest.Merge(m, src) } func (m *DescribeCollectionRequest) XXX_Size() int { return xxx_messageInfo_DescribeCollectionRequest.Size(m) } func (m *DescribeCollectionRequest) XXX_DiscardUnknown() { xxx_messageInfo_DescribeCollectionRequest.DiscardUnknown(m) } var xxx_messageInfo_DescribeCollectionRequest proto.InternalMessageInfo func (m *DescribeCollectionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *DescribeCollectionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *DescribeCollectionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *DescribeCollectionRequest) GetCollectionID() int64 { if m != nil { return m.CollectionID } return 0 } type DescribeCollectionResponse 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"` CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DescribeCollectionResponse) Reset() { *m = DescribeCollectionResponse{} } func (m *DescribeCollectionResponse) String() string { return proto.CompactTextString(m) } func (*DescribeCollectionResponse) ProtoMessage() {} func (*DescribeCollectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{6} } func (m *DescribeCollectionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DescribeCollectionResponse.Unmarshal(m, b) } func (m *DescribeCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DescribeCollectionResponse.Marshal(b, m, deterministic) } func (m *DescribeCollectionResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_DescribeCollectionResponse.Merge(m, src) } func (m *DescribeCollectionResponse) XXX_Size() int { return xxx_messageInfo_DescribeCollectionResponse.Size(m) } func (m *DescribeCollectionResponse) XXX_DiscardUnknown() { xxx_messageInfo_DescribeCollectionResponse.DiscardUnknown(m) } var xxx_messageInfo_DescribeCollectionResponse proto.InternalMessageInfo func (m *DescribeCollectionResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *DescribeCollectionResponse) GetSchema() *schemapb.CollectionSchema { if m != nil { return m.Schema } return nil } func (m *DescribeCollectionResponse) GetCollectionID() int64 { if m != nil { return m.CollectionID } return 0 } type LoadCollectionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,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 *LoadCollectionRequest) Reset() { *m = LoadCollectionRequest{} } func (m *LoadCollectionRequest) String() string { return proto.CompactTextString(m) } func (*LoadCollectionRequest) ProtoMessage() {} func (*LoadCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{7} } func (m *LoadCollectionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoadCollectionRequest.Unmarshal(m, b) } func (m *LoadCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoadCollectionRequest.Marshal(b, m, deterministic) } func (m *LoadCollectionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_LoadCollectionRequest.Merge(m, src) } func (m *LoadCollectionRequest) XXX_Size() int { return xxx_messageInfo_LoadCollectionRequest.Size(m) } func (m *LoadCollectionRequest) XXX_DiscardUnknown() { xxx_messageInfo_LoadCollectionRequest.DiscardUnknown(m) } var xxx_messageInfo_LoadCollectionRequest proto.InternalMessageInfo func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *LoadCollectionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *LoadCollectionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } type ReleaseCollectionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,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 *ReleaseCollectionRequest) Reset() { *m = ReleaseCollectionRequest{} } func (m *ReleaseCollectionRequest) String() string { return proto.CompactTextString(m) } func (*ReleaseCollectionRequest) ProtoMessage() {} func (*ReleaseCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{8} } func (m *ReleaseCollectionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReleaseCollectionRequest.Unmarshal(m, b) } func (m *ReleaseCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ReleaseCollectionRequest.Marshal(b, m, deterministic) } func (m *ReleaseCollectionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ReleaseCollectionRequest.Merge(m, src) } func (m *ReleaseCollectionRequest) XXX_Size() int { return xxx_messageInfo_ReleaseCollectionRequest.Size(m) } func (m *ReleaseCollectionRequest) XXX_DiscardUnknown() { xxx_messageInfo_ReleaseCollectionRequest.DiscardUnknown(m) } var xxx_messageInfo_ReleaseCollectionRequest proto.InternalMessageInfo func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *ReleaseCollectionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *ReleaseCollectionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } type CollectionStatsRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,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 *CollectionStatsRequest) Reset() { *m = CollectionStatsRequest{} } func (m *CollectionStatsRequest) String() string { return proto.CompactTextString(m) } func (*CollectionStatsRequest) ProtoMessage() {} func (*CollectionStatsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{9} } func (m *CollectionStatsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CollectionStatsRequest.Unmarshal(m, b) } func (m *CollectionStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CollectionStatsRequest.Marshal(b, m, deterministic) } func (m *CollectionStatsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CollectionStatsRequest.Merge(m, src) } func (m *CollectionStatsRequest) XXX_Size() int { return xxx_messageInfo_CollectionStatsRequest.Size(m) } func (m *CollectionStatsRequest) XXX_DiscardUnknown() { xxx_messageInfo_CollectionStatsRequest.DiscardUnknown(m) } var xxx_messageInfo_CollectionStatsRequest proto.InternalMessageInfo func (m *CollectionStatsRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *CollectionStatsRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *CollectionStatsRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } type CollectionStatsResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Stats []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CollectionStatsResponse) Reset() { *m = CollectionStatsResponse{} } func (m *CollectionStatsResponse) String() string { return proto.CompactTextString(m) } func (*CollectionStatsResponse) ProtoMessage() {} func (*CollectionStatsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{10} } func (m *CollectionStatsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CollectionStatsResponse.Unmarshal(m, b) } func (m *CollectionStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CollectionStatsResponse.Marshal(b, m, deterministic) } func (m *CollectionStatsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_CollectionStatsResponse.Merge(m, src) } func (m *CollectionStatsResponse) XXX_Size() int { return xxx_messageInfo_CollectionStatsResponse.Size(m) } func (m *CollectionStatsResponse) XXX_DiscardUnknown() { xxx_messageInfo_CollectionStatsResponse.DiscardUnknown(m) } var xxx_messageInfo_CollectionStatsResponse proto.InternalMessageInfo func (m *CollectionStatsResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *CollectionStatsResponse) GetStats() []*commonpb.KeyValuePair { if m != nil { return m.Stats } return nil } type ShowCollectionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ShowCollectionRequest) Reset() { *m = ShowCollectionRequest{} } func (m *ShowCollectionRequest) String() string { return proto.CompactTextString(m) } func (*ShowCollectionRequest) ProtoMessage() {} func (*ShowCollectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{11} } func (m *ShowCollectionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShowCollectionRequest.Unmarshal(m, b) } func (m *ShowCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShowCollectionRequest.Marshal(b, m, deterministic) } func (m *ShowCollectionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ShowCollectionRequest.Merge(m, src) } func (m *ShowCollectionRequest) XXX_Size() int { return xxx_messageInfo_ShowCollectionRequest.Size(m) } func (m *ShowCollectionRequest) XXX_DiscardUnknown() { xxx_messageInfo_ShowCollectionRequest.DiscardUnknown(m) } var xxx_messageInfo_ShowCollectionRequest proto.InternalMessageInfo func (m *ShowCollectionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *ShowCollectionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } type ShowCollectionResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` CollectionNames []string `protobuf:"bytes,2,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ShowCollectionResponse) Reset() { *m = ShowCollectionResponse{} } func (m *ShowCollectionResponse) String() string { return proto.CompactTextString(m) } func (*ShowCollectionResponse) ProtoMessage() {} func (*ShowCollectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{12} } func (m *ShowCollectionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShowCollectionResponse.Unmarshal(m, b) } func (m *ShowCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShowCollectionResponse.Marshal(b, m, deterministic) } func (m *ShowCollectionResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ShowCollectionResponse.Merge(m, src) } func (m *ShowCollectionResponse) XXX_Size() int { return xxx_messageInfo_ShowCollectionResponse.Size(m) } func (m *ShowCollectionResponse) XXX_DiscardUnknown() { xxx_messageInfo_ShowCollectionResponse.DiscardUnknown(m) } var xxx_messageInfo_ShowCollectionResponse proto.InternalMessageInfo func (m *ShowCollectionResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *ShowCollectionResponse) GetCollectionNames() []string { if m != nil { return m.CollectionNames } return nil } type CreatePartitionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreatePartitionRequest) Reset() { *m = CreatePartitionRequest{} } func (m *CreatePartitionRequest) String() string { return proto.CompactTextString(m) } func (*CreatePartitionRequest) ProtoMessage() {} func (*CreatePartitionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{13} } func (m *CreatePartitionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreatePartitionRequest.Unmarshal(m, b) } func (m *CreatePartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreatePartitionRequest.Marshal(b, m, deterministic) } func (m *CreatePartitionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreatePartitionRequest.Merge(m, src) } func (m *CreatePartitionRequest) XXX_Size() int { return xxx_messageInfo_CreatePartitionRequest.Size(m) } func (m *CreatePartitionRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreatePartitionRequest.DiscardUnknown(m) } var xxx_messageInfo_CreatePartitionRequest proto.InternalMessageInfo func (m *CreatePartitionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *CreatePartitionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *CreatePartitionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *CreatePartitionRequest) GetPartitionName() string { if m != nil { return m.PartitionName } return "" } type DropPartitionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DropPartitionRequest) Reset() { *m = DropPartitionRequest{} } func (m *DropPartitionRequest) String() string { return proto.CompactTextString(m) } func (*DropPartitionRequest) ProtoMessage() {} func (*DropPartitionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{14} } func (m *DropPartitionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DropPartitionRequest.Unmarshal(m, b) } func (m *DropPartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DropPartitionRequest.Marshal(b, m, deterministic) } func (m *DropPartitionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_DropPartitionRequest.Merge(m, src) } func (m *DropPartitionRequest) XXX_Size() int { return xxx_messageInfo_DropPartitionRequest.Size(m) } func (m *DropPartitionRequest) XXX_DiscardUnknown() { xxx_messageInfo_DropPartitionRequest.DiscardUnknown(m) } var xxx_messageInfo_DropPartitionRequest proto.InternalMessageInfo func (m *DropPartitionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *DropPartitionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *DropPartitionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *DropPartitionRequest) GetPartitionName() string { if m != nil { return m.PartitionName } return "" } type HasPartitionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *HasPartitionRequest) Reset() { *m = HasPartitionRequest{} } func (m *HasPartitionRequest) String() string { return proto.CompactTextString(m) } func (*HasPartitionRequest) ProtoMessage() {} func (*HasPartitionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{15} } func (m *HasPartitionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HasPartitionRequest.Unmarshal(m, b) } func (m *HasPartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HasPartitionRequest.Marshal(b, m, deterministic) } func (m *HasPartitionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_HasPartitionRequest.Merge(m, src) } func (m *HasPartitionRequest) XXX_Size() int { return xxx_messageInfo_HasPartitionRequest.Size(m) } func (m *HasPartitionRequest) XXX_DiscardUnknown() { xxx_messageInfo_HasPartitionRequest.DiscardUnknown(m) } var xxx_messageInfo_HasPartitionRequest proto.InternalMessageInfo func (m *HasPartitionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *HasPartitionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *HasPartitionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *HasPartitionRequest) GetPartitionName() string { if m != nil { return m.PartitionName } return "" } type LoadPartitonRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LoadPartitonRequest) Reset() { *m = LoadPartitonRequest{} } func (m *LoadPartitonRequest) String() string { return proto.CompactTextString(m) } func (*LoadPartitonRequest) ProtoMessage() {} func (*LoadPartitonRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{16} } func (m *LoadPartitonRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoadPartitonRequest.Unmarshal(m, b) } func (m *LoadPartitonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoadPartitonRequest.Marshal(b, m, deterministic) } func (m *LoadPartitonRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_LoadPartitonRequest.Merge(m, src) } func (m *LoadPartitonRequest) XXX_Size() int { return xxx_messageInfo_LoadPartitonRequest.Size(m) } func (m *LoadPartitonRequest) XXX_DiscardUnknown() { xxx_messageInfo_LoadPartitonRequest.DiscardUnknown(m) } var xxx_messageInfo_LoadPartitonRequest proto.InternalMessageInfo func (m *LoadPartitonRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *LoadPartitonRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *LoadPartitonRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *LoadPartitonRequest) GetPartitionNames() []string { if m != nil { return m.PartitionNames } return nil } type ReleasePartitionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ReleasePartitionRequest) Reset() { *m = ReleasePartitionRequest{} } func (m *ReleasePartitionRequest) String() string { return proto.CompactTextString(m) } func (*ReleasePartitionRequest) ProtoMessage() {} func (*ReleasePartitionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{17} } func (m *ReleasePartitionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReleasePartitionRequest.Unmarshal(m, b) } func (m *ReleasePartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ReleasePartitionRequest.Marshal(b, m, deterministic) } func (m *ReleasePartitionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ReleasePartitionRequest.Merge(m, src) } func (m *ReleasePartitionRequest) XXX_Size() int { return xxx_messageInfo_ReleasePartitionRequest.Size(m) } func (m *ReleasePartitionRequest) XXX_DiscardUnknown() { xxx_messageInfo_ReleasePartitionRequest.DiscardUnknown(m) } var xxx_messageInfo_ReleasePartitionRequest proto.InternalMessageInfo func (m *ReleasePartitionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *ReleasePartitionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *ReleasePartitionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *ReleasePartitionRequest) GetPartitionNames() []string { if m != nil { return m.PartitionNames } return nil } type PartitionStatsRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PartitionStatsRequest) Reset() { *m = PartitionStatsRequest{} } func (m *PartitionStatsRequest) String() string { return proto.CompactTextString(m) } func (*PartitionStatsRequest) ProtoMessage() {} func (*PartitionStatsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{18} } func (m *PartitionStatsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionStatsRequest.Unmarshal(m, b) } func (m *PartitionStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PartitionStatsRequest.Marshal(b, m, deterministic) } func (m *PartitionStatsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_PartitionStatsRequest.Merge(m, src) } func (m *PartitionStatsRequest) XXX_Size() int { return xxx_messageInfo_PartitionStatsRequest.Size(m) } func (m *PartitionStatsRequest) XXX_DiscardUnknown() { xxx_messageInfo_PartitionStatsRequest.DiscardUnknown(m) } var xxx_messageInfo_PartitionStatsRequest proto.InternalMessageInfo func (m *PartitionStatsRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *PartitionStatsRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *PartitionStatsRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *PartitionStatsRequest) GetPartitionName() string { if m != nil { return m.PartitionName } return "" } type PartitionStatsResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Stats []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PartitionStatsResponse) Reset() { *m = PartitionStatsResponse{} } func (m *PartitionStatsResponse) String() string { return proto.CompactTextString(m) } func (*PartitionStatsResponse) ProtoMessage() {} func (*PartitionStatsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{19} } func (m *PartitionStatsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PartitionStatsResponse.Unmarshal(m, b) } func (m *PartitionStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PartitionStatsResponse.Marshal(b, m, deterministic) } func (m *PartitionStatsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_PartitionStatsResponse.Merge(m, src) } func (m *PartitionStatsResponse) XXX_Size() int { return xxx_messageInfo_PartitionStatsResponse.Size(m) } func (m *PartitionStatsResponse) XXX_DiscardUnknown() { xxx_messageInfo_PartitionStatsResponse.DiscardUnknown(m) } var xxx_messageInfo_PartitionStatsResponse proto.InternalMessageInfo func (m *PartitionStatsResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *PartitionStatsResponse) GetStats() []*commonpb.KeyValuePair { if m != nil { return m.Stats } return nil } type ShowPartitionRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ShowPartitionRequest) Reset() { *m = ShowPartitionRequest{} } func (m *ShowPartitionRequest) String() string { return proto.CompactTextString(m) } func (*ShowPartitionRequest) ProtoMessage() {} func (*ShowPartitionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{20} } func (m *ShowPartitionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShowPartitionRequest.Unmarshal(m, b) } func (m *ShowPartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShowPartitionRequest.Marshal(b, m, deterministic) } func (m *ShowPartitionRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ShowPartitionRequest.Merge(m, src) } func (m *ShowPartitionRequest) XXX_Size() int { return xxx_messageInfo_ShowPartitionRequest.Size(m) } func (m *ShowPartitionRequest) XXX_DiscardUnknown() { xxx_messageInfo_ShowPartitionRequest.DiscardUnknown(m) } var xxx_messageInfo_ShowPartitionRequest proto.InternalMessageInfo func (m *ShowPartitionRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *ShowPartitionRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *ShowPartitionRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *ShowPartitionRequest) GetCollectionID() int64 { if m != nil { return m.CollectionID } return 0 } type ShowPartitionResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` PartitionNames []string `protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"` PartitionIDs []int64 `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ShowPartitionResponse) Reset() { *m = ShowPartitionResponse{} } func (m *ShowPartitionResponse) String() string { return proto.CompactTextString(m) } func (*ShowPartitionResponse) ProtoMessage() {} func (*ShowPartitionResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{21} } func (m *ShowPartitionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShowPartitionResponse.Unmarshal(m, b) } func (m *ShowPartitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShowPartitionResponse.Marshal(b, m, deterministic) } func (m *ShowPartitionResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ShowPartitionResponse.Merge(m, src) } func (m *ShowPartitionResponse) XXX_Size() int { return xxx_messageInfo_ShowPartitionResponse.Size(m) } func (m *ShowPartitionResponse) XXX_DiscardUnknown() { xxx_messageInfo_ShowPartitionResponse.DiscardUnknown(m) } var xxx_messageInfo_ShowPartitionResponse proto.InternalMessageInfo func (m *ShowPartitionResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *ShowPartitionResponse) GetPartitionNames() []string { if m != nil { return m.PartitionNames } return nil } func (m *ShowPartitionResponse) GetPartitionIDs() []int64 { if m != nil { return m.PartitionIDs } return nil } type DescribeSegmentRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"` SegmentID int64 `protobuf:"varint,3,opt,name=segmentID,proto3" json:"segmentID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DescribeSegmentRequest) Reset() { *m = DescribeSegmentRequest{} } func (m *DescribeSegmentRequest) String() string { return proto.CompactTextString(m) } func (*DescribeSegmentRequest) ProtoMessage() {} func (*DescribeSegmentRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{22} } func (m *DescribeSegmentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DescribeSegmentRequest.Unmarshal(m, b) } func (m *DescribeSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DescribeSegmentRequest.Marshal(b, m, deterministic) } func (m *DescribeSegmentRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_DescribeSegmentRequest.Merge(m, src) } func (m *DescribeSegmentRequest) XXX_Size() int { return xxx_messageInfo_DescribeSegmentRequest.Size(m) } func (m *DescribeSegmentRequest) XXX_DiscardUnknown() { xxx_messageInfo_DescribeSegmentRequest.DiscardUnknown(m) } var xxx_messageInfo_DescribeSegmentRequest proto.InternalMessageInfo func (m *DescribeSegmentRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *DescribeSegmentRequest) GetCollectionID() int64 { if m != nil { return m.CollectionID } return 0 } func (m *DescribeSegmentRequest) GetSegmentID() int64 { if m != nil { return m.SegmentID } return 0 } type DescribeSegmentResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"` BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DescribeSegmentResponse) Reset() { *m = DescribeSegmentResponse{} } func (m *DescribeSegmentResponse) String() string { return proto.CompactTextString(m) } func (*DescribeSegmentResponse) ProtoMessage() {} func (*DescribeSegmentResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{23} } func (m *DescribeSegmentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DescribeSegmentResponse.Unmarshal(m, b) } func (m *DescribeSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DescribeSegmentResponse.Marshal(b, m, deterministic) } func (m *DescribeSegmentResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_DescribeSegmentResponse.Merge(m, src) } func (m *DescribeSegmentResponse) XXX_Size() int { return xxx_messageInfo_DescribeSegmentResponse.Size(m) } func (m *DescribeSegmentResponse) XXX_DiscardUnknown() { xxx_messageInfo_DescribeSegmentResponse.DiscardUnknown(m) } var xxx_messageInfo_DescribeSegmentResponse proto.InternalMessageInfo func (m *DescribeSegmentResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *DescribeSegmentResponse) GetIndexID() int64 { if m != nil { return m.IndexID } return 0 } func (m *DescribeSegmentResponse) GetBuildID() int64 { if m != nil { return m.BuildID } return 0 } type ShowSegmentRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"` PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ShowSegmentRequest) Reset() { *m = ShowSegmentRequest{} } func (m *ShowSegmentRequest) String() string { return proto.CompactTextString(m) } func (*ShowSegmentRequest) ProtoMessage() {} func (*ShowSegmentRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{24} } func (m *ShowSegmentRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShowSegmentRequest.Unmarshal(m, b) } func (m *ShowSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShowSegmentRequest.Marshal(b, m, deterministic) } func (m *ShowSegmentRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ShowSegmentRequest.Merge(m, src) } func (m *ShowSegmentRequest) XXX_Size() int { return xxx_messageInfo_ShowSegmentRequest.Size(m) } func (m *ShowSegmentRequest) XXX_DiscardUnknown() { xxx_messageInfo_ShowSegmentRequest.DiscardUnknown(m) } var xxx_messageInfo_ShowSegmentRequest proto.InternalMessageInfo func (m *ShowSegmentRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *ShowSegmentRequest) GetCollectionID() int64 { if m != nil { return m.CollectionID } return 0 } func (m *ShowSegmentRequest) GetPartitionID() int64 { if m != nil { return m.PartitionID } return 0 } type ShowSegmentResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ShowSegmentResponse) Reset() { *m = ShowSegmentResponse{} } func (m *ShowSegmentResponse) String() string { return proto.CompactTextString(m) } func (*ShowSegmentResponse) ProtoMessage() {} func (*ShowSegmentResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{25} } func (m *ShowSegmentResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShowSegmentResponse.Unmarshal(m, b) } func (m *ShowSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShowSegmentResponse.Marshal(b, m, deterministic) } func (m *ShowSegmentResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ShowSegmentResponse.Merge(m, src) } func (m *ShowSegmentResponse) XXX_Size() int { return xxx_messageInfo_ShowSegmentResponse.Size(m) } func (m *ShowSegmentResponse) XXX_DiscardUnknown() { xxx_messageInfo_ShowSegmentResponse.DiscardUnknown(m) } var xxx_messageInfo_ShowSegmentResponse proto.InternalMessageInfo func (m *ShowSegmentResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *ShowSegmentResponse) GetSegmentIDs() []int64 { if m != nil { return m.SegmentIDs } return nil } type CreateIndexRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` ExtraParams []*commonpb.KeyValuePair `protobuf:"bytes,5,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 *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } func (*CreateIndexRequest) ProtoMessage() {} func (*CreateIndexRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{26} } func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b) } func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateIndexRequest.Marshal(b, m, deterministic) } func (m *CreateIndexRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateIndexRequest.Merge(m, src) } func (m *CreateIndexRequest) XXX_Size() int { return xxx_messageInfo_CreateIndexRequest.Size(m) } func (m *CreateIndexRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateIndexRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo func (m *CreateIndexRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *CreateIndexRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *CreateIndexRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *CreateIndexRequest) GetFieldName() string { if m != nil { return m.FieldName } return "" } func (m *CreateIndexRequest) GetExtraParams() []*commonpb.KeyValuePair { if m != nil { return m.ExtraParams } return nil } type DescribeIndexRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_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_02345ba45cc0e303, []int{27} } 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) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *DescribeIndexRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *DescribeIndexRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *DescribeIndexRequest) GetFieldName() string { if m != nil { return m.FieldName } return "" } func (m *DescribeIndexRequest) GetIndexName() string { if m != nil { return m.IndexName } return "" } type IndexDescription struct { IndexName string `protobuf:"bytes,1,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"` Params []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IndexDescription) Reset() { *m = IndexDescription{} } func (m *IndexDescription) String() string { return proto.CompactTextString(m) } func (*IndexDescription) ProtoMessage() {} func (*IndexDescription) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{28} } func (m *IndexDescription) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IndexDescription.Unmarshal(m, b) } func (m *IndexDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IndexDescription.Marshal(b, m, deterministic) } func (m *IndexDescription) XXX_Merge(src proto.Message) { xxx_messageInfo_IndexDescription.Merge(m, src) } func (m *IndexDescription) XXX_Size() int { return xxx_messageInfo_IndexDescription.Size(m) } func (m *IndexDescription) XXX_DiscardUnknown() { xxx_messageInfo_IndexDescription.DiscardUnknown(m) } var xxx_messageInfo_IndexDescription proto.InternalMessageInfo func (m *IndexDescription) GetIndexName() string { if m != nil { return m.IndexName } return "" } func (m *IndexDescription) GetIndexID() int64 { if m != nil { return m.IndexID } return 0 } func (m *IndexDescription) GetParams() []*commonpb.KeyValuePair { if m != nil { return m.Params } return nil } type DescribeIndexResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` IndexDescriptions []*IndexDescription `protobuf:"bytes,2,rep,name=index_descriptions,json=indexDescriptions,proto3" json:"index_descriptions,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_02345ba45cc0e303, []int{29} } 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) GetIndexDescriptions() []*IndexDescription { if m != nil { return m.IndexDescriptions } return nil } type IndexStateRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IndexStateRequest) Reset() { *m = IndexStateRequest{} } func (m *IndexStateRequest) String() string { return proto.CompactTextString(m) } func (*IndexStateRequest) ProtoMessage() {} func (*IndexStateRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{30} } func (m *IndexStateRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IndexStateRequest.Unmarshal(m, b) } func (m *IndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IndexStateRequest.Marshal(b, m, deterministic) } func (m *IndexStateRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_IndexStateRequest.Merge(m, src) } func (m *IndexStateRequest) XXX_Size() int { return xxx_messageInfo_IndexStateRequest.Size(m) } func (m *IndexStateRequest) XXX_DiscardUnknown() { xxx_messageInfo_IndexStateRequest.DiscardUnknown(m) } var xxx_messageInfo_IndexStateRequest proto.InternalMessageInfo func (m *IndexStateRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *IndexStateRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *IndexStateRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *IndexStateRequest) GetFieldName() string { if m != nil { return m.FieldName } return "" } func (m *IndexStateRequest) GetIndexName() string { if m != nil { return m.IndexName } return "" } type IndexStateResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` State commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IndexStateResponse) Reset() { *m = IndexStateResponse{} } func (m *IndexStateResponse) String() string { return proto.CompactTextString(m) } func (*IndexStateResponse) ProtoMessage() {} func (*IndexStateResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{31} } func (m *IndexStateResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IndexStateResponse.Unmarshal(m, b) } func (m *IndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IndexStateResponse.Marshal(b, m, deterministic) } func (m *IndexStateResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_IndexStateResponse.Merge(m, src) } func (m *IndexStateResponse) XXX_Size() int { return xxx_messageInfo_IndexStateResponse.Size(m) } func (m *IndexStateResponse) XXX_DiscardUnknown() { xxx_messageInfo_IndexStateResponse.DiscardUnknown(m) } var xxx_messageInfo_IndexStateResponse proto.InternalMessageInfo func (m *IndexStateResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *IndexStateResponse) GetState() commonpb.IndexState { if m != nil { return m.State } return commonpb.IndexState_NONE } type DropIndexRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DropIndexRequest) Reset() { *m = DropIndexRequest{} } func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) } func (*DropIndexRequest) ProtoMessage() {} func (*DropIndexRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{32} } func (m *DropIndexRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DropIndexRequest.Unmarshal(m, b) } func (m *DropIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DropIndexRequest.Marshal(b, m, deterministic) } func (m *DropIndexRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_DropIndexRequest.Merge(m, src) } func (m *DropIndexRequest) XXX_Size() int { return xxx_messageInfo_DropIndexRequest.Size(m) } func (m *DropIndexRequest) XXX_DiscardUnknown() { xxx_messageInfo_DropIndexRequest.DiscardUnknown(m) } var xxx_messageInfo_DropIndexRequest proto.InternalMessageInfo func (m *DropIndexRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *DropIndexRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *DropIndexRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *DropIndexRequest) GetFieldName() string { if m != nil { return m.FieldName } return "" } func (m *DropIndexRequest) GetIndexName() string { if m != nil { return m.IndexName } return "" } type InsertRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` RowData []*commonpb.Blob `protobuf:"bytes,5,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"` HashKeys []uint32 `protobuf:"varint,6,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 *InsertRequest) Reset() { *m = InsertRequest{} } func (m *InsertRequest) String() string { return proto.CompactTextString(m) } func (*InsertRequest) ProtoMessage() {} func (*InsertRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{33} } func (m *InsertRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InsertRequest.Unmarshal(m, b) } func (m *InsertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_InsertRequest.Marshal(b, m, deterministic) } func (m *InsertRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_InsertRequest.Merge(m, src) } func (m *InsertRequest) XXX_Size() int { return xxx_messageInfo_InsertRequest.Size(m) } func (m *InsertRequest) XXX_DiscardUnknown() { xxx_messageInfo_InsertRequest.DiscardUnknown(m) } var xxx_messageInfo_InsertRequest proto.InternalMessageInfo func (m *InsertRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *InsertRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *InsertRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *InsertRequest) GetPartitionName() string { if m != nil { return m.PartitionName } return "" } func (m *InsertRequest) GetRowData() []*commonpb.Blob { if m != nil { return m.RowData } return nil } func (m *InsertRequest) GetHashKeys() []uint32 { if m != nil { return m.HashKeys } return nil } type InsertResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` RowIDBegin int64 `protobuf:"varint,2,opt,name=rowID_begin,json=rowIDBegin,proto3" json:"rowID_begin,omitempty"` RowIDEnd int64 `protobuf:"varint,3,opt,name=rowID_end,json=rowIDEnd,proto3" json:"rowID_end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *InsertResponse) Reset() { *m = InsertResponse{} } func (m *InsertResponse) String() string { return proto.CompactTextString(m) } func (*InsertResponse) ProtoMessage() {} func (*InsertResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{34} } func (m *InsertResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InsertResponse.Unmarshal(m, b) } func (m *InsertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_InsertResponse.Marshal(b, m, deterministic) } func (m *InsertResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_InsertResponse.Merge(m, src) } func (m *InsertResponse) XXX_Size() int { return xxx_messageInfo_InsertResponse.Size(m) } func (m *InsertResponse) XXX_DiscardUnknown() { xxx_messageInfo_InsertResponse.DiscardUnknown(m) } var xxx_messageInfo_InsertResponse proto.InternalMessageInfo func (m *InsertResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *InsertResponse) GetRowIDBegin() int64 { if m != nil { return m.RowIDBegin } return 0 } func (m *InsertResponse) GetRowIDEnd() int64 { if m != nil { return m.RowIDEnd } return 0 } 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.milvus.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_02345ba45cc0e303, []int{35} } 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_02345ba45cc0e303, []int{36} } 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 } type SearchRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"` Dsl string `protobuf:"bytes,5,opt,name=dsl,proto3" json:"dsl,omitempty"` // serialized `PlaceholderGroup` PlaceholderGroup []byte `protobuf:"bytes,6,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 *SearchRequest) Reset() { *m = SearchRequest{} } func (m *SearchRequest) String() string { return proto.CompactTextString(m) } func (*SearchRequest) ProtoMessage() {} func (*SearchRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{37} } func (m *SearchRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchRequest.Unmarshal(m, b) } func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SearchRequest.Marshal(b, m, deterministic) } func (m *SearchRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_SearchRequest.Merge(m, src) } func (m *SearchRequest) XXX_Size() int { return xxx_messageInfo_SearchRequest.Size(m) } func (m *SearchRequest) XXX_DiscardUnknown() { xxx_messageInfo_SearchRequest.DiscardUnknown(m) } var xxx_messageInfo_SearchRequest proto.InternalMessageInfo func (m *SearchRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *SearchRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *SearchRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } func (m *SearchRequest) GetPartitionNames() []string { if m != nil { return m.PartitionNames } return nil } func (m *SearchRequest) GetDsl() string { if m != nil { return m.Dsl } return "" } func (m *SearchRequest) GetPlaceholderGroup() []byte { if m != nil { return m.PlaceholderGroup } return nil } 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_02345ba45cc0e303, []int{38} } 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 } type SearchResults 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 *SearchResults) Reset() { *m = SearchResults{} } func (m *SearchResults) String() string { return proto.CompactTextString(m) } func (*SearchResults) ProtoMessage() {} func (*SearchResults) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{39} } func (m *SearchResults) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SearchResults.Unmarshal(m, b) } func (m *SearchResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SearchResults.Marshal(b, m, deterministic) } func (m *SearchResults) XXX_Merge(src proto.Message) { xxx_messageInfo_SearchResults.Merge(m, src) } func (m *SearchResults) XXX_Size() int { return xxx_messageInfo_SearchResults.Size(m) } func (m *SearchResults) XXX_DiscardUnknown() { xxx_messageInfo_SearchResults.DiscardUnknown(m) } var xxx_messageInfo_SearchResults proto.InternalMessageInfo func (m *SearchResults) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *SearchResults) GetHits() [][]byte { if m != nil { return m.Hits } return nil } type FlushRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionNames []string `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *FlushRequest) Reset() { *m = FlushRequest{} } func (m *FlushRequest) String() string { return proto.CompactTextString(m) } func (*FlushRequest) ProtoMessage() {} func (*FlushRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{40} } func (m *FlushRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FlushRequest.Unmarshal(m, b) } func (m *FlushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FlushRequest.Marshal(b, m, deterministic) } func (m *FlushRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_FlushRequest.Merge(m, src) } func (m *FlushRequest) XXX_Size() int { return xxx_messageInfo_FlushRequest.Size(m) } func (m *FlushRequest) XXX_DiscardUnknown() { xxx_messageInfo_FlushRequest.DiscardUnknown(m) } var xxx_messageInfo_FlushRequest proto.InternalMessageInfo func (m *FlushRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *FlushRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *FlushRequest) GetCollectionNames() []string { if m != nil { return m.CollectionNames } return nil } type PersistentSegmentInfo struct { SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"` PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"` OpenTime uint64 `protobuf:"varint,4,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"` SealedTime uint64 `protobuf:"varint,5,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"` FlushedTime uint64 `protobuf:"varint,6,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"` NumRows int64 `protobuf:"varint,7,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` MemSize int64 `protobuf:"varint,8,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"` State commonpb.SegmentState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PersistentSegmentInfo) Reset() { *m = PersistentSegmentInfo{} } func (m *PersistentSegmentInfo) String() string { return proto.CompactTextString(m) } func (*PersistentSegmentInfo) ProtoMessage() {} func (*PersistentSegmentInfo) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{41} } func (m *PersistentSegmentInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PersistentSegmentInfo.Unmarshal(m, b) } func (m *PersistentSegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PersistentSegmentInfo.Marshal(b, m, deterministic) } func (m *PersistentSegmentInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_PersistentSegmentInfo.Merge(m, src) } func (m *PersistentSegmentInfo) XXX_Size() int { return xxx_messageInfo_PersistentSegmentInfo.Size(m) } func (m *PersistentSegmentInfo) XXX_DiscardUnknown() { xxx_messageInfo_PersistentSegmentInfo.DiscardUnknown(m) } var xxx_messageInfo_PersistentSegmentInfo proto.InternalMessageInfo func (m *PersistentSegmentInfo) GetSegmentID() int64 { if m != nil { return m.SegmentID } return 0 } func (m *PersistentSegmentInfo) GetCollectionID() int64 { if m != nil { return m.CollectionID } return 0 } func (m *PersistentSegmentInfo) GetPartitionID() int64 { if m != nil { return m.PartitionID } return 0 } func (m *PersistentSegmentInfo) GetOpenTime() uint64 { if m != nil { return m.OpenTime } return 0 } func (m *PersistentSegmentInfo) GetSealedTime() uint64 { if m != nil { return m.SealedTime } return 0 } func (m *PersistentSegmentInfo) GetFlushedTime() uint64 { if m != nil { return m.FlushedTime } return 0 } func (m *PersistentSegmentInfo) GetNumRows() int64 { if m != nil { return m.NumRows } return 0 } func (m *PersistentSegmentInfo) GetMemSize() int64 { if m != nil { return m.MemSize } return 0 } func (m *PersistentSegmentInfo) GetState() commonpb.SegmentState { if m != nil { return m.State } return commonpb.SegmentState_SegmentNone } type PersistentSegmentInfoRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=dbName,proto3" json:"dbName,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PersistentSegmentInfoRequest) Reset() { *m = PersistentSegmentInfoRequest{} } func (m *PersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) } func (*PersistentSegmentInfoRequest) ProtoMessage() {} func (*PersistentSegmentInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{42} } func (m *PersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PersistentSegmentInfoRequest.Unmarshal(m, b) } func (m *PersistentSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PersistentSegmentInfoRequest.Marshal(b, m, deterministic) } func (m *PersistentSegmentInfoRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_PersistentSegmentInfoRequest.Merge(m, src) } func (m *PersistentSegmentInfoRequest) XXX_Size() int { return xxx_messageInfo_PersistentSegmentInfoRequest.Size(m) } func (m *PersistentSegmentInfoRequest) XXX_DiscardUnknown() { xxx_messageInfo_PersistentSegmentInfoRequest.DiscardUnknown(m) } var xxx_messageInfo_PersistentSegmentInfoRequest proto.InternalMessageInfo func (m *PersistentSegmentInfoRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *PersistentSegmentInfoRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *PersistentSegmentInfoRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } type PersistentSegmentInfoResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Infos []*PersistentSegmentInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *PersistentSegmentInfoResponse) Reset() { *m = PersistentSegmentInfoResponse{} } func (m *PersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) } func (*PersistentSegmentInfoResponse) ProtoMessage() {} func (*PersistentSegmentInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{43} } func (m *PersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PersistentSegmentInfoResponse.Unmarshal(m, b) } func (m *PersistentSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PersistentSegmentInfoResponse.Marshal(b, m, deterministic) } func (m *PersistentSegmentInfoResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_PersistentSegmentInfoResponse.Merge(m, src) } func (m *PersistentSegmentInfoResponse) XXX_Size() int { return xxx_messageInfo_PersistentSegmentInfoResponse.Size(m) } func (m *PersistentSegmentInfoResponse) XXX_DiscardUnknown() { xxx_messageInfo_PersistentSegmentInfoResponse.DiscardUnknown(m) } var xxx_messageInfo_PersistentSegmentInfoResponse proto.InternalMessageInfo func (m *PersistentSegmentInfoResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *PersistentSegmentInfoResponse) GetInfos() []*PersistentSegmentInfo { if m != nil { return m.Infos } return nil } type QuerySegmentInfo struct { SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"` PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"` MemSize int64 `protobuf:"varint,4,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"` NumRows int64 `protobuf:"varint,5,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"` IndexName string `protobuf:"bytes,6,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` IndexID int64 `protobuf:"varint,7,opt,name=indexID,proto3" json:"indexID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *QuerySegmentInfo) Reset() { *m = QuerySegmentInfo{} } func (m *QuerySegmentInfo) String() string { return proto.CompactTextString(m) } func (*QuerySegmentInfo) ProtoMessage() {} func (*QuerySegmentInfo) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{44} } func (m *QuerySegmentInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuerySegmentInfo.Unmarshal(m, b) } func (m *QuerySegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_QuerySegmentInfo.Marshal(b, m, deterministic) } func (m *QuerySegmentInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_QuerySegmentInfo.Merge(m, src) } func (m *QuerySegmentInfo) XXX_Size() int { return xxx_messageInfo_QuerySegmentInfo.Size(m) } func (m *QuerySegmentInfo) XXX_DiscardUnknown() { xxx_messageInfo_QuerySegmentInfo.DiscardUnknown(m) } var xxx_messageInfo_QuerySegmentInfo proto.InternalMessageInfo func (m *QuerySegmentInfo) GetSegmentID() int64 { if m != nil { return m.SegmentID } return 0 } func (m *QuerySegmentInfo) GetCollectionID() int64 { if m != nil { return m.CollectionID } return 0 } func (m *QuerySegmentInfo) GetPartitionID() int64 { if m != nil { return m.PartitionID } return 0 } func (m *QuerySegmentInfo) GetMemSize() int64 { if m != nil { return m.MemSize } return 0 } func (m *QuerySegmentInfo) GetNumRows() int64 { if m != nil { return m.NumRows } return 0 } func (m *QuerySegmentInfo) GetIndexName() string { if m != nil { return m.IndexName } return "" } func (m *QuerySegmentInfo) GetIndexID() int64 { if m != nil { return m.IndexID } return 0 } type QuerySegmentInfoRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=dbName,proto3" json:"dbName,omitempty"` CollectionName string `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *QuerySegmentInfoRequest) Reset() { *m = QuerySegmentInfoRequest{} } func (m *QuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) } func (*QuerySegmentInfoRequest) ProtoMessage() {} func (*QuerySegmentInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{45} } func (m *QuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuerySegmentInfoRequest.Unmarshal(m, b) } func (m *QuerySegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_QuerySegmentInfoRequest.Marshal(b, m, deterministic) } func (m *QuerySegmentInfoRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QuerySegmentInfoRequest.Merge(m, src) } func (m *QuerySegmentInfoRequest) XXX_Size() int { return xxx_messageInfo_QuerySegmentInfoRequest.Size(m) } func (m *QuerySegmentInfoRequest) XXX_DiscardUnknown() { xxx_messageInfo_QuerySegmentInfoRequest.DiscardUnknown(m) } var xxx_messageInfo_QuerySegmentInfoRequest proto.InternalMessageInfo func (m *QuerySegmentInfoRequest) GetBase() *commonpb.MsgBase { if m != nil { return m.Base } return nil } func (m *QuerySegmentInfoRequest) GetDbName() string { if m != nil { return m.DbName } return "" } func (m *QuerySegmentInfoRequest) GetCollectionName() string { if m != nil { return m.CollectionName } return "" } type QuerySegmentInfoResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Infos []*QuerySegmentInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *QuerySegmentInfoResponse) Reset() { *m = QuerySegmentInfoResponse{} } func (m *QuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) } func (*QuerySegmentInfoResponse) ProtoMessage() {} func (*QuerySegmentInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{46} } func (m *QuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuerySegmentInfoResponse.Unmarshal(m, b) } func (m *QuerySegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_QuerySegmentInfoResponse.Marshal(b, m, deterministic) } func (m *QuerySegmentInfoResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QuerySegmentInfoResponse.Merge(m, src) } func (m *QuerySegmentInfoResponse) XXX_Size() int { return xxx_messageInfo_QuerySegmentInfoResponse.Size(m) } func (m *QuerySegmentInfoResponse) XXX_DiscardUnknown() { xxx_messageInfo_QuerySegmentInfoResponse.DiscardUnknown(m) } var xxx_messageInfo_QuerySegmentInfoResponse proto.InternalMessageInfo func (m *QuerySegmentInfoResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func (m *QuerySegmentInfoResponse) GetInfos() []*QuerySegmentInfo { if m != nil { return m.Infos } return nil } type RegisterLinkResponse struct { Address *commonpb.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Status *commonpb.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *RegisterLinkResponse) Reset() { *m = RegisterLinkResponse{} } func (m *RegisterLinkResponse) String() string { return proto.CompactTextString(m) } func (*RegisterLinkResponse) ProtoMessage() {} func (*RegisterLinkResponse) Descriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{47} } func (m *RegisterLinkResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RegisterLinkResponse.Unmarshal(m, b) } func (m *RegisterLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RegisterLinkResponse.Marshal(b, m, deterministic) } func (m *RegisterLinkResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_RegisterLinkResponse.Merge(m, src) } func (m *RegisterLinkResponse) XXX_Size() int { return xxx_messageInfo_RegisterLinkResponse.Size(m) } func (m *RegisterLinkResponse) XXX_DiscardUnknown() { xxx_messageInfo_RegisterLinkResponse.DiscardUnknown(m) } var xxx_messageInfo_RegisterLinkResponse proto.InternalMessageInfo func (m *RegisterLinkResponse) GetAddress() *commonpb.Address { if m != nil { return m.Address } return nil } func (m *RegisterLinkResponse) GetStatus() *commonpb.Status { if m != nil { return m.Status } return nil } func init() { proto.RegisterEnum("milvus.proto.milvus.PlaceholderType", PlaceholderType_name, PlaceholderType_value) proto.RegisterType((*CreateCollectionRequest)(nil), "milvus.proto.milvus.CreateCollectionRequest") proto.RegisterType((*DropCollectionRequest)(nil), "milvus.proto.milvus.DropCollectionRequest") proto.RegisterType((*HasCollectionRequest)(nil), "milvus.proto.milvus.HasCollectionRequest") proto.RegisterType((*BoolResponse)(nil), "milvus.proto.milvus.BoolResponse") proto.RegisterType((*StringResponse)(nil), "milvus.proto.milvus.StringResponse") proto.RegisterType((*DescribeCollectionRequest)(nil), "milvus.proto.milvus.DescribeCollectionRequest") proto.RegisterType((*DescribeCollectionResponse)(nil), "milvus.proto.milvus.DescribeCollectionResponse") proto.RegisterType((*LoadCollectionRequest)(nil), "milvus.proto.milvus.LoadCollectionRequest") proto.RegisterType((*ReleaseCollectionRequest)(nil), "milvus.proto.milvus.ReleaseCollectionRequest") proto.RegisterType((*CollectionStatsRequest)(nil), "milvus.proto.milvus.CollectionStatsRequest") proto.RegisterType((*CollectionStatsResponse)(nil), "milvus.proto.milvus.CollectionStatsResponse") proto.RegisterType((*ShowCollectionRequest)(nil), "milvus.proto.milvus.ShowCollectionRequest") proto.RegisterType((*ShowCollectionResponse)(nil), "milvus.proto.milvus.ShowCollectionResponse") proto.RegisterType((*CreatePartitionRequest)(nil), "milvus.proto.milvus.CreatePartitionRequest") proto.RegisterType((*DropPartitionRequest)(nil), "milvus.proto.milvus.DropPartitionRequest") proto.RegisterType((*HasPartitionRequest)(nil), "milvus.proto.milvus.HasPartitionRequest") proto.RegisterType((*LoadPartitonRequest)(nil), "milvus.proto.milvus.LoadPartitonRequest") proto.RegisterType((*ReleasePartitionRequest)(nil), "milvus.proto.milvus.ReleasePartitionRequest") proto.RegisterType((*PartitionStatsRequest)(nil), "milvus.proto.milvus.PartitionStatsRequest") proto.RegisterType((*PartitionStatsResponse)(nil), "milvus.proto.milvus.PartitionStatsResponse") proto.RegisterType((*ShowPartitionRequest)(nil), "milvus.proto.milvus.ShowPartitionRequest") proto.RegisterType((*ShowPartitionResponse)(nil), "milvus.proto.milvus.ShowPartitionResponse") proto.RegisterType((*DescribeSegmentRequest)(nil), "milvus.proto.milvus.DescribeSegmentRequest") proto.RegisterType((*DescribeSegmentResponse)(nil), "milvus.proto.milvus.DescribeSegmentResponse") proto.RegisterType((*ShowSegmentRequest)(nil), "milvus.proto.milvus.ShowSegmentRequest") proto.RegisterType((*ShowSegmentResponse)(nil), "milvus.proto.milvus.ShowSegmentResponse") proto.RegisterType((*CreateIndexRequest)(nil), "milvus.proto.milvus.CreateIndexRequest") proto.RegisterType((*DescribeIndexRequest)(nil), "milvus.proto.milvus.DescribeIndexRequest") proto.RegisterType((*IndexDescription)(nil), "milvus.proto.milvus.IndexDescription") proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.milvus.DescribeIndexResponse") proto.RegisterType((*IndexStateRequest)(nil), "milvus.proto.milvus.IndexStateRequest") proto.RegisterType((*IndexStateResponse)(nil), "milvus.proto.milvus.IndexStateResponse") proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.milvus.DropIndexRequest") proto.RegisterType((*InsertRequest)(nil), "milvus.proto.milvus.InsertRequest") proto.RegisterType((*InsertResponse)(nil), "milvus.proto.milvus.InsertResponse") proto.RegisterType((*PlaceholderValue)(nil), "milvus.proto.milvus.PlaceholderValue") proto.RegisterType((*PlaceholderGroup)(nil), "milvus.proto.milvus.PlaceholderGroup") proto.RegisterType((*SearchRequest)(nil), "milvus.proto.milvus.SearchRequest") proto.RegisterType((*Hits)(nil), "milvus.proto.milvus.Hits") proto.RegisterType((*SearchResults)(nil), "milvus.proto.milvus.SearchResults") proto.RegisterType((*FlushRequest)(nil), "milvus.proto.milvus.FlushRequest") proto.RegisterType((*PersistentSegmentInfo)(nil), "milvus.proto.milvus.PersistentSegmentInfo") proto.RegisterType((*PersistentSegmentInfoRequest)(nil), "milvus.proto.milvus.PersistentSegmentInfoRequest") proto.RegisterType((*PersistentSegmentInfoResponse)(nil), "milvus.proto.milvus.PersistentSegmentInfoResponse") proto.RegisterType((*QuerySegmentInfo)(nil), "milvus.proto.milvus.QuerySegmentInfo") proto.RegisterType((*QuerySegmentInfoRequest)(nil), "milvus.proto.milvus.QuerySegmentInfoRequest") proto.RegisterType((*QuerySegmentInfoResponse)(nil), "milvus.proto.milvus.QuerySegmentInfoResponse") proto.RegisterType((*RegisterLinkResponse)(nil), "milvus.proto.milvus.RegisterLinkResponse") } func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) } var fileDescriptor_02345ba45cc0e303 = []byte{ // 1991 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x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x4a, 0xf6, 0xbb, 0xed, 0x0e, 0x3b, 0x4e, 0x91, 0x38, 0xfe, 0x87, 0x23, 0x7d, 0x0a, 0xbf, 0x44, 0x50, 0xe2, 0xfe, 0xa9, 0x7c, 0x0e, 0x7e, 0xe5, 0x15, 0x32, 0xfc, 0x40, 0x82, 0xed, 0x57, 0x99, 0x12, 0xa2, 0x60, 0xb0, 0xbc, 0x47, 0x58, 0xdf, 0xcb, 0xe0, 0xfa, 0x68, 0x79, 0x65, 0xb0, 0xf5, 0x8d, 0x11, 0xb9, 0x7b, 0xbb, 0x6e, 0x37, 0x41, 0xdb, 0xf7, 0xbd, 0xe7, 0xc7, 0xbd, 0xf4, 0xed, 0x7b, 0xa0, 0x45, 0xf3, 0xd2, 0x81, 0xea, 0xbd, 0x92, 0x12, 0x23, 0xfb, 0xd3, 0x5a, 0x7d, 0x6a, 0x67, 0xe7, 0x07, 0xb7, 0x9a, 0x36, 0x6b, 0x75, 0xeb, 0x7c, 0x8d, 0xad, 0x17, 0xb6, 0xe3, 0xd8, 0x2f, 0x18, 0x69, 0xb4, 0xb6, 0xe4, 0xb4, 0x1b, 0x96, 0x4d, 0x99, 0x6f, 0xd7, 0xbb, 0x8c, 0x58, 0x5b, 0xb6, 0xcb, 0x88, 0xef, 0x9a, 0xce, 0x96, 0x58, 0x38, 0xe0, 0xe8, 0xd4, 0xeb, 0x79, 0x31, 0x7e, 0xf7, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2f, 0xd0, 0x27, 0x0f, 0x93, 0x28, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 // MilvusServiceClient is the client API for MilvusService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MilvusServiceClient interface { CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) DropCollection(ctx context.Context, in *DropCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) HasCollection(ctx context.Context, in *HasCollectionRequest, opts ...grpc.CallOption) (*BoolResponse, error) LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) DescribeCollection(ctx context.Context, in *DescribeCollectionRequest, opts ...grpc.CallOption) (*DescribeCollectionResponse, error) GetCollectionStatistics(ctx context.Context, in *CollectionStatsRequest, opts ...grpc.CallOption) (*CollectionStatsResponse, error) ShowCollections(ctx context.Context, in *ShowCollectionRequest, opts ...grpc.CallOption) (*ShowCollectionResponse, error) CreatePartition(ctx context.Context, in *CreatePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) DropPartition(ctx context.Context, in *DropPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) HasPartition(ctx context.Context, in *HasPartitionRequest, opts ...grpc.CallOption) (*BoolResponse, error) LoadPartitions(ctx context.Context, in *LoadPartitonRequest, opts ...grpc.CallOption) (*commonpb.Status, error) ReleasePartitions(ctx context.Context, in *ReleasePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) GetPartitionStatistics(ctx context.Context, in *PartitionStatsRequest, opts ...grpc.CallOption) (*PartitionStatsResponse, error) ShowPartitions(ctx context.Context, in *ShowPartitionRequest, opts ...grpc.CallOption) (*ShowPartitionResponse, error) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) GetIndexState(ctx context.Context, in *IndexStateRequest, opts ...grpc.CallOption) (*IndexStateResponse, error) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*InsertResponse, error) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error) GetDdChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*StringResponse, error) GetPersistentSegmentInfo(ctx context.Context, in *PersistentSegmentInfoRequest, opts ...grpc.CallOption) (*PersistentSegmentInfoResponse, error) GetQuerySegmentInfo(ctx context.Context, in *QuerySegmentInfoRequest, opts ...grpc.CallOption) (*QuerySegmentInfoResponse, error) } type milvusServiceClient struct { cc *grpc.ClientConn } func NewMilvusServiceClient(cc *grpc.ClientConn) MilvusServiceClient { return &milvusServiceClient{cc} } func (c *milvusServiceClient) CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateCollection", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) DropCollection(ctx context.Context, in *DropCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropCollection", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) HasCollection(ctx context.Context, in *HasCollectionRequest, opts ...grpc.CallOption) (*BoolResponse, error) { out := new(BoolResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/HasCollection", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/LoadCollection", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ReleaseCollection", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) DescribeCollection(ctx context.Context, in *DescribeCollectionRequest, opts ...grpc.CallOption) (*DescribeCollectionResponse, error) { out := new(DescribeCollectionResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DescribeCollection", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) GetCollectionStatistics(ctx context.Context, in *CollectionStatsRequest, opts ...grpc.CallOption) (*CollectionStatsResponse, error) { out := new(CollectionStatsResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCollectionStatistics", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) ShowCollections(ctx context.Context, in *ShowCollectionRequest, opts ...grpc.CallOption) (*ShowCollectionResponse, error) { out := new(ShowCollectionResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ShowCollections", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) CreatePartition(ctx context.Context, in *CreatePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreatePartition", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) DropPartition(ctx context.Context, in *DropPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropPartition", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) HasPartition(ctx context.Context, in *HasPartitionRequest, opts ...grpc.CallOption) (*BoolResponse, error) { out := new(BoolResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/HasPartition", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) LoadPartitions(ctx context.Context, in *LoadPartitonRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/LoadPartitions", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ReleasePartitions", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) GetPartitionStatistics(ctx context.Context, in *PartitionStatsRequest, opts ...grpc.CallOption) (*PartitionStatsResponse, error) { out := new(PartitionStatsResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPartitionStatistics", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) ShowPartitions(ctx context.Context, in *ShowPartitionRequest, opts ...grpc.CallOption) (*ShowPartitionResponse, error) { out := new(ShowPartitionResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ShowPartitions", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateIndex", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) { out := new(DescribeIndexResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DescribeIndex", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) GetIndexState(ctx context.Context, in *IndexStateRequest, opts ...grpc.CallOption) (*IndexStateResponse, error) { out := new(IndexStateResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetIndexState", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropIndex", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*InsertResponse, error) { out := new(InsertResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Insert", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error) { out := new(SearchResults) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Search", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Flush", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) GetDdChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*StringResponse, error) { out := new(StringResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetDdChannel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) GetPersistentSegmentInfo(ctx context.Context, in *PersistentSegmentInfoRequest, opts ...grpc.CallOption) (*PersistentSegmentInfoResponse, error) { out := new(PersistentSegmentInfoResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPersistentSegmentInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *milvusServiceClient) GetQuerySegmentInfo(ctx context.Context, in *QuerySegmentInfoRequest, opts ...grpc.CallOption) (*QuerySegmentInfoResponse, error) { out := new(QuerySegmentInfoResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } // MilvusServiceServer is the server API for MilvusService service. type MilvusServiceServer interface { CreateCollection(context.Context, *CreateCollectionRequest) (*commonpb.Status, error) DropCollection(context.Context, *DropCollectionRequest) (*commonpb.Status, error) HasCollection(context.Context, *HasCollectionRequest) (*BoolResponse, error) LoadCollection(context.Context, *LoadCollectionRequest) (*commonpb.Status, error) ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error) DescribeCollection(context.Context, *DescribeCollectionRequest) (*DescribeCollectionResponse, error) GetCollectionStatistics(context.Context, *CollectionStatsRequest) (*CollectionStatsResponse, error) ShowCollections(context.Context, *ShowCollectionRequest) (*ShowCollectionResponse, error) CreatePartition(context.Context, *CreatePartitionRequest) (*commonpb.Status, error) DropPartition(context.Context, *DropPartitionRequest) (*commonpb.Status, error) HasPartition(context.Context, *HasPartitionRequest) (*BoolResponse, error) LoadPartitions(context.Context, *LoadPartitonRequest) (*commonpb.Status, error) ReleasePartitions(context.Context, *ReleasePartitionRequest) (*commonpb.Status, error) GetPartitionStatistics(context.Context, *PartitionStatsRequest) (*PartitionStatsResponse, error) ShowPartitions(context.Context, *ShowPartitionRequest) (*ShowPartitionResponse, error) CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error) DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error) GetIndexState(context.Context, *IndexStateRequest) (*IndexStateResponse, error) DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error) Insert(context.Context, *InsertRequest) (*InsertResponse, error) Search(context.Context, *SearchRequest) (*SearchResults, error) Flush(context.Context, *FlushRequest) (*commonpb.Status, error) GetDdChannel(context.Context, *commonpb.Empty) (*StringResponse, error) GetPersistentSegmentInfo(context.Context, *PersistentSegmentInfoRequest) (*PersistentSegmentInfoResponse, error) GetQuerySegmentInfo(context.Context, *QuerySegmentInfoRequest) (*QuerySegmentInfoResponse, error) } // UnimplementedMilvusServiceServer can be embedded to have forward compatible implementations. type UnimplementedMilvusServiceServer struct { } func (*UnimplementedMilvusServiceServer) CreateCollection(ctx context.Context, req *CreateCollectionRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateCollection not implemented") } func (*UnimplementedMilvusServiceServer) DropCollection(ctx context.Context, req *DropCollectionRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method DropCollection not implemented") } func (*UnimplementedMilvusServiceServer) HasCollection(ctx context.Context, req *HasCollectionRequest) (*BoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method HasCollection not implemented") } func (*UnimplementedMilvusServiceServer) LoadCollection(ctx context.Context, req *LoadCollectionRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method LoadCollection not implemented") } func (*UnimplementedMilvusServiceServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented") } func (*UnimplementedMilvusServiceServer) DescribeCollection(ctx context.Context, req *DescribeCollectionRequest) (*DescribeCollectionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DescribeCollection not implemented") } func (*UnimplementedMilvusServiceServer) GetCollectionStatistics(ctx context.Context, req *CollectionStatsRequest) (*CollectionStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented") } func (*UnimplementedMilvusServiceServer) ShowCollections(ctx context.Context, req *ShowCollectionRequest) (*ShowCollectionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ShowCollections not implemented") } func (*UnimplementedMilvusServiceServer) CreatePartition(ctx context.Context, req *CreatePartitionRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method CreatePartition not implemented") } func (*UnimplementedMilvusServiceServer) DropPartition(ctx context.Context, req *DropPartitionRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method DropPartition not implemented") } func (*UnimplementedMilvusServiceServer) HasPartition(ctx context.Context, req *HasPartitionRequest) (*BoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method HasPartition not implemented") } func (*UnimplementedMilvusServiceServer) LoadPartitions(ctx context.Context, req *LoadPartitonRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented") } func (*UnimplementedMilvusServiceServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented") } func (*UnimplementedMilvusServiceServer) GetPartitionStatistics(ctx context.Context, req *PartitionStatsRequest) (*PartitionStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented") } func (*UnimplementedMilvusServiceServer) ShowPartitions(ctx context.Context, req *ShowPartitionRequest) (*ShowPartitionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented") } func (*UnimplementedMilvusServiceServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") } func (*UnimplementedMilvusServiceServer) DescribeIndex(ctx context.Context, req *DescribeIndexRequest) (*DescribeIndexResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented") } func (*UnimplementedMilvusServiceServer) GetIndexState(ctx context.Context, req *IndexStateRequest) (*IndexStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented") } func (*UnimplementedMilvusServiceServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented") } func (*UnimplementedMilvusServiceServer) Insert(ctx context.Context, req *InsertRequest) (*InsertResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented") } func (*UnimplementedMilvusServiceServer) Search(ctx context.Context, req *SearchRequest) (*SearchResults, error) { return nil, status.Errorf(codes.Unimplemented, "method Search not implemented") } func (*UnimplementedMilvusServiceServer) Flush(ctx context.Context, req *FlushRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented") } func (*UnimplementedMilvusServiceServer) GetDdChannel(ctx context.Context, req *commonpb.Empty) (*StringResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetDdChannel not implemented") } func (*UnimplementedMilvusServiceServer) GetPersistentSegmentInfo(ctx context.Context, req *PersistentSegmentInfoRequest) (*PersistentSegmentInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPersistentSegmentInfo not implemented") } func (*UnimplementedMilvusServiceServer) GetQuerySegmentInfo(ctx context.Context, req *QuerySegmentInfoRequest) (*QuerySegmentInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetQuerySegmentInfo not implemented") } func RegisterMilvusServiceServer(s *grpc.Server, srv MilvusServiceServer) { s.RegisterService(&_MilvusService_serviceDesc, srv) } func _MilvusService_CreateCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateCollectionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).CreateCollection(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/CreateCollection", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).CreateCollection(ctx, req.(*CreateCollectionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_DropCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DropCollectionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).DropCollection(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/DropCollection", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).DropCollection(ctx, req.(*DropCollectionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_HasCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(HasCollectionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).HasCollection(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/HasCollection", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).HasCollection(ctx, req.(*HasCollectionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_LoadCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LoadCollectionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).LoadCollection(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/LoadCollection", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).LoadCollection(ctx, req.(*LoadCollectionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_ReleaseCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ReleaseCollectionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).ReleaseCollection(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/ReleaseCollection", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).ReleaseCollection(ctx, req.(*ReleaseCollectionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_DescribeCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DescribeCollectionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).DescribeCollection(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/DescribeCollection", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).DescribeCollection(ctx, req.(*DescribeCollectionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_GetCollectionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CollectionStatsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).GetCollectionStatistics(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/GetCollectionStatistics", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).GetCollectionStatistics(ctx, req.(*CollectionStatsRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ShowCollectionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).ShowCollections(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/ShowCollections", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).ShowCollections(ctx, req.(*ShowCollectionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_CreatePartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreatePartitionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).CreatePartition(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/CreatePartition", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).CreatePartition(ctx, req.(*CreatePartitionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_DropPartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DropPartitionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).DropPartition(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/DropPartition", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).DropPartition(ctx, req.(*DropPartitionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_HasPartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(HasPartitionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).HasPartition(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/HasPartition", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).HasPartition(ctx, req.(*HasPartitionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_LoadPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LoadPartitonRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).LoadPartitions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/LoadPartitions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).LoadPartitions(ctx, req.(*LoadPartitonRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ReleasePartitionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).ReleasePartitions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/ReleasePartitions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).ReleasePartitions(ctx, req.(*ReleasePartitionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_GetPartitionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PartitionStatsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).GetPartitionStatistics(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/GetPartitionStatistics", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).GetPartitionStatistics(ctx, req.(*PartitionStatsRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_ShowPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ShowPartitionRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).ShowPartitions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/ShowPartitions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).ShowPartitions(ctx, req.(*ShowPartitionRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateIndexRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).CreateIndex(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/CreateIndex", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).CreateIndex(ctx, req.(*CreateIndexRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_DescribeIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DescribeIndexRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).DescribeIndex(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/DescribeIndex", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).DescribeIndex(ctx, req.(*DescribeIndexRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_GetIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(IndexStateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).GetIndexState(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/GetIndexState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).GetIndexState(ctx, req.(*IndexStateRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DropIndexRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).DropIndex(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/DropIndex", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).DropIndex(ctx, req.(*DropIndexRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(InsertRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).Insert(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/Insert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).Insert(ctx, req.(*InsertRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).Search(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/Search", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).Search(ctx, req.(*SearchRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FlushRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).Flush(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/Flush", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).Flush(ctx, req.(*FlushRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_GetDdChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(commonpb.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).GetDdChannel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/GetDdChannel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).GetDdChannel(ctx, req.(*commonpb.Empty)) } return interceptor(ctx, in, info, handler) } func _MilvusService_GetPersistentSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PersistentSegmentInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).GetPersistentSegmentInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/GetPersistentSegmentInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).GetPersistentSegmentInfo(ctx, req.(*PersistentSegmentInfoRequest)) } return interceptor(ctx, in, info, handler) } func _MilvusService_GetQuerySegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QuerySegmentInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MilvusServiceServer).GetQuerySegmentInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MilvusServiceServer).GetQuerySegmentInfo(ctx, req.(*QuerySegmentInfoRequest)) } return interceptor(ctx, in, info, handler) } var _MilvusService_serviceDesc = grpc.ServiceDesc{ ServiceName: "milvus.proto.milvus.MilvusService", HandlerType: (*MilvusServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCollection", Handler: _MilvusService_CreateCollection_Handler, }, { MethodName: "DropCollection", Handler: _MilvusService_DropCollection_Handler, }, { MethodName: "HasCollection", Handler: _MilvusService_HasCollection_Handler, }, { MethodName: "LoadCollection", Handler: _MilvusService_LoadCollection_Handler, }, { MethodName: "ReleaseCollection", Handler: _MilvusService_ReleaseCollection_Handler, }, { MethodName: "DescribeCollection", Handler: _MilvusService_DescribeCollection_Handler, }, { MethodName: "GetCollectionStatistics", Handler: _MilvusService_GetCollectionStatistics_Handler, }, { MethodName: "ShowCollections", Handler: _MilvusService_ShowCollections_Handler, }, { MethodName: "CreatePartition", Handler: _MilvusService_CreatePartition_Handler, }, { MethodName: "DropPartition", Handler: _MilvusService_DropPartition_Handler, }, { MethodName: "HasPartition", Handler: _MilvusService_HasPartition_Handler, }, { MethodName: "LoadPartitions", Handler: _MilvusService_LoadPartitions_Handler, }, { MethodName: "ReleasePartitions", Handler: _MilvusService_ReleasePartitions_Handler, }, { MethodName: "GetPartitionStatistics", Handler: _MilvusService_GetPartitionStatistics_Handler, }, { MethodName: "ShowPartitions", Handler: _MilvusService_ShowPartitions_Handler, }, { MethodName: "CreateIndex", Handler: _MilvusService_CreateIndex_Handler, }, { MethodName: "DescribeIndex", Handler: _MilvusService_DescribeIndex_Handler, }, { MethodName: "GetIndexState", Handler: _MilvusService_GetIndexState_Handler, }, { MethodName: "DropIndex", Handler: _MilvusService_DropIndex_Handler, }, { MethodName: "Insert", Handler: _MilvusService_Insert_Handler, }, { MethodName: "Search", Handler: _MilvusService_Search_Handler, }, { MethodName: "Flush", Handler: _MilvusService_Flush_Handler, }, { MethodName: "GetDdChannel", Handler: _MilvusService_GetDdChannel_Handler, }, { MethodName: "GetPersistentSegmentInfo", Handler: _MilvusService_GetPersistentSegmentInfo_Handler, }, { MethodName: "GetQuerySegmentInfo", Handler: _MilvusService_GetQuerySegmentInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "milvus.proto", } // ProxyServiceClient is the client API for ProxyService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ProxyServiceClient interface { RegisterLink(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*RegisterLinkResponse, error) } type proxyServiceClient struct { cc *grpc.ClientConn } func NewProxyServiceClient(cc *grpc.ClientConn) ProxyServiceClient { return &proxyServiceClient{cc} } func (c *proxyServiceClient) RegisterLink(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*RegisterLinkResponse, error) { out := new(RegisterLinkResponse) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.ProxyService/RegisterLink", in, out, opts...) if err != nil { return nil, err } return out, nil } // ProxyServiceServer is the server API for ProxyService service. type ProxyServiceServer interface { RegisterLink(context.Context, *commonpb.Empty) (*RegisterLinkResponse, error) } // UnimplementedProxyServiceServer can be embedded to have forward compatible implementations. type UnimplementedProxyServiceServer struct { } func (*UnimplementedProxyServiceServer) RegisterLink(ctx context.Context, req *commonpb.Empty) (*RegisterLinkResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RegisterLink not implemented") } func RegisterProxyServiceServer(s *grpc.Server, srv ProxyServiceServer) { s.RegisterService(&_ProxyService_serviceDesc, srv) } func _ProxyService_RegisterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(commonpb.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ProxyServiceServer).RegisterLink(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/milvus.proto.milvus.ProxyService/RegisterLink", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ProxyServiceServer).RegisterLink(ctx, req.(*commonpb.Empty)) } return interceptor(ctx, in, info, handler) } var _ProxyService_serviceDesc = grpc.ServiceDesc{ ServiceName: "milvus.proto.milvus.ProxyService", HandlerType: (*ProxyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterLink", Handler: _ProxyService_RegisterLink_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "milvus.proto", }