mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
d22c2cd203
Signed-off-by: xige-16 <xi.ge@zilliz.com>
1436 lines
54 KiB
Go
1436 lines
54 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: data_service.proto
|
|
|
|
package datapb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
|
|
internalpb2 "github.com/zilliztech/milvus-distributed/internal/proto/internalpb2"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type SegmentState int32
|
|
|
|
const (
|
|
SegmentState_SegmentNone SegmentState = 0
|
|
SegmentState_SegmentNotExist SegmentState = 1
|
|
SegmentState_SegmentGrowing SegmentState = 2
|
|
SegmentState_SegmentSealed SegmentState = 3
|
|
)
|
|
|
|
var SegmentState_name = map[int32]string{
|
|
0: "SegmentNone",
|
|
1: "SegmentNotExist",
|
|
2: "SegmentGrowing",
|
|
3: "SegmentSealed",
|
|
}
|
|
|
|
var SegmentState_value = map[string]int32{
|
|
"SegmentNone": 0,
|
|
"SegmentNotExist": 1,
|
|
"SegmentGrowing": 2,
|
|
"SegmentSealed": 3,
|
|
}
|
|
|
|
func (x SegmentState) String() string {
|
|
return proto.EnumName(SegmentState_name, int32(x))
|
|
}
|
|
|
|
func (SegmentState) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{0}
|
|
}
|
|
|
|
type RegisterNodeRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} }
|
|
func (m *RegisterNodeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RegisterNodeRequest) ProtoMessage() {}
|
|
func (*RegisterNodeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{0}
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RegisterNodeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RegisterNodeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNodeRequest.Merge(m, src)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RegisterNodeRequest.Size(m)
|
|
}
|
|
func (m *RegisterNodeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNodeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RegisterNodeRequest) GetAddress() *commonpb.Address {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegisterNodeResponse struct {
|
|
InitParams *internalpb2.InitParams `protobuf:"bytes,1,opt,name=init_params,json=initParams,proto3" json:"init_params,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) Reset() { *m = RegisterNodeResponse{} }
|
|
func (m *RegisterNodeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RegisterNodeResponse) ProtoMessage() {}
|
|
func (*RegisterNodeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{1}
|
|
}
|
|
|
|
func (m *RegisterNodeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RegisterNodeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RegisterNodeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RegisterNodeResponse.Merge(m, src)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RegisterNodeResponse.Size(m)
|
|
}
|
|
func (m *RegisterNodeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RegisterNodeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RegisterNodeResponse proto.InternalMessageInfo
|
|
|
|
func (m *RegisterNodeResponse) GetInitParams() *internalpb2.InitParams {
|
|
if m != nil {
|
|
return m.InitParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegIDRequest struct {
|
|
Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
ChannelID string `protobuf:"bytes,2,opt,name=channelID,proto3" json:"channelID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
CollName string `protobuf:"bytes,5,opt,name=coll_name,json=collName,proto3" json:"coll_name,omitempty"`
|
|
PartitionName string `protobuf:"bytes,6,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegIDRequest) Reset() { *m = SegIDRequest{} }
|
|
func (m *SegIDRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SegIDRequest) ProtoMessage() {}
|
|
func (*SegIDRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{2}
|
|
}
|
|
|
|
func (m *SegIDRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegIDRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SegIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegIDRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegIDRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegIDRequest.Merge(m, src)
|
|
}
|
|
func (m *SegIDRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SegIDRequest.Size(m)
|
|
}
|
|
func (m *SegIDRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegIDRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegIDRequest proto.InternalMessageInfo
|
|
|
|
func (m *SegIDRequest) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDRequest) GetChannelID() string {
|
|
if m != nil {
|
|
return m.ChannelID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegIDRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDRequest) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDRequest) GetCollName() string {
|
|
if m != nil {
|
|
return m.CollName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegIDRequest) GetPartitionName() string {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AssignSegIDRequest struct {
|
|
NodeID int64 `protobuf:"varint,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
PeerRole string `protobuf:"bytes,2,opt,name=peer_role,json=peerRole,proto3" json:"peer_role,omitempty"`
|
|
SegIDRequests []*SegIDRequest `protobuf:"bytes,3,rep,name=segIDRequests,proto3" json:"segIDRequests,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AssignSegIDRequest) Reset() { *m = AssignSegIDRequest{} }
|
|
func (m *AssignSegIDRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignSegIDRequest) ProtoMessage() {}
|
|
func (*AssignSegIDRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{3}
|
|
}
|
|
|
|
func (m *AssignSegIDRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignSegIDRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignSegIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignSegIDRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignSegIDRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignSegIDRequest.Merge(m, src)
|
|
}
|
|
func (m *AssignSegIDRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AssignSegIDRequest.Size(m)
|
|
}
|
|
func (m *AssignSegIDRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignSegIDRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignSegIDRequest proto.InternalMessageInfo
|
|
|
|
func (m *AssignSegIDRequest) GetNodeID() int64 {
|
|
if m != nil {
|
|
return m.NodeID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignSegIDRequest) GetPeerRole() string {
|
|
if m != nil {
|
|
return m.PeerRole
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AssignSegIDRequest) GetSegIDRequests() []*SegIDRequest {
|
|
if m != nil {
|
|
return m.SegIDRequests
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegIDAssignment struct {
|
|
SegID int64 `protobuf:"varint,1,opt,name=segID,proto3" json:"segID,omitempty"`
|
|
ChannelID int32 `protobuf:"varint,2,opt,name=channelID,proto3" json:"channelID,omitempty"`
|
|
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,5,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
ExpireTime uint64 `protobuf:"varint,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
|
|
Status *commonpb.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
|
CollName string `protobuf:"bytes,8,opt,name=coll_name,json=collName,proto3" json:"coll_name,omitempty"`
|
|
PartitionName string `protobuf:"bytes,9,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegIDAssignment) Reset() { *m = SegIDAssignment{} }
|
|
func (m *SegIDAssignment) String() string { return proto.CompactTextString(m) }
|
|
func (*SegIDAssignment) ProtoMessage() {}
|
|
func (*SegIDAssignment) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{4}
|
|
}
|
|
|
|
func (m *SegIDAssignment) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegIDAssignment.Unmarshal(m, b)
|
|
}
|
|
func (m *SegIDAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegIDAssignment.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegIDAssignment) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegIDAssignment.Merge(m, src)
|
|
}
|
|
func (m *SegIDAssignment) XXX_Size() int {
|
|
return xxx_messageInfo_SegIDAssignment.Size(m)
|
|
}
|
|
func (m *SegIDAssignment) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegIDAssignment.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegIDAssignment proto.InternalMessageInfo
|
|
|
|
func (m *SegIDAssignment) GetSegID() int64 {
|
|
if m != nil {
|
|
return m.SegID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetChannelID() int32 {
|
|
if m != nil {
|
|
return m.ChannelID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetCount() uint32 {
|
|
if m != nil {
|
|
return m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetExpireTime() uint64 {
|
|
if m != nil {
|
|
return m.ExpireTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetStatus() *commonpb.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetCollName() string {
|
|
if m != nil {
|
|
return m.CollName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SegIDAssignment) GetPartitionName() string {
|
|
if m != nil {
|
|
return m.PartitionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AssignSegIDResponse struct {
|
|
SegIDAssignments []*SegIDAssignment `protobuf:"bytes,1,rep,name=segIDAssignments,proto3" json:"segIDAssignments,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AssignSegIDResponse) Reset() { *m = AssignSegIDResponse{} }
|
|
func (m *AssignSegIDResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignSegIDResponse) ProtoMessage() {}
|
|
func (*AssignSegIDResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{5}
|
|
}
|
|
|
|
func (m *AssignSegIDResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignSegIDResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignSegIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignSegIDResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignSegIDResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignSegIDResponse.Merge(m, src)
|
|
}
|
|
func (m *AssignSegIDResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AssignSegIDResponse.Size(m)
|
|
}
|
|
func (m *AssignSegIDResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignSegIDResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignSegIDResponse proto.InternalMessageInfo
|
|
|
|
func (m *AssignSegIDResponse) GetSegIDAssignments() []*SegIDAssignment {
|
|
if m != nil {
|
|
return m.SegIDAssignments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FlushRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FlushRequest) Reset() { *m = FlushRequest{} }
|
|
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*FlushRequest) ProtoMessage() {}
|
|
func (*FlushRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{6}
|
|
}
|
|
|
|
func (m *FlushRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FlushRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *FlushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FlushRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FlushRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FlushRequest.Merge(m, src)
|
|
}
|
|
func (m *FlushRequest) XXX_Size() int {
|
|
return xxx_messageInfo_FlushRequest.Size(m)
|
|
}
|
|
func (m *FlushRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FlushRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FlushRequest proto.InternalMessageInfo
|
|
|
|
func (m *FlushRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *FlushRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FlushRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShowSegmentRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ShowSegmentRequest) Reset() { *m = ShowSegmentRequest{} }
|
|
func (m *ShowSegmentRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowSegmentRequest) ProtoMessage() {}
|
|
func (*ShowSegmentRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{7}
|
|
}
|
|
|
|
func (m *ShowSegmentRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowSegmentRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowSegmentRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowSegmentRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowSegmentRequest.Merge(m, src)
|
|
}
|
|
func (m *ShowSegmentRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ShowSegmentRequest.Size(m)
|
|
}
|
|
func (m *ShowSegmentRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowSegmentRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowSegmentRequest proto.InternalMessageInfo
|
|
|
|
func (m *ShowSegmentRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ShowSegmentRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ShowSegmentRequest) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ShowSegmentResponse struct {
|
|
SegmentIDs []int64 `protobuf:"varint,1,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ShowSegmentResponse) Reset() { *m = ShowSegmentResponse{} }
|
|
func (m *ShowSegmentResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ShowSegmentResponse) ProtoMessage() {}
|
|
func (*ShowSegmentResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{8}
|
|
}
|
|
|
|
func (m *ShowSegmentResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ShowSegmentResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ShowSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ShowSegmentResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ShowSegmentResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ShowSegmentResponse.Merge(m, src)
|
|
}
|
|
func (m *ShowSegmentResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ShowSegmentResponse.Size(m)
|
|
}
|
|
func (m *ShowSegmentResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ShowSegmentResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ShowSegmentResponse proto.InternalMessageInfo
|
|
|
|
func (m *ShowSegmentResponse) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentStatesRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentStatesRequest) Reset() { *m = SegmentStatesRequest{} }
|
|
func (m *SegmentStatesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentStatesRequest) ProtoMessage() {}
|
|
func (*SegmentStatesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{9}
|
|
}
|
|
|
|
func (m *SegmentStatesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentStatesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentStatesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentStatesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentStatesRequest.Merge(m, src)
|
|
}
|
|
func (m *SegmentStatesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentStatesRequest.Size(m)
|
|
}
|
|
func (m *SegmentStatesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentStatesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentStatesRequest proto.InternalMessageInfo
|
|
|
|
func (m *SegmentStatesRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentStatesRequest) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SegmentStatesResponse struct {
|
|
State SegmentState `protobuf:"varint,1,opt,name=state,proto3,enum=milvus.proto.data.SegmentState" json:"state,omitempty"`
|
|
CreateTime uint64 `protobuf:"varint,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
SealedTime uint64 `protobuf:"varint,3,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
|
|
StartPositions []*internalpb2.MsgPosition `protobuf:"bytes,4,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"`
|
|
EndPositions []*internalpb2.MsgPosition `protobuf:"bytes,5,rep,name=end_positions,json=endPositions,proto3" json:"end_positions,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) Reset() { *m = SegmentStatesResponse{} }
|
|
func (m *SegmentStatesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentStatesResponse) ProtoMessage() {}
|
|
func (*SegmentStatesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{10}
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentStatesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentStatesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentStatesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentStatesResponse.Merge(m, src)
|
|
}
|
|
func (m *SegmentStatesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentStatesResponse.Size(m)
|
|
}
|
|
func (m *SegmentStatesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentStatesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentStatesResponse proto.InternalMessageInfo
|
|
|
|
func (m *SegmentStatesResponse) GetState() SegmentState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return SegmentState_SegmentNone
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) GetCreateTime() uint64 {
|
|
if m != nil {
|
|
return m.CreateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) GetSealedTime() uint64 {
|
|
if m != nil {
|
|
return m.SealedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) GetStartPositions() []*internalpb2.MsgPosition {
|
|
if m != nil {
|
|
return m.StartPositions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentStatesResponse) GetEndPositions() []*internalpb2.MsgPosition {
|
|
if m != nil {
|
|
return m.EndPositions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertBinlogPathRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InsertBinlogPathRequest) Reset() { *m = InsertBinlogPathRequest{} }
|
|
func (m *InsertBinlogPathRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*InsertBinlogPathRequest) ProtoMessage() {}
|
|
func (*InsertBinlogPathRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{11}
|
|
}
|
|
|
|
func (m *InsertBinlogPathRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InsertBinlogPathRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *InsertBinlogPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InsertBinlogPathRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InsertBinlogPathRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InsertBinlogPathRequest.Merge(m, src)
|
|
}
|
|
func (m *InsertBinlogPathRequest) XXX_Size() int {
|
|
return xxx_messageInfo_InsertBinlogPathRequest.Size(m)
|
|
}
|
|
func (m *InsertBinlogPathRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InsertBinlogPathRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InsertBinlogPathRequest proto.InternalMessageInfo
|
|
|
|
func (m *InsertBinlogPathRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertBinlogPathRequest) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InsertBinlogPathsResponse struct {
|
|
FieldIDs []int64 `protobuf:"varint,1,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"`
|
|
Paths []*internalpb2.StringList `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InsertBinlogPathsResponse) Reset() { *m = InsertBinlogPathsResponse{} }
|
|
func (m *InsertBinlogPathsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*InsertBinlogPathsResponse) ProtoMessage() {}
|
|
func (*InsertBinlogPathsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{12}
|
|
}
|
|
|
|
func (m *InsertBinlogPathsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InsertBinlogPathsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *InsertBinlogPathsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InsertBinlogPathsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InsertBinlogPathsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InsertBinlogPathsResponse.Merge(m, src)
|
|
}
|
|
func (m *InsertBinlogPathsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_InsertBinlogPathsResponse.Size(m)
|
|
}
|
|
func (m *InsertBinlogPathsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InsertBinlogPathsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InsertBinlogPathsResponse proto.InternalMessageInfo
|
|
|
|
func (m *InsertBinlogPathsResponse) GetFieldIDs() []int64 {
|
|
if m != nil {
|
|
return m.FieldIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertBinlogPathsResponse) GetPaths() []*internalpb2.StringList {
|
|
if m != nil {
|
|
return m.Paths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertChannelRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InsertChannelRequest) Reset() { *m = InsertChannelRequest{} }
|
|
func (m *InsertChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*InsertChannelRequest) ProtoMessage() {}
|
|
func (*InsertChannelRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{13}
|
|
}
|
|
|
|
func (m *InsertChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InsertChannelRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *InsertChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InsertChannelRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InsertChannelRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InsertChannelRequest.Merge(m, src)
|
|
}
|
|
func (m *InsertChannelRequest) XXX_Size() int {
|
|
return xxx_messageInfo_InsertChannelRequest.Size(m)
|
|
}
|
|
func (m *InsertChannelRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InsertChannelRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InsertChannelRequest proto.InternalMessageInfo
|
|
|
|
func (m *InsertChannelRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InsertChannelRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *InsertChannelRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WatchDmChannelRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
ChannelIDs []string `protobuf:"bytes,2,rep,name=channelIDs,proto3" json:"channelIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *WatchDmChannelRequest) Reset() { *m = WatchDmChannelRequest{} }
|
|
func (m *WatchDmChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*WatchDmChannelRequest) ProtoMessage() {}
|
|
func (*WatchDmChannelRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{14}
|
|
}
|
|
|
|
func (m *WatchDmChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_WatchDmChannelRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *WatchDmChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_WatchDmChannelRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *WatchDmChannelRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WatchDmChannelRequest.Merge(m, src)
|
|
}
|
|
func (m *WatchDmChannelRequest) XXX_Size() int {
|
|
return xxx_messageInfo_WatchDmChannelRequest.Size(m)
|
|
}
|
|
func (m *WatchDmChannelRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WatchDmChannelRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WatchDmChannelRequest proto.InternalMessageInfo
|
|
|
|
func (m *WatchDmChannelRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WatchDmChannelRequest) GetChannelIDs() []string {
|
|
if m != nil {
|
|
return m.ChannelIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FlushSegRequest struct {
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
SegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FlushSegRequest) Reset() { *m = FlushSegRequest{} }
|
|
func (m *FlushSegRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*FlushSegRequest) ProtoMessage() {}
|
|
func (*FlushSegRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{15}
|
|
}
|
|
|
|
func (m *FlushSegRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FlushSegRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *FlushSegRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FlushSegRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FlushSegRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FlushSegRequest.Merge(m, src)
|
|
}
|
|
func (m *FlushSegRequest) XXX_Size() int {
|
|
return xxx_messageInfo_FlushSegRequest.Size(m)
|
|
}
|
|
func (m *FlushSegRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FlushSegRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FlushSegRequest proto.InternalMessageInfo
|
|
|
|
func (m *FlushSegRequest) GetBase() *commonpb.MsgBase {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *FlushSegRequest) GetDbID() int64 {
|
|
if m != nil {
|
|
return m.DbID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FlushSegRequest) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *FlushSegRequest) GetSegmentIDs() []int64 {
|
|
if m != nil {
|
|
return m.SegmentIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentInfo struct {
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
InsertChannels []string `protobuf:"bytes,4,rep,name=insert_channels,json=insertChannels,proto3" json:"insert_channels,omitempty"`
|
|
OpenTime uint64 `protobuf:"varint,5,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"`
|
|
CloseTime uint64 `protobuf:"varint,6,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
|
|
NumRows int64 `protobuf:"varint,7,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
MemSize int64 `protobuf:"varint,8,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentInfo) Reset() { *m = SegmentInfo{} }
|
|
func (m *SegmentInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfo) ProtoMessage() {}
|
|
func (*SegmentInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3385cd32ad6cfe64, []int{16}
|
|
}
|
|
|
|
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfo.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfo.Size(m)
|
|
}
|
|
func (m *SegmentInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfo) GetSegmentID() int64 {
|
|
if m != nil {
|
|
return m.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetCollectionID() int64 {
|
|
if m != nil {
|
|
return m.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetPartitionID() int64 {
|
|
if m != nil {
|
|
return m.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetInsertChannels() []string {
|
|
if m != nil {
|
|
return m.InsertChannels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentInfo) GetOpenTime() uint64 {
|
|
if m != nil {
|
|
return m.OpenTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentInfo) GetCloseTime() uint64 {
|
|
if m != nil {
|
|
return m.CloseTime
|
|
}
|
|
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 init() {
|
|
proto.RegisterEnum("milvus.proto.data.SegmentState", SegmentState_name, SegmentState_value)
|
|
proto.RegisterType((*RegisterNodeRequest)(nil), "milvus.proto.data.RegisterNodeRequest")
|
|
proto.RegisterType((*RegisterNodeResponse)(nil), "milvus.proto.data.RegisterNodeResponse")
|
|
proto.RegisterType((*SegIDRequest)(nil), "milvus.proto.data.SegIDRequest")
|
|
proto.RegisterType((*AssignSegIDRequest)(nil), "milvus.proto.data.AssignSegIDRequest")
|
|
proto.RegisterType((*SegIDAssignment)(nil), "milvus.proto.data.SegIDAssignment")
|
|
proto.RegisterType((*AssignSegIDResponse)(nil), "milvus.proto.data.AssignSegIDResponse")
|
|
proto.RegisterType((*FlushRequest)(nil), "milvus.proto.data.FlushRequest")
|
|
proto.RegisterType((*ShowSegmentRequest)(nil), "milvus.proto.data.ShowSegmentRequest")
|
|
proto.RegisterType((*ShowSegmentResponse)(nil), "milvus.proto.data.ShowSegmentResponse")
|
|
proto.RegisterType((*SegmentStatesRequest)(nil), "milvus.proto.data.SegmentStatesRequest")
|
|
proto.RegisterType((*SegmentStatesResponse)(nil), "milvus.proto.data.SegmentStatesResponse")
|
|
proto.RegisterType((*InsertBinlogPathRequest)(nil), "milvus.proto.data.InsertBinlogPathRequest")
|
|
proto.RegisterType((*InsertBinlogPathsResponse)(nil), "milvus.proto.data.InsertBinlogPathsResponse")
|
|
proto.RegisterType((*InsertChannelRequest)(nil), "milvus.proto.data.InsertChannelRequest")
|
|
proto.RegisterType((*WatchDmChannelRequest)(nil), "milvus.proto.data.WatchDmChannelRequest")
|
|
proto.RegisterType((*FlushSegRequest)(nil), "milvus.proto.data.FlushSegRequest")
|
|
proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.data.SegmentInfo")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("data_service.proto", fileDescriptor_3385cd32ad6cfe64) }
|
|
|
|
var fileDescriptor_3385cd32ad6cfe64 = []byte{
|
|
// 1127 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcf, 0x6e, 0xdb, 0x46,
|
|
0x13, 0xb7, 0x44, 0xc9, 0x96, 0x46, 0xb2, 0xa4, 0xac, 0x9d, 0xef, 0x53, 0x94, 0x34, 0x76, 0x09,
|
|
0x24, 0x36, 0x82, 0xd6, 0x2e, 0x1c, 0xa4, 0xbd, 0x15, 0x8d, 0xab, 0xd4, 0x10, 0xda, 0x18, 0xc6,
|
|
0xaa, 0x40, 0x81, 0xf4, 0x20, 0x50, 0xe2, 0x98, 0x5a, 0x80, 0xdc, 0x65, 0xb9,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0x0e,
|
|
0x0b, 0x09, 0xf1, 0xda, 0x0d, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// DataServiceClient is the client API for DataService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type DataServiceClient interface {
|
|
RegisterNode(ctx context.Context, in *RegisterNodeRequest, opts ...grpc.CallOption) (*RegisterNodeResponse, error)
|
|
Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
AssignSegmentID(ctx context.Context, in *AssignSegIDRequest, opts ...grpc.CallOption) (*AssignSegIDResponse, error)
|
|
ShowSegments(ctx context.Context, in *ShowSegmentRequest, opts ...grpc.CallOption) (*ShowSegmentResponse, error)
|
|
GetSegmentStates(ctx context.Context, in *SegmentStatesRequest, opts ...grpc.CallOption) (*SegmentStatesResponse, error)
|
|
GetInsertBinlogPaths(ctx context.Context, in *InsertBinlogPathRequest, opts ...grpc.CallOption) (*InsertBinlogPathsResponse, error)
|
|
GetInsertChannels(ctx context.Context, in *InsertChannelRequest, opts ...grpc.CallOption) (*internalpb2.StringList, error)
|
|
}
|
|
|
|
type dataServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewDataServiceClient(cc *grpc.ClientConn) DataServiceClient {
|
|
return &dataServiceClient{cc}
|
|
}
|
|
|
|
func (c *dataServiceClient) RegisterNode(ctx context.Context, in *RegisterNodeRequest, opts ...grpc.CallOption) (*RegisterNodeResponse, error) {
|
|
out := new(RegisterNodeResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/RegisterNode", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
out := new(commonpb.Status)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/Flush", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) AssignSegmentID(ctx context.Context, in *AssignSegIDRequest, opts ...grpc.CallOption) (*AssignSegIDResponse, error) {
|
|
out := new(AssignSegIDResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/AssignSegmentID", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) ShowSegments(ctx context.Context, in *ShowSegmentRequest, opts ...grpc.CallOption) (*ShowSegmentResponse, error) {
|
|
out := new(ShowSegmentResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/ShowSegments", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetSegmentStates(ctx context.Context, in *SegmentStatesRequest, opts ...grpc.CallOption) (*SegmentStatesResponse, error) {
|
|
out := new(SegmentStatesResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetSegmentStates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetInsertBinlogPaths(ctx context.Context, in *InsertBinlogPathRequest, opts ...grpc.CallOption) (*InsertBinlogPathsResponse, error) {
|
|
out := new(InsertBinlogPathsResponse)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetInsertBinlogPaths", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *dataServiceClient) GetInsertChannels(ctx context.Context, in *InsertChannelRequest, opts ...grpc.CallOption) (*internalpb2.StringList, error) {
|
|
out := new(internalpb2.StringList)
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.data.DataService/GetInsertChannels", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// DataServiceServer is the server API for DataService service.
|
|
type DataServiceServer interface {
|
|
RegisterNode(context.Context, *RegisterNodeRequest) (*RegisterNodeResponse, error)
|
|
Flush(context.Context, *FlushRequest) (*commonpb.Status, error)
|
|
AssignSegmentID(context.Context, *AssignSegIDRequest) (*AssignSegIDResponse, error)
|
|
ShowSegments(context.Context, *ShowSegmentRequest) (*ShowSegmentResponse, error)
|
|
GetSegmentStates(context.Context, *SegmentStatesRequest) (*SegmentStatesResponse, error)
|
|
GetInsertBinlogPaths(context.Context, *InsertBinlogPathRequest) (*InsertBinlogPathsResponse, error)
|
|
GetInsertChannels(context.Context, *InsertChannelRequest) (*internalpb2.StringList, error)
|
|
}
|
|
|
|
// UnimplementedDataServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedDataServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedDataServiceServer) RegisterNode(ctx context.Context, req *RegisterNodeRequest) (*RegisterNodeResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RegisterNode not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) Flush(ctx context.Context, req *FlushRequest) (*commonpb.Status, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) AssignSegmentID(ctx context.Context, req *AssignSegIDRequest) (*AssignSegIDResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AssignSegmentID not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) ShowSegments(ctx context.Context, req *ShowSegmentRequest) (*ShowSegmentResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowSegments not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetSegmentStates(ctx context.Context, req *SegmentStatesRequest) (*SegmentStatesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentStates not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetInsertBinlogPaths(ctx context.Context, req *InsertBinlogPathRequest) (*InsertBinlogPathsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetInsertBinlogPaths not implemented")
|
|
}
|
|
func (*UnimplementedDataServiceServer) GetInsertChannels(ctx context.Context, req *InsertChannelRequest) (*internalpb2.StringList, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetInsertChannels not implemented")
|
|
}
|
|
|
|
func RegisterDataServiceServer(s *grpc.Server, srv DataServiceServer) {
|
|
s.RegisterService(&_DataService_serviceDesc, srv)
|
|
}
|
|
|
|
func _DataService_RegisterNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RegisterNodeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).RegisterNode(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/RegisterNode",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).RegisterNode(ctx, req.(*RegisterNodeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(FlushRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).Flush(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/Flush",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).Flush(ctx, req.(*FlushRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_AssignSegmentID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AssignSegIDRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).AssignSegmentID(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/AssignSegmentID",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).AssignSegmentID(ctx, req.(*AssignSegIDRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_ShowSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ShowSegmentRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).ShowSegments(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/ShowSegments",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).ShowSegments(ctx, req.(*ShowSegmentRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetSegmentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SegmentStatesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetSegmentStates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetSegmentStates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetSegmentStates(ctx, req.(*SegmentStatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetInsertBinlogPaths_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(InsertBinlogPathRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetInsertBinlogPaths(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetInsertBinlogPaths",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetInsertBinlogPaths(ctx, req.(*InsertBinlogPathRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _DataService_GetInsertChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(InsertChannelRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(DataServiceServer).GetInsertChannels(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/milvus.proto.data.DataService/GetInsertChannels",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(DataServiceServer).GetInsertChannels(ctx, req.(*InsertChannelRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _DataService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "milvus.proto.data.DataService",
|
|
HandlerType: (*DataServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "RegisterNode",
|
|
Handler: _DataService_RegisterNode_Handler,
|
|
},
|
|
{
|
|
MethodName: "Flush",
|
|
Handler: _DataService_Flush_Handler,
|
|
},
|
|
{
|
|
MethodName: "AssignSegmentID",
|
|
Handler: _DataService_AssignSegmentID_Handler,
|
|
},
|
|
{
|
|
MethodName: "ShowSegments",
|
|
Handler: _DataService_ShowSegments_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSegmentStates",
|
|
Handler: _DataService_GetSegmentStates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetInsertBinlogPaths",
|
|
Handler: _DataService_GetInsertBinlogPaths_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetInsertChannels",
|
|
Handler: _DataService_GetInsertChannels_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "data_service.proto",
|
|
}
|