proto3tests

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proto3tests is a generated protocol buffer package.

It is generated from these files:

compat.proto

It has these top-level messages:

TestInt32Varint
TestInt32Fixed
Test32
TestFixedInt64
TestSFixedSInt64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test32

type Test32 struct {
	Foo uint32 `protobuf:"fixed32,1,opt,name=foo" json:"foo,omitempty"`
	Bar int32  `protobuf:"zigzag32,2,opt,name=bar" json:"bar,omitempty"`
}

func (*Test32) Descriptor

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

func (*Test32) GetBar

func (m *Test32) GetBar() int32

func (*Test32) GetFoo

func (m *Test32) GetFoo() uint32

func (*Test32) ProtoMessage

func (*Test32) ProtoMessage()

func (*Test32) Reset

func (m *Test32) Reset()

func (*Test32) String

func (m *Test32) String() string

type TestFixedInt64

type TestFixedInt64 struct {
	Int64 uint64 `protobuf:"fixed64,1,opt,name=Int64" json:"Int64,omitempty"`
}

func (*TestFixedInt64) Descriptor

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

func (*TestFixedInt64) GetInt64

func (m *TestFixedInt64) GetInt64() uint64

func (*TestFixedInt64) ProtoMessage

func (*TestFixedInt64) ProtoMessage()

func (*TestFixedInt64) Reset

func (m *TestFixedInt64) Reset()

func (*TestFixedInt64) String

func (m *TestFixedInt64) String() string

type TestInt32Fixed

type TestInt32Fixed struct {
	Fixed32 uint32 `protobuf:"fixed32,1,opt,name=Fixed32" json:"Fixed32,omitempty"`
}

func (*TestInt32Fixed) Descriptor

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

func (*TestInt32Fixed) GetFixed32

func (m *TestInt32Fixed) GetFixed32() uint32

func (*TestInt32Fixed) ProtoMessage

func (*TestInt32Fixed) ProtoMessage()

func (*TestInt32Fixed) Reset

func (m *TestInt32Fixed) Reset()

func (*TestInt32Fixed) String

func (m *TestInt32Fixed) String() string

type TestInt32Varint

type TestInt32Varint struct {
	Int32 int32 `protobuf:"zigzag32,1,opt,name=Int32" json:"Int32,omitempty"`
}

func (*TestInt32Varint) Descriptor

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

func (*TestInt32Varint) GetInt32

func (m *TestInt32Varint) GetInt32() int32

func (*TestInt32Varint) ProtoMessage

func (*TestInt32Varint) ProtoMessage()

func (*TestInt32Varint) Reset

func (m *TestInt32Varint) Reset()

func (*TestInt32Varint) String

func (m *TestInt32Varint) String() string

type TestSFixedSInt64

type TestSFixedSInt64 struct {
	SInt64 int64 `protobuf:"fixed64,1,opt,name=SInt64" json:"SInt64,omitempty"`
}

func (*TestSFixedSInt64) Descriptor

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

func (*TestSFixedSInt64) GetSInt64

func (m *TestSFixedSInt64) GetSInt64() int64

func (*TestSFixedSInt64) ProtoMessage

func (*TestSFixedSInt64) ProtoMessage()

func (*TestSFixedSInt64) Reset

func (m *TestSFixedSInt64) Reset()

func (*TestSFixedSInt64) String

func (m *TestSFixedSInt64) String() string

Jump to

Keyboard shortcuts

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