pb

package
v4.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

format.proto

It has these top-level messages:

Format

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFormat = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFormat   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Format

type Format struct {
	Seq       string `protobuf:"bytes,1,opt,name=seq,proto3" json:"seq,omitempty"`
	Ptype     int32  `protobuf:"varint,2,opt,name=ptype,proto3" json:"ptype,omitempty"`
	Uri       string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
	Meta      []byte `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
	BodyCodec int32  `protobuf:"varint,5,opt,name=body_codec,json=bodyCodec,proto3" json:"body_codec,omitempty"`
	Body      []byte `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	XferPipe  []byte `protobuf:"bytes,7,opt,name=xfer_pipe,json=xferPipe,proto3" json:"xfer_pipe,omitempty"`
}

func (*Format) Descriptor

func (*Format) Descriptor() ([]byte, []int)

func (*Format) GetBody

func (m *Format) GetBody() []byte

func (*Format) GetBodyCodec

func (m *Format) GetBodyCodec() int32

func (*Format) GetMeta

func (m *Format) GetMeta() []byte

func (*Format) GetPtype

func (m *Format) GetPtype() int32

func (*Format) GetSeq

func (m *Format) GetSeq() string

func (*Format) GetUri

func (m *Format) GetUri() string

func (*Format) GetXferPipe

func (m *Format) GetXferPipe() []byte

func (*Format) Marshal

func (m *Format) Marshal() (dAtA []byte, err error)

func (*Format) MarshalTo

func (m *Format) MarshalTo(dAtA []byte) (int, error)

func (*Format) ProtoMessage

func (*Format) ProtoMessage()

func (*Format) Reset

func (m *Format) Reset()

func (*Format) Size

func (m *Format) Size() (n int)

func (*Format) String

func (m *Format) String() string

func (*Format) Unmarshal

func (m *Format) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL