Codebase list golang-github-farsightsec-go-nmsg / debian/0.0_git20190917.04d2174-1 nmsg_base / pkt.pb.go

Tree @debian/0.0_git20190917.04d2174-1 (Download .tar.gz)

pkt.pb.go @debian/0.0_git20190917.04d2174-1raw · history · blame

// Code generated by protoc-gen-go.
// source: pkt.proto

package nmsg_base

import proto ""
import fmt "fmt"
import math "math"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

type Pkt struct {
	Payload          []byte  `protobuf:"bytes,1,req,name=payload" json:"payload,omitempty"`
	LenFrame         *uint32 `protobuf:"varint,2,opt,name=len_frame" json:"len_frame,omitempty"`
	XXX_unrecognized []byte  `json:"-"`

func (m *Pkt) Reset()                    { *m = Pkt{} }
func (m *Pkt) String() string            { return proto.CompactTextString(m) }
func (*Pkt) ProtoMessage()               {}
func (*Pkt) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }

func (m *Pkt) GetPayload() []byte {
	if m != nil {
		return m.Payload
	return nil

func (m *Pkt) GetLenFrame() uint32 {
	if m != nil && m.LenFrame != nil {
		return *m.LenFrame
	return 0

func init() {
	proto.RegisterType((*Pkt)(nil), "nmsg.base.Pkt")

func init() { proto.RegisterFile("pkt.proto", fileDescriptor10) }

var fileDescriptor10 = []byte{
	// 89 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x2c, 0xc8, 0x2e, 0xd1,
	0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0xcc, 0xcb, 0x2d, 0x4e, 0xd7, 0x4b, 0x4a, 0x2c, 0x4e,
	0x55, 0xd2, 0xe4, 0x62, 0x0e, 0xc8, 0x2e, 0x11, 0xe2, 0xe7, 0x62, 0x2f, 0x48, 0xac, 0xcc, 0xc9,
	0x4f, 0x4c, 0x91, 0x60, 0x54, 0x60, 0xd2, 0xe0, 0x11, 0x12, 0xe4, 0xe2, 0xcc, 0x49, 0xcd, 0x8b,
	0x4f, 0x2b, 0x4a, 0xcc, 0x4d, 0x95, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x05, 0x04, 0x00, 0x00, 0xff,
	0xff, 0x9d, 0xda, 0xa2, 0xb6, 0x41, 0x00, 0x00, 0x00,