mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-30 23:45:28 +08:00
2520 lines
99 KiB
Go
2520 lines
99 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: data_service.proto
|
|
|
|
package datapb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
|
|
internalpb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
|
|
milvuspb "github.com/zilliztech/milvus-distributed/internal/proto/milvuspb"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type RegisterNodeRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} }
|
|
func (m *RegisterNodeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RegisterNodeRequest) ProtoMessage() {}
|
|
func (*RegisterNodeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{0}
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RegisterNodeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RegisterNodeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNodeRequest.Merge(m, src)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RegisterNodeRequest.Size(m)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNodeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) GetAddress() *commonpb.Address {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegisterNodeResponse struct {
|
|
InitParams *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:"-"`
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) Reset() { *m = RegisterNodeResponse{} }
|
|
func (m *RegisterNodeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RegisterNodeResponse) ProtoMessage() {}
|
|
func (*RegisterNodeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{1}
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RegisterNodeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RegisterNodeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNodeResponse.Merge(m, src)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RegisterNodeResponse.Size(m)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNodeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNodeResponse proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNodeResponse) GetInitParams() *internalpb.InitParams {
|
|
if m != nil {
|
|
return m.InitParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FlushRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FlushRequest) Reset() { *m = FlushRequest{} }
|
|
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*FlushRequest) ProtoMessage() {}
|
|
func (*FlushRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{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 {
|
|
Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *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}
|
|
}
|
|
|
|
func (m *SegmentIDRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentIDRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentIDRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentIDRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentIDRequest.Merge(m, src)
|
|
}
|
|
func (m *SegmentIDRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentIDRequest.Size(m)
|
|
}
|
|
func (m *SegmentIDRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentIDRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentIDRequest proto.InternalMessageInfo
|
|
|
|
func (m *SegmentIDRequest) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIDRequest) GetChannelName() string {
|
|
if m != nil {
|
|
return m.ChannelName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegmentIDRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIDRequest) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
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}
|
|
}
|
|
|
|
func (m *AssignSegmentIDRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignSegmentIDRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignSegmentIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignSegmentIDRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignSegmentIDRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignSegmentIDRequest.Merge(m, src)
|
|
}
|
|
func (m *AssignSegmentIDRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AssignSegmentIDRequest.Size(m)
|
|
}
|
|
func (m *AssignSegmentIDRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignSegmentIDRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignSegmentIDRequest proto.InternalMessageInfo
|
|
|
|
func (m *AssignSegmentIDRequest) GetNodeID() int64 {
|
|
if m != nil {
|
|
return m.NodeID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignSegmentIDRequest) GetPeerRole() string {
|
|
if m != nil {
|
|
return m.PeerRole
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AssignSegmentIDRequest) GetSegmentIDRequests() []*SegmentIDRequest {
|
|
if m != nil {
|
|
return m.SegmentIDRequests
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentIDAssignment struct {
|
|
SegID int64 `protobuf:"varint,1,opt,name=segID,proto3" json:"segID,omitempty"`
|
|
ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,5,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
ExpireTime uint64 `protobuf:"varint,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
|
|
Status *commonpb.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
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}
|
|
}
|
|
|
|
func (m *SegmentIDAssignment) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentIDAssignment.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentIDAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentIDAssignment.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentIDAssignment) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentIDAssignment.Merge(m, src)
|
|
}
|
|
func (m *SegmentIDAssignment) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentIDAssignment.Size(m)
|
|
}
|
|
func (m *SegmentIDAssignment) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentIDAssignment.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentIDAssignment proto.InternalMessageInfo
|
|
|
|
func (m *SegmentIDAssignment) GetSegID() int64 {
|
|
if m != nil {
|
|
return m.SegID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIDAssignment) GetChannelName() string {
|
|
if m != nil {
|
|
return m.ChannelName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegmentIDAssignment) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIDAssignment) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIDAssignment) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIDAssignment) GetExpireTime() uint64 {
|
|
if m != nil {
|
|
return m.ExpireTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentIDAssignment) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
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}
|
|
}
|
|
|
|
func (m *AssignSegmentIDResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignSegmentIDResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignSegmentIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignSegmentIDResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignSegmentIDResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignSegmentIDResponse.Merge(m, src)
|
|
}
|
|
func (m *AssignSegmentIDResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AssignSegmentIDResponse.Size(m)
|
|
}
|
|
func (m *AssignSegmentIDResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignSegmentIDResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignSegmentIDResponse proto.InternalMessageInfo
|
|
|
|
func (m *AssignSegmentIDResponse) GetSegIDAssignments() []*SegmentIDAssignment {
|
|
if m != nil {
|
|
return m.SegIDAssignments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AssignSegmentIDResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShowSegmentsRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
DbID int64 `protobuf:"varint,4,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ShowSegmentsRequest) Reset() { *m = ShowSegmentsRequest{} }
|
|
func (m *ShowSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowSegmentsRequest) ProtoMessage() {}
|
|
func (*ShowSegmentsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{7}
|
|
}
|
|
|
|
func (m *ShowSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowSegmentsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowSegmentsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowSegmentsRequest.Merge(m, src)
|
|
}
|
|
func (m *ShowSegmentsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ShowSegmentsRequest.Size(m)
|
|
}
|
|
func (m *ShowSegmentsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowSegmentsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowSegmentsRequest proto.InternalMessageInfo
|
|
|
|
func (m *ShowSegmentsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowSegmentsRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowSegmentsRequest) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowSegmentsRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShowSegmentsResponse struct {
|
|
SegmentIDs []int64 `protobuf:"varint,1,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
Status *commonpb.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ShowSegmentsResponse) Reset() { *m = ShowSegmentsResponse{} }
|
|
func (m *ShowSegmentsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowSegmentsResponse) ProtoMessage() {}
|
|
func (*ShowSegmentsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{8}
|
|
}
|
|
|
|
func (m *ShowSegmentsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowSegmentsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowSegmentsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowSegmentsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowSegmentsResponse.Merge(m, src)
|
|
}
|
|
func (m *ShowSegmentsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ShowSegmentsResponse.Size(m)
|
|
}
|
|
func (m *ShowSegmentsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowSegmentsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowSegmentsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ShowSegmentsResponse) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowSegmentsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSegmentStatesRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSegmentStatesRequest) Reset() { *m = GetSegmentStatesRequest{} }
|
|
func (m *GetSegmentStatesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSegmentStatesRequest) ProtoMessage() {}
|
|
func (*GetSegmentStatesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{9}
|
|
}
|
|
|
|
func (m *GetSegmentStatesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSegmentStatesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSegmentStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSegmentStatesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetSegmentStatesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSegmentStatesRequest.Merge(m, src)
|
|
}
|
|
func (m *GetSegmentStatesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetSegmentStatesRequest.Size(m)
|
|
}
|
|
func (m *GetSegmentStatesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSegmentStatesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSegmentStatesRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetSegmentStatesRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetSegmentStatesRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentStateInfo struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
State commonpb.SegmentState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
|
|
CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
SealedTime uint64 `protobuf:"varint,4,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
|
|
FlushedTime uint64 `protobuf:"varint,5,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"`
|
|
StartPosition *internalpb.MsgPosition `protobuf:"bytes,6,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
|
|
EndPosition *internalpb.MsgPosition `protobuf:"bytes,7,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
|
|
Status *commonpb.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentStateInfo) Reset() { *m = SegmentStateInfo{} }
|
|
func (m *SegmentStateInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentStateInfo) ProtoMessage() {}
|
|
func (*SegmentStateInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{10}
|
|
}
|
|
|
|
func (m *SegmentStateInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentStateInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentStateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentStateInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentStateInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentStateInfo.Merge(m, src)
|
|
}
|
|
func (m *SegmentStateInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentStateInfo.Size(m)
|
|
}
|
|
func (m *SegmentStateInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentStateInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentStateInfo proto.InternalMessageInfo
|
|
|
|
func (m *SegmentStateInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetState() commonpb.SegmentState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.SegmentState_SegmentStateNone
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetSealedTime() uint64 {
|
|
if m != nil {
|
|
return m.SealedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetFlushedTime() uint64 {
|
|
if m != nil {
|
|
return m.FlushedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetStartPosition() *internalpb.MsgPosition {
|
|
if m != nil {
|
|
return m.StartPosition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetEndPosition() *internalpb.MsgPosition {
|
|
if m != nil {
|
|
return m.EndPosition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentStateInfo) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *GetSegmentStatesResponse) Reset() { *m = GetSegmentStatesResponse{} }
|
|
func (m *GetSegmentStatesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSegmentStatesResponse) ProtoMessage() {}
|
|
func (*GetSegmentStatesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{11}
|
|
}
|
|
|
|
func (m *GetSegmentStatesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSegmentStatesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSegmentStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSegmentStatesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetSegmentStatesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSegmentStatesResponse.Merge(m, src)
|
|
}
|
|
func (m *GetSegmentStatesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetSegmentStatesResponse.Size(m)
|
|
}
|
|
func (m *GetSegmentStatesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSegmentStatesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSegmentStatesResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetSegmentStatesResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetSegmentStatesResponse) GetStates() []*SegmentStateInfo {
|
|
if m != nil {
|
|
return m.States
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *GetSegmentInfoRequest) Reset() { *m = GetSegmentInfoRequest{} }
|
|
func (m *GetSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSegmentInfoRequest) ProtoMessage() {}
|
|
func (*GetSegmentInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{12}
|
|
}
|
|
|
|
func (m *GetSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetSegmentInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSegmentInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *GetSegmentInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Size(m)
|
|
}
|
|
func (m *GetSegmentInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSegmentInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSegmentInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetSegmentInfoRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetSegmentInfoRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentInfo struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
InsertChannel string `protobuf:"bytes,4,opt,name=insert_channel,json=insertChannel,proto3" json:"insert_channel,omitempty"`
|
|
OpenTime uint64 `protobuf:"varint,5,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"`
|
|
SealedTime uint64 `protobuf:"varint,6,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
|
|
FlushedTime uint64 `protobuf:"varint,7,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"`
|
|
NumRows int64 `protobuf:"varint,8,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
MemSize int64 `protobuf:"varint,9,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
|
|
State commonpb.SegmentState `protobuf:"varint,10,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
|
|
StartPosition *internalpb.MsgPosition `protobuf:"bytes,11,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
|
|
EndPosition *internalpb.MsgPosition `protobuf:"bytes,12,opt,name=end_position,json=endPosition,proto3" json:"end_position,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentInfo) Reset() { *m = SegmentInfo{} }
|
|
func (m *SegmentInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfo) ProtoMessage() {}
|
|
func (*SegmentInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{13}
|
|
}
|
|
|
|
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfo.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfo.Size(m)
|
|
}
|
|
func (m *SegmentInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetInsertChannel() string {
|
|
if m != nil {
|
|
return m.InsertChannel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegmentInfo) GetOpenTime() uint64 {
|
|
if m != nil {
|
|
return m.OpenTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetSealedTime() uint64 {
|
|
if m != nil {
|
|
return m.SealedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetFlushedTime() uint64 {
|
|
if m != nil {
|
|
return m.FlushedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetNumRows() int64 {
|
|
if m != nil {
|
|
return m.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetMemSize() int64 {
|
|
if m != nil {
|
|
return m.MemSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetState() commonpb.SegmentState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return commonpb.SegmentState_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
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *GetSegmentInfoResponse) Reset() { *m = GetSegmentInfoResponse{} }
|
|
func (m *GetSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSegmentInfoResponse) ProtoMessage() {}
|
|
func (*GetSegmentInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{14}
|
|
}
|
|
|
|
func (m *GetSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetSegmentInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSegmentInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *GetSegmentInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Size(m)
|
|
}
|
|
func (m *GetSegmentInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSegmentInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSegmentInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetSegmentInfoResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetSegmentInfoResponse) GetInfos() []*SegmentInfo {
|
|
if m != nil {
|
|
return m.Infos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetInsertBinlogPathsRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetInsertBinlogPathsRequest) Reset() { *m = GetInsertBinlogPathsRequest{} }
|
|
func (m *GetInsertBinlogPathsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetInsertBinlogPathsRequest) ProtoMessage() {}
|
|
func (*GetInsertBinlogPathsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{15}
|
|
}
|
|
|
|
func (m *GetInsertBinlogPathsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetInsertBinlogPathsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetInsertBinlogPathsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetInsertBinlogPathsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetInsertBinlogPathsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetInsertBinlogPathsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetInsertBinlogPathsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetInsertBinlogPathsRequest.Size(m)
|
|
}
|
|
func (m *GetInsertBinlogPathsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetInsertBinlogPathsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetInsertBinlogPathsRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetInsertBinlogPathsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetInsertBinlogPathsRequest) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *GetInsertBinlogPathsResponse) Reset() { *m = GetInsertBinlogPathsResponse{} }
|
|
func (m *GetInsertBinlogPathsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetInsertBinlogPathsResponse) ProtoMessage() {}
|
|
func (*GetInsertBinlogPathsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{16}
|
|
}
|
|
|
|
func (m *GetInsertBinlogPathsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetInsertBinlogPathsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetInsertBinlogPathsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetInsertBinlogPathsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetInsertBinlogPathsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetInsertBinlogPathsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetInsertBinlogPathsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetInsertBinlogPathsResponse.Size(m)
|
|
}
|
|
func (m *GetInsertBinlogPathsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetInsertBinlogPathsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetInsertBinlogPathsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetInsertBinlogPathsResponse) GetFieldIDs() []int64 {
|
|
if m != nil {
|
|
return m.FieldIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetInsertBinlogPathsResponse) GetPaths() []*internalpb.StringList {
|
|
if m != nil {
|
|
return m.Paths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetInsertBinlogPathsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetInsertChannelsRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetInsertChannelsRequest) Reset() { *m = GetInsertChannelsRequest{} }
|
|
func (m *GetInsertChannelsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetInsertChannelsRequest) ProtoMessage() {}
|
|
func (*GetInsertChannelsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{17}
|
|
}
|
|
|
|
func (m *GetInsertChannelsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetInsertChannelsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetInsertChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetInsertChannelsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetInsertChannelsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetInsertChannelsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetInsertChannelsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetInsertChannelsRequest.Size(m)
|
|
}
|
|
func (m *GetInsertChannelsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetInsertChannelsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetInsertChannelsRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetInsertChannelsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetInsertChannelsRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetInsertChannelsRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *GetCollectionStatisticsRequest) Reset() { *m = GetCollectionStatisticsRequest{} }
|
|
func (m *GetCollectionStatisticsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCollectionStatisticsRequest) ProtoMessage() {}
|
|
func (*GetCollectionStatisticsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{18}
|
|
}
|
|
|
|
func (m *GetCollectionStatisticsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCollectionStatisticsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCollectionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCollectionStatisticsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCollectionStatisticsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCollectionStatisticsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetCollectionStatisticsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetCollectionStatisticsRequest.Size(m)
|
|
}
|
|
func (m *GetCollectionStatisticsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCollectionStatisticsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCollectionStatisticsRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetCollectionStatisticsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetCollectionStatisticsRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetCollectionStatisticsRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *GetCollectionStatisticsResponse) Reset() { *m = GetCollectionStatisticsResponse{} }
|
|
func (m *GetCollectionStatisticsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCollectionStatisticsResponse) ProtoMessage() {}
|
|
func (*GetCollectionStatisticsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{19}
|
|
}
|
|
|
|
func (m *GetCollectionStatisticsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCollectionStatisticsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCollectionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCollectionStatisticsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCollectionStatisticsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCollectionStatisticsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetCollectionStatisticsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetCollectionStatisticsResponse.Size(m)
|
|
}
|
|
func (m *GetCollectionStatisticsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCollectionStatisticsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCollectionStatisticsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetCollectionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetCollectionStatisticsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPartitionStatisticsRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetPartitionStatisticsRequest) Reset() { *m = GetPartitionStatisticsRequest{} }
|
|
func (m *GetPartitionStatisticsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPartitionStatisticsRequest) ProtoMessage() {}
|
|
func (*GetPartitionStatisticsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{20}
|
|
}
|
|
|
|
func (m *GetPartitionStatisticsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPartitionStatisticsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPartitionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPartitionStatisticsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetPartitionStatisticsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPartitionStatisticsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetPartitionStatisticsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetPartitionStatisticsRequest.Size(m)
|
|
}
|
|
func (m *GetPartitionStatisticsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPartitionStatisticsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPartitionStatisticsRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetPartitionStatisticsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetPartitionStatisticsRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *GetPartitionStatisticsResponse) Reset() { *m = GetPartitionStatisticsResponse{} }
|
|
func (m *GetPartitionStatisticsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPartitionStatisticsResponse) ProtoMessage() {}
|
|
func (*GetPartitionStatisticsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{21}
|
|
}
|
|
|
|
func (m *GetPartitionStatisticsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPartitionStatisticsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPartitionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPartitionStatisticsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetPartitionStatisticsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPartitionStatisticsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetPartitionStatisticsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetPartitionStatisticsResponse.Size(m)
|
|
}
|
|
func (m *GetPartitionStatisticsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPartitionStatisticsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPartitionStatisticsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetPartitionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetPartitionStatisticsResponse) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
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) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{22}
|
|
}
|
|
|
|
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)
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *WatchDmChannelsRequest) Reset() { *m = WatchDmChannelsRequest{} }
|
|
func (m *WatchDmChannelsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*WatchDmChannelsRequest) ProtoMessage() {}
|
|
func (*WatchDmChannelsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{23}
|
|
}
|
|
|
|
func (m *WatchDmChannelsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *WatchDmChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *WatchDmChannelsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WatchDmChannelsRequest.Merge(m, src)
|
|
}
|
|
func (m *WatchDmChannelsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Size(m)
|
|
}
|
|
func (m *WatchDmChannelsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WatchDmChannelsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WatchDmChannelsRequest proto.InternalMessageInfo
|
|
|
|
func (m *WatchDmChannelsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WatchDmChannelsRequest) GetChannelNames() []string {
|
|
if m != nil {
|
|
return m.ChannelNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FlushSegmentsRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
SegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FlushSegmentsRequest) Reset() { *m = FlushSegmentsRequest{} }
|
|
func (m *FlushSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*FlushSegmentsRequest) ProtoMessage() {}
|
|
func (*FlushSegmentsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{24}
|
|
}
|
|
|
|
func (m *FlushSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FlushSegmentsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *FlushSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FlushSegmentsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FlushSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FlushSegmentsRequest.Merge(m, src)
|
|
}
|
|
func (m *FlushSegmentsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_FlushSegmentsRequest.Size(m)
|
|
}
|
|
func (m *FlushSegmentsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FlushSegmentsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FlushSegmentsRequest proto.InternalMessageInfo
|
|
|
|
func (m *FlushSegmentsRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *FlushSegmentsRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FlushSegmentsRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FlushSegmentsRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentMsg struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Segment *SegmentInfo `protobuf:"bytes,2,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentMsg) Reset() { *m = SegmentMsg{} }
|
|
func (m *SegmentMsg) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentMsg) ProtoMessage() {}
|
|
func (*SegmentMsg) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{25}
|
|
}
|
|
|
|
func (m *SegmentMsg) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentMsg.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentMsg.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentMsg) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentMsg.Merge(m, src)
|
|
}
|
|
func (m *SegmentMsg) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentMsg.Size(m)
|
|
}
|
|
func (m *SegmentMsg) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentMsg.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentMsg proto.InternalMessageInfo
|
|
|
|
func (m *SegmentMsg) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentMsg) GetSegment() *SegmentInfo {
|
|
if m != nil {
|
|
return m.Segment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FieldFlushMeta struct {
|
|
FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
BinlogPaths []string `protobuf:"bytes,2,rep,name=binlog_paths,json=binlogPaths,proto3" json:"binlog_paths,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FieldFlushMeta) Reset() { *m = FieldFlushMeta{} }
|
|
func (m *FieldFlushMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*FieldFlushMeta) ProtoMessage() {}
|
|
func (*FieldFlushMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{26}
|
|
}
|
|
|
|
func (m *FieldFlushMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FieldFlushMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *FieldFlushMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FieldFlushMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FieldFlushMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FieldFlushMeta.Merge(m, src)
|
|
}
|
|
func (m *FieldFlushMeta) XXX_Size() int {
|
|
return xxx_messageInfo_FieldFlushMeta.Size(m)
|
|
}
|
|
func (m *FieldFlushMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FieldFlushMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FieldFlushMeta proto.InternalMessageInfo
|
|
|
|
func (m *FieldFlushMeta) GetFieldID() int64 {
|
|
if m != nil {
|
|
return m.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FieldFlushMeta) GetBinlogPaths() []string {
|
|
if m != nil {
|
|
return m.BinlogPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentFlushMeta struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
IsFlushed bool `protobuf:"varint,2,opt,name=is_flushed,json=isFlushed,proto3" json:"is_flushed,omitempty"`
|
|
Fields []*FieldFlushMeta `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentFlushMeta) Reset() { *m = SegmentFlushMeta{} }
|
|
func (m *SegmentFlushMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentFlushMeta) ProtoMessage() {}
|
|
func (*SegmentFlushMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{27}
|
|
}
|
|
|
|
func (m *SegmentFlushMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentFlushMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentFlushMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentFlushMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentFlushMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentFlushMeta.Merge(m, src)
|
|
}
|
|
func (m *SegmentFlushMeta) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentFlushMeta.Size(m)
|
|
}
|
|
func (m *SegmentFlushMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentFlushMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentFlushMeta proto.InternalMessageInfo
|
|
|
|
func (m *SegmentFlushMeta) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentFlushMeta) GetIsFlushed() bool {
|
|
if m != nil {
|
|
return m.IsFlushed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SegmentFlushMeta) GetFields() []*FieldFlushMeta {
|
|
if m != nil {
|
|
return m.Fields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DDLFlushMeta struct {
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
BinlogPaths []string `protobuf:"bytes,2,rep,name=binlog_paths,json=binlogPaths,proto3" json:"binlog_paths,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DDLFlushMeta) Reset() { *m = DDLFlushMeta{} }
|
|
func (m *DDLFlushMeta) String() string { return proto.CompactTextString(m) }
|
|
func (*DDLFlushMeta) ProtoMessage() {}
|
|
func (*DDLFlushMeta) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{28}
|
|
}
|
|
|
|
func (m *DDLFlushMeta) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DDLFlushMeta.Unmarshal(m, b)
|
|
}
|
|
func (m *DDLFlushMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DDLFlushMeta.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DDLFlushMeta) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DDLFlushMeta.Merge(m, src)
|
|
}
|
|
func (m *DDLFlushMeta) XXX_Size() int {
|
|
return xxx_messageInfo_DDLFlushMeta.Size(m)
|
|
}
|
|
func (m *DDLFlushMeta) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DDLFlushMeta.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DDLFlushMeta proto.InternalMessageInfo
|
|
|
|
func (m *DDLFlushMeta) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DDLFlushMeta) GetBinlogPaths() []string {
|
|
if m != nil {
|
|
return m.BinlogPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RegisterNodeRequest)(nil), "milvus.proto.data.RegisterNodeRequest")
|
|
proto.RegisterType((*RegisterNodeResponse)(nil), "milvus.proto.data.RegisterNodeResponse")
|
|
proto.RegisterType((*FlushRequest)(nil), "milvus.proto.data.FlushRequest")
|
|
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")
|
|
proto.RegisterType((*SegmentStateInfo)(nil), "milvus.proto.data.SegmentStateInfo")
|
|
proto.RegisterType((*GetSegmentStatesResponse)(nil), "milvus.proto.data.GetSegmentStatesResponse")
|
|
proto.RegisterType((*GetSegmentInfoRequest)(nil), "milvus.proto.data.GetSegmentInfoRequest")
|
|
proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.data.SegmentInfo")
|
|
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")
|
|
proto.RegisterType((*SegmentMsg)(nil), "milvus.proto.data.SegmentMsg")
|
|
proto.RegisterType((*FieldFlushMeta)(nil), "milvus.proto.data.FieldFlushMeta")
|
|
proto.RegisterType((*SegmentFlushMeta)(nil), "milvus.proto.data.SegmentFlushMeta")
|
|
proto.RegisterType((*DDLFlushMeta)(nil), "milvus.proto.data.DDLFlushMeta")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("data_service.proto", fileDescriptor_3385cd32ad6cfe64) }
|
|
|
|
var fileDescriptor_3385cd32ad6cfe64 = []byte{
|
|
// 1566 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08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xbd, 0x8d, 0xe9, 0x01,
|
|
0x2b, 0xb5, 0xa3, 0x4c, 0x09, 0xd7, 0xfa, 0x92, 0x5f, 0x41, 0x32, 0xda, 0x91, 0x24, 0x3f, 0x05,
|
|
0xf6, 0x46, 0xf7, 0x59, 0x95, 0x5b, 0x47, 0x98, 0x11, 0x06, 0xe0, 0x26, 0x2f, 0xdb, 0x01, 0x5d,
|
|
0x55, 0x27, 0x82, 0x73, 0x26, 0xae, 0xaa, 0xfd, 0xa9, 0x42, 0xc1, 0x3f, 0x0f, 0x38, 0x51, 0xfd,
|
|
0xf7, 0x87, 0xc1, 0x09, 0xb0, 0xf3, 0x57, 0x70, 0x2a, 0xd1, 0xc2, 0x65, 0x32, 0x5e, 0x76, 0x9b,
|
|
0x37, 0x89, 0x4e, 0x1f, 0xc1, 0xd2, 0x50, 0xb7, 0x86, 0xae, 0x8e, 0xe2, 0xe7, 0x24, 0xc9, 0x8d,
|
|
0x37, 0xbc, 0xfd, 0xf1, 0x97, 0x1f, 0x75, 0x09, 0xeb, 0x0d, 0x5a, 0xfe, 0x9f, 0xea, 0x21, 0xb1,
|
|
0x2c, 0x72, 0xc8, 0x70, 0xbb, 0x57, 0x15, 0xb3, 0xde, 0xee, 0x10, 0xca, 0x3c, 0xd2, 0x1a, 0x30,
|
|
0xdc, 0xa9, 0x06, 0xd9, 0xaa, 0x72, 0x53, 0x55, 0xdf, 0x67, 0xbf, 0xd5, 0x5a, 0xe4, 0xa3, 0xdb,
|
|
0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xfe, 0x94, 0x8c, 0x34, 0x1a, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// DataServiceClient is the client API for DataService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type DataServiceClient interface {
|
|
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)
|
|
RegisterNode(ctx context.Context, in *RegisterNodeRequest, opts ...grpc.CallOption) (*RegisterNodeResponse, error)
|
|
Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
AssignSegmentID(ctx context.Context, in *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)
|
|
}
|
|
|
|
type dataServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewDataServiceClient(cc *grpc.ClientConn) DataServiceClient {
|
|
return &dataServiceClient{cc}
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) RegisterNode(ctx context.Context, in *RegisterNodeRequest, opts ...grpc.CallOption) (*RegisterNodeResponse, error) {
|
|
out := new(RegisterNodeResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/RegisterNode", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/Flush", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) AssignSegmentID(ctx context.Context, in *AssignSegmentIDRequest, opts ...grpc.CallOption) (*AssignSegmentIDResponse, error) {
|
|
out := new(AssignSegmentIDResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/AssignSegmentID", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) ShowSegments(ctx context.Context, in *ShowSegmentsRequest, opts ...grpc.CallOption) (*ShowSegmentsResponse, error) {
|
|
out := new(ShowSegmentsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/ShowSegments", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error) {
|
|
out := new(GetSegmentInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetSegmentStates(ctx context.Context, in *GetSegmentStatesRequest, opts ...grpc.CallOption) (*GetSegmentStatesResponse, error) {
|
|
out := new(GetSegmentStatesResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetInsertBinlogPaths(ctx context.Context, in *GetInsertBinlogPathsRequest, opts ...grpc.CallOption) (*GetInsertBinlogPathsResponse, error) {
|
|
out := new(GetInsertBinlogPathsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetInsertBinlogPaths", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetInsertChannels(ctx context.Context, in *GetInsertChannelsRequest, opts ...grpc.CallOption) (*internalpb.StringList, error) {
|
|
out := new(internalpb.StringList)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetInsertChannels", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error) {
|
|
out := new(GetCollectionStatisticsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetCollectionStatistics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error) {
|
|
out := new(GetPartitionStatisticsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetPartitionStatistics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetSegmentInfoChannel(ctx context.Context, in *GetSegmentInfoChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
out := new(milvuspb.StringResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentInfoChannel", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// DataServiceServer is the server API for DataService service.
|
|
type DataServiceServer interface {
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
GetTimeTickChannel(context.Context, *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error)
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
|
RegisterNode(context.Context, *RegisterNodeRequest) (*RegisterNodeResponse, error)
|
|
Flush(context.Context, *FlushRequest) (*commonpb.Status, error)
|
|
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)
|
|
}
|
|
|
|
// UnimplementedDataServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedDataServiceServer struct {
|
|
}
|
|
|
|
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")
|
|
}
|
|
func (*UnimplementedDataServiceServer) RegisterNode(ctx context.Context, req *RegisterNodeRequest) (*RegisterNodeResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RegisterNode not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) Flush(ctx context.Context, req *FlushRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) AssignSegmentID(ctx context.Context, req *AssignSegmentIDRequest) (*AssignSegmentIDResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AssignSegmentID not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) ShowSegments(ctx context.Context, req *ShowSegmentsRequest) (*ShowSegmentsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowSegments not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetSegmentInfo(ctx context.Context, req *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetSegmentStates(ctx context.Context, req *GetSegmentStatesRequest) (*GetSegmentStatesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentStates not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetInsertBinlogPaths(ctx context.Context, req *GetInsertBinlogPathsRequest) (*GetInsertBinlogPathsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetInsertBinlogPaths not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetInsertChannels(ctx context.Context, req *GetInsertChannelsRequest) (*internalpb.StringList, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetInsertChannels not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetCollectionStatistics(ctx context.Context, req *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetPartitionStatistics(ctx context.Context, req *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetSegmentInfoChannel(ctx context.Context, req *GetSegmentInfoChannelRequest) (*milvuspb.StringResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfoChannel not implemented")
|
|
}
|
|
|
|
func RegisterDataServiceServer(s *grpc.Server, srv DataServiceServer) {
|
|
s.RegisterService(&_DataService_serviceDesc, srv)
|
|
}
|
|
|
|
func _DataService_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.GetComponentStatesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetComponentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetComponentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.GetTimeTickChannelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetTimeTickChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetTimeTickChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.GetStatisticsChannelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetStatisticsChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetStatisticsChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_RegisterNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RegisterNodeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).RegisterNode(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/RegisterNode",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).RegisterNode(ctx, req.(*RegisterNodeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(FlushRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).Flush(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/Flush",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).Flush(ctx, req.(*FlushRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_AssignSegmentID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AssignSegmentIDRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).AssignSegmentID(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/AssignSegmentID",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).AssignSegmentID(ctx, req.(*AssignSegmentIDRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_ShowSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ShowSegmentsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).ShowSegments(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/ShowSegments",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).ShowSegments(ctx, req.(*ShowSegmentsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSegmentInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetSegmentInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetSegmentInfo(ctx, req.(*GetSegmentInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetSegmentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSegmentStatesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetSegmentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetSegmentStates(ctx, req.(*GetSegmentStatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetInsertBinlogPaths_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetInsertBinlogPathsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetInsertBinlogPaths(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetInsertBinlogPaths",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetInsertBinlogPaths(ctx, req.(*GetInsertBinlogPathsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetInsertChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetInsertChannelsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetInsertChannels(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetInsertChannels",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetInsertChannels(ctx, req.(*GetInsertChannelsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetCollectionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetCollectionStatisticsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetCollectionStatistics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetCollectionStatistics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetCollectionStatistics(ctx, req.(*GetCollectionStatisticsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetPartitionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPartitionStatisticsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetPartitionStatistics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetPartitionStatistics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetPartitionStatistics(ctx, req.(*GetPartitionStatisticsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetSegmentInfoChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSegmentInfoChannelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetSegmentInfoChannel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentInfoChannel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetSegmentInfoChannel(ctx, req.(*GetSegmentInfoChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _DataService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.data.DataService",
|
|
HandlerType: (*DataServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetComponentStates",
|
|
Handler: _DataService_GetComponentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTimeTickChannel",
|
|
Handler: _DataService_GetTimeTickChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetStatisticsChannel",
|
|
Handler: _DataService_GetStatisticsChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "RegisterNode",
|
|
Handler: _DataService_RegisterNode_Handler,
|
|
},
|
|
{
|
|
MethodName: "Flush",
|
|
Handler: _DataService_Flush_Handler,
|
|
},
|
|
{
|
|
MethodName: "AssignSegmentID",
|
|
Handler: _DataService_AssignSegmentID_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowSegments",
|
|
Handler: _DataService_ShowSegments_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSegmentInfo",
|
|
Handler: _DataService_GetSegmentInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSegmentStates",
|
|
Handler: _DataService_GetSegmentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetInsertBinlogPaths",
|
|
Handler: _DataService_GetInsertBinlogPaths_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetInsertChannels",
|
|
Handler: _DataService_GetInsertChannels_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetCollectionStatistics",
|
|
Handler: _DataService_GetCollectionStatistics_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPartitionStatistics",
|
|
Handler: _DataService_GetPartitionStatistics_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSegmentInfoChannel",
|
|
Handler: _DataService_GetSegmentInfoChannel_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "data_service.proto",
|
|
}
|
|
|
|
// DataNodeClient is the client API for DataNode service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type DataNodeClient interface {
|
|
GetComponentStates(ctx context.Context, in *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)
|
|
}
|
|
|
|
type dataNodeClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewDataNodeClient(cc *grpc.ClientConn) DataNodeClient {
|
|
return &dataNodeClient{cc}
|
|
}
|
|
|
|
func (c *dataNodeClient) 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.DataNode/GetComponentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataNode/WatchDmChannels", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataNodeClient) FlushSegments(ctx context.Context, in *FlushSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataNode/FlushSegments", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// DataNodeServer is the server API for DataNode service.
|
|
type DataNodeServer interface {
|
|
GetComponentStates(context.Context, *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)
|
|
}
|
|
|
|
// UnimplementedDataNodeServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedDataNodeServer struct {
|
|
}
|
|
|
|
func (*UnimplementedDataNodeServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
}
|
|
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) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method WatchDmChannels not implemented")
|
|
}
|
|
func (*UnimplementedDataNodeServer) FlushSegments(ctx context.Context, req *FlushSegmentsRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method FlushSegments not implemented")
|
|
}
|
|
|
|
func RegisterDataNodeServer(s *grpc.Server, srv DataNodeServer) {
|
|
s.RegisterService(&_DataNode_serviceDesc, srv)
|
|
}
|
|
|
|
func _DataNode_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(internalpb.GetComponentStatesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataNodeServer).GetComponentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataNode/GetComponentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataNodeServer).GetComponentStates(ctx, req.(*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))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataNode_WatchDmChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(WatchDmChannelsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataNodeServer).WatchDmChannels(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataNode/WatchDmChannels",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataNodeServer).WatchDmChannels(ctx, req.(*WatchDmChannelsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataNode_FlushSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(FlushSegmentsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataNodeServer).FlushSegments(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataNode/FlushSegments",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataNodeServer).FlushSegments(ctx, req.(*FlushSegmentsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _DataNode_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.data.DataNode",
|
|
HandlerType: (*DataNodeServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetComponentStates",
|
|
Handler: _DataNode_GetComponentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetStatisticsChannel",
|
|
Handler: _DataNode_GetStatisticsChannel_Handler,
|
|
},
|
|
{
|
|
MethodName: "WatchDmChannels",
|
|
Handler: _DataNode_WatchDmChannels_Handler,
|
|
},
|
|
{
|
|
MethodName: "FlushSegments",
|
|
Handler: _DataNode_FlushSegments_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "data_service.proto",
|
|
}
|