protobuf: github.com/golang/protobuf/proto/proto3_proto Index | Files

package proto3_proto

import "github.com/golang/protobuf/proto/proto3_proto"

Index

Package Files

proto3.pb.go

Variables

var Message_Humour_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "PUNS",
    2:  "SLAPSTICK",
    3:  "BILL_BAILEY",
}
var Message_Humour_value = map[string]int32{
    "UNKNOWN":     0,
    "PUNS":        1,
    "SLAPSTICK":   2,
    "BILL_BAILEY": 3,
}

type IntMap Uses

type IntMap struct {
    Rtt                  map[int32]int32 `protobuf:"bytes,1,rep,name=rtt,proto3" json:"rtt,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

func (*IntMap) Descriptor Uses

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

func (*IntMap) GetRtt Uses

func (m *IntMap) GetRtt() map[int32]int32

func (*IntMap) ProtoMessage Uses

func (*IntMap) ProtoMessage()

func (*IntMap) Reset Uses

func (m *IntMap) Reset()

func (*IntMap) String Uses

func (m *IntMap) String() string

func (*IntMap) XXX_DiscardUnknown Uses

func (m *IntMap) XXX_DiscardUnknown()

func (*IntMap) XXX_Marshal Uses

func (m *IntMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IntMap) XXX_Merge Uses

func (m *IntMap) XXX_Merge(src proto.Message)

func (*IntMap) XXX_Size Uses

func (m *IntMap) XXX_Size() int

func (*IntMap) XXX_Unmarshal Uses

func (m *IntMap) XXX_Unmarshal(b []byte) error

type IntMaps Uses

type IntMaps struct {
    Maps                 []*IntMap `protobuf:"bytes,1,rep,name=maps,proto3" json:"maps,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func (*IntMaps) Descriptor Uses

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

func (*IntMaps) GetMaps Uses

func (m *IntMaps) GetMaps() []*IntMap

func (*IntMaps) ProtoMessage Uses

func (*IntMaps) ProtoMessage()

func (*IntMaps) Reset Uses

func (m *IntMaps) Reset()

func (*IntMaps) String Uses

func (m *IntMaps) String() string

func (*IntMaps) XXX_DiscardUnknown Uses

func (m *IntMaps) XXX_DiscardUnknown()

func (*IntMaps) XXX_Marshal Uses

func (m *IntMaps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IntMaps) XXX_Merge Uses

func (m *IntMaps) XXX_Merge(src proto.Message)

func (*IntMaps) XXX_Size Uses

func (m *IntMaps) XXX_Size() int

func (*IntMaps) XXX_Unmarshal Uses

func (m *IntMaps) XXX_Unmarshal(b []byte) error

type Message Uses

type Message struct {
    Name                 string                             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Hilarity             Message_Humour                     `protobuf:"varint,2,opt,name=hilarity,proto3,enum=proto3_proto.Message_Humour" json:"hilarity,omitempty"`
    HeightInCm           uint32                             `protobuf:"varint,3,opt,name=height_in_cm,json=heightInCm,proto3" json:"height_in_cm,omitempty"`
    Data                 []byte                             `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
    ResultCount          int64                              `protobuf:"varint,7,opt,name=result_count,json=resultCount,proto3" json:"result_count,omitempty"`
    TrueScotsman         bool                               `protobuf:"varint,8,opt,name=true_scotsman,json=trueScotsman,proto3" json:"true_scotsman,omitempty"`
    Score                float32                            `protobuf:"fixed32,9,opt,name=score,proto3" json:"score,omitempty"`
    Key                  []uint64                           `protobuf:"varint,5,rep,packed,name=key,proto3" json:"key,omitempty"`
    ShortKey             []int32                            `protobuf:"varint,19,rep,packed,name=short_key,json=shortKey,proto3" json:"short_key,omitempty"`
    Nested               *Nested                            `protobuf:"bytes,6,opt,name=nested,proto3" json:"nested,omitempty"`
    RFunny               []Message_Humour                   `protobuf:"varint,16,rep,packed,name=r_funny,json=rFunny,proto3,enum=proto3_proto.Message_Humour" json:"r_funny,omitempty"`
    Terrain              map[string]*Nested                 `protobuf:"bytes,10,rep,name=terrain,proto3" json:"terrain,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    Proto2Field          *test_proto.SubDefaults            `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field,proto3" json:"proto2_field,omitempty"`
    Proto2Value          map[string]*test_proto.SubDefaults `protobuf:"bytes,13,rep,name=proto2_value,json=proto2Value,proto3" json:"proto2_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    Anything             *any.Any                           `protobuf:"bytes,14,opt,name=anything,proto3" json:"anything,omitempty"`
    ManyThings           []*any.Any                         `protobuf:"bytes,15,rep,name=many_things,json=manyThings,proto3" json:"many_things,omitempty"`
    Submessage           *Message                           `protobuf:"bytes,17,opt,name=submessage,proto3" json:"submessage,omitempty"`
    Children             []*Message                         `protobuf:"bytes,18,rep,name=children,proto3" json:"children,omitempty"`
    StringMap            map[string]string                  `protobuf:"bytes,20,rep,name=string_map,json=stringMap,proto3" json:"string_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
    XXX_unrecognized     []byte                             `json:"-"`
    XXX_sizecache        int32                              `json:"-"`
}

func (*Message) Descriptor Uses

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

func (*Message) GetAnything Uses

func (m *Message) GetAnything() *any.Any

func (*Message) GetChildren Uses

func (m *Message) GetChildren() []*Message

func (*Message) GetData Uses

func (m *Message) GetData() []byte

func (*Message) GetHeightInCm Uses

func (m *Message) GetHeightInCm() uint32

func (*Message) GetHilarity Uses

func (m *Message) GetHilarity() Message_Humour

func (*Message) GetKey Uses

func (m *Message) GetKey() []uint64

func (*Message) GetManyThings Uses

func (m *Message) GetManyThings() []*any.Any

func (*Message) GetName Uses

func (m *Message) GetName() string

func (*Message) GetNested Uses

func (m *Message) GetNested() *Nested

func (*Message) GetProto2Field Uses

func (m *Message) GetProto2Field() *test_proto.SubDefaults

func (*Message) GetProto2Value Uses

func (m *Message) GetProto2Value() map[string]*test_proto.SubDefaults

func (*Message) GetRFunny Uses

func (m *Message) GetRFunny() []Message_Humour

func (*Message) GetResultCount Uses

func (m *Message) GetResultCount() int64

func (*Message) GetScore Uses

func (m *Message) GetScore() float32

func (*Message) GetShortKey Uses

func (m *Message) GetShortKey() []int32

func (*Message) GetStringMap Uses

func (m *Message) GetStringMap() map[string]string

func (*Message) GetSubmessage Uses

func (m *Message) GetSubmessage() *Message

func (*Message) GetTerrain Uses

func (m *Message) GetTerrain() map[string]*Nested

func (*Message) GetTrueScotsman Uses

func (m *Message) GetTrueScotsman() bool

func (*Message) ProtoMessage Uses

func (*Message) ProtoMessage()

func (*Message) Reset Uses

func (m *Message) Reset()

func (*Message) String Uses

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown Uses

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal Uses

func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Message) XXX_Merge Uses

func (m *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_Size Uses

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal Uses

func (m *Message) XXX_Unmarshal(b []byte) error

type MessageWithMap Uses

type MessageWithMap struct {
    ByteMapping          map[bool][]byte `protobuf:"bytes,1,rep,name=byte_mapping,json=byteMapping,proto3" json:"byte_mapping,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

func (*MessageWithMap) Descriptor Uses

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

func (*MessageWithMap) GetByteMapping Uses

func (m *MessageWithMap) GetByteMapping() map[bool][]byte

func (*MessageWithMap) ProtoMessage Uses

func (*MessageWithMap) ProtoMessage()

func (*MessageWithMap) Reset Uses

func (m *MessageWithMap) Reset()

func (*MessageWithMap) String Uses

func (m *MessageWithMap) String() string

func (*MessageWithMap) XXX_DiscardUnknown Uses

func (m *MessageWithMap) XXX_DiscardUnknown()

func (*MessageWithMap) XXX_Marshal Uses

func (m *MessageWithMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageWithMap) XXX_Merge Uses

func (m *MessageWithMap) XXX_Merge(src proto.Message)

func (*MessageWithMap) XXX_Size Uses

func (m *MessageWithMap) XXX_Size() int

func (*MessageWithMap) XXX_Unmarshal Uses

func (m *MessageWithMap) XXX_Unmarshal(b []byte) error

type Message_Humour Uses

type Message_Humour int32
const (
    Message_UNKNOWN     Message_Humour = 0
    Message_PUNS        Message_Humour = 1
    Message_SLAPSTICK   Message_Humour = 2
    Message_BILL_BAILEY Message_Humour = 3
)

func (Message_Humour) EnumDescriptor Uses

func (Message_Humour) EnumDescriptor() ([]byte, []int)

func (Message_Humour) String Uses

func (x Message_Humour) String() string

type Nested Uses

type Nested struct {
    Bunny                string   `protobuf:"bytes,1,opt,name=bunny,proto3" json:"bunny,omitempty"`
    Cute                 bool     `protobuf:"varint,2,opt,name=cute,proto3" json:"cute,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Nested) Descriptor Uses

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

func (*Nested) GetBunny Uses

func (m *Nested) GetBunny() string

func (*Nested) GetCute Uses

func (m *Nested) GetCute() bool

func (*Nested) ProtoMessage Uses

func (*Nested) ProtoMessage()

func (*Nested) Reset Uses

func (m *Nested) Reset()

func (*Nested) String Uses

func (m *Nested) String() string

func (*Nested) XXX_DiscardUnknown Uses

func (m *Nested) XXX_DiscardUnknown()

func (*Nested) XXX_Marshal Uses

func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Nested) XXX_Merge Uses

func (m *Nested) XXX_Merge(src proto.Message)

func (*Nested) XXX_Size Uses

func (m *Nested) XXX_Size() int

func (*Nested) XXX_Unmarshal Uses

func (m *Nested) XXX_Unmarshal(b []byte) error

type TestUTF8 Uses

type TestUTF8 struct {
    Scalar string   `protobuf:"bytes,1,opt,name=scalar,proto3" json:"scalar,omitempty"`
    Vector []string `protobuf:"bytes,2,rep,name=vector,proto3" json:"vector,omitempty"`
    // Types that are valid to be assigned to Oneof:
    //	*TestUTF8_Field
    Oneof                isTestUTF8_Oneof `protobuf_oneof:"oneof"`
    MapKey               map[string]int64 `protobuf:"bytes,4,rep,name=map_key,json=mapKey,proto3" json:"map_key,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    MapValue             map[int64]string `protobuf:"bytes,5,rep,name=map_value,json=mapValue,proto3" json:"map_value,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

func (*TestUTF8) Descriptor Uses

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

func (*TestUTF8) GetField Uses

func (m *TestUTF8) GetField() string

func (*TestUTF8) GetMapKey Uses

func (m *TestUTF8) GetMapKey() map[string]int64

func (*TestUTF8) GetMapValue Uses

func (m *TestUTF8) GetMapValue() map[int64]string

func (*TestUTF8) GetOneof Uses

func (m *TestUTF8) GetOneof() isTestUTF8_Oneof

func (*TestUTF8) GetScalar Uses

func (m *TestUTF8) GetScalar() string

func (*TestUTF8) GetVector Uses

func (m *TestUTF8) GetVector() []string

func (*TestUTF8) ProtoMessage Uses

func (*TestUTF8) ProtoMessage()

func (*TestUTF8) Reset Uses

func (m *TestUTF8) Reset()

func (*TestUTF8) String Uses

func (m *TestUTF8) String() string

func (*TestUTF8) XXX_DiscardUnknown Uses

func (m *TestUTF8) XXX_DiscardUnknown()

func (*TestUTF8) XXX_Marshal Uses

func (m *TestUTF8) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestUTF8) XXX_Merge Uses

func (m *TestUTF8) XXX_Merge(src proto.Message)

func (*TestUTF8) XXX_OneofWrappers Uses

func (*TestUTF8) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TestUTF8) XXX_Size Uses

func (m *TestUTF8) XXX_Size() int

func (*TestUTF8) XXX_Unmarshal Uses

func (m *TestUTF8) XXX_Unmarshal(b []byte) error

type TestUTF8_Field Uses

type TestUTF8_Field struct {
    Field string `protobuf:"bytes,3,opt,name=field,proto3,oneof"`
}

Package proto3_proto imports 5 packages (graph). Updated 2018-11-28. Refresh now. Tools for package owners.