pb

package
v0.0.0-...-f10d331 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

params.proto

It has these top-level messages:

Student

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Student

type Student struct {
	Id     int32   `protobuf:"varint,1,opt,name=Id" json:"Id,omitempty"`
	Scores []int32 `protobuf:"varint,2,rep,packed,name=scores" json:"scores,omitempty"`
	Age    int32   `protobuf:"varint,3,opt,name=Age" json:"Age,omitempty"`
}

func (*Student) Descriptor

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

func (*Student) GetAge

func (m *Student) GetAge() int32

func (*Student) GetId

func (m *Student) GetId() int32

func (*Student) GetScores

func (m *Student) GetScores() []int32

func (*Student) ProtoMessage

func (*Student) ProtoMessage()

func (*Student) Reset

func (m *Student) Reset()

func (*Student) String

func (m *Student) String() string

Jump to

Keyboard shortcuts

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