Documentation ¶
Overview ¶
Package protodump is a generated protocol buffer package.
It is generated from these files:
internal/protodump.proto
It has these top-level messages:
Example Child
Index ¶
- Variables
- type Child
- type Example
- func (*Example) Descriptor() ([]byte, []int)
- func (m *Example) GetChildVal() *Child
- func (m *Example) GetEnumVal() Example_Num
- func (m *Example) GetFixed32Val() uint32
- func (m *Example) GetFixed64Val() uint64
- func (m *Example) GetRChildVal() []*Child
- func (m *Example) GetREnumVal() []Example_Num
- func (m *Example) GetRFixed32Val() []uint32
- func (m *Example) GetRFixed64Val() []uint64
- func (m *Example) GetRStringVal() []string
- func (m *Example) GetRUint64Val() []uint64
- func (m *Example) GetStringVal() string
- func (m *Example) GetUint64Val() uint64
- func (*Example) ProtoMessage()
- func (m *Example) Reset()
- func (m *Example) String() string
- type Example_Num
Constants ¶
This section is empty.
Variables ¶
View Source
var Example_Num_name = map[int32]string{
0: "ZERO",
1: "ONE",
}
View Source
var Example_Num_value = map[string]int32{
"ZERO": 0,
"ONE": 1,
}
Functions ¶
This section is empty.
Types ¶
type Child ¶
type Child struct {
V uint64 `protobuf:"varint,1,opt,name=v" json:"v,omitempty"`
}
func (*Child) Descriptor ¶
func (*Child) ProtoMessage ¶
func (*Child) ProtoMessage()
type Example ¶
type Example struct { Uint64Val uint64 `protobuf:"varint,1,opt,name=uint64_val,json=uint64Val" json:"uint64_val,omitempty"` StringVal string `protobuf:"bytes,2,opt,name=string_val,json=stringVal" json:"string_val,omitempty"` Fixed64Val uint64 `protobuf:"fixed64,3,opt,name=fixed64_val,json=fixed64Val" json:"fixed64_val,omitempty"` Fixed32Val uint32 `protobuf:"fixed32,4,opt,name=fixed32_val,json=fixed32Val" json:"fixed32_val,omitempty"` EnumVal Example_Num `protobuf:"varint,5,opt,name=enum_val,json=enumVal,enum=Example_Num" json:"enum_val,omitempty"` ChildVal *Child `protobuf:"bytes,6,opt,name=child_val,json=childVal" json:"child_val,omitempty"` RUint64Val []uint64 `protobuf:"varint,101,rep,packed,name=r_uint64_val,json=rUint64Val" json:"r_uint64_val,omitempty"` RStringVal []string `protobuf:"bytes,102,rep,name=r_string_val,json=rStringVal" json:"r_string_val,omitempty"` RFixed64Val []uint64 `protobuf:"fixed64,103,rep,packed,name=r_fixed64_val,json=rFixed64Val" json:"r_fixed64_val,omitempty"` RFixed32Val []uint32 `protobuf:"fixed32,104,rep,packed,name=r_fixed32_val,json=rFixed32Val" json:"r_fixed32_val,omitempty"` REnumVal []Example_Num `protobuf:"varint,105,rep,packed,name=r_enum_val,json=rEnumVal,enum=Example_Num" json:"r_enum_val,omitempty"` RChildVal []*Child `protobuf:"bytes,106,rep,name=r_child_val,json=rChildVal" json:"r_child_val,omitempty"` }
func (*Example) Descriptor ¶
func (*Example) GetChildVal ¶
func (*Example) GetEnumVal ¶
func (m *Example) GetEnumVal() Example_Num
func (*Example) GetFixed32Val ¶
func (*Example) GetFixed64Val ¶
func (*Example) GetRChildVal ¶
func (*Example) GetREnumVal ¶
func (m *Example) GetREnumVal() []Example_Num
func (*Example) GetRFixed32Val ¶
func (*Example) GetRFixed64Val ¶
func (*Example) GetRStringVal ¶
func (*Example) GetRUint64Val ¶
func (*Example) GetStringVal ¶
func (*Example) GetUint64Val ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
type Example_Num ¶
type Example_Num int32
const ( Example_ZERO Example_Num = 0 Example_ONE Example_Num = 1 )
func (Example_Num) EnumDescriptor ¶
func (Example_Num) EnumDescriptor() ([]byte, []int)
func (Example_Num) String ¶
func (x Example_Num) String() string
Click to show internal directories.
Click to hide internal directories.