molecule: github.com/richardartoul/molecule/src/proto Index | Files

package simple

import "github.com/richardartoul/molecule/src/proto"

Package simple is a generated protocol buffer package.

It is generated from these files:

simple.proto

It has these top-level messages:

Simple
Test
Nested

Index

Package Files

simple.pb.go

Variables

var (
    ErrInvalidLengthSimple = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowSimple   = fmt.Errorf("proto: integer overflow")
)

type Nested Uses

type Nested struct {
    NestedMessage *Test `protobuf:"bytes,1,opt,name=nested_message,json=nestedMessage" json:"nested_message,omitempty"`
}

func (*Nested) Descriptor Uses

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

func (*Nested) GetNestedMessage Uses

func (m *Nested) GetNestedMessage() *Test

func (*Nested) Marshal Uses

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

func (*Nested) MarshalTo Uses

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

func (*Nested) ProtoMessage Uses

func (*Nested) ProtoMessage()

func (*Nested) Reset Uses

func (m *Nested) Reset()

func (*Nested) Size Uses

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

func (*Nested) String Uses

func (m *Nested) String() string

func (*Nested) Unmarshal Uses

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

type Simple Uses

type Simple struct {
    Double              float64 `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"`
    Float               float32 `protobuf:"fixed32,2,opt,name=float,proto3" json:"float,omitempty"`
    Int32               int32   `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"`
    Int64               int64   `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"`
    Uint32              uint32  `protobuf:"varint,5,opt,name=uint32,proto3" json:"uint32,omitempty"`
    Uint64              uint64  `protobuf:"varint,6,opt,name=uint64,proto3" json:"uint64,omitempty"`
    Sint32              int32   `protobuf:"zigzag32,7,opt,name=sint32,proto3" json:"sint32,omitempty"`
    Sint64              int64   `protobuf:"zigzag64,8,opt,name=sint64,proto3" json:"sint64,omitempty"`
    Fixed32             uint32  `protobuf:"fixed32,9,opt,name=fixed32,proto3" json:"fixed32,omitempty"`
    Fixed64             uint64  `protobuf:"fixed64,10,opt,name=fixed64,proto3" json:"fixed64,omitempty"`
    Sfixed32            int32   `protobuf:"fixed32,11,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"`
    Sfixed64            int64   `protobuf:"fixed64,12,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"`
    Bool                bool    `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"`
    String_             string  `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"`
    Bytes               []byte  `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"`
    RepeatedInt64Packed []int64 `protobuf:"varint,16,rep,packed,name=repeated_int64_packed,json=repeatedInt64Packed" json:"repeated_int64_packed,omitempty"`
}

func (*Simple) Descriptor Uses

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

func (*Simple) GetBool Uses

func (m *Simple) GetBool() bool

func (*Simple) GetBytes Uses

func (m *Simple) GetBytes() []byte

func (*Simple) GetDouble Uses

func (m *Simple) GetDouble() float64

func (*Simple) GetFixed32 Uses

func (m *Simple) GetFixed32() uint32

func (*Simple) GetFixed64 Uses

func (m *Simple) GetFixed64() uint64

func (*Simple) GetFloat Uses

func (m *Simple) GetFloat() float32

func (*Simple) GetInt32 Uses

func (m *Simple) GetInt32() int32

func (*Simple) GetInt64 Uses

func (m *Simple) GetInt64() int64

func (*Simple) GetRepeatedInt64Packed Uses

func (m *Simple) GetRepeatedInt64Packed() []int64

func (*Simple) GetSfixed32 Uses

func (m *Simple) GetSfixed32() int32

func (*Simple) GetSfixed64 Uses

func (m *Simple) GetSfixed64() int64

func (*Simple) GetSint32 Uses

func (m *Simple) GetSint32() int32

func (*Simple) GetSint64 Uses

func (m *Simple) GetSint64() int64

func (*Simple) GetString_ Uses

func (m *Simple) GetString_() string

func (*Simple) GetUint32 Uses

func (m *Simple) GetUint32() uint32

func (*Simple) GetUint64 Uses

func (m *Simple) GetUint64() uint64

func (*Simple) Marshal Uses

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

func (*Simple) MarshalTo Uses

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

func (*Simple) ProtoMessage Uses

func (*Simple) ProtoMessage()

func (*Simple) Reset Uses

func (m *Simple) Reset()

func (*Simple) Size Uses

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

func (*Simple) String Uses

func (m *Simple) String() string

func (*Simple) Unmarshal Uses

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

type Test Uses

type Test struct {
    StringField        string  `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"`
    Int64Field         int64   `protobuf:"varint,2,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"`
    RepeatedInt64Field []int64 `protobuf:"varint,3,rep,packed,name=repeated_int64_field,json=repeatedInt64Field" json:"repeated_int64_field,omitempty"`
}

func (*Test) Descriptor Uses

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

func (*Test) GetInt64Field Uses

func (m *Test) GetInt64Field() int64

func (*Test) GetRepeatedInt64Field Uses

func (m *Test) GetRepeatedInt64Field() []int64

func (*Test) GetStringField Uses

func (m *Test) GetStringField() string

func (*Test) Marshal Uses

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

func (*Test) MarshalTo Uses

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

func (*Test) ProtoMessage Uses

func (*Test) ProtoMessage()

func (*Test) Reset Uses

func (m *Test) Reset()

func (*Test) Size Uses

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

func (*Test) String Uses

func (m *Test) String() string

func (*Test) Unmarshal Uses

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

Package simple imports 4 packages (graph). Updated 2020-03-30. Refresh now. Tools for package owners.