mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
95 lines
3.8 KiB
Go
95 lines
3.8 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: msg_header.proto
|
|
|
|
package internalpb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
any "github.com/golang/protobuf/ptypes/any"
|
|
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 MsgHeader struct {
|
|
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
|
|
Message *any.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MsgHeader) Reset() { *m = MsgHeader{} }
|
|
func (m *MsgHeader) String() string { return proto.CompactTextString(m) }
|
|
func (*MsgHeader) ProtoMessage() {}
|
|
func (*MsgHeader) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4712536c36da8833, []int{0}
|
|
}
|
|
|
|
func (m *MsgHeader) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MsgHeader.Unmarshal(m, b)
|
|
}
|
|
func (m *MsgHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MsgHeader.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *MsgHeader) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MsgHeader.Merge(m, src)
|
|
}
|
|
func (m *MsgHeader) XXX_Size() int {
|
|
return xxx_messageInfo_MsgHeader.Size(m)
|
|
}
|
|
func (m *MsgHeader) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MsgHeader.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MsgHeader proto.InternalMessageInfo
|
|
|
|
func (m *MsgHeader) GetMsgType() commonpb.MsgType {
|
|
if m != nil {
|
|
return m.MsgType
|
|
}
|
|
return commonpb.MsgType_kNone
|
|
}
|
|
|
|
func (m *MsgHeader) GetMessage() *any.Any {
|
|
if m != nil {
|
|
return m.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*MsgHeader)(nil), "milvus.proto.internal.MsgHeader")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("msg_header.proto", fileDescriptor_4712536c36da8833) }
|
|
|
|
var fileDescriptor_4712536c36da8833 = []byte{
|
|
// 221 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xbd, 0x4b, 0xc4, 0x30,
|
|
0x18, 0xc6, 0xc9, 0x0d, 0x9e, 0x46, 0x11, 0x29, 0x0a, 0xe7, 0xe1, 0x70, 0x38, 0x75, 0x31, 0x81,
|
|
0x3a, 0x38, 0x5b, 0x1c, 0x5c, 0x6e, 0x29, 0x4e, 0x2e, 0x92, 0xb4, 0xaf, 0x69, 0x20, 0x5f, 0xe4,
|
|
0x43, 0x4c, 0xff, 0x7a, 0x69, 0x63, 0x05, 0xb7, 0x3c, 0x4f, 0x5e, 0x7e, 0x3f, 0x1e, 0x7c, 0xa5,
|
|
0x83, 0xf8, 0x18, 0x81, 0x0d, 0xe0, 0x89, 0xf3, 0x36, 0xda, 0xea, 0x46, 0x4b, 0xf5, 0x95,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