2021-01-14 14:24:14 +08:00
|
|
|
// 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"
|
2021-04-22 14:45:57 +08:00
|
|
|
commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
|
|
|
|
internalpb "github.com/milvus-io/milvus/internal/proto/internalpb"
|
|
|
|
milvuspb "github.com/milvus-io/milvus/internal/proto/milvuspb"
|
|
|
|
schemapb "github.com/milvus-io/milvus/internal/proto/schemapb"
|
2021-01-14 14:24:14 +08:00
|
|
|
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 {
|
2021-01-16 15:06:19 +08:00
|
|
|
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:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-01-16 15:06:19 +08:00
|
|
|
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
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 {
|
2021-03-12 14:22:09 +08:00
|
|
|
InitParams *internalpb.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:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RegisterNodeResponse) GetInitParams() *internalpb.InitParams {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.InitParams
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-22 11:07:07 +08:00
|
|
|
func (m *RegisterNodeResponse) GetStatus() *commonpb.Status {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
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{2}
|
|
|
|
}
|
|
|
|
|
|
|
|
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 SegmentIDRequest struct {
|
2021-01-18 19:32:08 +08:00
|
|
|
Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
2021-03-12 14:22:09 +08:00
|
|
|
ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
|
2021-01-14 14:24:14 +08:00
|
|
|
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:"-"`
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) Reset() { *m = SegmentIDRequest{} }
|
|
|
|
func (m *SegmentIDRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentIDRequest) ProtoMessage() {}
|
|
|
|
func (*SegmentIDRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{3}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentIDRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentIDRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentIDRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentIDRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentIDRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_SegmentIDRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) GetCount() uint32 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Count
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) GetChannelName() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-01-19 12:10:49 +08:00
|
|
|
return m.ChannelName
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) GetCollectionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDRequest) GetPartitionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type AssignSegmentIDRequest 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"`
|
|
|
|
SegmentIDRequests []*SegmentIDRequest `protobuf:"bytes,3,rep,name=segmentIDRequests,proto3" json:"segmentIDRequests,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) Reset() { *m = AssignSegmentIDRequest{} }
|
|
|
|
func (m *AssignSegmentIDRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AssignSegmentIDRequest) ProtoMessage() {}
|
|
|
|
func (*AssignSegmentIDRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{4}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AssignSegmentIDRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AssignSegmentIDRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AssignSegmentIDRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AssignSegmentIDRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AssignSegmentIDRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_AssignSegmentIDRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) GetNodeID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) GetPeerRole() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.PeerRole
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDRequest) GetSegmentIDRequests() []*SegmentIDRequest {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.SegmentIDRequests
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type SegmentIDAssignment struct {
|
2021-01-14 14:24:14 +08:00
|
|
|
SegID int64 `protobuf:"varint,1,opt,name=segID,proto3" json:"segID,omitempty"`
|
2021-03-12 14:22:09 +08:00
|
|
|
ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
|
2021-01-14 14:24:14 +08:00
|
|
|
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"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) Reset() { *m = SegmentIDAssignment{} }
|
|
|
|
func (m *SegmentIDAssignment) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentIDAssignment) ProtoMessage() {}
|
|
|
|
func (*SegmentIDAssignment) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{5}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentIDAssignment.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentIDAssignment.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentIDAssignment.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentIDAssignment.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentIDAssignment.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_SegmentIDAssignment proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) GetSegID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.SegID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) GetChannelName() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-01-19 12:10:49 +08:00
|
|
|
return m.ChannelName
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-01-19 12:10:49 +08:00
|
|
|
return ""
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) GetCount() uint32 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Count
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) GetCollectionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) GetPartitionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) GetExpireTime() uint64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.ExpireTime
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentIDAssignment) GetStatus() *commonpb.Status {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type AssignSegmentIDResponse struct {
|
|
|
|
SegIDAssignments []*SegmentIDAssignment `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:"-"`
|
2021-01-18 19:32:08 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDResponse) Reset() { *m = AssignSegmentIDResponse{} }
|
|
|
|
func (m *AssignSegmentIDResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AssignSegmentIDResponse) ProtoMessage() {}
|
|
|
|
func (*AssignSegmentIDResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{6}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AssignSegmentIDResponse.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AssignSegmentIDResponse.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AssignSegmentIDResponse.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AssignSegmentIDResponse.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AssignSegmentIDResponse.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_AssignSegmentIDResponse proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDResponse) GetSegIDAssignments() []*SegmentIDAssignment {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.SegIDAssignments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AssignSegmentIDResponse) GetStatus() *commonpb.Status {
|
2021-01-19 12:10:49 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type ShowSegmentsRequest struct {
|
2021-01-16 15:06:19 +08:00
|
|
|
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"`
|
2021-01-27 10:33:17 +08:00
|
|
|
DbID int64 `protobuf:"varint,4,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
2021-01-16 15:06:19 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) Reset() { *m = ShowSegmentsRequest{} }
|
|
|
|
func (m *ShowSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShowSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*ShowSegmentsRequest) Descriptor() ([]byte, []int) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{7}
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShowSegmentsRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShowSegmentsRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShowSegmentsRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShowSegmentsRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShowSegmentsRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_ShowSegmentsRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) GetCollectionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) GetPartitionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsRequest) GetDbID() int64 {
|
2021-01-27 10:33:17 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type ShowSegmentsResponse struct {
|
2021-01-22 11:07:07 +08:00
|
|
|
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:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsResponse) Reset() { *m = ShowSegmentsResponse{} }
|
|
|
|
func (m *ShowSegmentsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShowSegmentsResponse) ProtoMessage() {}
|
|
|
|
func (*ShowSegmentsResponse) Descriptor() ([]byte, []int) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{8}
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShowSegmentsResponse.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShowSegmentsResponse.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShowSegmentsResponse.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShowSegmentsResponse.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShowSegmentsResponse.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_ShowSegmentsResponse proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsResponse) GetSegmentIDs() []int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.SegmentIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowSegmentsResponse) GetStatus() *commonpb.Status {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetSegmentStatesRequest struct {
|
2021-01-16 15:06:19 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
2021-02-02 10:58:39 +08:00
|
|
|
SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
2021-01-16 15:06:19 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesRequest) Reset() { *m = GetSegmentStatesRequest{} }
|
|
|
|
func (m *GetSegmentStatesRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetSegmentStatesRequest) ProtoMessage() {}
|
|
|
|
func (*GetSegmentStatesRequest) Descriptor() ([]byte, []int) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{9}
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetSegmentStatesRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetSegmentStatesRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetSegmentStatesRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetSegmentStatesRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetSegmentStatesRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetSegmentStatesRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesRequest) GetSegmentIDs() []int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-02-02 10:58:39 +08:00
|
|
|
return m.SegmentIDs
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-02-02 10:58:39 +08:00
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-02-02 10:58:39 +08:00
|
|
|
type SegmentStateInfo struct {
|
2021-03-12 14:22:09 +08:00
|
|
|
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"`
|
2021-05-21 14:51:25 +08:00
|
|
|
StartPosition *internalpb.MsgPosition `protobuf:"bytes,3,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
|
|
|
|
EndPosition *internalpb.MsgPosition `protobuf:"bytes,4,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
|
|
|
|
Status *commonpb.Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
2021-03-12 14:22:09 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-02-02 10:58:39 +08:00
|
|
|
func (m *SegmentStateInfo) Reset() { *m = SegmentStateInfo{} }
|
|
|
|
func (m *SegmentStateInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentStateInfo) ProtoMessage() {}
|
|
|
|
func (*SegmentStateInfo) Descriptor() ([]byte, []int) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{10}
|
|
|
|
}
|
|
|
|
|
2021-02-02 10:58:39 +08:00
|
|
|
func (m *SegmentStateInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentStateInfo.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-02-02 10:58:39 +08:00
|
|
|
func (m *SegmentStateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentStateInfo.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-02-02 10:58:39 +08:00
|
|
|
func (m *SegmentStateInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentStateInfo.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-02-02 10:58:39 +08:00
|
|
|
func (m *SegmentStateInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentStateInfo.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-02-02 10:58:39 +08:00
|
|
|
func (m *SegmentStateInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentStateInfo.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-02-02 10:58:39 +08:00
|
|
|
var xxx_messageInfo_SegmentStateInfo proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-02-02 10:58:39 +08:00
|
|
|
func (m *SegmentStateInfo) GetSegmentID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-02-03 18:55:00 +08:00
|
|
|
func (m *SegmentStateInfo) GetState() commonpb.SegmentState {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.State
|
|
|
|
}
|
2021-03-11 14:14:29 +08:00
|
|
|
return commonpb.SegmentState_SegmentStateNone
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentStateInfo) GetStartPosition() *internalpb.MsgPosition {
|
2021-01-18 19:32:08 +08:00
|
|
|
if m != nil {
|
2021-02-04 11:19:48 +08:00
|
|
|
return m.StartPosition
|
2021-01-18 19:32:08 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentStateInfo) GetEndPosition() *internalpb.MsgPosition {
|
2021-01-18 19:32:08 +08:00
|
|
|
if m != nil {
|
2021-02-04 11:19:48 +08:00
|
|
|
return m.EndPosition
|
2021-01-18 19:32:08 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-02-02 10:58:39 +08:00
|
|
|
func (m *SegmentStateInfo) GetStatus() *commonpb.Status {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetSegmentStatesResponse 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:"-"`
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesResponse) Reset() { *m = GetSegmentStatesResponse{} }
|
|
|
|
func (m *GetSegmentStatesResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetSegmentStatesResponse) ProtoMessage() {}
|
|
|
|
func (*GetSegmentStatesResponse) Descriptor() ([]byte, []int) {
|
2021-02-03 18:55:00 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{11}
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetSegmentStatesResponse.Unmarshal(m, b)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetSegmentStatesResponse.Marshal(b, m, deterministic)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetSegmentStatesResponse.Merge(m, src)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetSegmentStatesResponse.Size(m)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetSegmentStatesResponse.DiscardUnknown(m)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetSegmentStatesResponse proto.InternalMessageInfo
|
2021-02-03 18:55:00 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesResponse) GetStatus() *commonpb.Status {
|
2021-02-03 18:55:00 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Status
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentStatesResponse) GetStates() []*SegmentStateInfo {
|
2021-02-03 18:55:00 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.States
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetSegmentInfoRequest 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:"-"`
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoRequest) Reset() { *m = GetSegmentInfoRequest{} }
|
|
|
|
func (m *GetSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetSegmentInfoRequest) ProtoMessage() {}
|
|
|
|
func (*GetSegmentInfoRequest) Descriptor() ([]byte, []int) {
|
2021-02-03 18:55:00 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{12}
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Unmarshal(m, b)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Marshal(b, m, deterministic)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetSegmentInfoRequest.Merge(m, src)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Size(m)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetSegmentInfoRequest.DiscardUnknown(m)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetSegmentInfoRequest proto.InternalMessageInfo
|
2021-02-03 18:55:00 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoRequest) GetBase() *commonpb.MsgBase {
|
2021-02-03 18:55:00 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Base
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoRequest) GetSegmentIDs() []int64 {
|
2021-02-03 18:55:00 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.SegmentIDs
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetSegmentInfoResponse 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:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoResponse) Reset() { *m = GetSegmentInfoResponse{} }
|
|
|
|
func (m *GetSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetSegmentInfoResponse) ProtoMessage() {}
|
|
|
|
func (*GetSegmentInfoResponse) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{13}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetSegmentInfoResponse.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetSegmentInfoResponse.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetSegmentInfoResponse proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoResponse) GetStatus() *commonpb.Status {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Status
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoResponse) GetInfos() []*SegmentInfo {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Infos
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetInsertBinlogPathsRequest struct {
|
2021-01-16 15:06:19 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
2021-03-12 14:22:09 +08:00
|
|
|
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
2021-01-16 15:06:19 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsRequest) Reset() { *m = GetInsertBinlogPathsRequest{} }
|
|
|
|
func (m *GetInsertBinlogPathsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetInsertBinlogPathsRequest) ProtoMessage() {}
|
|
|
|
func (*GetInsertBinlogPathsRequest) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{14}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetInsertBinlogPathsRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetInsertBinlogPathsRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetInsertBinlogPathsRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetInsertBinlogPathsRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetInsertBinlogPathsRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetInsertBinlogPathsRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsRequest) GetSegmentID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.SegmentID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetInsertBinlogPathsResponse struct {
|
|
|
|
FieldIDs []int64 `protobuf:"varint,1,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"`
|
|
|
|
Paths []*internalpb.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:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsResponse) Reset() { *m = GetInsertBinlogPathsResponse{} }
|
|
|
|
func (m *GetInsertBinlogPathsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetInsertBinlogPathsResponse) ProtoMessage() {}
|
|
|
|
func (*GetInsertBinlogPathsResponse) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{15}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetInsertBinlogPathsResponse.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetInsertBinlogPathsResponse.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetInsertBinlogPathsResponse.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetInsertBinlogPathsResponse.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetInsertBinlogPathsResponse.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetInsertBinlogPathsResponse proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsResponse) GetFieldIDs() []int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.FieldIDs
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertBinlogPathsResponse) GetPaths() []*internalpb.StringList {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Paths
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetInsertBinlogPathsResponse) GetStatus() *commonpb.Status {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetInsertChannelsRequest struct {
|
2021-01-16 15:06:19 +08:00
|
|
|
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:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) Reset() { *m = GetInsertChannelsRequest{} }
|
|
|
|
func (m *GetInsertChannelsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetInsertChannelsRequest) ProtoMessage() {}
|
|
|
|
func (*GetInsertChannelsRequest) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{16}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetInsertChannelsRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetInsertChannelsRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetInsertChannelsRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetInsertChannelsRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetInsertChannelsRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetInsertChannelsRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) GetDbID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetInsertChannelsRequest) GetCollectionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetCollectionStatisticsRequest 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:"-"`
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) Reset() { *m = GetCollectionStatisticsRequest{} }
|
|
|
|
func (m *GetCollectionStatisticsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetCollectionStatisticsRequest) ProtoMessage() {}
|
|
|
|
func (*GetCollectionStatisticsRequest) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{17}
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetCollectionStatisticsRequest.Unmarshal(m, b)
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetCollectionStatisticsRequest.Marshal(b, m, deterministic)
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetCollectionStatisticsRequest.Merge(m, src)
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetCollectionStatisticsRequest.Size(m)
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetCollectionStatisticsRequest.DiscardUnknown(m)
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetCollectionStatisticsRequest proto.InternalMessageInfo
|
2021-01-15 17:09:41 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-15 17:09:41 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Base
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
return nil
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) GetDbID() int64 {
|
2021-01-15 17:09:41 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.DbID
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsRequest) GetCollectionID() int64 {
|
2021-01-15 17:09:41 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.CollectionID
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetCollectionStatisticsResponse 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:"-"`
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsResponse) Reset() { *m = GetCollectionStatisticsResponse{} }
|
|
|
|
func (m *GetCollectionStatisticsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetCollectionStatisticsResponse) ProtoMessage() {}
|
|
|
|
func (*GetCollectionStatisticsResponse) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{18}
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetCollectionStatisticsResponse.Unmarshal(m, b)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetCollectionStatisticsResponse.Marshal(b, m, deterministic)
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetCollectionStatisticsResponse.Merge(m, src)
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetCollectionStatisticsResponse.Size(m)
|
2021-01-15 17:09:41 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetCollectionStatisticsResponse.DiscardUnknown(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetCollectionStatisticsResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetCollectionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
|
2021-01-25 15:17:17 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Stats
|
2021-01-25 15:17:17 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetCollectionStatisticsResponse) GetStatus() *commonpb.Status {
|
2021-01-25 15:17:17 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Status
|
2021-01-25 15:17:17 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetPartitionStatisticsRequest struct {
|
2021-01-20 09:36:50 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
2021-03-12 14:22:09 +08:00
|
|
|
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"`
|
2021-01-20 09:36:50 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) Reset() { *m = GetPartitionStatisticsRequest{} }
|
|
|
|
func (m *GetPartitionStatisticsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetPartitionStatisticsRequest) ProtoMessage() {}
|
|
|
|
func (*GetPartitionStatisticsRequest) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{19}
|
2021-01-20 09:36:50 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetPartitionStatisticsRequest.Unmarshal(m, b)
|
2021-01-20 09:36:50 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetPartitionStatisticsRequest.Marshal(b, m, deterministic)
|
2021-01-20 09:36:50 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetPartitionStatisticsRequest.Merge(m, src)
|
2021-01-20 09:36:50 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetPartitionStatisticsRequest.Size(m)
|
2021-01-20 09:36:50 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetPartitionStatisticsRequest.DiscardUnknown(m)
|
2021-01-20 09:36:50 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetPartitionStatisticsRequest proto.InternalMessageInfo
|
2021-01-20 09:36:50 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-20 09:36:50 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) GetDbID() int64 {
|
2021-01-20 09:36:50 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.DbID
|
2021-01-20 09:36:50 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
return 0
|
2021-01-20 09:36:50 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetPartitionStatisticsRequest) GetPartitionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetPartitionStatisticsResponse 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:"-"`
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsResponse) Reset() { *m = GetPartitionStatisticsResponse{} }
|
|
|
|
func (m *GetPartitionStatisticsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetPartitionStatisticsResponse) ProtoMessage() {}
|
|
|
|
func (*GetPartitionStatisticsResponse) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{20}
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetPartitionStatisticsResponse.Unmarshal(m, b)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetPartitionStatisticsResponse.Marshal(b, m, deterministic)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetPartitionStatisticsResponse.Merge(m, src)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetPartitionStatisticsResponse.Size(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetPartitionStatisticsResponse.DiscardUnknown(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetPartitionStatisticsResponse proto.InternalMessageInfo
|
2021-01-22 11:07:07 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Stats
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatisticsResponse) GetStatus() *commonpb.Status {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Status
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetSegmentInfoChannelRequest struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetSegmentInfoChannelRequest) Reset() { *m = GetSegmentInfoChannelRequest{} }
|
|
|
|
func (m *GetSegmentInfoChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetSegmentInfoChannelRequest) ProtoMessage() {}
|
|
|
|
func (*GetSegmentInfoChannelRequest) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{21}
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetSegmentInfoChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoChannelRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetSegmentInfoChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoChannelRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetSegmentInfoChannelRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetSegmentInfoChannelRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetSegmentInfoChannelRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoChannelRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetSegmentInfoChannelRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetSegmentInfoChannelRequest.DiscardUnknown(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetSegmentInfoChannelRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type WatchDmChannelsRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
ChannelNames []string `protobuf:"bytes,2,rep,name=channel_names,json=channelNames,proto3" json:"channel_names,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *WatchDmChannelsRequest) Reset() { *m = WatchDmChannelsRequest{} }
|
|
|
|
func (m *WatchDmChannelsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WatchDmChannelsRequest) ProtoMessage() {}
|
|
|
|
func (*WatchDmChannelsRequest) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{22}
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Unmarshal(m, b)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Marshal(b, m, deterministic)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WatchDmChannelsRequest.Merge(m, src)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Size(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WatchDmChannelsRequest.DiscardUnknown(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_WatchDmChannelsRequest proto.InternalMessageInfo
|
2021-01-22 11:07:07 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Base
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetChannelNames() []string {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.ChannelNames
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type FlushSegmentsRequest struct {
|
2021-01-22 11:07:07 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
2021-02-02 14:25:58 +08:00
|
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
2021-03-12 14:22:09 +08:00
|
|
|
SegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
2021-01-22 11:07:07 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) Reset() { *m = FlushSegmentsRequest{} }
|
|
|
|
func (m *FlushSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*FlushSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*FlushSegmentsRequest) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{23}
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_FlushSegmentsRequest.Unmarshal(m, b)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_FlushSegmentsRequest.Marshal(b, m, deterministic)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_FlushSegmentsRequest.Merge(m, src)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_FlushSegmentsRequest.Size(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_FlushSegmentsRequest.DiscardUnknown(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_FlushSegmentsRequest proto.InternalMessageInfo
|
2021-01-22 11:07:07 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) GetDbID() int64 {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-01-27 10:33:17 +08:00
|
|
|
return m.DbID
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-02-02 14:25:58 +08:00
|
|
|
return 0
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) GetCollectionID() int64 {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-01-27 10:33:17 +08:00
|
|
|
return m.CollectionID
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-02-02 14:25:58 +08:00
|
|
|
return 0
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *FlushSegmentsRequest) GetSegmentIDs() []int64 {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.SegmentIDs
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
return nil
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
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:"-"`
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentMsg) Reset() { *m = SegmentMsg{} }
|
|
|
|
func (m *SegmentMsg) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentMsg) ProtoMessage() {}
|
|
|
|
func (*SegmentMsg) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{24}
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentMsg) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentMsg.Unmarshal(m, b)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentMsg.Marshal(b, m, deterministic)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentMsg) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentMsg.Merge(m, src)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentMsg) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentMsg.Size(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentMsg) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentMsg.DiscardUnknown(m)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_SegmentMsg proto.InternalMessageInfo
|
2021-01-22 11:07:07 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentMsg) GetBase() *commonpb.MsgBase {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Base
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *SegmentMsg) GetSegment() *SegmentInfo {
|
2021-01-22 11:07:07 +08:00
|
|
|
if m != nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return m.Segment
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-20 09:50:42 +08:00
|
|
|
// key: ${prefix}/${segmentID}/${fieldID}/${idx}
|
|
|
|
type SegmentFieldBinlogMeta struct {
|
|
|
|
FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
|
|
BinlogPath string `protobuf:"bytes,2,opt,name=binlog_path,json=binlogPath,proto3" json:"binlog_path,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentFieldBinlogMeta) Reset() { *m = SegmentFieldBinlogMeta{} }
|
|
|
|
func (m *SegmentFieldBinlogMeta) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentFieldBinlogMeta) ProtoMessage() {}
|
|
|
|
func (*SegmentFieldBinlogMeta) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{25}
|
2021-03-20 09:50:42 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentFieldBinlogMeta) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentFieldBinlogMeta.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentFieldBinlogMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentFieldBinlogMeta.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SegmentFieldBinlogMeta) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentFieldBinlogMeta.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SegmentFieldBinlogMeta) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentFieldBinlogMeta.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentFieldBinlogMeta) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentFieldBinlogMeta.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentFieldBinlogMeta proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentFieldBinlogMeta) GetFieldID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FieldID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentFieldBinlogMeta) GetBinlogPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.BinlogPath
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
// key: ${prefix}/${collectionID}/${idx}
|
|
|
|
type DDLBinlogMeta struct {
|
|
|
|
DdlBinlogPath string `protobuf:"bytes,1,opt,name=ddl_binlog_path,json=ddlBinlogPath,proto3" json:"ddl_binlog_path,omitempty"`
|
|
|
|
TsBinlogPath string `protobuf:"bytes,2,opt,name=ts_binlog_path,json=tsBinlogPath,proto3" json:"ts_binlog_path,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DDLBinlogMeta) Reset() { *m = DDLBinlogMeta{} }
|
|
|
|
func (m *DDLBinlogMeta) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DDLBinlogMeta) ProtoMessage() {}
|
|
|
|
func (*DDLBinlogMeta) Descriptor() ([]byte, []int) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{26}
|
2021-03-20 09:50:42 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DDLBinlogMeta) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DDLBinlogMeta.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DDLBinlogMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DDLBinlogMeta.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DDLBinlogMeta) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DDLBinlogMeta.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DDLBinlogMeta) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DDLBinlogMeta.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DDLBinlogMeta) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DDLBinlogMeta.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DDLBinlogMeta proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DDLBinlogMeta) GetDdlBinlogPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DdlBinlogPath
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DDLBinlogMeta) GetTsBinlogPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.TsBinlogPath
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-01-22 09:36:40 +08:00
|
|
|
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) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{27}
|
2021-01-22 09:36:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{28}
|
2021-01-22 09:36:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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) {
|
2021-04-09 09:55:04 +08:00
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{29}
|
2021-01-22 09:36:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-04-09 09:55:04 +08:00
|
|
|
type CollectionInfo struct {
|
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
|
|
Partitions []int64 `protobuf:"varint,3,rep,packed,name=partitions,proto3" json:"partitions,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) Reset() { *m = CollectionInfo{} }
|
|
|
|
func (m *CollectionInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CollectionInfo) ProtoMessage() {}
|
|
|
|
func (*CollectionInfo) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{30}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CollectionInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CollectionInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CollectionInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CollectionInfo) GetID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) GetSchema() *schemapb.CollectionSchema {
|
|
|
|
if m != nil {
|
|
|
|
return m.Schema
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) GetPartitions() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Partitions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentInfo struct {
|
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,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"`
|
2021-05-21 14:51:25 +08:00
|
|
|
NumRows int64 `protobuf:"varint,5,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
|
|
State commonpb.SegmentState `protobuf:"varint,6,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
|
|
|
|
StartPosition *internalpb.MsgPosition `protobuf:"bytes,7,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
|
|
|
|
EndPosition *internalpb.MsgPosition `protobuf:"bytes,8,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
|
2021-04-09 09:55:04 +08:00
|
|
|
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{31}
|
|
|
|
}
|
|
|
|
|
|
|
|
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) GetID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
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) GetNumRows() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumRows
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfo) GetState() commonpb.SegmentState {
|
|
|
|
if m != nil {
|
|
|
|
return m.State
|
|
|
|
}
|
|
|
|
return commonpb.SegmentState_SegmentStateNone
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfo) GetStartPosition() *internalpb.MsgPosition {
|
|
|
|
if m != nil {
|
|
|
|
return m.StartPosition
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfo) GetEndPosition() *internalpb.MsgPosition {
|
|
|
|
if m != nil {
|
|
|
|
return m.EndPosition
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-05-20 11:34:45 +08:00
|
|
|
type ID2PathList struct {
|
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Paths []string `protobuf:"bytes,2,rep,name=Paths,proto3" json:"Paths,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ID2PathList) Reset() { *m = ID2PathList{} }
|
|
|
|
func (m *ID2PathList) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ID2PathList) ProtoMessage() {}
|
|
|
|
func (*ID2PathList) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{32}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ID2PathList) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ID2PathList.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ID2PathList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ID2PathList.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ID2PathList) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ID2PathList.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ID2PathList) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ID2PathList.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ID2PathList) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ID2PathList.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ID2PathList proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ID2PathList) GetID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ID2PathList) GetPaths() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Paths
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SaveBinlogPathsRequest 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"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
Field2BinlogPaths *ID2PathList `protobuf:"bytes,4,opt,name=field2BinlogPaths,proto3" json:"field2BinlogPaths,omitempty"`
|
|
|
|
Coll2TsBinlogPaths *ID2PathList `protobuf:"bytes,5,opt,name=coll2TsBinlogPaths,proto3" json:"coll2TsBinlogPaths,omitempty"`
|
|
|
|
Coll2DdlBinlogPaths *ID2PathList `protobuf:"bytes,6,opt,name=coll2DdlBinlogPaths,proto3" json:"coll2DdlBinlogPaths,omitempty"`
|
|
|
|
StartPositions []*internalpb.MsgPosition `protobuf:"bytes,7,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"`
|
|
|
|
EndPositions []*internalpb.MsgPosition `protobuf:"bytes,8,rep,name=end_positions,json=endPositions,proto3" json:"end_positions,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) Reset() { *m = SaveBinlogPathsRequest{} }
|
|
|
|
func (m *SaveBinlogPathsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SaveBinlogPathsRequest) ProtoMessage() {}
|
|
|
|
func (*SaveBinlogPathsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{33}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SaveBinlogPathsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SaveBinlogPathsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SaveBinlogPathsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SaveBinlogPathsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SaveBinlogPathsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SaveBinlogPathsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SaveBinlogPathsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SaveBinlogPathsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SaveBinlogPathsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SaveBinlogPathsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) GetSegmentID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) GetField2BinlogPaths() *ID2PathList {
|
|
|
|
if m != nil {
|
|
|
|
return m.Field2BinlogPaths
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) GetColl2TsBinlogPaths() *ID2PathList {
|
|
|
|
if m != nil {
|
|
|
|
return m.Coll2TsBinlogPaths
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) GetColl2DdlBinlogPaths() *ID2PathList {
|
|
|
|
if m != nil {
|
|
|
|
return m.Coll2DdlBinlogPaths
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) GetStartPositions() []*internalpb.MsgPosition {
|
|
|
|
if m != nil {
|
|
|
|
return m.StartPositions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SaveBinlogPathsRequest) GetEndPositions() []*internalpb.MsgPosition {
|
|
|
|
if m != nil {
|
|
|
|
return m.EndPositions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-14 14:24:14 +08:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*RegisterNodeRequest)(nil), "milvus.proto.data.RegisterNodeRequest")
|
|
|
|
proto.RegisterType((*RegisterNodeResponse)(nil), "milvus.proto.data.RegisterNodeResponse")
|
|
|
|
proto.RegisterType((*FlushRequest)(nil), "milvus.proto.data.FlushRequest")
|
2021-03-12 14:22:09 +08:00
|
|
|
proto.RegisterType((*SegmentIDRequest)(nil), "milvus.proto.data.SegmentIDRequest")
|
|
|
|
proto.RegisterType((*AssignSegmentIDRequest)(nil), "milvus.proto.data.AssignSegmentIDRequest")
|
|
|
|
proto.RegisterType((*SegmentIDAssignment)(nil), "milvus.proto.data.SegmentIDAssignment")
|
|
|
|
proto.RegisterType((*AssignSegmentIDResponse)(nil), "milvus.proto.data.AssignSegmentIDResponse")
|
|
|
|
proto.RegisterType((*ShowSegmentsRequest)(nil), "milvus.proto.data.ShowSegmentsRequest")
|
|
|
|
proto.RegisterType((*ShowSegmentsResponse)(nil), "milvus.proto.data.ShowSegmentsResponse")
|
|
|
|
proto.RegisterType((*GetSegmentStatesRequest)(nil), "milvus.proto.data.GetSegmentStatesRequest")
|
2021-02-02 10:58:39 +08:00
|
|
|
proto.RegisterType((*SegmentStateInfo)(nil), "milvus.proto.data.SegmentStateInfo")
|
2021-03-12 14:22:09 +08:00
|
|
|
proto.RegisterType((*GetSegmentStatesResponse)(nil), "milvus.proto.data.GetSegmentStatesResponse")
|
|
|
|
proto.RegisterType((*GetSegmentInfoRequest)(nil), "milvus.proto.data.GetSegmentInfoRequest")
|
|
|
|
proto.RegisterType((*GetSegmentInfoResponse)(nil), "milvus.proto.data.GetSegmentInfoResponse")
|
|
|
|
proto.RegisterType((*GetInsertBinlogPathsRequest)(nil), "milvus.proto.data.GetInsertBinlogPathsRequest")
|
|
|
|
proto.RegisterType((*GetInsertBinlogPathsResponse)(nil), "milvus.proto.data.GetInsertBinlogPathsResponse")
|
|
|
|
proto.RegisterType((*GetInsertChannelsRequest)(nil), "milvus.proto.data.GetInsertChannelsRequest")
|
|
|
|
proto.RegisterType((*GetCollectionStatisticsRequest)(nil), "milvus.proto.data.GetCollectionStatisticsRequest")
|
|
|
|
proto.RegisterType((*GetCollectionStatisticsResponse)(nil), "milvus.proto.data.GetCollectionStatisticsResponse")
|
|
|
|
proto.RegisterType((*GetPartitionStatisticsRequest)(nil), "milvus.proto.data.GetPartitionStatisticsRequest")
|
|
|
|
proto.RegisterType((*GetPartitionStatisticsResponse)(nil), "milvus.proto.data.GetPartitionStatisticsResponse")
|
|
|
|
proto.RegisterType((*GetSegmentInfoChannelRequest)(nil), "milvus.proto.data.GetSegmentInfoChannelRequest")
|
|
|
|
proto.RegisterType((*WatchDmChannelsRequest)(nil), "milvus.proto.data.WatchDmChannelsRequest")
|
|
|
|
proto.RegisterType((*FlushSegmentsRequest)(nil), "milvus.proto.data.FlushSegmentsRequest")
|
2021-01-20 09:36:50 +08:00
|
|
|
proto.RegisterType((*SegmentMsg)(nil), "milvus.proto.data.SegmentMsg")
|
2021-03-20 09:50:42 +08:00
|
|
|
proto.RegisterType((*SegmentFieldBinlogMeta)(nil), "milvus.proto.data.SegmentFieldBinlogMeta")
|
|
|
|
proto.RegisterType((*DDLBinlogMeta)(nil), "milvus.proto.data.DDLBinlogMeta")
|
2021-01-22 09:36:40 +08:00
|
|
|
proto.RegisterType((*FieldFlushMeta)(nil), "milvus.proto.data.FieldFlushMeta")
|
|
|
|
proto.RegisterType((*SegmentFlushMeta)(nil), "milvus.proto.data.SegmentFlushMeta")
|
|
|
|
proto.RegisterType((*DDLFlushMeta)(nil), "milvus.proto.data.DDLFlushMeta")
|
2021-04-09 09:55:04 +08:00
|
|
|
proto.RegisterType((*CollectionInfo)(nil), "milvus.proto.data.CollectionInfo")
|
|
|
|
proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.data.SegmentInfo")
|
2021-05-20 11:34:45 +08:00
|
|
|
proto.RegisterType((*ID2PathList)(nil), "milvus.proto.data.ID2PathList")
|
|
|
|
proto.RegisterType((*SaveBinlogPathsRequest)(nil), "milvus.proto.data.SaveBinlogPathsRequest")
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("data_service.proto", fileDescriptor_3385cd32ad6cfe64) }
|
|
|
|
|
|
|
|
var fileDescriptor_3385cd32ad6cfe64 = []byte{
|
2021-05-21 14:51:25 +08:00
|
|
|
// 1712 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdb, 0x6f, 0x1b, 0x45,
|
|
|
|
0x17, 0xcf, 0xfa, 0x92, 0xcb, 0xf1, 0x25, 0xcd, 0x24, 0x5f, 0xea, 0xcf, 0x6d, 0xd3, 0x74, 0xfb,
|
|
|
|
0xb5, 0x4d, 0x5b, 0x7d, 0x49, 0xeb, 0x20, 0x2e, 0x42, 0x3c, 0x34, 0x35, 0x8d, 0xac, 0x26, 0x55,
|
|
|
|
0xd8, 0x04, 0x2a, 0x51, 0x21, 0x6b, 0x63, 0x4f, 0x9c, 0xa1, 0xde, 0x5d, 0xd7, 0x33, 0xee, 0xe5,
|
|
|
|
0xa9, 0x08, 0x78, 0x42, 0x88, 0x0a, 0xfe, 0x02, 0x40, 0x42, 0x42, 0xe2, 0x85, 0xbf, 0x8b, 0x27,
|
|
|
|
0xfe, 0x04, 0xb4, 0x33, 0xb3, 0xf7, 0xb1, 0xbd, 0x75, 0x5a, 0xf2, 0xb6, 0x33, 0x7b, 0x6e, 0x73,
|
|
|
|
0x2e, 0xbf, 0x39, 0x67, 0x00, 0xb5, 0x4d, 0x66, 0x36, 0x29, 0xee, 0x3f, 0x25, 0x2d, 0xbc, 0xde,
|
|
|
|
0xeb, 0x3b, 0xcc, 0x41, 0x0b, 0x16, 0xe9, 0x3e, 0x1d, 0x50, 0xb1, 0x5a, 0x77, 0x09, 0xaa, 0xc5,
|
|
|
|
0x96, 0x63, 0x59, 0x8e, 0x2d, 0xb6, 0xaa, 0x65, 0x62, 0x33, 0xdc, 0xb7, 0xcd, 0xae, 0x5c, 0x17,
|
|
|
|
0xc3, 0x0c, 0xd5, 0x22, 0x6d, 0x1d, 0x63, 0xcb, 0x14, 0x2b, 0xfd, 0x25, 0x2c, 0x1a, 0xb8, 0x43,
|
|
|
|
0x28, 0xc3, 0xfd, 0x07, 0x4e, 0x1b, 0x1b, 0xf8, 0xc9, 0x00, 0x53, 0x86, 0x6e, 0x41, 0xee, 0xd0,
|
|
|
|
0xa4, 0xb8, 0xa2, 0xad, 0x6a, 0x6b, 0x85, 0xda, 0xf9, 0xf5, 0x88, 0x4a, 0xa9, 0x6c, 0x97, 0x76,
|
|
|
|
0xb6, 0x4c, 0x8a, 0x0d, 0x4e, 0x89, 0xde, 0x85, 0x19, 0xb3, 0xdd, 0xee, 0x63, 0x4a, 0x2b, 0x99,
|
|
|
|
0x11, 0x4c, 0x77, 0x04, 0x8d, 0xe1, 0x11, 0xeb, 0xaf, 0x34, 0x58, 0x8a, 0x5a, 0x40, 0x7b, 0x8e,
|
|
|
|
0x4d, 0x31, 0xda, 0x82, 0x02, 0xb1, 0x09, 0x6b, 0xf6, 0xcc, 0xbe, 0x69, 0x51, 0x69, 0xc9, 0xa5,
|
|
|
|
0xa8, 0x50, 0xff, 0xa0, 0x0d, 0x9b, 0xb0, 0x3d, 0x4e, 0x68, 0x00, 0xf1, 0xbf, 0xd1, 0x26, 0x4c,
|
|
|
|
0x53, 0x66, 0xb2, 0x81, 0x67, 0xd3, 0x39, 0xa5, 0x4d, 0xfb, 0x9c, 0xc4, 0x90, 0xa4, 0xfa, 0x73,
|
|
|
|
0x28, 0xde, 0xeb, 0x0e, 0xe8, 0xf1, 0xe4, 0xbe, 0x40, 0x90, 0x6b, 0x1f, 0x36, 0xea, 0x5c, 0x69,
|
|
|
|
0xd6, 0xe0, 0xdf, 0x48, 0x87, 0x62, 0xcb, 0xe9, 0x76, 0x71, 0x8b, 0x11, 0xc7, 0x6e, 0xd4, 0x2b,
|
|
|
|
0x39, 0xfe, 0x2f, 0xb2, 0xa7, 0xff, 0xa8, 0xc1, 0x99, 0x7d, 0xdc, 0xb1, 0xb0, 0xcd, 0x1a, 0x75,
|
|
|
|
0x4f, 0xfd, 0x12, 0xe4, 0x5b, 0xce, 0xc0, 0x66, 0x5c, 0x7f, 0xc9, 0x10, 0x0b, 0x74, 0x09, 0x8a,
|
|
|
|
0xad, 0x63, 0xd3, 0xb6, 0x71, 0xb7, 0x69, 0x9b, 0x16, 0xe6, 0xaa, 0xe6, 0x8c, 0x82, 0xdc, 0x7b,
|
|
|
|
0x60, 0x5a, 0x38, 0xa1, 0x31, 0x9b, 0xd4, 0x88, 0x56, 0xa1, 0xd0, 0x33, 0xfb, 0x8c, 0x44, 0x8c,
|
|
|
|
0x0a, 0x6f, 0xe9, 0x3f, 0x6b, 0xb0, 0x7c, 0x87, 0x52, 0xd2, 0xb1, 0x13, 0x96, 0x2d, 0xc3, 0xb4,
|
|
|
|
0xed, 0xb4, 0x71, 0xa3, 0xce, 0x4d, 0xcb, 0x1a, 0x72, 0x85, 0xce, 0xc1, 0x5c, 0x0f, 0xe3, 0x7e,
|
|
|
|
0xb3, 0xef, 0x74, 0x3d, 0xc3, 0x66, 0xdd, 0x0d, 0xc3, 0xe9, 0x62, 0xf4, 0x09, 0x2c, 0xd0, 0x98,
|
|
|
|
0x20, 0x5a, 0xc9, 0xae, 0x66, 0xd7, 0x0a, 0xb5, 0xcb, 0xeb, 0x89, 0xcc, 0x5e, 0x8f, 0x2b, 0x35,
|
|
|
|
0x92, 0xdc, 0xfa, 0x57, 0x19, 0x58, 0xf4, 0xe9, 0x84, 0xad, 0xee, 0xb7, 0xeb, 0x39, 0x8a, 0x3b,
|
|
|
|
0xbe, 0x79, 0x62, 0x91, 0xc6, 0x73, 0xbe, 0xcb, 0xb3, 0x61, 0x97, 0xa7, 0x88, 0x60, 0xdc, 0x9f,
|
|
|
|
0xf9, 0x84, 0x3f, 0xd1, 0x45, 0x28, 0xe0, 0xe7, 0x3d, 0xd2, 0xc7, 0x4d, 0x46, 0x2c, 0x5c, 0x99,
|
|
|
|
0x5e, 0xd5, 0xd6, 0x72, 0x06, 0x88, 0xad, 0x03, 0x62, 0xe1, 0x50, 0xce, 0xce, 0xa4, 0xcf, 0xd9,
|
|
|
|
0x5f, 0x35, 0x38, 0x9b, 0x88, 0x92, 0x2c, 0x24, 0x03, 0xce, 0xf0, 0x93, 0x07, 0x9e, 0x71, 0xab,
|
|
|
|
0xc9, 0x75, 0xf8, 0xd5, 0x51, 0x0e, 0x0f, 0xc8, 0x8d, 0x04, 0xff, 0x64, 0x85, 0xf5, 0x8b, 0x06,
|
|
|
|
0x8b, 0xfb, 0xc7, 0xce, 0x33, 0xa9, 0x82, 0x4e, 0x5e, 0x60, 0xf1, 0x50, 0x64, 0xc6, 0x87, 0x22,
|
|
|
|
0x9b, 0x0c, 0x85, 0x57, 0xa6, 0xb9, 0xa0, 0x4c, 0xf5, 0xc7, 0xb0, 0x14, 0x35, 0x51, 0x3a, 0x71,
|
|
|
|
0x05, 0xc0, 0x4f, 0x3c, 0xe1, 0xbe, 0xac, 0x11, 0xda, 0x99, 0xcc, 0x21, 0x8f, 0xe1, 0xec, 0x36,
|
|
|
|
0x66, 0x52, 0x97, 0xfb, 0x0f, 0x9f, 0xc0, 0x27, 0x51, 0x0b, 0x33, 0x71, 0x0b, 0xf5, 0x3f, 0x33,
|
|
|
|
0x3e, 0xb8, 0x70, 0x55, 0x0d, 0xfb, 0xc8, 0x41, 0xe7, 0x61, 0xce, 0x27, 0x91, 0x65, 0x12, 0x6c,
|
|
|
|
0xa0, 0xf7, 0x20, 0xef, 0x5a, 0x2a, 0x6a, 0xa4, 0x1c, 0x07, 0x5f, 0xef, 0x4c, 0x21, 0x99, 0x86,
|
|
|
|
0xa0, 0x47, 0x0d, 0x28, 0x53, 0x66, 0xf6, 0x59, 0xb3, 0xe7, 0x50, 0xee, 0x6d, 0xee, 0xfe, 0x42,
|
|
|
|
0x4d, 0x1f, 0x02, 0xdf, 0xbb, 0xb4, 0xb3, 0x27, 0x29, 0x8d, 0x12, 0xe7, 0xf4, 0x96, 0xe8, 0x63,
|
|
|
|
0x28, 0x62, 0xbb, 0x1d, 0x08, 0xca, 0xa5, 0x16, 0x54, 0xc0, 0x76, 0xdb, 0x17, 0x13, 0xc4, 0x27,
|
|
|
|
0x9f, 0x3e, 0x3e, 0xdf, 0x6b, 0x50, 0x49, 0x06, 0x48, 0x66, 0x44, 0x20, 0x51, 0x4b, 0x2d, 0x11,
|
|
|
|
0x7d, 0x28, 0x98, 0xb0, 0x08, 0xd0, 0x48, 0xc8, 0xf3, 0x83, 0x64, 0x48, 0x16, 0x9d, 0xc0, 0x7f,
|
|
|
|
0x02, 0x6b, 0xf8, 0x9f, 0xb7, 0x96, 0x2c, 0xdf, 0x68, 0xb0, 0x1c, 0xd7, 0x75, 0x92, 0x73, 0xbf,
|
|
|
|
0x03, 0x79, 0x62, 0x1f, 0x39, 0xde, 0xb1, 0x57, 0x46, 0x00, 0x8f, 0xab, 0x4b, 0x10, 0xeb, 0x16,
|
|
|
|
0x9c, 0xdb, 0xc6, 0xac, 0x61, 0x53, 0xdc, 0x67, 0x5b, 0xc4, 0xee, 0x3a, 0x9d, 0x3d, 0x93, 0x1d,
|
|
|
|
0x9f, 0xa0, 0x46, 0x22, 0xe9, 0x9e, 0x89, 0xa5, 0xbb, 0xfe, 0xbb, 0x06, 0xe7, 0xd5, 0xfa, 0xe4,
|
|
|
|
0xd1, 0xab, 0x30, 0x7b, 0x44, 0x70, 0xb7, 0x1d, 0x40, 0x80, 0xbf, 0x76, 0x6b, 0xa5, 0xe7, 0x12,
|
|
|
|
0xcb, 0x13, 0x0e, 0x6b, 0x54, 0xf6, 0x59, 0x9f, 0xd8, 0x9d, 0x1d, 0x42, 0x99, 0x21, 0xe8, 0x43,
|
|
|
|
0xfe, 0xcc, 0xa6, 0xcf, 0xcc, 0x6f, 0x45, 0x66, 0x0a, 0x53, 0xef, 0x8a, 0xab, 0x8b, 0xbe, 0xdd,
|
|
|
|
0x86, 0x45, 0xd1, 0x3e, 0xe8, 0xdf, 0x69, 0xb0, 0xb2, 0x8d, 0xd9, 0x5d, 0x7f, 0xcf, 0x35, 0x93,
|
|
|
|
0x50, 0x46, 0x5a, 0xa7, 0x60, 0xcc, 0x2b, 0x0d, 0x2e, 0x0e, 0x35, 0x46, 0x46, 0x50, 0x22, 0x9a,
|
|
|
|
0x77, 0x01, 0xaa, 0x11, 0xed, 0x3e, 0x7e, 0xf1, 0x99, 0xd9, 0x1d, 0xe0, 0x3d, 0x93, 0xf4, 0x05,
|
|
|
|
0xa2, 0x4d, 0x88, 0xef, 0x7f, 0x68, 0x70, 0x61, 0x1b, 0xbb, 0xcd, 0xa8, 0xb8, 0x73, 0x4e, 0xd1,
|
|
|
|
0x3b, 0x29, 0x3a, 0xbd, 0x1f, 0x44, 0x30, 0x95, 0xd6, 0x9e, 0x8a, 0xfb, 0x56, 0x78, 0x39, 0x86,
|
|
|
|
0x70, 0x41, 0x26, 0xba, 0x74, 0x9e, 0xee, 0xc0, 0xf2, 0x43, 0x93, 0xb5, 0x8e, 0xeb, 0xd6, 0xc9,
|
|
|
|
0x2b, 0xe0, 0x32, 0x94, 0xc2, 0x5d, 0xa1, 0x28, 0xe3, 0x39, 0xa3, 0x18, 0x6a, 0x0b, 0xa9, 0xdb,
|
|
|
|
0x0b, 0x2f, 0xf1, 0xd1, 0xe0, 0xe4, 0x1d, 0xcc, 0xa4, 0x61, 0x8c, 0x02, 0x77, 0x2e, 0x01, 0xdc,
|
|
|
|
0xcf, 0x01, 0xa4, 0x71, 0xbb, 0xb4, 0x33, 0x81, 0x5d, 0xef, 0xc3, 0x8c, 0x94, 0x26, 0x23, 0x35,
|
|
|
|
0x0e, 0xaa, 0x3d, 0x72, 0x7d, 0x1f, 0x96, 0xe5, 0xfe, 0x3d, 0x17, 0x13, 0x05, 0x7e, 0xee, 0x62,
|
|
|
|
0x66, 0xa2, 0x0a, 0xcc, 0x48, 0x98, 0x94, 0x2d, 0x86, 0xb7, 0x74, 0x9b, 0xe1, 0x43, 0x4e, 0xd7,
|
|
|
|
0x74, 0xb1, 0x50, 0xb6, 0xe2, 0x70, 0xe8, 0x43, 0xaf, 0xfe, 0x05, 0x94, 0xea, 0xf5, 0x9d, 0x90,
|
|
|
|
0xac, 0xab, 0x30, 0xdf, 0x6e, 0x77, 0x9b, 0x61, 0x2e, 0x8d, 0x73, 0x95, 0xda, 0xed, 0x6e, 0x80,
|
|
|
|
0xd9, 0xe8, 0x7f, 0x50, 0x66, 0xb4, 0x99, 0x14, 0x5e, 0x64, 0x34, 0xa0, 0xd2, 0x77, 0xa1, 0xcc,
|
|
|
|
0x8d, 0xe5, 0x41, 0x1d, 0x63, 0xeb, 0x25, 0x28, 0x86, 0xc4, 0x79, 0x09, 0x52, 0x08, 0x8c, 0xa5,
|
|
|
|
0x2e, 0x1c, 0x7a, 0x2d, 0x56, 0x20, 0x71, 0x74, 0x8b, 0x75, 0x01, 0x80, 0xd0, 0xe6, 0x91, 0x4b,
|
|
|
|
0x8d, 0xdb, 0xdc, 0xc6, 0x59, 0x63, 0x8e, 0xd0, 0x7b, 0x62, 0x03, 0x7d, 0x00, 0xd3, 0x5c, 0xbf,
|
|
|
|
0xdb, 0xb6, 0x28, 0x2a, 0x8e, 0x47, 0x23, 0x7a, 0x02, 0x43, 0x32, 0xe8, 0x9f, 0x42, 0xb1, 0x5e,
|
|
|
|
0xdf, 0x09, 0xec, 0x88, 0x67, 0x97, 0xa6, 0xc8, 0xae, 0x14, 0x67, 0x7c, 0x09, 0xe5, 0x00, 0x61,
|
|
|
|
0x79, 0x0f, 0x59, 0x86, 0x8c, 0x2f, 0x2e, 0xd3, 0xa8, 0xa3, 0x8f, 0x60, 0x5a, 0x3c, 0x31, 0xc8,
|
|
|
|
0x0c, 0xba, 0x12, 0xb5, 0x59, 0x3e, 0x3f, 0x84, 0x60, 0x9a, 0x6f, 0x18, 0x92, 0xc9, 0xcd, 0x70,
|
|
|
|
0x1f, 0x95, 0xc4, 0x64, 0x98, 0x35, 0x42, 0x3b, 0xfa, 0xdf, 0x19, 0x28, 0x84, 0x12, 0x30, 0xa1,
|
|
|
|
0xfe, 0xcd, 0xcc, 0x06, 0x57, 0xa0, 0x4c, 0xf8, 0xe5, 0xda, 0x94, 0x08, 0xc0, 0x11, 0x73, 0xce,
|
|
|
|
0x28, 0x91, 0xf0, 0x95, 0x8b, 0xfe, 0x0b, 0xb3, 0xf6, 0xc0, 0x6a, 0xf6, 0x9d, 0x67, 0x54, 0x0e,
|
|
|
|
0x7b, 0x33, 0xf6, 0xc0, 0x32, 0x9c, 0x67, 0x34, 0x68, 0x9e, 0xa7, 0x4f, 0xdc, 0x3c, 0xcf, 0xbc,
|
|
|
|
0xa9, 0xe6, 0x79, 0x76, 0xa2, 0xe6, 0x59, 0xdf, 0x84, 0x42, 0xa3, 0x5e, 0x73, 0xe3, 0xef, 0x36,
|
|
|
|
0x2e, 0x09, 0x8f, 0x2f, 0x41, 0x7e, 0x2f, 0x94, 0x2e, 0x62, 0xa1, 0xff, 0x94, 0x83, 0xe5, 0x7d,
|
|
|
|
0xf3, 0x29, 0x7e, 0xfb, 0x8d, 0x5b, 0x2a, 0xe0, 0xdc, 0x81, 0x05, 0x5e, 0x18, 0xb5, 0x90, 0x3d,
|
|
|
|
0x72, 0x98, 0x50, 0x41, 0x5c, 0xe8, 0xbc, 0x46, 0x92, 0x11, 0x3d, 0x00, 0xe4, 0x4a, 0xaf, 0x1d,
|
|
|
|
0xd0, 0xb0, 0xb8, 0x7c, 0x2a, 0x71, 0x0a, 0x4e, 0xb4, 0x07, 0x8b, 0x7c, 0xb7, 0x1e, 0x06, 0x31,
|
|
|
|
0xca, 0x53, 0x67, 0xbc, 0x40, 0x15, 0x2b, 0xba, 0x0f, 0xf3, 0xd1, 0x2c, 0xa2, 0x95, 0x19, 0x0e,
|
|
|
|
0x21, 0x69, 0xa2, 0x5f, 0x8e, 0xa4, 0x11, 0x45, 0xdb, 0x50, 0x0a, 0xe7, 0x11, 0xad, 0xcc, 0xa6,
|
|
|
|
0x16, 0x55, 0x0c, 0x25, 0x12, 0xad, 0xfd, 0x55, 0x84, 0x42, 0xdd, 0x64, 0xe6, 0xbe, 0x78, 0xd1,
|
|
|
|
0x44, 0x3d, 0x40, 0xbc, 0x65, 0xb3, 0x7a, 0x8e, 0xed, 0x8f, 0x58, 0xe8, 0xd6, 0x10, 0xb9, 0x49,
|
|
|
|
0x52, 0x99, 0x51, 0xd5, 0xab, 0x43, 0x38, 0x62, 0xe4, 0xfa, 0x14, 0xb2, 0xb8, 0xc6, 0x03, 0x62,
|
|
|
|
0xe1, 0x03, 0xd2, 0x7a, 0xec, 0xd5, 0xf1, 0x08, 0x8d, 0x31, 0x52, 0x4f, 0x63, 0x6c, 0x72, 0x93,
|
|
|
|
0x0b, 0xd1, 0xde, 0x7b, 0xfd, 0x92, 0x3e, 0x85, 0x9e, 0xc0, 0x92, 0xdb, 0xc3, 0xf8, 0xad, 0x94,
|
|
|
|
0xa7, 0xb0, 0x36, 0x5c, 0x61, 0x82, 0xf8, 0x35, 0x55, 0x9a, 0x50, 0x0c, 0x3f, 0xa8, 0x22, 0xd5,
|
|
|
|
0x2b, 0x8f, 0xe2, 0xcd, 0xb7, 0x7a, 0x6d, 0x2c, 0x9d, 0xaf, 0x62, 0x1b, 0xf2, 0xfc, 0x62, 0x41,
|
|
|
|
0x17, 0x55, 0xf7, 0x51, 0xe8, 0xf1, 0xb4, 0x3a, 0xaa, 0xd1, 0xd3, 0xa7, 0xd0, 0x97, 0x30, 0x1f,
|
|
|
|
0x7b, 0xb6, 0x42, 0xd7, 0x15, 0x22, 0xd5, 0x0f, 0x90, 0xd5, 0x1b, 0x69, 0x48, 0xc3, 0x7e, 0x09,
|
|
|
|
0x3f, 0xed, 0x28, 0xfd, 0xa2, 0x78, 0x9e, 0x52, 0xfa, 0x45, 0xf5, 0x46, 0xa4, 0x4f, 0xa1, 0x0e,
|
|
|
|
0x94, 0xa3, 0x1d, 0x2b, 0x5a, 0x53, 0x30, 0x2b, 0x87, 0xf8, 0xea, 0xf5, 0x14, 0x94, 0xbe, 0x22,
|
|
|
|
0x0b, 0xce, 0xc4, 0x1f, 0x26, 0xd0, 0x8d, 0x91, 0x02, 0xa2, 0xf5, 0x72, 0x33, 0x15, 0xad, 0xaf,
|
|
|
|
0xee, 0x05, 0xcf, 0xe2, 0xc4, 0x60, 0x8c, 0xd6, 0xd5, 0x62, 0x86, 0x4d, 0xec, 0xd5, 0x8d, 0xd4,
|
|
|
|
0xf4, 0xbe, 0x6a, 0x0c, 0x0b, 0x89, 0x41, 0x17, 0xdd, 0x1c, 0x25, 0x27, 0x36, 0x0c, 0x54, 0xc7,
|
|
|
|
0x8f, 0xe2, 0xfa, 0x14, 0xfa, 0x5a, 0xe3, 0x6f, 0x71, 0xaa, 0xe1, 0x11, 0xdd, 0x56, 0x6b, 0x1b,
|
|
|
|
0x31, 0xf5, 0x56, 0x6b, 0xaf, 0xc3, 0xe2, 0x9f, 0xf5, 0x25, 0x7f, 0x74, 0x51, 0x0c, 0x60, 0x71,
|
|
|
|
0x7c, 0xf2, 0xe4, 0x0d, 0x9f, 0x2c, 0xab, 0xb7, 0x5f, 0x83, 0xc3, 0x37, 0xc0, 0x89, 0xbf, 0x30,
|
|
|
|
0x79, 0x70, 0xb5, 0x31, 0x36, 0x39, 0x27, 0xc3, 0xaa, 0x47, 0x30, 0x1f, 0xeb, 0x11, 0x94, 0xf5,
|
|
|
|
0xaf, 0xee, 0x23, 0xc6, 0x80, 0x4b, 0xed, 0xb7, 0x2c, 0xcc, 0xba, 0x97, 0x0d, 0x47, 0xc1, 0x7f,
|
|
|
|
0xff, 0xa6, 0x39, 0x05, 0xe8, 0x7f, 0x04, 0xf3, 0xb1, 0x89, 0x58, 0xe9, 0x4e, 0xf5, 0xd4, 0x3c,
|
|
|
|
0x0e, 0xab, 0x1f, 0x42, 0x29, 0x32, 0xfc, 0xa2, 0x6b, 0xc3, 0xc0, 0x3f, 0x8e, 0xa0, 0xa3, 0x05,
|
|
|
|
0x6f, 0x6d, 0x7e, 0x7e, 0xbb, 0x43, 0xd8, 0xf1, 0xe0, 0xd0, 0xfd, 0xb3, 0x21, 0x48, 0xff, 0x4f,
|
|
|
|
0x1c, 0xf9, 0xb5, 0xe1, 0x39, 0x68, 0x83, 0x73, 0x6f, 0xb8, 0x6a, 0x7a, 0x87, 0x87, 0xd3, 0x7c,
|
|
|
|
0xb5, 0xf9, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xda, 0x66, 0x96, 0x6f, 0x22, 0x1d, 0x00, 0x00,
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 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 {
|
2021-03-12 14:22:09 +08:00
|
|
|
GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
|
|
|
|
GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
|
|
GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
2021-01-14 14:24:14 +08:00
|
|
|
RegisterNode(ctx context.Context, in *RegisterNodeRequest, opts ...grpc.CallOption) (*RegisterNodeResponse, error)
|
|
|
|
Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
AssignSegmentID(ctx context.Context, in *AssignSegmentIDRequest, opts ...grpc.CallOption) (*AssignSegmentIDResponse, error)
|
|
|
|
ShowSegments(ctx context.Context, in *ShowSegmentsRequest, opts ...grpc.CallOption) (*ShowSegmentsResponse, error)
|
|
|
|
GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error)
|
|
|
|
GetSegmentStates(ctx context.Context, in *GetSegmentStatesRequest, opts ...grpc.CallOption) (*GetSegmentStatesResponse, error)
|
|
|
|
GetInsertBinlogPaths(ctx context.Context, in *GetInsertBinlogPathsRequest, opts ...grpc.CallOption) (*GetInsertBinlogPathsResponse, error)
|
|
|
|
GetInsertChannels(ctx context.Context, in *GetInsertChannelsRequest, opts ...grpc.CallOption) (*internalpb.StringList, error)
|
|
|
|
GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error)
|
|
|
|
GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error)
|
|
|
|
GetSegmentInfoChannel(ctx context.Context, in *GetSegmentInfoChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
2021-05-20 11:34:45 +08:00
|
|
|
SaveBinlogPaths(ctx context.Context, in *SaveBinlogPathsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type dataServiceClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewDataServiceClient(cc *grpc.ClientConn) DataServiceClient {
|
|
|
|
return &dataServiceClient{cc}
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
|
|
|
|
out := new(internalpb.ComponentStates)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetComponentStates", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
|
|
out := new(milvuspb.StringResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetTimeTickChannel", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
|
|
out := new(milvuspb.StringResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetStatisticsChannel", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
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...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
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...)
|
2021-02-03 18:55:00 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) AssignSegmentID(ctx context.Context, in *AssignSegmentIDRequest, opts ...grpc.CallOption) (*AssignSegmentIDResponse, error) {
|
|
|
|
out := new(AssignSegmentIDResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/AssignSegmentID", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) ShowSegments(ctx context.Context, in *ShowSegmentsRequest, opts ...grpc.CallOption) (*ShowSegmentsResponse, error) {
|
|
|
|
out := new(ShowSegmentsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/ShowSegments", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error) {
|
|
|
|
out := new(GetSegmentInfoResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentInfo", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetSegmentStates(ctx context.Context, in *GetSegmentStatesRequest, opts ...grpc.CallOption) (*GetSegmentStatesResponse, error) {
|
|
|
|
out := new(GetSegmentStatesResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentStates", in, out, opts...)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetInsertBinlogPaths(ctx context.Context, in *GetInsertBinlogPathsRequest, opts ...grpc.CallOption) (*GetInsertBinlogPathsResponse, error) {
|
|
|
|
out := new(GetInsertBinlogPathsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetInsertBinlogPaths", in, out, opts...)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetInsertChannels(ctx context.Context, in *GetInsertChannelsRequest, opts ...grpc.CallOption) (*internalpb.StringList, error) {
|
|
|
|
out := new(internalpb.StringList)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetInsertChannels", in, out, opts...)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error) {
|
|
|
|
out := new(GetCollectionStatisticsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetCollectionStatistics", in, out, opts...)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error) {
|
|
|
|
out := new(GetPartitionStatisticsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetPartitionStatistics", in, out, opts...)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataServiceClient) GetSegmentInfoChannel(ctx context.Context, in *GetSegmentInfoChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
2021-01-25 15:17:17 +08:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-05-20 11:34:45 +08:00
|
|
|
func (c *dataServiceClient) SaveBinlogPaths(ctx context.Context, in *SaveBinlogPathsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/SaveBinlogPaths", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-01-14 14:24:14 +08:00
|
|
|
// DataServiceServer is the server API for DataService service.
|
|
|
|
type DataServiceServer interface {
|
2021-03-12 14:22:09 +08:00
|
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
|
|
GetTimeTickChannel(context.Context, *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error)
|
|
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
2021-01-14 14:24:14 +08:00
|
|
|
RegisterNode(context.Context, *RegisterNodeRequest) (*RegisterNodeResponse, error)
|
|
|
|
Flush(context.Context, *FlushRequest) (*commonpb.Status, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
AssignSegmentID(context.Context, *AssignSegmentIDRequest) (*AssignSegmentIDResponse, error)
|
|
|
|
ShowSegments(context.Context, *ShowSegmentsRequest) (*ShowSegmentsResponse, error)
|
|
|
|
GetSegmentInfo(context.Context, *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error)
|
|
|
|
GetSegmentStates(context.Context, *GetSegmentStatesRequest) (*GetSegmentStatesResponse, error)
|
|
|
|
GetInsertBinlogPaths(context.Context, *GetInsertBinlogPathsRequest) (*GetInsertBinlogPathsResponse, error)
|
|
|
|
GetInsertChannels(context.Context, *GetInsertChannelsRequest) (*internalpb.StringList, error)
|
|
|
|
GetCollectionStatistics(context.Context, *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error)
|
|
|
|
GetPartitionStatistics(context.Context, *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error)
|
|
|
|
GetSegmentInfoChannel(context.Context, *GetSegmentInfoChannelRequest) (*milvuspb.StringResponse, error)
|
2021-05-20 11:34:45 +08:00
|
|
|
SaveBinlogPaths(context.Context, *SaveBinlogPathsRequest) (*commonpb.Status, error)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// UnimplementedDataServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
type UnimplementedDataServiceServer struct {
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedDataServiceServer) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedDataServiceServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
|
|
|
|
}
|
2021-01-14 14:24:14 +08:00
|
|
|
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")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) AssignSegmentID(ctx context.Context, req *AssignSegmentIDRequest) (*AssignSegmentIDResponse, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AssignSegmentID not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) ShowSegments(ctx context.Context, req *ShowSegmentsRequest) (*ShowSegmentsResponse, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowSegments not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) GetSegmentInfo(ctx context.Context, req *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error) {
|
2021-02-03 18:55:00 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) GetSegmentStates(ctx context.Context, req *GetSegmentStatesRequest) (*GetSegmentStatesResponse, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentStates not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) GetInsertBinlogPaths(ctx context.Context, req *GetInsertBinlogPathsRequest) (*GetInsertBinlogPathsResponse, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetInsertBinlogPaths not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) GetInsertChannels(ctx context.Context, req *GetInsertChannelsRequest) (*internalpb.StringList, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetInsertChannels not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) GetCollectionStatistics(ctx context.Context, req *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error) {
|
2021-01-22 11:07:07 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) GetPartitionStatistics(ctx context.Context, req *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error) {
|
2021-01-22 11:07:07 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataServiceServer) GetSegmentInfoChannel(ctx context.Context, req *GetSegmentInfoChannelRequest) (*milvuspb.StringResponse, error) {
|
2021-01-25 15:17:17 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfoChannel not implemented")
|
|
|
|
}
|
2021-05-20 11:34:45 +08:00
|
|
|
func (*UnimplementedDataServiceServer) SaveBinlogPaths(ctx context.Context, req *SaveBinlogPathsRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SaveBinlogPaths not implemented")
|
|
|
|
}
|
2021-01-14 14:24:14 +08:00
|
|
|
|
|
|
|
func RegisterDataServiceServer(s *grpc.Server, srv DataServiceServer) {
|
|
|
|
s.RegisterService(&_DataService_serviceDesc, srv)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(internalpb.GetComponentStatesRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetComponentStates(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetComponentStates",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(internalpb.GetTimeTickChannelRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetTimeTickChannel(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetTimeTickChannel",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(internalpb.GetStatisticsChannelRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetStatisticsChannel(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetStatisticsChannel",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_RegisterNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(RegisterNodeRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).RegisterNode(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/RegisterNode",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).RegisterNode(ctx, req.(*RegisterNodeRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(FlushRequest)
|
2021-02-03 18:55:00 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).Flush(ctx, in)
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/Flush",
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).Flush(ctx, req.(*FlushRequest))
|
2021-02-03 18:55:00 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_AssignSegmentID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(AssignSegmentIDRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).AssignSegmentID(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/AssignSegmentID",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).AssignSegmentID(ctx, req.(*AssignSegmentIDRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_ShowSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ShowSegmentsRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).ShowSegments(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/ShowSegments",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).ShowSegments(ctx, req.(*ShowSegmentsRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetSegmentInfoRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetSegmentInfo(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentInfo",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetSegmentInfo(ctx, req.(*GetSegmentInfoRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetSegmentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetSegmentStatesRequest)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetSegmentStates(ctx, in)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentStates",
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetSegmentStates(ctx, req.(*GetSegmentStatesRequest))
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetInsertBinlogPaths_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetInsertBinlogPathsRequest)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetInsertBinlogPaths(ctx, in)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetInsertBinlogPaths",
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetInsertBinlogPaths(ctx, req.(*GetInsertBinlogPathsRequest))
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetInsertChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetInsertChannelsRequest)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetInsertChannels(ctx, in)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetInsertChannels",
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetInsertChannels(ctx, req.(*GetInsertChannelsRequest))
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetCollectionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetCollectionStatisticsRequest)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetCollectionStatistics(ctx, in)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetCollectionStatistics",
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetCollectionStatistics(ctx, req.(*GetCollectionStatisticsRequest))
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _DataService_GetPartitionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetPartitionStatisticsRequest)
|
2021-01-22 11:07:07 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetPartitionStatistics(ctx, in)
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.data.DataService/GetPartitionStatistics",
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetPartitionStatistics(ctx, req.(*GetPartitionStatisticsRequest))
|
2021-01-22 11:07:07 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-25 15:17:17 +08:00
|
|
|
func _DataService_GetSegmentInfoChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(GetSegmentInfoChannelRequest)
|
2021-01-25 15:17:17 +08:00
|
|
|
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) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataServiceServer).GetSegmentInfoChannel(ctx, req.(*GetSegmentInfoChannelRequest))
|
2021-01-25 15:17:17 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-05-20 11:34:45 +08:00
|
|
|
func _DataService_SaveBinlogPaths_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SaveBinlogPathsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(DataServiceServer).SaveBinlogPaths(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.data.DataService/SaveBinlogPaths",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(DataServiceServer).SaveBinlogPaths(ctx, req.(*SaveBinlogPathsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-14 14:24:14 +08:00
|
|
|
var _DataService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "milvus.proto.data.DataService",
|
|
|
|
HandlerType: (*DataServiceServer)(nil),
|
|
|
|
Methods: []grpc.MethodDesc{
|
2021-03-12 14:22:09 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetComponentStates",
|
|
|
|
Handler: _DataService_GetComponentStates_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetTimeTickChannel",
|
|
|
|
Handler: _DataService_GetTimeTickChannel_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetStatisticsChannel",
|
|
|
|
Handler: _DataService_GetStatisticsChannel_Handler,
|
|
|
|
},
|
2021-01-14 14:24:14 +08:00
|
|
|
{
|
|
|
|
MethodName: "RegisterNode",
|
|
|
|
Handler: _DataService_RegisterNode_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Flush",
|
|
|
|
Handler: _DataService_Flush_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "AssignSegmentID",
|
|
|
|
Handler: _DataService_AssignSegmentID_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ShowSegments",
|
|
|
|
Handler: _DataService_ShowSegments_Handler,
|
|
|
|
},
|
2021-02-03 18:55:00 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetSegmentInfo",
|
|
|
|
Handler: _DataService_GetSegmentInfo_Handler,
|
|
|
|
},
|
2021-01-14 14:24:14 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetSegmentStates",
|
|
|
|
Handler: _DataService_GetSegmentStates_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetInsertBinlogPaths",
|
|
|
|
Handler: _DataService_GetInsertBinlogPaths_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetInsertChannels",
|
|
|
|
Handler: _DataService_GetInsertChannels_Handler,
|
|
|
|
},
|
2021-01-22 11:07:07 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetCollectionStatistics",
|
|
|
|
Handler: _DataService_GetCollectionStatistics_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetPartitionStatistics",
|
|
|
|
Handler: _DataService_GetPartitionStatistics_Handler,
|
|
|
|
},
|
2021-01-25 15:17:17 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetSegmentInfoChannel",
|
|
|
|
Handler: _DataService_GetSegmentInfoChannel_Handler,
|
|
|
|
},
|
2021-05-20 11:34:45 +08:00
|
|
|
{
|
|
|
|
MethodName: "SaveBinlogPaths",
|
|
|
|
Handler: _DataService_SaveBinlogPaths_Handler,
|
|
|
|
},
|
2021-01-14 14:24:14 +08:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
Metadata: "data_service.proto",
|
|
|
|
}
|
2021-01-24 21:20:11 +08:00
|
|
|
|
|
|
|
// 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 {
|
2021-03-12 14:22:09 +08:00
|
|
|
GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
|
|
|
|
GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
|
|
WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
FlushSegments(ctx context.Context, in *FlushSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-01-24 21:20:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type dataNodeClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewDataNodeClient(cc *grpc.ClientConn) DataNodeClient {
|
|
|
|
return &dataNodeClient{cc}
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataNodeClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
|
|
|
|
out := new(internalpb.ComponentStates)
|
2021-01-24 21:20:11 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataNode/GetComponentStates", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataNodeClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
|
|
out := new(milvuspb.StringResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataNode/GetStatisticsChannel", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *dataNodeClient) WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-01-24 21:20:11 +08:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *dataNodeClient) FlushSegments(ctx context.Context, in *FlushSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-01-24 21:20:11 +08:00
|
|
|
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 {
|
2021-03-12 14:22:09 +08:00
|
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
|
|
|
WatchDmChannels(context.Context, *WatchDmChannelsRequest) (*commonpb.Status, error)
|
|
|
|
FlushSegments(context.Context, *FlushSegmentsRequest) (*commonpb.Status, error)
|
2021-01-24 21:20:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// UnimplementedDataNodeServer can be embedded to have forward compatible implementations.
|
|
|
|
type UnimplementedDataNodeServer struct {
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataNodeServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
2021-01-24 21:20:11 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataNodeServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedDataNodeServer) WatchDmChannels(ctx context.Context, req *WatchDmChannelsRequest) (*commonpb.Status, error) {
|
2021-01-24 21:20:11 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method WatchDmChannels not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedDataNodeServer) FlushSegments(ctx context.Context, req *FlushSegmentsRequest) (*commonpb.Status, error) {
|
2021-01-24 21:20:11 +08:00
|
|
|
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) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(internalpb.GetComponentStatesRequest)
|
2021-01-24 21:20:11 +08:00
|
|
|
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) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataNodeServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _DataNode_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(internalpb.GetStatisticsChannelRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(DataNodeServer).GetStatisticsChannel(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.data.DataNode/GetStatisticsChannel",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(DataNodeServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
|
2021-01-24 21:20:11 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _DataNode_WatchDmChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(WatchDmChannelsRequest)
|
2021-01-24 21:20:11 +08:00
|
|
|
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) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataNodeServer).WatchDmChannels(ctx, req.(*WatchDmChannelsRequest))
|
2021-01-24 21:20:11 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _DataNode_FlushSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(FlushSegmentsRequest)
|
2021-01-24 21:20:11 +08:00
|
|
|
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) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(DataNodeServer).FlushSegments(ctx, req.(*FlushSegmentsRequest))
|
2021-01-24 21:20:11 +08:00
|
|
|
}
|
|
|
|
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,
|
|
|
|
},
|
2021-03-12 14:22:09 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetStatisticsChannel",
|
|
|
|
Handler: _DataNode_GetStatisticsChannel_Handler,
|
|
|
|
},
|
2021-01-24 21:20:11 +08:00
|
|
|
{
|
|
|
|
MethodName: "WatchDmChannels",
|
|
|
|
Handler: _DataNode_WatchDmChannels_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "FlushSegments",
|
|
|
|
Handler: _DataNode_FlushSegments_Handler,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
Metadata: "data_service.proto",
|
|
|
|
}
|