gen

package
v0.0.0-...-71e9170 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package gen is a generated protocol buffer package.

It is generated from these files:

char.proto

It has these top-level messages:

Character

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Character

type Character struct {
	Name        string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Surname     string `protobuf:"bytes,2,opt,name=surname" json:"surname,omitempty"`
	Job         string `protobuf:"bytes,3,opt,name=job" json:"job,omitempty"`
	YearOfBirth int32  `protobuf:"varint,4,opt,name=year_of_birth,json=yearOfBirth" json:"year_of_birth,omitempty"`
}

func (*Character) Descriptor

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

func (*Character) GetJob

func (m *Character) GetJob() string

func (*Character) GetName

func (m *Character) GetName() string

func (*Character) GetSurname

func (m *Character) GetSurname() string

func (*Character) GetYearOfBirth

func (m *Character) GetYearOfBirth() int32

func (*Character) ProtoMessage

func (*Character) ProtoMessage()

func (*Character) Reset

func (m *Character) Reset()

func (*Character) String

func (m *Character) String() string

Jump to

Keyboard shortcuts

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