vanity - ActiveState ActiveGo 1.8
...

Package vanity

import "github.com/gogo/protobuf/vanity/test/slick"
Overview
Index

Overview ▾

Package vanity is a generated protocol buffer package.

It is generated from these files:
	gogovanity.proto

It has these top-level messages:
	B

Package vanity is a generated protocol buffer package.

It is generated from these files:

proto3.proto

It has these top-level messages:

Aproto3

Package vanity is a generated protocol buffer package.

It is generated from these files:
	vanity.proto

It has these top-level messages:
	A

Index ▾

Constants
Variables
type A
    func (*A) Descriptor() ([]byte, []int)
    func (this *A) Equal(that interface{}) bool
    func (m *A) GetInt() int64
    func (m *A) GetStrings() string
    func (this *A) GoString() string
    func (m *A) Marshal() (dAtA []byte, err error)
    func (m *A) MarshalTo(dAtA []byte) (int, error)
    func (*A) ProtoMessage()
    func (m *A) Reset()
    func (m *A) Size() (n int)
    func (this *A) String() string
    func (m *A) Unmarshal(dAtA []byte) error
type Aproto3
    func (*Aproto3) Descriptor() ([]byte, []int)
    func (this *Aproto3) Equal(that interface{}) bool
    func (m *Aproto3) GetB() string
    func (this *Aproto3) GoString() string
    func (m *Aproto3) Marshal() (dAtA []byte, err error)
    func (m *Aproto3) MarshalTo(dAtA []byte) (int, error)
    func (*Aproto3) ProtoMessage()
    func (m *Aproto3) Reset()
    func (m *Aproto3) Size() (n int)
    func (this *Aproto3) String() string
    func (m *Aproto3) Unmarshal(dAtA []byte) error
type B
    func (*B) Descriptor() ([]byte, []int)
    func (this *B) Equal(that interface{}) bool
    func (m *B) GetInt32() int32
    func (m *B) GetInt64() int64
    func (m *B) GetString_() string
    func (this *B) GoString() string
    func (m *B) Marshal() (dAtA []byte, err error)
    func (m *B) MarshalTo(dAtA []byte) (int, error)
    func (*B) ProtoMessage()
    func (m *B) Reset()
    func (m *B) Size() (n int)
    func (this *B) String() string
    func (m *B) Unmarshal(dAtA []byte) error

Package files

gogovanity.pb.go proto3.pb.go vanity.pb.go

Constants

const Default_B_Int32 int32 = 1234

Variables

var (
    ErrInvalidLengthGogovanity = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowGogovanity   = fmt.Errorf("proto: integer overflow")
)
var (
    ErrInvalidLengthProto3 = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowProto3   = fmt.Errorf("proto: integer overflow")
)
var (
    ErrInvalidLengthVanity = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowVanity   = fmt.Errorf("proto: integer overflow")
)

type A

type A struct {
    Strings string `protobuf:"bytes,1,opt,name=Strings" json:"Strings"`
    Int     int64  `protobuf:"varint,2,req,name=Int" json:"Int"`
}

func (*A) Descriptor

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

func (*A) Equal

func (this *A) Equal(that interface{}) bool

func (*A) GetInt

func (m *A) GetInt() int64

func (*A) GetStrings

func (m *A) GetStrings() string

func (*A) GoString

func (this *A) GoString() string

func (*A) Marshal

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

func (*A) MarshalTo

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

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) Reset

func (m *A) Reset()

func (*A) Size

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

func (*A) String

func (this *A) String() string

func (*A) Unmarshal

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

type Aproto3

type Aproto3 struct {
    B string `protobuf:"bytes,1,opt,name=B,proto3" json:"B,omitempty"`
}

func (*Aproto3) Descriptor

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

func (*Aproto3) Equal

func (this *Aproto3) Equal(that interface{}) bool

func (*Aproto3) GetB

func (m *Aproto3) GetB() string

func (*Aproto3) GoString

func (this *Aproto3) GoString() string

func (*Aproto3) Marshal

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

func (*Aproto3) MarshalTo

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

func (*Aproto3) ProtoMessage

func (*Aproto3) ProtoMessage()

func (*Aproto3) Reset

func (m *Aproto3) Reset()

func (*Aproto3) Size

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

func (*Aproto3) String

func (this *Aproto3) String() string

func (*Aproto3) Unmarshal

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

type B

type B struct {
    String_ *string `protobuf:"bytes,1,opt,name=String" json:"String,omitempty"`
    Int64   int64   `protobuf:"varint,2,opt,name=Int64" json:"Int64"`
    Int32   *int32  `protobuf:"varint,3,opt,name=Int32,def=1234" json:"Int32,omitempty"`
}

func (*B) Descriptor

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

func (*B) Equal

func (this *B) Equal(that interface{}) bool

func (*B) GetInt32

func (m *B) GetInt32() int32

func (*B) GetInt64

func (m *B) GetInt64() int64

func (*B) GetString_

func (m *B) GetString_() string

func (*B) GoString

func (this *B) GoString() string

func (*B) Marshal

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

func (*B) MarshalTo

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

func (*B) ProtoMessage

func (*B) ProtoMessage()

func (*B) Reset

func (m *B) Reset()

func (*B) Size

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

func (*B) String

func (this *B) String() string

func (*B) Unmarshal

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