milvus/internal/proto/datapb/data_service.pb.go
neza2017 1fe099775d Refactor data service
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-25 15:17:17 +08:00

2324 lines
88 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 SegmentState int32
const (
SegmentState_SegmentNone SegmentState = 0
SegmentState_SegmentNotExist SegmentState = 1
SegmentState_SegmentGrowing SegmentState = 2
SegmentState_SegmentSealed SegmentState = 3
SegmentState_SegmentFlushed SegmentState = 4
)
var SegmentState_name = map[int32]string{
0: "SegmentNone",
1: "SegmentNotExist",
2: "SegmentGrowing",
3: "SegmentSealed",
4: "SegmentFlushed",
}
var SegmentState_value = map[string]int32{
"SegmentNone": 0,
"SegmentNotExist": 1,
"SegmentGrowing": 2,
"SegmentSealed": 3,
"SegmentFlushed": 4,
}
func (x SegmentState) String() string {
return proto.EnumName(SegmentState_name, int32(x))
}
func (SegmentState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{0}
}
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"`
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
}
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"`
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 *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) GetSegmentID() int64 {
if m != nil {
return m.SegmentID
}
return 0
}
type SegmentStatesResponse struct {
State SegmentState `protobuf:"varint,1,opt,name=state,proto3,enum=milvus.proto.data.SegmentState" json:"state,omitempty"`
CreateTime uint64 `protobuf:"varint,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
SealedTime uint64 `protobuf:"varint,3,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
FlushedTime uint64 `protobuf:"varint,4,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"`
StartPositions []*internalpb2.MsgPosition `protobuf:"bytes,5,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"`
EndPositions []*internalpb2.MsgPosition `protobuf:"bytes,6,rep,name=end_positions,json=endPositions,proto3" json:"end_positions,omitempty"`
Status *commonpb.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,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{10}
}
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) GetState() SegmentState {
if m != nil {
return m.State
}
return SegmentState_SegmentNone
}
func (m *SegmentStatesResponse) GetCreateTime() uint64 {
if m != nil {
return m.CreateTime
}
return 0
}
func (m *SegmentStatesResponse) GetSealedTime() uint64 {
if m != nil {
return m.SealedTime
}
return 0
}
func (m *SegmentStatesResponse) GetFlushedTime() uint64 {
if m != nil {
return m.FlushedTime
}
return 0
}
func (m *SegmentStatesResponse) GetStartPositions() []*internalpb2.MsgPosition {
if m != nil {
return m.StartPositions
}
return nil
}
func (m *SegmentStatesResponse) GetEndPositions() []*internalpb2.MsgPosition {
if m != nil {
return m.EndPositions
}
return nil
}
func (m *SegmentStatesResponse) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
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{11}
}
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{12}
}
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{13}
}
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{14}
}
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{15}
}
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"`
InsertChannels []string `protobuf:"bytes,4,rep,name=insert_channels,json=insertChannels,proto3" json:"insert_channels,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 SegmentState `protobuf:"varint,10,opt,name=state,proto3,enum=milvus.proto.data.SegmentState" json:"state,omitempty"`
StartPosition []*internalpb2.MsgPosition `protobuf:"bytes,11,rep,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
EndPosition []*internalpb2.MsgPosition `protobuf:"bytes,12,rep,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{16}
}
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) GetInsertChannels() []string {
if m != nil {
return m.InsertChannels
}
return nil
}
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() SegmentState {
if m != nil {
return m.State
}
return 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{17}
}
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"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CollectionStatsRequest) Reset() { *m = CollectionStatsRequest{} }
func (m *CollectionStatsRequest) String() string { return proto.CompactTextString(m) }
func (*CollectionStatsRequest) ProtoMessage() {}
func (*CollectionStatsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{18}
}
func (m *CollectionStatsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollectionStatsRequest.Unmarshal(m, b)
}
func (m *CollectionStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollectionStatsRequest.Marshal(b, m, deterministic)
}
func (m *CollectionStatsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollectionStatsRequest.Merge(m, src)
}
func (m *CollectionStatsRequest) XXX_Size() int {
return xxx_messageInfo_CollectionStatsRequest.Size(m)
}
func (m *CollectionStatsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CollectionStatsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CollectionStatsRequest proto.InternalMessageInfo
func (m *CollectionStatsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *CollectionStatsRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *CollectionStatsRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
type CollectionStatsResponse struct {
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{19}
}
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"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PartitionStatsRequest) Reset() { *m = PartitionStatsRequest{} }
func (m *PartitionStatsRequest) String() string { return proto.CompactTextString(m) }
func (*PartitionStatsRequest) ProtoMessage() {}
func (*PartitionStatsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{20}
}
func (m *PartitionStatsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PartitionStatsRequest.Unmarshal(m, b)
}
func (m *PartitionStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PartitionStatsRequest.Marshal(b, m, deterministic)
}
func (m *PartitionStatsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_PartitionStatsRequest.Merge(m, src)
}
func (m *PartitionStatsRequest) XXX_Size() int {
return xxx_messageInfo_PartitionStatsRequest.Size(m)
}
func (m *PartitionStatsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_PartitionStatsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_PartitionStatsRequest proto.InternalMessageInfo
func (m *PartitionStatsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func (m *PartitionStatsRequest) GetDbName() string {
if m != nil {
return m.DbName
}
return ""
}
func (m *PartitionStatsRequest) GetCollectionName() string {
if m != nil {
return m.CollectionName
}
return ""
}
func (m *PartitionStatsRequest) GetPartitionName() string {
if m != nil {
return m.PartitionName
}
return ""
}
type PartitionStatsResponse struct {
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{21}
}
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{22}
}
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{23}
}
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{24}
}
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
}
func init() {
proto.RegisterEnum("milvus.proto.data.SegmentState", SegmentState_name, SegmentState_value)
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((*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")
}
func init() { proto.RegisterFile("data_service.proto", fileDescriptor_3385cd32ad6cfe64) }
var fileDescriptor_3385cd32ad6cfe64 = []byte{
// 1574 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5f, 0x6f, 0x1b, 0x45,
0x10, 0xcf, 0xf9, 0xfc, 0x77, 0xec, 0xd8, 0xee, 0xe6, 0x9f, 0xeb, 0x96, 0x36, 0x39, 0xd4, 0x26,
0xad, 0x20, 0x41, 0xa9, 0xa0, 0xf0, 0x82, 0x68, 0xea, 0x34, 0xb2, 0xda, 0x44, 0xd1, 0xba, 0x50,
0x91, 0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xd3, 0x5e, 0x8f, 0x9e, 0x73, 0xd2, 0x3e, 0xd9, 0x92, 0xbb,
0xde, 0xef, 0x50, 0xc6, 0x5d, 0xda, 0x1a, 0x70, 0xd2, 0xd9, 0x1a, 0x1e, 0x7b, 0x4b, 0xa8, 0xda,
0xf2, 0xcc, 0xf5, 0x5b, 0xad, 0xb4, 0x58, 0xdd, 0xfb, 0x37, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x5b,
0x6e, 0xda, 0x93, 0x17, 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)
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)
}
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) 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
}
// 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)
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)
}
// 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) 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 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_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)
}
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: "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,
},
},
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",
}