milvus/internal/proto/internalpb2/internal.pb.go
XuanYang-cn 37688559f1 Fix multi rowdata writenode crash bug
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-01-16 15:06:19 +08:00

386 lines
14 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: internal.proto
package internalpb2
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
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 StateCode int32
const (
StateCode_INITIALIZING StateCode = 0
StateCode_HEALTHY StateCode = 1
StateCode_ABNORMAL StateCode = 2
)
var StateCode_name = map[int32]string{
0: "INITIALIZING",
1: "HEALTHY",
2: "ABNORMAL",
}
var StateCode_value = map[string]int32{
"INITIALIZING": 0,
"HEALTHY": 1,
"ABNORMAL": 2,
}
func (x StateCode) String() string {
return proto.EnumName(StateCode_name, int32(x))
}
func (StateCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{0}
}
type NodeStates struct {
NodeID int64 `protobuf:"varint,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
StateCode StateCode `protobuf:"varint,3,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.internal.StateCode" json:"state_code,omitempty"`
ExtraInfo []*commonpb.KeyValuePair `protobuf:"bytes,4,rep,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NodeStates) Reset() { *m = NodeStates{} }
func (m *NodeStates) String() string { return proto.CompactTextString(m) }
func (*NodeStates) ProtoMessage() {}
func (*NodeStates) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{0}
}
func (m *NodeStates) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NodeStates.Unmarshal(m, b)
}
func (m *NodeStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NodeStates.Marshal(b, m, deterministic)
}
func (m *NodeStates) XXX_Merge(src proto.Message) {
xxx_messageInfo_NodeStates.Merge(m, src)
}
func (m *NodeStates) XXX_Size() int {
return xxx_messageInfo_NodeStates.Size(m)
}
func (m *NodeStates) XXX_DiscardUnknown() {
xxx_messageInfo_NodeStates.DiscardUnknown(m)
}
var xxx_messageInfo_NodeStates proto.InternalMessageInfo
func (m *NodeStates) GetNodeID() int64 {
if m != nil {
return m.NodeID
}
return 0
}
func (m *NodeStates) GetRole() string {
if m != nil {
return m.Role
}
return ""
}
func (m *NodeStates) GetStateCode() StateCode {
if m != nil {
return m.StateCode
}
return StateCode_INITIALIZING
}
func (m *NodeStates) GetExtraInfo() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraInfo
}
return nil
}
type ServiceStates struct {
StateCode StateCode `protobuf:"varint,1,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.internal.StateCode" json:"state_code,omitempty"`
NodeStates []*NodeStates `protobuf:"bytes,2,rep,name=node_states,json=nodeStates,proto3" json:"node_states,omitempty"`
ExtraInfo []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStates) Reset() { *m = ServiceStates{} }
func (m *ServiceStates) String() string { return proto.CompactTextString(m) }
func (*ServiceStates) ProtoMessage() {}
func (*ServiceStates) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{1}
}
func (m *ServiceStates) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceStates.Unmarshal(m, b)
}
func (m *ServiceStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceStates.Marshal(b, m, deterministic)
}
func (m *ServiceStates) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceStates.Merge(m, src)
}
func (m *ServiceStates) XXX_Size() int {
return xxx_messageInfo_ServiceStates.Size(m)
}
func (m *ServiceStates) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceStates.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceStates proto.InternalMessageInfo
func (m *ServiceStates) GetStateCode() StateCode {
if m != nil {
return m.StateCode
}
return StateCode_INITIALIZING
}
func (m *ServiceStates) GetNodeStates() []*NodeStates {
if m != nil {
return m.NodeStates
}
return nil
}
func (m *ServiceStates) GetExtraInfo() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraInfo
}
return nil
}
type NodeInfo struct {
Address *commonpb.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NodeInfo) Reset() { *m = NodeInfo{} }
func (m *NodeInfo) String() string { return proto.CompactTextString(m) }
func (*NodeInfo) ProtoMessage() {}
func (*NodeInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{2}
}
func (m *NodeInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NodeInfo.Unmarshal(m, b)
}
func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NodeInfo.Marshal(b, m, deterministic)
}
func (m *NodeInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_NodeInfo.Merge(m, src)
}
func (m *NodeInfo) XXX_Size() int {
return xxx_messageInfo_NodeInfo.Size(m)
}
func (m *NodeInfo) XXX_DiscardUnknown() {
xxx_messageInfo_NodeInfo.DiscardUnknown(m)
}
var xxx_messageInfo_NodeInfo proto.InternalMessageInfo
func (m *NodeInfo) GetAddress() *commonpb.Address {
if m != nil {
return m.Address
}
return nil
}
func (m *NodeInfo) GetRole() string {
if m != nil {
return m.Role
}
return ""
}
type InitParams struct {
NodeID int64 `protobuf:"varint,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
StartParams []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=start_params,json=startParams,proto3" json:"start_params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InitParams) Reset() { *m = InitParams{} }
func (m *InitParams) String() string { return proto.CompactTextString(m) }
func (*InitParams) ProtoMessage() {}
func (*InitParams) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{3}
}
func (m *InitParams) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InitParams.Unmarshal(m, b)
}
func (m *InitParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InitParams.Marshal(b, m, deterministic)
}
func (m *InitParams) XXX_Merge(src proto.Message) {
xxx_messageInfo_InitParams.Merge(m, src)
}
func (m *InitParams) XXX_Size() int {
return xxx_messageInfo_InitParams.Size(m)
}
func (m *InitParams) XXX_DiscardUnknown() {
xxx_messageInfo_InitParams.DiscardUnknown(m)
}
var xxx_messageInfo_InitParams proto.InternalMessageInfo
func (m *InitParams) GetNodeID() int64 {
if m != nil {
return m.NodeID
}
return 0
}
func (m *InitParams) GetStartParams() []*commonpb.KeyValuePair {
if m != nil {
return m.StartParams
}
return nil
}
type StringList struct {
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StringList) Reset() { *m = StringList{} }
func (m *StringList) String() string { return proto.CompactTextString(m) }
func (*StringList) ProtoMessage() {}
func (*StringList) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{4}
}
func (m *StringList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StringList.Unmarshal(m, b)
}
func (m *StringList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StringList.Marshal(b, m, deterministic)
}
func (m *StringList) XXX_Merge(src proto.Message) {
xxx_messageInfo_StringList.Merge(m, src)
}
func (m *StringList) XXX_Size() int {
return xxx_messageInfo_StringList.Size(m)
}
func (m *StringList) XXX_DiscardUnknown() {
xxx_messageInfo_StringList.DiscardUnknown(m)
}
var xxx_messageInfo_StringList proto.InternalMessageInfo
func (m *StringList) GetValues() []string {
if m != nil {
return m.Values
}
return nil
}
type TimeTickMsg struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TimeTickMsg) Reset() { *m = TimeTickMsg{} }
func (m *TimeTickMsg) String() string { return proto.CompactTextString(m) }
func (*TimeTickMsg) ProtoMessage() {}
func (*TimeTickMsg) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{5}
}
func (m *TimeTickMsg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TimeTickMsg.Unmarshal(m, b)
}
func (m *TimeTickMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TimeTickMsg.Marshal(b, m, deterministic)
}
func (m *TimeTickMsg) XXX_Merge(src proto.Message) {
xxx_messageInfo_TimeTickMsg.Merge(m, src)
}
func (m *TimeTickMsg) XXX_Size() int {
return xxx_messageInfo_TimeTickMsg.Size(m)
}
func (m *TimeTickMsg) XXX_DiscardUnknown() {
xxx_messageInfo_TimeTickMsg.DiscardUnknown(m)
}
var xxx_messageInfo_TimeTickMsg proto.InternalMessageInfo
func (m *TimeTickMsg) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
return nil
}
func init() {
proto.RegisterEnum("milvus.proto.internal.StateCode", StateCode_name, StateCode_value)
proto.RegisterType((*NodeStates)(nil), "milvus.proto.internal.NodeStates")
proto.RegisterType((*ServiceStates)(nil), "milvus.proto.internal.ServiceStates")
proto.RegisterType((*NodeInfo)(nil), "milvus.proto.internal.NodeInfo")
proto.RegisterType((*InitParams)(nil), "milvus.proto.internal.InitParams")
proto.RegisterType((*StringList)(nil), "milvus.proto.internal.StringList")
proto.RegisterType((*TimeTickMsg)(nil), "milvus.proto.internal.TimeTickMsg")
}
func init() { proto.RegisterFile("internal.proto", fileDescriptor_41f4a519b878ee3b) }
var fileDescriptor_41f4a519b878ee3b = []byte{
// 452 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x51, 0xd1, 0x6a, 0x13, 0x41,
0x14, 0x75, 0x9b, 0xd0, 0x76, 0xef, 0xc6, 0x12, 0x06, 0x94, 0x45, 0x7c, 0x58, 0x17, 0x1f, 0x82,
0x60, 0x22, 0x11, 0xc4, 0xb7, 0xba, 0x69, 0x8b, 0x5d, 0x4c, 0x62, 0x99, 0x84, 0x82, 0x7d, 0x09,
0xb3, 0xbb, 0xb7, 0xe9, 0xe8, 0xee, 0x4c, 0x98, 0x99, 0x04, 0xed, 0xaf, 0xf9, 0x1f, 0x7e, 0x8f,
0xec, 0x6c, 0x36, 0x25, 0xb0, 0x0a, 0xfa, 0x36, 0xf7, 0xce, 0xb9, 0xe7, 0x9e, 0x73, 0x0f, 0x9c,
0x70, 0x61, 0x50, 0x09, 0x96, 0xf7, 0x57, 0x4a, 0x1a, 0x49, 0x9e, 0x14, 0x3c, 0xdf, 0xac, 0x75,
0x55, 0xf5, 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