mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
1740 lines
60 KiB
Go
1740 lines
60 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: internal_msg.proto
|
|
|
|
package internalpb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
|
|
servicepb "github.com/zilliztech/milvus-distributed/internal/proto/servicepb"
|
|
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 MsgType int32
|
|
|
|
const (
|
|
MsgType_kNone MsgType = 0
|
|
// Definition Requests: collection
|
|
MsgType_kCreateCollection MsgType = 100
|
|
MsgType_kDropCollection MsgType = 101
|
|
MsgType_kHasCollection MsgType = 102
|
|
MsgType_kDescribeCollection MsgType = 103
|
|
MsgType_kShowCollections MsgType = 104
|
|
// Definition Requests: partition
|
|
MsgType_kCreatePartition MsgType = 200
|
|
MsgType_kDropPartition MsgType = 201
|
|
MsgType_kHasPartition MsgType = 202
|
|
MsgType_kDescribePartition MsgType = 203
|
|
MsgType_kShowPartitions MsgType = 204
|
|
// Manipulation Requests
|
|
MsgType_kInsert MsgType = 400
|
|
MsgType_kDelete MsgType = 401
|
|
// Query
|
|
MsgType_kSearch MsgType = 500
|
|
// System Control
|
|
MsgType_kTimeTick MsgType = 1200
|
|
MsgType_kTimeSync MsgType = 1201
|
|
)
|
|
|
|
var MsgType_name = map[int32]string{
|
|
0: "kNone",
|
|
100: "kCreateCollection",
|
|
101: "kDropCollection",
|
|
102: "kHasCollection",
|
|
103: "kDescribeCollection",
|
|
104: "kShowCollections",
|
|
200: "kCreatePartition",
|
|
201: "kDropPartition",
|
|
202: "kHasPartition",
|
|
203: "kDescribePartition",
|
|
204: "kShowPartitions",
|
|
400: "kInsert",
|
|
401: "kDelete",
|
|
500: "kSearch",
|
|
1200: "kTimeTick",
|
|
1201: "kTimeSync",
|
|
}
|
|
|
|
var MsgType_value = map[string]int32{
|
|
"kNone": 0,
|
|
"kCreateCollection": 100,
|
|
"kDropCollection": 101,
|
|
"kHasCollection": 102,
|
|
"kDescribeCollection": 103,
|
|
"kShowCollections": 104,
|
|
"kCreatePartition": 200,
|
|
"kDropPartition": 201,
|
|
"kHasPartition": 202,
|
|
"kDescribePartition": 203,
|
|
"kShowPartitions": 204,
|
|
"kInsert": 400,
|
|
"kDelete": 401,
|
|
"kSearch": 500,
|
|
"kTimeTick": 1200,
|
|
"kTimeSync": 1201,
|
|
}
|
|
|
|
func (x MsgType) String() string {
|
|
return proto.EnumName(MsgType_name, int32(x))
|
|
}
|
|
|
|
func (MsgType) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{0}
|
|
}
|
|
|
|
type PeerRole int32
|
|
|
|
const (
|
|
PeerRole_Master PeerRole = 0
|
|
PeerRole_Reader PeerRole = 1
|
|
PeerRole_Writer PeerRole = 2
|
|
PeerRole_Proxy PeerRole = 3
|
|
)
|
|
|
|
var PeerRole_name = map[int32]string{
|
|
0: "Master",
|
|
1: "Reader",
|
|
2: "Writer",
|
|
3: "Proxy",
|
|
}
|
|
|
|
var PeerRole_value = map[string]int32{
|
|
"Master": 0,
|
|
"Reader": 1,
|
|
"Writer": 2,
|
|
"Proxy": 3,
|
|
}
|
|
|
|
func (x PeerRole) String() string {
|
|
return proto.EnumName(PeerRole_name, int32(x))
|
|
}
|
|
|
|
func (PeerRole) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{1}
|
|
}
|
|
|
|
type IdRequest struct {
|
|
PeerId int64 `protobuf:"varint,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
|
|
Role PeerRole `protobuf:"varint,2,opt,name=role,proto3,enum=milvus.proto.internal.PeerRole" json:"role,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IdRequest) Reset() { *m = IdRequest{} }
|
|
func (m *IdRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*IdRequest) ProtoMessage() {}
|
|
func (*IdRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{0}
|
|
}
|
|
|
|
func (m *IdRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IdRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *IdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IdRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IdRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IdRequest.Merge(m, src)
|
|
}
|
|
func (m *IdRequest) XXX_Size() int {
|
|
return xxx_messageInfo_IdRequest.Size(m)
|
|
}
|
|
func (m *IdRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IdRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IdRequest proto.InternalMessageInfo
|
|
|
|
func (m *IdRequest) GetPeerId() int64 {
|
|
if m != nil {
|
|
return m.PeerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IdRequest) GetRole() PeerRole {
|
|
if m != nil {
|
|
return m.Role
|
|
}
|
|
return PeerRole_Master
|
|
}
|
|
|
|
func (m *IdRequest) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type IdResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IdResponse) Reset() { *m = IdResponse{} }
|
|
func (m *IdResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*IdResponse) ProtoMessage() {}
|
|
func (*IdResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{1}
|
|
}
|
|
|
|
func (m *IdResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IdResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *IdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IdResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IdResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IdResponse.Merge(m, src)
|
|
}
|
|
func (m *IdResponse) XXX_Size() int {
|
|
return xxx_messageInfo_IdResponse.Size(m)
|
|
}
|
|
func (m *IdResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IdResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IdResponse proto.InternalMessageInfo
|
|
|
|
func (m *IdResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IdResponse) GetId() int64 {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *IdResponse) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TsoRequest struct {
|
|
PeerId int64 `protobuf:"varint,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
|
|
Role PeerRole `protobuf:"varint,2,opt,name=role,proto3,enum=milvus.proto.internal.PeerRole" json:"role,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TsoRequest) Reset() { *m = TsoRequest{} }
|
|
func (m *TsoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*TsoRequest) ProtoMessage() {}
|
|
func (*TsoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{2}
|
|
}
|
|
|
|
func (m *TsoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TsoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *TsoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TsoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TsoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TsoRequest.Merge(m, src)
|
|
}
|
|
func (m *TsoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_TsoRequest.Size(m)
|
|
}
|
|
func (m *TsoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TsoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TsoRequest proto.InternalMessageInfo
|
|
|
|
func (m *TsoRequest) GetPeerId() int64 {
|
|
if m != nil {
|
|
return m.PeerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TsoRequest) GetRole() PeerRole {
|
|
if m != nil {
|
|
return m.Role
|
|
}
|
|
return PeerRole_Master
|
|
}
|
|
|
|
func (m *TsoRequest) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TsoResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TsoResponse) Reset() { *m = TsoResponse{} }
|
|
func (m *TsoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*TsoResponse) ProtoMessage() {}
|
|
func (*TsoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{3}
|
|
}
|
|
|
|
func (m *TsoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TsoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *TsoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TsoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TsoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TsoResponse.Merge(m, src)
|
|
}
|
|
func (m *TsoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_TsoResponse.Size(m)
|
|
}
|
|
func (m *TsoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TsoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TsoResponse proto.InternalMessageInfo
|
|
|
|
func (m *TsoResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TsoResponse) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TsoResponse) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateCollectionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
Schema *commonpb.Blob `protobuf:"bytes,5,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_7eb37f6b80b23116, []int{4}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *CreateCollectionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateCollectionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateCollectionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateCollectionRequest) GetSchema() *commonpb.Blob {
|
|
if m != nil {
|
|
return m.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DropCollectionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
CollectionName *servicepb.CollectionName `protobuf:"bytes,5,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_7eb37f6b80b23116, []int{5}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *DropCollectionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DropCollectionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DropCollectionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DropCollectionRequest) GetCollectionName() *servicepb.CollectionName {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HasCollectionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
CollectionName *servicepb.CollectionName `protobuf:"bytes,5,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_7eb37f6b80b23116, []int{6}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *HasCollectionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *HasCollectionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *HasCollectionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *HasCollectionRequest) GetCollectionName() *servicepb.CollectionName {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeCollectionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
CollectionName *servicepb.CollectionName `protobuf:"bytes,5,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 *DescribeCollectionRequest) Reset() { *m = DescribeCollectionRequest{} }
|
|
func (m *DescribeCollectionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeCollectionRequest) ProtoMessage() {}
|
|
func (*DescribeCollectionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{7}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *DescribeCollectionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeCollectionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeCollectionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeCollectionRequest) GetCollectionName() *servicepb.CollectionName {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShowCollectionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,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_7eb37f6b80b23116, []int{8}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *ShowCollectionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowCollectionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowCollectionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreatePartitionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
PartitionName *servicepb.PartitionName `protobuf:"bytes,5,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_7eb37f6b80b23116, []int{9}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *CreatePartitionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreatePartitionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreatePartitionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreatePartitionRequest) GetPartitionName() *servicepb.PartitionName {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DropPartitionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
PartitionName *servicepb.PartitionName `protobuf:"bytes,5,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_7eb37f6b80b23116, []int{10}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *DropPartitionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DropPartitionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DropPartitionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DropPartitionRequest) GetPartitionName() *servicepb.PartitionName {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HasPartitionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
PartitionName *servicepb.PartitionName `protobuf:"bytes,5,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_7eb37f6b80b23116, []int{11}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *HasPartitionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *HasPartitionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *HasPartitionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *HasPartitionRequest) GetPartitionName() *servicepb.PartitionName {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribePartitionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
PartitionName *servicepb.PartitionName `protobuf:"bytes,5,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 *DescribePartitionRequest) Reset() { *m = DescribePartitionRequest{} }
|
|
func (m *DescribePartitionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribePartitionRequest) ProtoMessage() {}
|
|
func (*DescribePartitionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{12}
|
|
}
|
|
|
|
func (m *DescribePartitionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribePartitionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribePartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribePartitionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribePartitionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribePartitionRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribePartitionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DescribePartitionRequest.Size(m)
|
|
}
|
|
func (m *DescribePartitionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribePartitionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribePartitionRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribePartitionRequest) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *DescribePartitionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribePartitionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribePartitionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribePartitionRequest) GetPartitionName() *servicepb.PartitionName {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShowPartitionRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,4,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
CollectionName *servicepb.CollectionName `protobuf:"bytes,5,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 *ShowPartitionRequest) Reset() { *m = ShowPartitionRequest{} }
|
|
func (m *ShowPartitionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowPartitionRequest) ProtoMessage() {}
|
|
func (*ShowPartitionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{13}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *ShowPartitionRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowPartitionRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowPartitionRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowPartitionRequest) GetCollectionName() *servicepb.CollectionName {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
PartitionTag string `protobuf:"bytes,4,opt,name=partition_tag,json=partitionTag,proto3" json:"partition_tag,omitempty"`
|
|
SegmentId int64 `protobuf:"varint,5,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"`
|
|
ChannelId int64 `protobuf:"varint,6,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,7,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
Timestamps []uint64 `protobuf:"varint,8,rep,packed,name=timestamps,proto3" json:"timestamps,omitempty"`
|
|
RowIds []int64 `protobuf:"varint,9,rep,packed,name=row_ids,json=rowIds,proto3" json:"row_ids,omitempty"`
|
|
RowData []*commonpb.Blob `protobuf:"bytes,10,rep,name=row_data,json=rowData,proto3" json:"row_data,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_7eb37f6b80b23116, []int{14}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *InsertRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *InsertRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *InsertRequest) GetPartitionTag() string {
|
|
if m != nil {
|
|
return m.PartitionTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *InsertRequest) GetSegmentId() int64 {
|
|
if m != nil {
|
|
return m.SegmentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *InsertRequest) GetChannelId() int64 {
|
|
if m != nil {
|
|
return m.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *InsertRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *InsertRequest) GetTimestamps() []uint64 {
|
|
if m != nil {
|
|
return m.Timestamps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertRequest) GetRowIds() []int64 {
|
|
if m != nil {
|
|
return m.RowIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertRequest) GetRowData() []*commonpb.Blob {
|
|
if m != nil {
|
|
return m.RowData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
|
|
ChannelId int64 `protobuf:"varint,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,5,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
Timestamps []uint64 `protobuf:"varint,6,rep,packed,name=timestamps,proto3" json:"timestamps,omitempty"`
|
|
PrimaryKeys []int64 `protobuf:"varint,7,rep,packed,name=primary_keys,json=primaryKeys,proto3" json:"primary_keys,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
|
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteRequest) ProtoMessage() {}
|
|
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{15}
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeleteRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteRequest.Merge(m, src)
|
|
}
|
|
func (m *DeleteRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteRequest.Size(m)
|
|
}
|
|
func (m *DeleteRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
|
|
|
|
func (m *DeleteRequest) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *DeleteRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeleteRequest) GetCollectionName() string {
|
|
if m != nil {
|
|
return m.CollectionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteRequest) GetChannelId() int64 {
|
|
if m != nil {
|
|
return m.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeleteRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeleteRequest) GetTimestamps() []uint64 {
|
|
if m != nil {
|
|
return m.Timestamps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DeleteRequest) GetPrimaryKeys() []int64 {
|
|
if m != nil {
|
|
return m.PrimaryKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchRequest struct {
|
|
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,3,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ResultChannelId int64 `protobuf:"varint,5,opt,name=result_channel_id,json=resultChannelId,proto3" json:"result_channel_id,omitempty"`
|
|
Query *commonpb.Blob `protobuf:"bytes,6,opt,name=query,proto3" json:"query,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_7eb37f6b80b23116, []int{16}
|
|
}
|
|
|
|
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) GetMsgType() MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return MsgType_kNone
|
|
}
|
|
|
|
func (m *SearchRequest) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchRequest) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchRequest) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchRequest) GetResultChannelId() int64 {
|
|
if m != nil {
|
|
return m.ResultChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchRequest) GetQuery() *commonpb.Blob {
|
|
if m != nil {
|
|
return m.Query
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchResult struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
ReqId int64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
ProxyId int64 `protobuf:"varint,3,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
|
|
QueryNodeId int64 `protobuf:"varint,4,opt,name=query_node_id,json=queryNodeId,proto3" json:"query_node_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ResultChannelId int64 `protobuf:"varint,6,opt,name=result_channel_id,json=resultChannelId,proto3" json:"result_channel_id,omitempty"`
|
|
Hits []*servicepb.Hits `protobuf:"bytes,7,rep,name=hits,proto3" json:"hits,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SearchResult) Reset() { *m = SearchResult{} }
|
|
func (m *SearchResult) String() string { return proto.CompactTextString(m) }
|
|
func (*SearchResult) ProtoMessage() {}
|
|
func (*SearchResult) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{17}
|
|
}
|
|
|
|
func (m *SearchResult) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SearchResult.Unmarshal(m, b)
|
|
}
|
|
func (m *SearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SearchResult.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SearchResult) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SearchResult.Merge(m, src)
|
|
}
|
|
func (m *SearchResult) XXX_Size() int {
|
|
return xxx_messageInfo_SearchResult.Size(m)
|
|
}
|
|
func (m *SearchResult) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SearchResult.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SearchResult proto.InternalMessageInfo
|
|
|
|
func (m *SearchResult) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SearchResult) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchResult) GetProxyId() int64 {
|
|
if m != nil {
|
|
return m.ProxyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchResult) GetQueryNodeId() int64 {
|
|
if m != nil {
|
|
return m.QueryNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchResult) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchResult) GetResultChannelId() int64 {
|
|
if m != nil {
|
|
return m.ResultChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SearchResult) GetHits() []*servicepb.Hits {
|
|
if m != nil {
|
|
return m.Hits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TimeTickMsg struct {
|
|
PeerId int64 `protobuf:"varint,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TimeTickMsg) Reset() { *m = TimeTickMsg{} }
|
|
func (m *TimeTickMsg) String() string { return proto.CompactTextString(m) }
|
|
func (*TimeTickMsg) ProtoMessage() {}
|
|
func (*TimeTickMsg) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{18}
|
|
}
|
|
|
|
func (m *TimeTickMsg) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TimeTickMsg.Unmarshal(m, b)
|
|
}
|
|
func (m *TimeTickMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TimeTickMsg.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TimeTickMsg) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TimeTickMsg.Merge(m, src)
|
|
}
|
|
func (m *TimeTickMsg) XXX_Size() int {
|
|
return xxx_messageInfo_TimeTickMsg.Size(m)
|
|
}
|
|
func (m *TimeTickMsg) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TimeTickMsg.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TimeTickMsg proto.InternalMessageInfo
|
|
|
|
func (m *TimeTickMsg) GetPeerId() int64 {
|
|
if m != nil {
|
|
return m.PeerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TimeTickMsg) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Key2Seg struct {
|
|
RowId int64 `protobuf:"varint,1,opt,name=row_id,json=rowId,proto3" json:"row_id,omitempty"`
|
|
PrimaryKey int64 `protobuf:"varint,2,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
IsValid bool `protobuf:"varint,4,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
|
|
SegmentIds []int64 `protobuf:"varint,5,rep,packed,name=segment_ids,json=segmentIds,proto3" json:"segment_ids,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Key2Seg) Reset() { *m = Key2Seg{} }
|
|
func (m *Key2Seg) String() string { return proto.CompactTextString(m) }
|
|
func (*Key2Seg) ProtoMessage() {}
|
|
func (*Key2Seg) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{19}
|
|
}
|
|
|
|
func (m *Key2Seg) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Key2Seg.Unmarshal(m, b)
|
|
}
|
|
func (m *Key2Seg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Key2Seg.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Key2Seg) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Key2Seg.Merge(m, src)
|
|
}
|
|
func (m *Key2Seg) XXX_Size() int {
|
|
return xxx_messageInfo_Key2Seg.Size(m)
|
|
}
|
|
func (m *Key2Seg) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Key2Seg.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Key2Seg proto.InternalMessageInfo
|
|
|
|
func (m *Key2Seg) GetRowId() int64 {
|
|
if m != nil {
|
|
return m.RowId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Key2Seg) GetPrimaryKey() int64 {
|
|
if m != nil {
|
|
return m.PrimaryKey
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Key2Seg) GetTimestamp() uint64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Key2Seg) GetIsValid() bool {
|
|
if m != nil {
|
|
return m.IsValid
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Key2Seg) GetSegmentIds() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Key2SegMsg struct {
|
|
ReqId int64 `protobuf:"varint,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
|
|
Key2Seg []*Key2Seg `protobuf:"bytes,2,rep,name=key2seg,proto3" json:"key2seg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Key2SegMsg) Reset() { *m = Key2SegMsg{} }
|
|
func (m *Key2SegMsg) String() string { return proto.CompactTextString(m) }
|
|
func (*Key2SegMsg) ProtoMessage() {}
|
|
func (*Key2SegMsg) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{20}
|
|
}
|
|
|
|
func (m *Key2SegMsg) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Key2SegMsg.Unmarshal(m, b)
|
|
}
|
|
func (m *Key2SegMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Key2SegMsg.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Key2SegMsg) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Key2SegMsg.Merge(m, src)
|
|
}
|
|
func (m *Key2SegMsg) XXX_Size() int {
|
|
return xxx_messageInfo_Key2SegMsg.Size(m)
|
|
}
|
|
func (m *Key2SegMsg) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Key2SegMsg.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Key2SegMsg proto.InternalMessageInfo
|
|
|
|
func (m *Key2SegMsg) GetReqId() int64 {
|
|
if m != nil {
|
|
return m.ReqId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Key2SegMsg) GetKey2Seg() []*Key2Seg {
|
|
if m != nil {
|
|
return m.Key2Seg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentStatistics struct {
|
|
SegmentId int64 `protobuf:"varint,1,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"`
|
|
MemorySize int64 `protobuf:"varint,2,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"`
|
|
NumRows int64 `protobuf:"varint,3,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentStatistics) Reset() { *m = SegmentStatistics{} }
|
|
func (m *SegmentStatistics) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentStatistics) ProtoMessage() {}
|
|
func (*SegmentStatistics) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_7eb37f6b80b23116, []int{21}
|
|
}
|
|
|
|
func (m *SegmentStatistics) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentStatistics.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentStatistics.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentStatistics) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentStatistics.Merge(m, src)
|
|
}
|
|
func (m *SegmentStatistics) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentStatistics.Size(m)
|
|
}
|
|
func (m *SegmentStatistics) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentStatistics.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentStatistics proto.InternalMessageInfo
|
|
|
|
func (m *SegmentStatistics) GetSegmentId() int64 {
|
|
if m != nil {
|
|
return m.SegmentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStatistics) GetMemorySize() int64 {
|
|
if m != nil {
|
|
return m.MemorySize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStatistics) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("milvus.proto.internal.MsgType", MsgType_name, MsgType_value)
|
|
proto.RegisterEnum("milvus.proto.internal.PeerRole", PeerRole_name, PeerRole_value)
|
|
proto.RegisterType((*IdRequest)(nil), "milvus.proto.internal.IdRequest")
|
|
proto.RegisterType((*IdResponse)(nil), "milvus.proto.internal.IdResponse")
|
|
proto.RegisterType((*TsoRequest)(nil), "milvus.proto.internal.TsoRequest")
|
|
proto.RegisterType((*TsoResponse)(nil), "milvus.proto.internal.TsoResponse")
|
|
proto.RegisterType((*CreateCollectionRequest)(nil), "milvus.proto.internal.CreateCollectionRequest")
|
|
proto.RegisterType((*DropCollectionRequest)(nil), "milvus.proto.internal.DropCollectionRequest")
|
|
proto.RegisterType((*HasCollectionRequest)(nil), "milvus.proto.internal.HasCollectionRequest")
|
|
proto.RegisterType((*DescribeCollectionRequest)(nil), "milvus.proto.internal.DescribeCollectionRequest")
|
|
proto.RegisterType((*ShowCollectionRequest)(nil), "milvus.proto.internal.ShowCollectionRequest")
|
|
proto.RegisterType((*CreatePartitionRequest)(nil), "milvus.proto.internal.CreatePartitionRequest")
|
|
proto.RegisterType((*DropPartitionRequest)(nil), "milvus.proto.internal.DropPartitionRequest")
|
|
proto.RegisterType((*HasPartitionRequest)(nil), "milvus.proto.internal.HasPartitionRequest")
|
|
proto.RegisterType((*DescribePartitionRequest)(nil), "milvus.proto.internal.DescribePartitionRequest")
|
|
proto.RegisterType((*ShowPartitionRequest)(nil), "milvus.proto.internal.ShowPartitionRequest")
|
|
proto.RegisterType((*InsertRequest)(nil), "milvus.proto.internal.InsertRequest")
|
|
proto.RegisterType((*DeleteRequest)(nil), "milvus.proto.internal.DeleteRequest")
|
|
proto.RegisterType((*SearchRequest)(nil), "milvus.proto.internal.SearchRequest")
|
|
proto.RegisterType((*SearchResult)(nil), "milvus.proto.internal.SearchResult")
|
|
proto.RegisterType((*TimeTickMsg)(nil), "milvus.proto.internal.TimeTickMsg")
|
|
proto.RegisterType((*Key2Seg)(nil), "milvus.proto.internal.Key2Seg")
|
|
proto.RegisterType((*Key2SegMsg)(nil), "milvus.proto.internal.Key2SegMsg")
|
|
proto.RegisterType((*SegmentStatistics)(nil), "milvus.proto.internal.SegmentStatistics")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("internal_msg.proto", fileDescriptor_7eb37f6b80b23116) }
|
|
|
|
var fileDescriptor_7eb37f6b80b23116 = []byte{
|
|
// 1181 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0x4b, 0x6f, 0x1c, 0xc5,
|
|
0x13, 0xcf, 0xec, 0xd3, 0x5b, 0xeb, 0x5d, 0x8f, 0xdb, 0xf6, 0xdf, 0x9b, 0xfc, 0x21, 0x31, 0x13,
|
|
0x24, 0xac, 0x48, 0xd8, 0xc2, 0xe1, 0x40, 0xae, 0xc9, 0x1e, 0xb2, 0x44, 0x8e, 0xac, 0x59, 0x0b,
|
|
0x24, 0x24, 0x34, 0x9a, 0x9d, 0x29, 0x66, 0x5b, 0xf3, 0xe8, 0x71, 0x77, 0xaf, 0xcd, 0xfa, 0x0b,
|
|
0x70, 0x05, 0x71, 0xe4, 0xc6, 0x27, 0x80, 0x3b, 0x1f, 0x80, 0xd7, 0x9d, 0x2f, 0x01, 0x82, 0x48,
|
|
0xa0, 0x5c, 0x51, 0xf7, 0xcc, 0x3e, 0x66, 0xfd, 0xe0, 0x19, 0x64, 0xc9, 0xb7, 0xa9, 0x9a, 0x9e,
|
|
0xae, 0xfa, 0xfd, 0xea, 0xb1, 0x55, 0x0b, 0x84, 0x26, 0x12, 0x79, 0xe2, 0x46, 0x4e, 0x2c, 0x82,
|
|
0x9d, 0x94, 0x33, 0xc9, 0xc8, 0x46, 0x4c, 0xa3, 0xe3, 0x91,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