Documentation
¶
Index ¶
- Variables
- type Example
- func (*Example) Descriptor() ([]byte, []int)deprecated
- func (x *Example) GetChild() *Example
- func (x *Example) GetChildren() []*Example
- func (x *Example) GetColName() string
- func (x *Example) GetColumnIndex() int32
- func (x *Example) GetIgnored() bool
- func (x *Example) GetModbusValues() map[int32]string
- func (x *Example) GetNamedChildren() map[string]*Example
- func (x *Example) GetNamedFriends() map[bool]*Friend
- func (x *Example) GetProtoImports() []string
- func (x *Example) GetProtoName() string
- func (x *Example) GetProtoTag() int32
- func (x *Example) GetProtoType() string
- func (*Example) ProtoMessage()
- func (x *Example) ProtoReflect() protoreflect.Message
- func (x *Example) Reset()
- func (x *Example) String() string
- type Friend
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_google_xtoproto_proto_wirepath_testproto_testproto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct {
ColumnIndex int32 `protobuf:"varint,1,opt,name=column_index,json=columnIndex,proto3" json:"column_index,omitempty"`
ColName string `protobuf:"bytes,2,opt,name=col_name,json=colName,proto3" json:"col_name,omitempty"`
ProtoName string `protobuf:"bytes,3,opt,name=proto_name,json=protoName,proto3" json:"proto_name,omitempty"`
ProtoType string `protobuf:"bytes,4,opt,name=proto_type,json=protoType,proto3" json:"proto_type,omitempty"`
ProtoTag int32 `protobuf:"varint,5,opt,name=proto_tag,json=protoTag,proto3" json:"proto_tag,omitempty"`
Ignored bool `protobuf:"varint,6,opt,name=ignored,proto3" json:"ignored,omitempty"`
ProtoImports []string `protobuf:"bytes,7,rep,name=proto_imports,json=protoImports,proto3" json:"proto_imports,omitempty"`
Children []*Example `protobuf:"bytes,8,rep,name=children,proto3" json:"children,omitempty"`
Child *Example `protobuf:"bytes,10,opt,name=child,proto3" json:"child,omitempty"`
ModbusValues map[int32]string `` /* 186-byte string literal not displayed */
NamedChildren map[string]*Example `` /* 189-byte string literal not displayed */
NamedFriends map[bool]*Friend `` /* 187-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Example) Descriptor
deprecated
func (*Example) GetChildren ¶
func (*Example) GetColName ¶
func (*Example) GetColumnIndex ¶
func (*Example) GetIgnored ¶
func (*Example) GetModbusValues ¶
func (*Example) GetNamedChildren ¶
func (*Example) GetNamedFriends ¶
func (*Example) GetProtoImports ¶
func (*Example) GetProtoName ¶
func (*Example) GetProtoTag ¶
func (*Example) GetProtoType ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
func (*Example) ProtoReflect ¶
func (x *Example) ProtoReflect() protoreflect.Message
type Friend ¶
type Friend struct {
Name string `protobuf:"bytes,20000,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*Friend) Descriptor
deprecated
func (*Friend) ProtoMessage ¶
func (*Friend) ProtoMessage()
func (*Friend) ProtoReflect ¶
func (x *Friend) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.