testproto

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2021 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetChild

func (x *Example) GetChild() *Example

func (*Example) GetChildren

func (x *Example) GetChildren() []*Example

func (*Example) GetColName

func (x *Example) GetColName() string

func (*Example) GetColumnIndex

func (x *Example) GetColumnIndex() int32

func (*Example) GetIgnored

func (x *Example) GetIgnored() bool

func (*Example) GetModbusValues

func (x *Example) GetModbusValues() map[int32]string

func (*Example) GetNamedChildren

func (x *Example) GetNamedChildren() map[string]*Example

func (*Example) GetNamedFriends

func (x *Example) GetNamedFriends() map[bool]*Friend

func (*Example) GetProtoImports

func (x *Example) GetProtoImports() []string

func (*Example) GetProtoName

func (x *Example) GetProtoName() string

func (*Example) GetProtoTag

func (x *Example) GetProtoTag() int32

func (*Example) GetProtoType

func (x *Example) GetProtoType() string

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) ProtoReflect

func (x *Example) ProtoReflect() protoreflect.Message

func (*Example) Reset

func (x *Example) Reset()

func (*Example) String

func (x *Example) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Friend.ProtoReflect.Descriptor instead.

func (*Friend) GetName

func (x *Friend) GetName() string

func (*Friend) ProtoMessage

func (*Friend) ProtoMessage()

func (*Friend) ProtoReflect

func (x *Friend) ProtoReflect() protoreflect.Message

func (*Friend) Reset

func (x *Friend) Reset()

func (*Friend) String

func (x *Friend) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL