mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-04 01:42:15 +08:00
2626 lines
99 KiB
Go
2626 lines
99 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: data_service.proto
|
|
|
|
package datapb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
|
|
internalpb2 "github.com/zilliztech/milvus-distributed/internal/proto/internalpb2"
|
|
milvuspb "github.com/zilliztech/milvus-distributed/internal/proto/milvuspb"
|
|
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 RegisterNodeRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} }
|
|
func (m *RegisterNodeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RegisterNodeRequest) ProtoMessage() {}
|
|
func (*RegisterNodeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{0}
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RegisterNodeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RegisterNodeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNodeRequest.Merge(m, src)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RegisterNodeRequest.Size(m)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNodeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) GetAddress() *commonpb.Address {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegisterNodeResponse struct {
|
|
InitParams *internalpb2.InitParams `protobuf:"bytes,1,opt,name=init_params,json=initParams,proto3" json:"init_params,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 *RegisterNodeResponse) Reset() { *m = RegisterNodeResponse{} }
|
|
func (m *RegisterNodeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RegisterNodeResponse) ProtoMessage() {}
|
|
func (*RegisterNodeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{1}
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RegisterNodeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RegisterNodeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNodeResponse.Merge(m, src)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RegisterNodeResponse.Size(m)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNodeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNodeResponse proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNodeResponse) GetInitParams() *internalpb2.InitParams {
|
|
if m != nil {
|
|
return m.InitParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegIDRequest struct {
|
|
Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
CollName string `protobuf:"bytes,5,opt,name=coll_name,json=collName,proto3" json:"coll_name,omitempty"`
|
|
PartitionName string `protobuf:"bytes,6,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 *SegIDRequest) Reset() { *m = SegIDRequest{} }
|
|
func (m *SegIDRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SegIDRequest) ProtoMessage() {}
|
|
func (*SegIDRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{2}
|
|
}
|
|
|
|
func (m *SegIDRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegIDRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SegIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegIDRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegIDRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegIDRequest.Merge(m, src)
|
|
}
|
|
func (m *SegIDRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SegIDRequest.Size(m)
|
|
}
|
|
func (m *SegIDRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegIDRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegIDRequest proto.InternalMessageInfo
|
|
|
|
func (m *SegIDRequest) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDRequest) GetChannelName() string {
|
|
if m != nil {
|
|
return m.ChannelName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegIDRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDRequest) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDRequest) GetCollName() string {
|
|
if m != nil {
|
|
return m.CollName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegIDRequest) GetPartitionName() string {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AssignSegIDRequest struct {
|
|
NodeID int64 `protobuf:"varint,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
PeerRole string `protobuf:"bytes,2,opt,name=peer_role,json=peerRole,proto3" json:"peer_role,omitempty"`
|
|
SegIDRequests []*SegIDRequest `protobuf:"bytes,3,rep,name=segIDRequests,proto3" json:"segIDRequests,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AssignSegIDRequest) Reset() { *m = AssignSegIDRequest{} }
|
|
func (m *AssignSegIDRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignSegIDRequest) ProtoMessage() {}
|
|
func (*AssignSegIDRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{3}
|
|
}
|
|
|
|
func (m *AssignSegIDRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignSegIDRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignSegIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignSegIDRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignSegIDRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignSegIDRequest.Merge(m, src)
|
|
}
|
|
func (m *AssignSegIDRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AssignSegIDRequest.Size(m)
|
|
}
|
|
func (m *AssignSegIDRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignSegIDRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignSegIDRequest proto.InternalMessageInfo
|
|
|
|
func (m *AssignSegIDRequest) GetNodeID() int64 {
|
|
if m != nil {
|
|
return m.NodeID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignSegIDRequest) GetPeerRole() string {
|
|
if m != nil {
|
|
return m.PeerRole
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AssignSegIDRequest) GetSegIDRequests() []*SegIDRequest {
|
|
if m != nil {
|
|
return m.SegIDRequests
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegIDAssignment struct {
|
|
SegID int64 `protobuf:"varint,1,opt,name=segID,proto3" json:"segID,omitempty"`
|
|
ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,5,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
ExpireTime uint64 `protobuf:"varint,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
|
|
Status *commonpb.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
|
CollName string `protobuf:"bytes,8,opt,name=coll_name,json=collName,proto3" json:"coll_name,omitempty"`
|
|
PartitionName string `protobuf:"bytes,9,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 *SegIDAssignment) Reset() { *m = SegIDAssignment{} }
|
|
func (m *SegIDAssignment) String() string { return proto.CompactTextString(m) }
|
|
func (*SegIDAssignment) ProtoMessage() {}
|
|
func (*SegIDAssignment) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{4}
|
|
}
|
|
|
|
func (m *SegIDAssignment) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegIDAssignment.Unmarshal(m, b)
|
|
}
|
|
func (m *SegIDAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegIDAssignment.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegIDAssignment) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegIDAssignment.Merge(m, src)
|
|
}
|
|
func (m *SegIDAssignment) XXX_Size() int {
|
|
return xxx_messageInfo_SegIDAssignment.Size(m)
|
|
}
|
|
func (m *SegIDAssignment) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegIDAssignment.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegIDAssignment proto.InternalMessageInfo
|
|
|
|
func (m *SegIDAssignment) GetSegID() int64 {
|
|
if m != nil {
|
|
return m.SegID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetChannelName() string {
|
|
if m != nil {
|
|
return m.ChannelName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetExpireTime() uint64 {
|
|
if m != nil {
|
|
return m.ExpireTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetCollName() string {
|
|
if m != nil {
|
|
return m.CollName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetPartitionName() string {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AssignSegIDResponse struct {
|
|
SegIDAssignments []*SegIDAssignment `protobuf:"bytes,1,rep,name=segIDAssignments,proto3" json:"segIDAssignments,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 *AssignSegIDResponse) Reset() { *m = AssignSegIDResponse{} }
|
|
func (m *AssignSegIDResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignSegIDResponse) ProtoMessage() {}
|
|
func (*AssignSegIDResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{5}
|
|
}
|
|
|
|
func (m *AssignSegIDResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignSegIDResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignSegIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignSegIDResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignSegIDResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignSegIDResponse.Merge(m, src)
|
|
}
|
|
func (m *AssignSegIDResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AssignSegIDResponse.Size(m)
|
|
}
|
|
func (m *AssignSegIDResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignSegIDResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignSegIDResponse proto.InternalMessageInfo
|
|
|
|
func (m *AssignSegIDResponse) GetSegIDAssignments() []*SegIDAssignment {
|
|
if m != nil {
|
|
return m.SegIDAssignments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AssignSegIDResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FlushRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,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 *FlushRequest) Reset() { *m = FlushRequest{} }
|
|
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*FlushRequest) ProtoMessage() {}
|
|
func (*FlushRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{6}
|
|
}
|
|
|
|
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) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FlushRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
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"`
|
|
DbID int64 `protobuf:"varint,4,opt,name=dbID,proto3" json:"dbID,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_3385cd32ad6cfe64, []int{7}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
func (m *ShowSegmentRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShowSegmentResponse struct {
|
|
SegmentIDs []int64 `protobuf:"varint,1,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,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 *ShowSegmentResponse) Reset() { *m = ShowSegmentResponse{} }
|
|
func (m *ShowSegmentResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowSegmentResponse) ProtoMessage() {}
|
|
func (*ShowSegmentResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{8}
|
|
}
|
|
|
|
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) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowSegmentResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentStatesRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,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 *SegmentStatesRequest) Reset() { *m = SegmentStatesRequest{} }
|
|
func (m *SegmentStatesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentStatesRequest) ProtoMessage() {}
|
|
func (*SegmentStatesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{9}
|
|
}
|
|
|
|
func (m *SegmentStatesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentStatesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentStatesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentStatesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentStatesRequest.Merge(m, src)
|
|
}
|
|
func (m *SegmentStatesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentStatesRequest.Size(m)
|
|
}
|
|
func (m *SegmentStatesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentStatesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentStatesRequest proto.InternalMessageInfo
|
|
|
|
func (m *SegmentStatesRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentStatesRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentStateInfo struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
State commonpb.SegmentState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
|
|
CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
SealedTime uint64 `protobuf:"varint,4,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
|
|
FlushedTime uint64 `protobuf:"varint,5,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"`
|
|
StartPosition *internalpb2.MsgPosition `protobuf:"bytes,6,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
|
|
EndPosition *internalpb2.MsgPosition `protobuf:"bytes,7,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
|
|
Status *commonpb.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentStateInfo) Reset() { *m = SegmentStateInfo{} }
|
|
func (m *SegmentStateInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentStateInfo) ProtoMessage() {}
|
|
func (*SegmentStateInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{10}
|
|
}
|
|
|
|
func (m *SegmentStateInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentStateInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentStateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentStateInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentStateInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentStateInfo.Merge(m, src)
|
|
}
|
|
func (m *SegmentStateInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentStateInfo.Size(m)
|
|
}
|
|
func (m *SegmentStateInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentStateInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentStateInfo proto.InternalMessageInfo
|
|
|
|
func (m *SegmentStateInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetState() commonpb.SegmentState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.SegmentState_SegmentNone
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetSealedTime() uint64 {
|
|
if m != nil {
|
|
return m.SealedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetFlushedTime() uint64 {
|
|
if m != nil {
|
|
return m.FlushedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetStartPosition() *internalpb2.MsgPosition {
|
|
if m != nil {
|
|
return m.StartPosition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetEndPosition() *internalpb2.MsgPosition {
|
|
if m != nil {
|
|
return m.EndPosition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentInfoRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,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 *SegmentInfoRequest) Reset() { *m = SegmentInfoRequest{} }
|
|
func (m *SegmentInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfoRequest) ProtoMessage() {}
|
|
func (*SegmentInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{11}
|
|
}
|
|
|
|
func (m *SegmentInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfoRequest.Size(m)
|
|
}
|
|
func (m *SegmentInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfoRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentInfoRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentInfoResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Infos []*SegmentInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentInfoResponse) Reset() { *m = SegmentInfoResponse{} }
|
|
func (m *SegmentInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfoResponse) ProtoMessage() {}
|
|
func (*SegmentInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{12}
|
|
}
|
|
|
|
func (m *SegmentInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfoResponse.Size(m)
|
|
}
|
|
func (m *SegmentInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfoResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentInfoResponse) GetInfos() []*SegmentInfo {
|
|
if m != nil {
|
|
return m.Infos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentStatesResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
States []*SegmentStateInfo `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) Reset() { *m = SegmentStatesResponse{} }
|
|
func (m *SegmentStatesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentStatesResponse) ProtoMessage() {}
|
|
func (*SegmentStatesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{13}
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentStatesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentStatesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentStatesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentStatesResponse.Merge(m, src)
|
|
}
|
|
func (m *SegmentStatesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentStatesResponse.Size(m)
|
|
}
|
|
func (m *SegmentStatesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentStatesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentStatesResponse proto.InternalMessageInfo
|
|
|
|
func (m *SegmentStatesResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) GetStates() []*SegmentStateInfo {
|
|
if m != nil {
|
|
return m.States
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertBinlogPathRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InsertBinlogPathRequest) Reset() { *m = InsertBinlogPathRequest{} }
|
|
func (m *InsertBinlogPathRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*InsertBinlogPathRequest) ProtoMessage() {}
|
|
func (*InsertBinlogPathRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{14}
|
|
}
|
|
|
|
func (m *InsertBinlogPathRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InsertBinlogPathRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *InsertBinlogPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InsertBinlogPathRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InsertBinlogPathRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InsertBinlogPathRequest.Merge(m, src)
|
|
}
|
|
func (m *InsertBinlogPathRequest) XXX_Size() int {
|
|
return xxx_messageInfo_InsertBinlogPathRequest.Size(m)
|
|
}
|
|
func (m *InsertBinlogPathRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InsertBinlogPathRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InsertBinlogPathRequest proto.InternalMessageInfo
|
|
|
|
func (m *InsertBinlogPathRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertBinlogPathRequest) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InsertBinlogPathsResponse struct {
|
|
FieldIDs []int64 `protobuf:"varint,1,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"`
|
|
Paths []*internalpb2.StringList `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
|
|
Status *commonpb.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InsertBinlogPathsResponse) Reset() { *m = InsertBinlogPathsResponse{} }
|
|
func (m *InsertBinlogPathsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*InsertBinlogPathsResponse) ProtoMessage() {}
|
|
func (*InsertBinlogPathsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{15}
|
|
}
|
|
|
|
func (m *InsertBinlogPathsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InsertBinlogPathsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *InsertBinlogPathsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InsertBinlogPathsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InsertBinlogPathsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InsertBinlogPathsResponse.Merge(m, src)
|
|
}
|
|
func (m *InsertBinlogPathsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_InsertBinlogPathsResponse.Size(m)
|
|
}
|
|
func (m *InsertBinlogPathsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InsertBinlogPathsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InsertBinlogPathsResponse proto.InternalMessageInfo
|
|
|
|
func (m *InsertBinlogPathsResponse) GetFieldIDs() []int64 {
|
|
if m != nil {
|
|
return m.FieldIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertBinlogPathsResponse) GetPaths() []*internalpb2.StringList {
|
|
if m != nil {
|
|
return m.Paths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertBinlogPathsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertChannelRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,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 *InsertChannelRequest) Reset() { *m = InsertChannelRequest{} }
|
|
func (m *InsertChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*InsertChannelRequest) ProtoMessage() {}
|
|
func (*InsertChannelRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{16}
|
|
}
|
|
|
|
func (m *InsertChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InsertChannelRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *InsertChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InsertChannelRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InsertChannelRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InsertChannelRequest.Merge(m, src)
|
|
}
|
|
func (m *InsertChannelRequest) XXX_Size() int {
|
|
return xxx_messageInfo_InsertChannelRequest.Size(m)
|
|
}
|
|
func (m *InsertChannelRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InsertChannelRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InsertChannelRequest proto.InternalMessageInfo
|
|
|
|
func (m *InsertChannelRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertChannelRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *InsertChannelRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WatchDmChannelRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
ChannelNames []string `protobuf:"bytes,2,rep,name=channelNames,proto3" json:"channelNames,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *WatchDmChannelRequest) Reset() { *m = WatchDmChannelRequest{} }
|
|
func (m *WatchDmChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*WatchDmChannelRequest) ProtoMessage() {}
|
|
func (*WatchDmChannelRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{17}
|
|
}
|
|
|
|
func (m *WatchDmChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_WatchDmChannelRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *WatchDmChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_WatchDmChannelRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *WatchDmChannelRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WatchDmChannelRequest.Merge(m, src)
|
|
}
|
|
func (m *WatchDmChannelRequest) XXX_Size() int {
|
|
return xxx_messageInfo_WatchDmChannelRequest.Size(m)
|
|
}
|
|
func (m *WatchDmChannelRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WatchDmChannelRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WatchDmChannelRequest proto.InternalMessageInfo
|
|
|
|
func (m *WatchDmChannelRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WatchDmChannelRequest) GetChannelNames() []string {
|
|
if m != nil {
|
|
return m.ChannelNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FlushSegRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
SegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FlushSegRequest) Reset() { *m = FlushSegRequest{} }
|
|
func (m *FlushSegRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*FlushSegRequest) ProtoMessage() {}
|
|
func (*FlushSegRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{18}
|
|
}
|
|
|
|
func (m *FlushSegRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FlushSegRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *FlushSegRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FlushSegRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FlushSegRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FlushSegRequest.Merge(m, src)
|
|
}
|
|
func (m *FlushSegRequest) XXX_Size() int {
|
|
return xxx_messageInfo_FlushSegRequest.Size(m)
|
|
}
|
|
func (m *FlushSegRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FlushSegRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FlushSegRequest proto.InternalMessageInfo
|
|
|
|
func (m *FlushSegRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *FlushSegRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FlushSegRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FlushSegRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentInfo 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"`
|
|
InsertChannel string `protobuf:"bytes,4,opt,name=insert_channel,json=insertChannel,proto3" json:"insert_channel,omitempty"`
|
|
OpenTime uint64 `protobuf:"varint,5,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"`
|
|
SealedTime uint64 `protobuf:"varint,6,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
|
|
FlushedTime uint64 `protobuf:"varint,7,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"`
|
|
NumRows int64 `protobuf:"varint,8,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
MemSize int64 `protobuf:"varint,9,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
|
|
State commonpb.SegmentState `protobuf:"varint,10,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
|
|
StartPosition *internalpb2.MsgPosition `protobuf:"bytes,11,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
|
|
EndPosition *internalpb2.MsgPosition `protobuf:"bytes,12,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentInfo) Reset() { *m = SegmentInfo{} }
|
|
func (m *SegmentInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfo) ProtoMessage() {}
|
|
func (*SegmentInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{19}
|
|
}
|
|
|
|
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfo.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfo.Size(m)
|
|
}
|
|
func (m *SegmentInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetInsertChannel() string {
|
|
if m != nil {
|
|
return m.InsertChannel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegmentInfo) GetOpenTime() uint64 {
|
|
if m != nil {
|
|
return m.OpenTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetSealedTime() uint64 {
|
|
if m != nil {
|
|
return m.SealedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetFlushedTime() uint64 {
|
|
if m != nil {
|
|
return m.FlushedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetMemSize() int64 {
|
|
if m != nil {
|
|
return m.MemSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetState() commonpb.SegmentState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.SegmentState_SegmentNone
|
|
}
|
|
|
|
func (m *SegmentInfo) GetStartPosition() *internalpb2.MsgPosition {
|
|
if m != nil {
|
|
return m.StartPosition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentInfo) GetEndPosition() *internalpb2.MsgPosition {
|
|
if m != nil {
|
|
return m.EndPosition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentMsg struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Segment *SegmentInfo `protobuf:"bytes,2,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentMsg) Reset() { *m = SegmentMsg{} }
|
|
func (m *SegmentMsg) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentMsg) ProtoMessage() {}
|
|
func (*SegmentMsg) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{20}
|
|
}
|
|
|
|
func (m *SegmentMsg) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentMsg.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentMsg.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentMsg) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentMsg.Merge(m, src)
|
|
}
|
|
func (m *SegmentMsg) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentMsg.Size(m)
|
|
}
|
|
func (m *SegmentMsg) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentMsg.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentMsg proto.InternalMessageInfo
|
|
|
|
func (m *SegmentMsg) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentMsg) GetSegment() *SegmentInfo {
|
|
if m != nil {
|
|
return m.Segment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CollectionStatsRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,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 *CollectionStatsRequest) Reset() { *m = CollectionStatsRequest{} }
|
|
func (m *CollectionStatsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionStatsRequest) ProtoMessage() {}
|
|
func (*CollectionStatsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{21}
|
|
}
|
|
|
|
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) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CollectionStatsRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CollectionStatsResponse struct {
|
|
Stats []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,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 *CollectionStatsResponse) Reset() { *m = CollectionStatsResponse{} }
|
|
func (m *CollectionStatsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionStatsResponse) ProtoMessage() {}
|
|
func (*CollectionStatsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{22}
|
|
}
|
|
|
|
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) GetStats() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionStatsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PartitionStatsRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,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_3385cd32ad6cfe64, []int{23}
|
|
}
|
|
|
|
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) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PartitionStatsRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PartitionStatsRequest) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PartitionStatsResponse struct {
|
|
Stats []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,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 *PartitionStatsResponse) Reset() { *m = PartitionStatsResponse{} }
|
|
func (m *PartitionStatsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*PartitionStatsResponse) ProtoMessage() {}
|
|
func (*PartitionStatsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{24}
|
|
}
|
|
|
|
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) GetStats() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PartitionStatsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FieldFlushMeta struct {
|
|
FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
BinlogPaths []string `protobuf:"bytes,2,rep,name=binlog_paths,json=binlogPaths,proto3" json:"binlog_paths,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FieldFlushMeta) Reset() { *m = FieldFlushMeta{} }
|
|
func (m *FieldFlushMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*FieldFlushMeta) ProtoMessage() {}
|
|
func (*FieldFlushMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{25}
|
|
}
|
|
|
|
func (m *FieldFlushMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FieldFlushMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *FieldFlushMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FieldFlushMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FieldFlushMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FieldFlushMeta.Merge(m, src)
|
|
}
|
|
func (m *FieldFlushMeta) XXX_Size() int {
|
|
return xxx_messageInfo_FieldFlushMeta.Size(m)
|
|
}
|
|
func (m *FieldFlushMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FieldFlushMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FieldFlushMeta proto.InternalMessageInfo
|
|
|
|
func (m *FieldFlushMeta) GetFieldID() int64 {
|
|
if m != nil {
|
|
return m.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FieldFlushMeta) GetBinlogPaths() []string {
|
|
if m != nil {
|
|
return m.BinlogPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentFlushMeta struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
IsFlushed bool `protobuf:"varint,2,opt,name=is_flushed,json=isFlushed,proto3" json:"is_flushed,omitempty"`
|
|
Fields []*FieldFlushMeta `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentFlushMeta) Reset() { *m = SegmentFlushMeta{} }
|
|
func (m *SegmentFlushMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentFlushMeta) ProtoMessage() {}
|
|
func (*SegmentFlushMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{26}
|
|
}
|
|
|
|
func (m *SegmentFlushMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentFlushMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentFlushMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentFlushMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentFlushMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentFlushMeta.Merge(m, src)
|
|
}
|
|
func (m *SegmentFlushMeta) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentFlushMeta.Size(m)
|
|
}
|
|
func (m *SegmentFlushMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentFlushMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentFlushMeta proto.InternalMessageInfo
|
|
|
|
func (m *SegmentFlushMeta) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentFlushMeta) GetIsFlushed() bool {
|
|
if m != nil {
|
|
return m.IsFlushed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SegmentFlushMeta) GetFields() []*FieldFlushMeta {
|
|
if m != nil {
|
|
return m.Fields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DDLFlushMeta struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
BinlogPaths []string `protobuf:"bytes,2,rep,name=binlog_paths,json=binlogPaths,proto3" json:"binlog_paths,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DDLFlushMeta) Reset() { *m = DDLFlushMeta{} }
|
|
func (m *DDLFlushMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*DDLFlushMeta) ProtoMessage() {}
|
|
func (*DDLFlushMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{27}
|
|
}
|
|
|
|
func (m *DDLFlushMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DDLFlushMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *DDLFlushMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DDLFlushMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DDLFlushMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DDLFlushMeta.Merge(m, src)
|
|
}
|
|
func (m *DDLFlushMeta) XXX_Size() int {
|
|
return xxx_messageInfo_DDLFlushMeta.Size(m)
|
|
}
|
|
func (m *DDLFlushMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DDLFlushMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DDLFlushMeta proto.InternalMessageInfo
|
|
|
|
func (m *DDLFlushMeta) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DDLFlushMeta) GetBinlogPaths() []string {
|
|
if m != nil {
|
|
return m.BinlogPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CollectionCountRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,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 *CollectionCountRequest) Reset() { *m = CollectionCountRequest{} }
|
|
func (m *CollectionCountRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionCountRequest) ProtoMessage() {}
|
|
func (*CollectionCountRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{28}
|
|
}
|
|
|
|
func (m *CollectionCountRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CollectionCountRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CollectionCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CollectionCountRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CollectionCountRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CollectionCountRequest.Merge(m, src)
|
|
}
|
|
func (m *CollectionCountRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CollectionCountRequest.Size(m)
|
|
}
|
|
func (m *CollectionCountRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CollectionCountRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CollectionCountRequest proto.InternalMessageInfo
|
|
|
|
func (m *CollectionCountRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionCountRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CollectionCountRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CollectionCountResponse struct {
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CollectionCountResponse) Reset() { *m = CollectionCountResponse{} }
|
|
func (m *CollectionCountResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CollectionCountResponse) ProtoMessage() {}
|
|
func (*CollectionCountResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{29}
|
|
}
|
|
|
|
func (m *CollectionCountResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CollectionCountResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CollectionCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CollectionCountResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CollectionCountResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CollectionCountResponse.Merge(m, src)
|
|
}
|
|
func (m *CollectionCountResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CollectionCountResponse.Size(m)
|
|
}
|
|
func (m *CollectionCountResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CollectionCountResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CollectionCountResponse proto.InternalMessageInfo
|
|
|
|
func (m *CollectionCountResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CollectionCountResponse) GetCount() int64 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RegisterNodeRequest)(nil), "milvus.proto.data.RegisterNodeRequest")
|
|
proto.RegisterType((*RegisterNodeResponse)(nil), "milvus.proto.data.RegisterNodeResponse")
|
|
proto.RegisterType((*SegIDRequest)(nil), "milvus.proto.data.SegIDRequest")
|
|
proto.RegisterType((*AssignSegIDRequest)(nil), "milvus.proto.data.AssignSegIDRequest")
|
|
proto.RegisterType((*SegIDAssignment)(nil), "milvus.proto.data.SegIDAssignment")
|
|
proto.RegisterType((*AssignSegIDResponse)(nil), "milvus.proto.data.AssignSegIDResponse")
|
|
proto.RegisterType((*FlushRequest)(nil), "milvus.proto.data.FlushRequest")
|
|
proto.RegisterType((*ShowSegmentRequest)(nil), "milvus.proto.data.ShowSegmentRequest")
|
|
proto.RegisterType((*ShowSegmentResponse)(nil), "milvus.proto.data.ShowSegmentResponse")
|
|
proto.RegisterType((*SegmentStatesRequest)(nil), "milvus.proto.data.SegmentStatesRequest")
|
|
proto.RegisterType((*SegmentStateInfo)(nil), "milvus.proto.data.SegmentStateInfo")
|
|
proto.RegisterType((*SegmentInfoRequest)(nil), "milvus.proto.data.SegmentInfoRequest")
|
|
proto.RegisterType((*SegmentInfoResponse)(nil), "milvus.proto.data.SegmentInfoResponse")
|
|
proto.RegisterType((*SegmentStatesResponse)(nil), "milvus.proto.data.SegmentStatesResponse")
|
|
proto.RegisterType((*InsertBinlogPathRequest)(nil), "milvus.proto.data.InsertBinlogPathRequest")
|
|
proto.RegisterType((*InsertBinlogPathsResponse)(nil), "milvus.proto.data.InsertBinlogPathsResponse")
|
|
proto.RegisterType((*InsertChannelRequest)(nil), "milvus.proto.data.InsertChannelRequest")
|
|
proto.RegisterType((*WatchDmChannelRequest)(nil), "milvus.proto.data.WatchDmChannelRequest")
|
|
proto.RegisterType((*FlushSegRequest)(nil), "milvus.proto.data.FlushSegRequest")
|
|
proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.data.SegmentInfo")
|
|
proto.RegisterType((*SegmentMsg)(nil), "milvus.proto.data.SegmentMsg")
|
|
proto.RegisterType((*CollectionStatsRequest)(nil), "milvus.proto.data.CollectionStatsRequest")
|
|
proto.RegisterType((*CollectionStatsResponse)(nil), "milvus.proto.data.CollectionStatsResponse")
|
|
proto.RegisterType((*PartitionStatsRequest)(nil), "milvus.proto.data.PartitionStatsRequest")
|
|
proto.RegisterType((*PartitionStatsResponse)(nil), "milvus.proto.data.PartitionStatsResponse")
|
|
proto.RegisterType((*FieldFlushMeta)(nil), "milvus.proto.data.FieldFlushMeta")
|
|
proto.RegisterType((*SegmentFlushMeta)(nil), "milvus.proto.data.SegmentFlushMeta")
|
|
proto.RegisterType((*DDLFlushMeta)(nil), "milvus.proto.data.DDLFlushMeta")
|
|
proto.RegisterType((*CollectionCountRequest)(nil), "milvus.proto.data.CollectionCountRequest")
|
|
proto.RegisterType((*CollectionCountResponse)(nil), "milvus.proto.data.CollectionCountResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("data_service.proto", fileDescriptor_3385cd32ad6cfe64) }
|
|
|
|
var fileDescriptor_3385cd32ad6cfe64 = []byte{
|
|
// 1599 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcb, 0x6f, 0x1b, 0xc5,
|
|
0x1f, 0xcf, 0x66, 0xed, 0xd8, 0xfe, 0xda, 0x49, 0xda, 0xc9, 0xa3, 0xa9, 0xdb, 0x5f, 0x9b, 0xee,
|
|
0x4f, 0x69, 0xd3, 0x0a, 0x12, 0x94, 0x22, 0x1e, 0x42, 0x42, 0x34, 0x75, 0x1b, 0x59, 0x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 0x09, 0x17, 0x39, 0xe7, 0x0c, 0x59, 0xef,
|
|
0xc3, 0x52, 0xb2, 0x2e, 0xcf, 0x90, 0x77, 0x1b, 0x8a, 0xd2, 0xd7, 0x03, 0x97, 0x67, 0x64, 0x50,
|
|
0x7c, 0xf6, 0x64, 0x64, 0x50, 0x62, 0x44, 0x58, 0x53, 0x5b, 0x3f, 0x4f, 0x43, 0x51, 0x74, 0x76,
|
|
0xd9, 0xc6, 0x5f, 0x66, 0x74, 0xf7, 0x61, 0x3e, 0xf9, 0x44, 0x4c, 0xcf, 0xd1, 0xd4, 0x67, 0x64,
|
|
0x56, 0x8b, 0xc7, 0x30, 0x1b, 0x3c, 0x07, 0x55, 0xff, 0xb5, 0x8e, 0x9b, 0x19, 0xd1, 0x83, 0x31,
|
|
0x83, 0xe7, 0xf6, 0x47, 0xfb, 0x1f, 0x76, 0x29, 0x3f, 0x1c, 0xb4, 0xc4, 0x3f, 0x9b, 0x47, 0xb4,
|
|
0xd7, 0xa3, 0x47, 0x9c, 0xb4, 0x0f, 0x37, 0xd5, 0xad, 0x37, 0x3b, 0x94, 0x71, 0x9f, 0xb6, 0x06,
|
|
0x9c, 0x74, 0x36, 0x03, 0xb3, 0x37, 0x25, 0xab, 0x4d, 0x21, 0xae, 0xdf, 0x6a, 0xcd, 0xc8, 0xd3,
|
|
0xed, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xac, 0x37, 0x0d, 0xbc, 0x60, 0x1a, 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
|
|
|
|
// DataServiceClient is the client API for DataService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type DataServiceClient interface {
|
|
RegisterNode(ctx context.Context, in *RegisterNodeRequest, opts ...grpc.CallOption) (*RegisterNodeResponse, error)
|
|
Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
AssignSegmentID(ctx context.Context, in *AssignSegIDRequest, opts ...grpc.CallOption) (*AssignSegIDResponse, error)
|
|
ShowSegments(ctx context.Context, in *ShowSegmentRequest, opts ...grpc.CallOption) (*ShowSegmentResponse, error)
|
|
GetSegmentInfo(ctx context.Context, in *SegmentInfoRequest, opts ...grpc.CallOption) (*SegmentInfoResponse, error)
|
|
GetSegmentStates(ctx context.Context, in *SegmentStatesRequest, opts ...grpc.CallOption) (*SegmentStatesResponse, error)
|
|
GetInsertBinlogPaths(ctx context.Context, in *InsertBinlogPathRequest, opts ...grpc.CallOption) (*InsertBinlogPathsResponse, error)
|
|
GetInsertChannels(ctx context.Context, in *InsertChannelRequest, opts ...grpc.CallOption) (*internalpb2.StringList, error)
|
|
GetCollectionStatistics(ctx context.Context, in *CollectionStatsRequest, opts ...grpc.CallOption) (*CollectionStatsResponse, error)
|
|
GetPartitionStatistics(ctx context.Context, in *PartitionStatsRequest, opts ...grpc.CallOption) (*PartitionStatsResponse, error)
|
|
GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error)
|
|
GetTimeTickChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
GetStatisticsChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
GetSegmentInfoChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
GetCount(ctx context.Context, in *CollectionCountRequest, opts ...grpc.CallOption) (*CollectionCountResponse, error)
|
|
}
|
|
|
|
type dataServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewDataServiceClient(cc *grpc.ClientConn) DataServiceClient {
|
|
return &dataServiceClient{cc}
|
|
}
|
|
|
|
func (c *dataServiceClient) RegisterNode(ctx context.Context, in *RegisterNodeRequest, opts ...grpc.CallOption) (*RegisterNodeResponse, error) {
|
|
out := new(RegisterNodeResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/RegisterNode", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/Flush", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) AssignSegmentID(ctx context.Context, in *AssignSegIDRequest, opts ...grpc.CallOption) (*AssignSegIDResponse, error) {
|
|
out := new(AssignSegIDResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/AssignSegmentID", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) ShowSegments(ctx context.Context, in *ShowSegmentRequest, opts ...grpc.CallOption) (*ShowSegmentResponse, error) {
|
|
out := new(ShowSegmentResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/ShowSegments", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetSegmentInfo(ctx context.Context, in *SegmentInfoRequest, opts ...grpc.CallOption) (*SegmentInfoResponse, error) {
|
|
out := new(SegmentInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetSegmentStates(ctx context.Context, in *SegmentStatesRequest, opts ...grpc.CallOption) (*SegmentStatesResponse, error) {
|
|
out := new(SegmentStatesResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetInsertBinlogPaths(ctx context.Context, in *InsertBinlogPathRequest, opts ...grpc.CallOption) (*InsertBinlogPathsResponse, error) {
|
|
out := new(InsertBinlogPathsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetInsertBinlogPaths", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetInsertChannels(ctx context.Context, in *InsertChannelRequest, opts ...grpc.CallOption) (*internalpb2.StringList, error) {
|
|
out := new(internalpb2.StringList)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetInsertChannels", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetCollectionStatistics(ctx context.Context, in *CollectionStatsRequest, opts ...grpc.CallOption) (*CollectionStatsResponse, error) {
|
|
out := new(CollectionStatsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetCollectionStatistics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetPartitionStatistics(ctx context.Context, in *PartitionStatsRequest, opts ...grpc.CallOption) (*PartitionStatsResponse, error) {
|
|
out := new(PartitionStatsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetPartitionStatistics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error) {
|
|
out := new(internalpb2.ComponentStates)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetComponentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetTimeTickChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
out := new(milvuspb.StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetTimeTickChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetStatisticsChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
out := new(milvuspb.StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetStatisticsChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetSegmentInfoChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
out := new(milvuspb.StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentInfoChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetCount(ctx context.Context, in *CollectionCountRequest, opts ...grpc.CallOption) (*CollectionCountResponse, error) {
|
|
out := new(CollectionCountResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetCount", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// DataServiceServer is the server API for DataService service.
|
|
type DataServiceServer interface {
|
|
RegisterNode(context.Context, *RegisterNodeRequest) (*RegisterNodeResponse, error)
|
|
Flush(context.Context, *FlushRequest) (*commonpb.Status, error)
|
|
AssignSegmentID(context.Context, *AssignSegIDRequest) (*AssignSegIDResponse, error)
|
|
ShowSegments(context.Context, *ShowSegmentRequest) (*ShowSegmentResponse, error)
|
|
GetSegmentInfo(context.Context, *SegmentInfoRequest) (*SegmentInfoResponse, error)
|
|
GetSegmentStates(context.Context, *SegmentStatesRequest) (*SegmentStatesResponse, error)
|
|
GetInsertBinlogPaths(context.Context, *InsertBinlogPathRequest) (*InsertBinlogPathsResponse, error)
|
|
GetInsertChannels(context.Context, *InsertChannelRequest) (*internalpb2.StringList, error)
|
|
GetCollectionStatistics(context.Context, *CollectionStatsRequest) (*CollectionStatsResponse, error)
|
|
GetPartitionStatistics(context.Context, *PartitionStatsRequest) (*PartitionStatsResponse, error)
|
|
GetComponentStates(context.Context, *commonpb.Empty) (*internalpb2.ComponentStates, error)
|
|
GetTimeTickChannel(context.Context, *commonpb.Empty) (*milvuspb.StringResponse, error)
|
|
GetStatisticsChannel(context.Context, *commonpb.Empty) (*milvuspb.StringResponse, error)
|
|
GetSegmentInfoChannel(context.Context, *commonpb.Empty) (*milvuspb.StringResponse, error)
|
|
GetCount(context.Context, *CollectionCountRequest) (*CollectionCountResponse, error)
|
|
}
|
|
|
|
// UnimplementedDataServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedDataServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedDataServiceServer) RegisterNode(ctx context.Context, req *RegisterNodeRequest) (*RegisterNodeResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RegisterNode not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) Flush(ctx context.Context, req *FlushRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) AssignSegmentID(ctx context.Context, req *AssignSegIDRequest) (*AssignSegIDResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AssignSegmentID not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) ShowSegments(ctx context.Context, req *ShowSegmentRequest) (*ShowSegmentResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowSegments not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetSegmentInfo(ctx context.Context, req *SegmentInfoRequest) (*SegmentInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetSegmentStates(ctx context.Context, req *SegmentStatesRequest) (*SegmentStatesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentStates not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetInsertBinlogPaths(ctx context.Context, req *InsertBinlogPathRequest) (*InsertBinlogPathsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetInsertBinlogPaths not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetInsertChannels(ctx context.Context, req *InsertChannelRequest) (*internalpb2.StringList, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetInsertChannels not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetCollectionStatistics(ctx context.Context, req *CollectionStatsRequest) (*CollectionStatsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetPartitionStatistics(ctx context.Context, req *PartitionStatsRequest) (*PartitionStatsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetComponentStates(ctx context.Context, req *commonpb.Empty) (*internalpb2.ComponentStates, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetTimeTickChannel(ctx context.Context, req *commonpb.Empty) (*milvuspb.StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetStatisticsChannel(ctx context.Context, req *commonpb.Empty) (*milvuspb.StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetSegmentInfoChannel(ctx context.Context, req *commonpb.Empty) (*milvuspb.StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfoChannel not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetCount(ctx context.Context, req *CollectionCountRequest) (*CollectionCountResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetCount not implemented")
|
|
}
|
|
|
|
func RegisterDataServiceServer(s *grpc.Server, srv DataServiceServer) {
|
|
s.RegisterService(&_DataService_serviceDesc, srv)
|
|
}
|
|
|
|
func _DataService_RegisterNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RegisterNodeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).RegisterNode(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/RegisterNode",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).RegisterNode(ctx, req.(*RegisterNodeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_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.(DataServiceServer).Flush(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/Flush",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).Flush(ctx, req.(*FlushRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_AssignSegmentID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AssignSegIDRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).AssignSegmentID(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/AssignSegmentID",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).AssignSegmentID(ctx, req.(*AssignSegIDRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_ShowSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ShowSegmentRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).ShowSegments(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/ShowSegments",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).ShowSegments(ctx, req.(*ShowSegmentRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SegmentInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetSegmentInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetSegmentInfo(ctx, req.(*SegmentInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetSegmentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SegmentStatesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetSegmentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetSegmentStates(ctx, req.(*SegmentStatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetInsertBinlogPaths_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(InsertBinlogPathRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetInsertBinlogPaths(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetInsertBinlogPaths",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetInsertBinlogPaths(ctx, req.(*InsertBinlogPathRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetInsertChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(InsertChannelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetInsertChannels(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetInsertChannels",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetInsertChannels(ctx, req.(*InsertChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_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.(DataServiceServer).GetCollectionStatistics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetCollectionStatistics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetCollectionStatistics(ctx, req.(*CollectionStatsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_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.(DataServiceServer).GetPartitionStatistics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetPartitionStatistics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetPartitionStatistics(ctx, req.(*PartitionStatsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetComponentStates_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.(DataServiceServer).GetComponentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetComponentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetComponentStates(ctx, req.(*commonpb.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetTimeTickChannel_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.(DataServiceServer).GetTimeTickChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetTimeTickChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetTimeTickChannel(ctx, req.(*commonpb.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetStatisticsChannel_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.(DataServiceServer).GetStatisticsChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetStatisticsChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetStatisticsChannel(ctx, req.(*commonpb.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetSegmentInfoChannel_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.(DataServiceServer).GetSegmentInfoChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentInfoChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetSegmentInfoChannel(ctx, req.(*commonpb.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CollectionCountRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetCount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetCount",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetCount(ctx, req.(*CollectionCountRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _DataService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.data.DataService",
|
|
HandlerType: (*DataServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "RegisterNode",
|
|
Handler: _DataService_RegisterNode_Handler,
|
|
},
|
|
{
|
|
MethodName: "Flush",
|
|
Handler: _DataService_Flush_Handler,
|
|
},
|
|
{
|
|
MethodName: "AssignSegmentID",
|
|
Handler: _DataService_AssignSegmentID_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowSegments",
|
|
Handler: _DataService_ShowSegments_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSegmentInfo",
|
|
Handler: _DataService_GetSegmentInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSegmentStates",
|
|
Handler: _DataService_GetSegmentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetInsertBinlogPaths",
|
|
Handler: _DataService_GetInsertBinlogPaths_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetInsertChannels",
|
|
Handler: _DataService_GetInsertChannels_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetCollectionStatistics",
|
|
Handler: _DataService_GetCollectionStatistics_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPartitionStatistics",
|
|
Handler: _DataService_GetPartitionStatistics_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetComponentStates",
|
|
Handler: _DataService_GetComponentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTimeTickChannel",
|
|
Handler: _DataService_GetTimeTickChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetStatisticsChannel",
|
|
Handler: _DataService_GetStatisticsChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSegmentInfoChannel",
|
|
Handler: _DataService_GetSegmentInfoChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetCount",
|
|
Handler: _DataService_GetCount_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "data_service.proto",
|
|
}
|
|
|
|
// DataNodeClient is the client API for DataNode service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type DataNodeClient interface {
|
|
GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error)
|
|
WatchDmChannels(ctx context.Context, in *WatchDmChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
FlushSegments(ctx context.Context, in *FlushSegRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
}
|
|
|
|
type dataNodeClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewDataNodeClient(cc *grpc.ClientConn) DataNodeClient {
|
|
return &dataNodeClient{cc}
|
|
}
|
|
|
|
func (c *dataNodeClient) GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error) {
|
|
out := new(internalpb2.ComponentStates)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataNode/GetComponentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataNodeClient) WatchDmChannels(ctx context.Context, in *WatchDmChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataNode/WatchDmChannels", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataNodeClient) FlushSegments(ctx context.Context, in *FlushSegRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataNode/FlushSegments", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// DataNodeServer is the server API for DataNode service.
|
|
type DataNodeServer interface {
|
|
GetComponentStates(context.Context, *commonpb.Empty) (*internalpb2.ComponentStates, error)
|
|
WatchDmChannels(context.Context, *WatchDmChannelRequest) (*commonpb.Status, error)
|
|
FlushSegments(context.Context, *FlushSegRequest) (*commonpb.Status, error)
|
|
}
|
|
|
|
// UnimplementedDataNodeServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedDataNodeServer struct {
|
|
}
|
|
|
|
func (*UnimplementedDataNodeServer) GetComponentStates(ctx context.Context, req *commonpb.Empty) (*internalpb2.ComponentStates, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
}
|
|
func (*UnimplementedDataNodeServer) WatchDmChannels(ctx context.Context, req *WatchDmChannelRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method WatchDmChannels not implemented")
|
|
}
|
|
func (*UnimplementedDataNodeServer) FlushSegments(ctx context.Context, req *FlushSegRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method FlushSegments not implemented")
|
|
}
|
|
|
|
func RegisterDataNodeServer(s *grpc.Server, srv DataNodeServer) {
|
|
s.RegisterService(&_DataNode_serviceDesc, srv)
|
|
}
|
|
|
|
func _DataNode_GetComponentStates_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.(DataNodeServer).GetComponentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataNode/GetComponentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataNodeServer).GetComponentStates(ctx, req.(*commonpb.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataNode_WatchDmChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(WatchDmChannelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataNodeServer).WatchDmChannels(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataNode/WatchDmChannels",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataNodeServer).WatchDmChannels(ctx, req.(*WatchDmChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataNode_FlushSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(FlushSegRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataNodeServer).FlushSegments(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataNode/FlushSegments",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataNodeServer).FlushSegments(ctx, req.(*FlushSegRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _DataNode_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.data.DataNode",
|
|
HandlerType: (*DataNodeServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetComponentStates",
|
|
Handler: _DataNode_GetComponentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "WatchDmChannels",
|
|
Handler: _DataNode_WatchDmChannels_Handler,
|
|
},
|
|
{
|
|
MethodName: "FlushSegments",
|
|
Handler: _DataNode_FlushSegments_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "data_service.proto",
|
|
}
|