protobuf

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package protobuf is a generated protocol buffer package.

It is generated from these files:

simple_message.proto

It has these top-level messages:

SimpleMessage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleMessage

type SimpleMessage struct {
	Description      *string `protobuf:"bytes,1,req,name=description" json:"description,omitempty"`
	Id               *int32  `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
	Metadata         *string `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SimpleMessage) GetDescription

func (m *SimpleMessage) GetDescription() string

func (*SimpleMessage) GetId

func (m *SimpleMessage) GetId() int32

func (*SimpleMessage) GetMetadata

func (m *SimpleMessage) GetMetadata() string

func (*SimpleMessage) ProtoMessage

func (*SimpleMessage) ProtoMessage()

func (*SimpleMessage) Reset

func (m *SimpleMessage) Reset()

func (*SimpleMessage) String

func (m *SimpleMessage) String() string

Jump to

Keyboard shortcuts

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