complex

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_complex_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Complex

type Complex struct {

	// Id represents the message identifier.
	Id      int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	NoOne   string   `protobuf:"bytes,2,opt,name=no_one,json=numberOne,proto3" json:"no_one,omitempty"`
	Simple  *Simple  `protobuf:"bytes,3,opt,name=simple,json=very_simple,proto3" json:"simple,omitempty"`
	Simples []string `protobuf:"bytes,4,rep,name=simples,proto3" json:"simples,omitempty"`
	// contains filtered or unexported fields
}

SimpleMessage represents a simple message sent to the Echo service.

func (*Complex) Descriptor deprecated

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

Deprecated: Use Complex.ProtoReflect.Descriptor instead.

func (*Complex) GetId

func (x *Complex) GetId() int64

func (*Complex) GetNoOne

func (x *Complex) GetNoOne() string

func (*Complex) GetSimple

func (x *Complex) GetSimple() *Simple

func (*Complex) GetSimples

func (x *Complex) GetSimples() []string

func (*Complex) ProtoMessage

func (*Complex) ProtoMessage()

func (*Complex) ProtoReflect

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

func (*Complex) Reset

func (x *Complex) Reset()

func (*Complex) String

func (x *Complex) String() string

type Simple

type Simple struct {
	Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"`
	// contains filtered or unexported fields
}

func (*Simple) Descriptor deprecated

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

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetComponent

func (x *Simple) GetComponent() string

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect

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

func (*Simple) Reset

func (x *Simple) Reset()

func (*Simple) String

func (x *Simple) String() string

Jump to

Keyboard shortcuts

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