proto3tests

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddedStruct added in v0.12.0

type EmbeddedStruct struct {
	SomethingFixedLen    int64    `protobuf:"fixed64,1,opt,name=somethingFixedLen,proto3" json:"somethingFixedLen,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EmbeddedStruct) Descriptor added in v0.12.0

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

func (*EmbeddedStruct) GetSomethingFixedLen added in v0.12.0

func (m *EmbeddedStruct) GetSomethingFixedLen() int64

func (*EmbeddedStruct) ProtoMessage added in v0.12.0

func (*EmbeddedStruct) ProtoMessage()

func (*EmbeddedStruct) Reset added in v0.12.0

func (m *EmbeddedStruct) Reset()

func (*EmbeddedStruct) String added in v0.12.0

func (m *EmbeddedStruct) String() string

func (*EmbeddedStruct) XXX_DiscardUnknown added in v0.13.0

func (m *EmbeddedStruct) XXX_DiscardUnknown()

func (*EmbeddedStruct) XXX_Marshal added in v0.13.0

func (m *EmbeddedStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmbeddedStruct) XXX_Merge added in v0.13.0

func (dst *EmbeddedStruct) XXX_Merge(src proto.Message)

func (*EmbeddedStruct) XXX_Size added in v0.13.0

func (m *EmbeddedStruct) XXX_Size() int

func (*EmbeddedStruct) XXX_Unmarshal added in v0.13.0

func (m *EmbeddedStruct) XXX_Unmarshal(b []byte) error

type ProtoGotTime added in v0.13.0

type ProtoGotTime struct {
	T                    *timestamp.Timestamp `protobuf:"bytes,1,opt,name=T,proto3" json:"T,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ProtoGotTime) Descriptor added in v0.13.0

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

func (*ProtoGotTime) GetT added in v0.13.0

func (m *ProtoGotTime) GetT() *timestamp.Timestamp

func (*ProtoGotTime) ProtoMessage added in v0.13.0

func (*ProtoGotTime) ProtoMessage()

func (*ProtoGotTime) Reset added in v0.13.0

func (m *ProtoGotTime) Reset()

func (*ProtoGotTime) String added in v0.13.0

func (m *ProtoGotTime) String() string

func (*ProtoGotTime) XXX_DiscardUnknown added in v0.13.0

func (m *ProtoGotTime) XXX_DiscardUnknown()

func (*ProtoGotTime) XXX_Marshal added in v0.13.0

func (m *ProtoGotTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoGotTime) XXX_Merge added in v0.13.0

func (dst *ProtoGotTime) XXX_Merge(src proto.Message)

func (*ProtoGotTime) XXX_Size added in v0.13.0

func (m *ProtoGotTime) XXX_Size() int

func (*ProtoGotTime) XXX_Unmarshal added in v0.13.0

func (m *ProtoGotTime) XXX_Unmarshal(b []byte) error

type SomeStruct added in v0.12.0

type SomeStruct struct {
	// proto3 autom. turns this into a pointer ...
	Emb                  *EmbeddedStruct `protobuf:"bytes,1,opt,name=emb,proto3" json:"emb,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*SomeStruct) Descriptor added in v0.12.0

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

func (*SomeStruct) GetEmb added in v0.12.0

func (m *SomeStruct) GetEmb() *EmbeddedStruct

func (*SomeStruct) ProtoMessage added in v0.12.0

func (*SomeStruct) ProtoMessage()

func (*SomeStruct) Reset added in v0.12.0

func (m *SomeStruct) Reset()

func (*SomeStruct) String added in v0.12.0

func (m *SomeStruct) String() string

func (*SomeStruct) XXX_DiscardUnknown added in v0.13.0

func (m *SomeStruct) XXX_DiscardUnknown()

func (*SomeStruct) XXX_Marshal added in v0.13.0

func (m *SomeStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SomeStruct) XXX_Merge added in v0.13.0

func (dst *SomeStruct) XXX_Merge(src proto.Message)

func (*SomeStruct) XXX_Size added in v0.13.0

func (m *SomeStruct) XXX_Size() int

func (*SomeStruct) XXX_Unmarshal added in v0.13.0

func (m *SomeStruct) XXX_Unmarshal(b []byte) error

type Test32

type Test32 struct {
	Foo                  uint32   `protobuf:"fixed32,1,opt,name=foo,proto3" json:"foo,omitempty"`
	Bar                  int32    `protobuf:"zigzag32,2,opt,name=bar,proto3" json:"bar,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Test32) XXX_DiscardUnknown added in v0.13.0

func (m *Test32) XXX_DiscardUnknown()

func (*Test32) XXX_Marshal added in v0.13.0

func (m *Test32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Test32) XXX_Merge added in v0.13.0

func (dst *Test32) XXX_Merge(src proto.Message)

func (*Test32) XXX_Size added in v0.13.0

func (m *Test32) XXX_Size() int

func (*Test32) XXX_Unmarshal added in v0.13.0

func (m *Test32) XXX_Unmarshal(b []byte) error

type TestFixedInt64

type TestFixedInt64 struct {
	Int64                uint64   `protobuf:"fixed64,1,opt,name=Int64,proto3" json:"Int64,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*TestFixedInt64) XXX_DiscardUnknown added in v0.13.0

func (m *TestFixedInt64) XXX_DiscardUnknown()

func (*TestFixedInt64) XXX_Marshal added in v0.13.0

func (m *TestFixedInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestFixedInt64) XXX_Merge added in v0.13.0

func (dst *TestFixedInt64) XXX_Merge(src proto.Message)

func (*TestFixedInt64) XXX_Size added in v0.13.0

func (m *TestFixedInt64) XXX_Size() int

func (*TestFixedInt64) XXX_Unmarshal added in v0.13.0

func (m *TestFixedInt64) XXX_Unmarshal(b []byte) error

type TestInt32 added in v0.13.0

type TestInt32 struct {
	Int32                int32    `protobuf:"varint,1,opt,name=Int32,proto3" json:"Int32,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TestInt32) Descriptor added in v0.13.0

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

func (*TestInt32) GetInt32 added in v0.13.0

func (m *TestInt32) GetInt32() int32

func (*TestInt32) ProtoMessage added in v0.13.0

func (*TestInt32) ProtoMessage()

func (*TestInt32) Reset added in v0.13.0

func (m *TestInt32) Reset()

func (*TestInt32) String added in v0.13.0

func (m *TestInt32) String() string

func (*TestInt32) XXX_DiscardUnknown added in v0.13.0

func (m *TestInt32) XXX_DiscardUnknown()

func (*TestInt32) XXX_Marshal added in v0.13.0

func (m *TestInt32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestInt32) XXX_Merge added in v0.13.0

func (dst *TestInt32) XXX_Merge(src proto.Message)

func (*TestInt32) XXX_Size added in v0.13.0

func (m *TestInt32) XXX_Size() int

func (*TestInt32) XXX_Unmarshal added in v0.13.0

func (m *TestInt32) XXX_Unmarshal(b []byte) error

type TestInt32Fixed

type TestInt32Fixed struct {
	Fixed32              uint32   `protobuf:"fixed32,1,opt,name=Fixed32,proto3" json:"Fixed32,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*TestInt32Fixed) XXX_DiscardUnknown added in v0.13.0

func (m *TestInt32Fixed) XXX_DiscardUnknown()

func (*TestInt32Fixed) XXX_Marshal added in v0.13.0

func (m *TestInt32Fixed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestInt32Fixed) XXX_Merge added in v0.13.0

func (dst *TestInt32Fixed) XXX_Merge(src proto.Message)

func (*TestInt32Fixed) XXX_Size added in v0.13.0

func (m *TestInt32Fixed) XXX_Size() int

func (*TestInt32Fixed) XXX_Unmarshal added in v0.13.0

func (m *TestInt32Fixed) XXX_Unmarshal(b []byte) error

type TestInt32Varint

type TestInt32Varint struct {
	Int32                int32    `protobuf:"zigzag32,1,opt,name=Int32,proto3" json:"Int32,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*TestInt32Varint) XXX_DiscardUnknown added in v0.13.0

func (m *TestInt32Varint) XXX_DiscardUnknown()

func (*TestInt32Varint) XXX_Marshal added in v0.13.0

func (m *TestInt32Varint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestInt32Varint) XXX_Merge added in v0.13.0

func (dst *TestInt32Varint) XXX_Merge(src proto.Message)

func (*TestInt32Varint) XXX_Size added in v0.13.0

func (m *TestInt32Varint) XXX_Size() int

func (*TestInt32Varint) XXX_Unmarshal added in v0.13.0

func (m *TestInt32Varint) XXX_Unmarshal(b []byte) error

type TestInts added in v0.14.0

type TestInts struct {
	Int32                int32    `protobuf:"varint,1,opt,name=Int32,proto3" json:"Int32,omitempty"`
	Int64                int64    `protobuf:"varint,2,opt,name=Int64,proto3" json:"Int64,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TestInts) Descriptor added in v0.14.0

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

func (*TestInts) GetInt32 added in v0.14.0

func (m *TestInts) GetInt32() int32

func (*TestInts) GetInt64 added in v0.14.0

func (m *TestInts) GetInt64() int64

func (*TestInts) ProtoMessage added in v0.14.0

func (*TestInts) ProtoMessage()

func (*TestInts) Reset added in v0.14.0

func (m *TestInts) Reset()

func (*TestInts) String added in v0.14.0

func (m *TestInts) String() string

func (*TestInts) XXX_DiscardUnknown added in v0.14.0

func (m *TestInts) XXX_DiscardUnknown()

func (*TestInts) XXX_Marshal added in v0.14.0

func (m *TestInts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestInts) XXX_Merge added in v0.14.0

func (dst *TestInts) XXX_Merge(src proto.Message)

func (*TestInts) XXX_Size added in v0.14.0

func (m *TestInts) XXX_Size() int

func (*TestInts) XXX_Unmarshal added in v0.14.0

func (m *TestInts) XXX_Unmarshal(b []byte) error

type TestSFixedSInt64

type TestSFixedSInt64 struct {
	SInt64               int64    `protobuf:"fixed64,1,opt,name=SInt64,proto3" json:"SInt64,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*TestSFixedSInt64) XXX_DiscardUnknown added in v0.13.0

func (m *TestSFixedSInt64) XXX_DiscardUnknown()

func (*TestSFixedSInt64) XXX_Marshal added in v0.13.0

func (m *TestSFixedSInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestSFixedSInt64) XXX_Merge added in v0.13.0

func (dst *TestSFixedSInt64) XXX_Merge(src proto.Message)

func (*TestSFixedSInt64) XXX_Size added in v0.13.0

func (m *TestSFixedSInt64) XXX_Size() int

func (*TestSFixedSInt64) XXX_Unmarshal added in v0.13.0

func (m *TestSFixedSInt64) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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