test

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAbc        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAbc          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAbc = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type A

type A struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
}

func (*A) Descriptor

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

func (*A) GetX

func (m *A) GetX() int32

func (*A) Marshal

func (m *A) Marshal() (dAtA []byte, err error)

func (*A) MarshalTo

func (m *A) MarshalTo(dAtA []byte) (int, error)

func (*A) MarshalToSizedBuffer

func (m *A) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) Reset

func (m *A) Reset()

func (*A) Size

func (m *A) Size() (n int)

func (A) SomeMethod

func (m A) SomeMethod() string

func (*A) String

func (m *A) String() string

func (*A) Unmarshal

func (m *A) Unmarshal(dAtA []byte) error

func (*A) XXX_DiscardUnknown

func (m *A) XXX_DiscardUnknown()

func (*A) XXX_Marshal

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

func (*A) XXX_Merge

func (m *A) XXX_Merge(src proto.Message)

func (*A) XXX_Size

func (m *A) XXX_Size() int

func (*A) XXX_Unmarshal

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

type ABC

type ABC struct {
	// Types that are valid to be assigned to Sum:
	//	*ABC_A
	//	*ABC_B
	//	*ABC_C
	Sum isABC_Sum `protobuf_oneof:"sum"`
}

func (*ABC) Descriptor

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

func (*ABC) GetA

func (m *ABC) GetA() *A

func (*ABC) GetB

func (m *ABC) GetB() *B

func (*ABC) GetC

func (m *ABC) GetC() *C

func (*ABC) GetSum

func (m *ABC) GetSum() isABC_Sum

func (*ABC) Marshal

func (m *ABC) Marshal() (dAtA []byte, err error)

func (*ABC) MarshalTo

func (m *ABC) MarshalTo(dAtA []byte) (int, error)

func (*ABC) MarshalToSizedBuffer

func (m *ABC) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABC) ProtoMessage

func (*ABC) ProtoMessage()

func (*ABC) Reset

func (m *ABC) Reset()

func (*ABC) SetMsg

func (*ABC) Size

func (m *ABC) Size() (n int)

func (*ABC) String

func (m *ABC) String() string

func (*ABC) Unmarshal

func (m *ABC) Unmarshal(dAtA []byte) error

func (*ABC) XXX_DiscardUnknown

func (m *ABC) XXX_DiscardUnknown()

func (*ABC) XXX_Marshal

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

func (*ABC) XXX_Merge

func (m *ABC) XXX_Merge(src proto.Message)

func (*ABC) XXX_OneofWrappers

func (*ABC) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ABC) XXX_Size

func (m *ABC) XXX_Size() int

func (*ABC) XXX_Unmarshal

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

type ABCNonPointer

type ABCNonPointer struct {
	// Types that are valid to be assigned to Sum:
	//	*ABCNonPointer_A
	//	*ABCNonPointer_B
	//	*ABCNonPointer_C
	Sum isABCNonPointer_Sum `protobuf_oneof:"sum"`
}

func (*ABCNonPointer) Descriptor

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

func (*ABCNonPointer) GetA

func (m *ABCNonPointer) GetA() *A

func (*ABCNonPointer) GetB

func (m *ABCNonPointer) GetB() *B

func (*ABCNonPointer) GetC

func (m *ABCNonPointer) GetC() *C

func (*ABCNonPointer) GetMsg

func (*ABCNonPointer) GetSum

func (m *ABCNonPointer) GetSum() isABCNonPointer_Sum

func (*ABCNonPointer) Marshal

func (m *ABCNonPointer) Marshal() (dAtA []byte, err error)

func (*ABCNonPointer) MarshalTo

func (m *ABCNonPointer) MarshalTo(dAtA []byte) (int, error)

func (*ABCNonPointer) MarshalToSizedBuffer

func (m *ABCNonPointer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABCNonPointer) ProtoMessage

func (*ABCNonPointer) ProtoMessage()

func (*ABCNonPointer) Reset

func (m *ABCNonPointer) Reset()

func (*ABCNonPointer) SetMsg

func (*ABCNonPointer) Size

func (m *ABCNonPointer) Size() (n int)

func (*ABCNonPointer) String

func (m *ABCNonPointer) String() string

func (*ABCNonPointer) Unmarshal

func (m *ABCNonPointer) Unmarshal(dAtA []byte) error

func (*ABCNonPointer) XXX_DiscardUnknown

func (m *ABCNonPointer) XXX_DiscardUnknown()

func (*ABCNonPointer) XXX_Marshal

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

func (*ABCNonPointer) XXX_Merge

func (m *ABCNonPointer) XXX_Merge(src proto.Message)

func (*ABCNonPointer) XXX_OneofWrappers

func (*ABCNonPointer) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ABCNonPointer) XXX_Size

func (m *ABCNonPointer) XXX_Size() int

func (*ABCNonPointer) XXX_Unmarshal

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

type ABCNonPointer_A

type ABCNonPointer_A struct {
	A *A `protobuf:"bytes,1,opt,name=a,proto3,oneof" json:"a,omitempty"`
}

func (*ABCNonPointer_A) MarshalTo

func (m *ABCNonPointer_A) MarshalTo(dAtA []byte) (int, error)

func (*ABCNonPointer_A) MarshalToSizedBuffer

func (m *ABCNonPointer_A) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABCNonPointer_A) Size

func (m *ABCNonPointer_A) Size() (n int)

type ABCNonPointer_B

type ABCNonPointer_B struct {
	B *B `protobuf:"bytes,2,opt,name=b,proto3,oneof" json:"b,omitempty"`
}

func (*ABCNonPointer_B) MarshalTo

func (m *ABCNonPointer_B) MarshalTo(dAtA []byte) (int, error)

func (*ABCNonPointer_B) MarshalToSizedBuffer

func (m *ABCNonPointer_B) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABCNonPointer_B) Size

func (m *ABCNonPointer_B) Size() (n int)

type ABCNonPointer_C

type ABCNonPointer_C struct {
	C *C `protobuf:"bytes,3,opt,name=c,proto3,oneof" json:"c,omitempty"`
}

func (*ABCNonPointer_C) MarshalTo

func (m *ABCNonPointer_C) MarshalTo(dAtA []byte) (int, error)

func (*ABCNonPointer_C) MarshalToSizedBuffer

func (m *ABCNonPointer_C) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABCNonPointer_C) Size

func (m *ABCNonPointer_C) Size() (n int)

type ABC_A

type ABC_A struct {
	A *A `protobuf:"bytes,1,opt,name=a,proto3,oneof" json:"a,omitempty"`
}

func (*ABC_A) MarshalTo

func (m *ABC_A) MarshalTo(dAtA []byte) (int, error)

func (*ABC_A) MarshalToSizedBuffer

func (m *ABC_A) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABC_A) Size

func (m *ABC_A) Size() (n int)

type ABC_B

type ABC_B struct {
	B *B `protobuf:"bytes,2,opt,name=b,proto3,oneof" json:"b,omitempty"`
}

func (*ABC_B) MarshalTo

func (m *ABC_B) MarshalTo(dAtA []byte) (int, error)

func (*ABC_B) MarshalToSizedBuffer

func (m *ABC_B) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABC_B) Size

func (m *ABC_B) Size() (n int)

type ABC_C

type ABC_C struct {
	C *C `protobuf:"bytes,3,opt,name=c,proto3,oneof" json:"c,omitempty"`
}

func (*ABC_C) MarshalTo

func (m *ABC_C) MarshalTo(dAtA []byte) (int, error)

func (*ABC_C) MarshalToSizedBuffer

func (m *ABC_C) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABC_C) Size

func (m *ABC_C) Size() (n int)

type B

type B struct {
	Y uint32 `protobuf:"varint,1,opt,name=y,proto3" json:"y,omitempty"`
}

func (*B) Descriptor

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

func (*B) GetY

func (m *B) GetY() uint32

func (*B) Marshal

func (m *B) Marshal() (dAtA []byte, err error)

func (*B) MarshalTo

func (m *B) MarshalTo(dAtA []byte) (int, error)

func (*B) MarshalToSizedBuffer

func (m *B) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*B) ProtoMessage

func (*B) ProtoMessage()

func (*B) Reset

func (m *B) Reset()

func (*B) Size

func (m *B) Size() (n int)

func (B) SomeMethod

func (m B) SomeMethod() string

func (*B) String

func (m *B) String() string

func (*B) Unmarshal

func (m *B) Unmarshal(dAtA []byte) error

func (*B) XXX_DiscardUnknown

func (m *B) XXX_DiscardUnknown()

func (*B) XXX_Marshal

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

func (*B) XXX_Merge

func (m *B) XXX_Merge(src proto.Message)

func (*B) XXX_Size

func (m *B) XXX_Size() int

func (*B) XXX_Unmarshal

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

type C

type C struct {
	Z bool `protobuf:"varint,1,opt,name=z,proto3" json:"z,omitempty"`
}

func (*C) Descriptor

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

func (*C) GetZ

func (m *C) GetZ() bool

func (*C) Marshal

func (m *C) Marshal() (dAtA []byte, err error)

func (*C) MarshalTo

func (m *C) MarshalTo(dAtA []byte) (int, error)

func (*C) MarshalToSizedBuffer

func (m *C) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*C) ProtoMessage

func (*C) ProtoMessage()

func (*C) Reset

func (m *C) Reset()

func (*C) Size

func (m *C) Size() (n int)

func (C) SomeMethod

func (m C) SomeMethod() string

func (*C) String

func (m *C) String() string

func (*C) Unmarshal

func (m *C) Unmarshal(dAtA []byte) error

func (*C) XXX_DiscardUnknown

func (m *C) XXX_DiscardUnknown()

func (*C) XXX_Marshal

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

func (*C) XXX_Merge

func (m *C) XXX_Merge(src proto.Message)

func (*C) XXX_Size

func (m *C) XXX_Size() int

func (*C) XXX_Unmarshal

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

type SomeContainer

type SomeContainer struct {
	SomeInterface *types.Any `protobuf:"bytes,1,opt,name=some_interface,json=someInterface,proto3" json:"some_interface,omitempty"`
}

func (*SomeContainer) Descriptor

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

func (*SomeContainer) GetSomeInterface

func (m *SomeContainer) GetSomeInterface() *types.Any

func (*SomeContainer) Marshal

func (m *SomeContainer) Marshal() (dAtA []byte, err error)

func (*SomeContainer) MarshalTo

func (m *SomeContainer) MarshalTo(dAtA []byte) (int, error)

func (*SomeContainer) MarshalToSizedBuffer

func (m *SomeContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SomeContainer) ProtoMessage

func (*SomeContainer) ProtoMessage()

func (*SomeContainer) Reset

func (m *SomeContainer) Reset()

func (*SomeContainer) Size

func (m *SomeContainer) Size() (n int)

func (*SomeContainer) String

func (m *SomeContainer) String() string

func (*SomeContainer) Unmarshal

func (m *SomeContainer) Unmarshal(dAtA []byte) error

func (*SomeContainer) XXX_DiscardUnknown

func (m *SomeContainer) XXX_DiscardUnknown()

func (*SomeContainer) XXX_Marshal

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

func (*SomeContainer) XXX_Merge

func (m *SomeContainer) XXX_Merge(src proto.Message)

func (*SomeContainer) XXX_Size

func (m *SomeContainer) XXX_Size() int

func (*SomeContainer) XXX_Unmarshal

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

type SomeImpl1

type SomeImpl1 struct {
	X int64 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
}

func (*SomeImpl1) Descriptor

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

func (*SomeImpl1) GetX

func (m *SomeImpl1) GetX() int64

func (*SomeImpl1) Marshal

func (m *SomeImpl1) Marshal() (dAtA []byte, err error)

func (*SomeImpl1) MarshalTo

func (m *SomeImpl1) MarshalTo(dAtA []byte) (int, error)

func (*SomeImpl1) MarshalToSizedBuffer

func (m *SomeImpl1) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SomeImpl1) ProtoMessage

func (*SomeImpl1) ProtoMessage()

func (*SomeImpl1) Reset

func (m *SomeImpl1) Reset()

func (*SomeImpl1) Size

func (m *SomeImpl1) Size() (n int)

func (*SomeImpl1) String

func (m *SomeImpl1) String() string

func (*SomeImpl1) Unmarshal

func (m *SomeImpl1) Unmarshal(dAtA []byte) error

func (*SomeImpl1) XXX_DiscardUnknown

func (m *SomeImpl1) XXX_DiscardUnknown()

func (*SomeImpl1) XXX_Marshal

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

func (*SomeImpl1) XXX_Merge

func (m *SomeImpl1) XXX_Merge(src proto.Message)

func (*SomeImpl1) XXX_Size

func (m *SomeImpl1) XXX_Size() int

func (*SomeImpl1) XXX_Unmarshal

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

type SomeImpl2

type SomeImpl2 struct {
	Y string `protobuf:"bytes,2,opt,name=y,proto3" json:"y,omitempty"`
}

func (*SomeImpl2) Descriptor

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

func (*SomeImpl2) GetY

func (m *SomeImpl2) GetY() string

func (*SomeImpl2) Marshal

func (m *SomeImpl2) Marshal() (dAtA []byte, err error)

func (*SomeImpl2) MarshalTo

func (m *SomeImpl2) MarshalTo(dAtA []byte) (int, error)

func (*SomeImpl2) MarshalToSizedBuffer

func (m *SomeImpl2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SomeImpl2) ProtoMessage

func (*SomeImpl2) ProtoMessage()

func (*SomeImpl2) Reset

func (m *SomeImpl2) Reset()

func (*SomeImpl2) Size

func (m *SomeImpl2) Size() (n int)

func (*SomeImpl2) String

func (m *SomeImpl2) String() string

func (*SomeImpl2) Unmarshal

func (m *SomeImpl2) Unmarshal(dAtA []byte) error

func (*SomeImpl2) XXX_DiscardUnknown

func (m *SomeImpl2) XXX_DiscardUnknown()

func (*SomeImpl2) XXX_Marshal

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

func (*SomeImpl2) XXX_Merge

func (m *SomeImpl2) XXX_Merge(src proto.Message)

func (*SomeImpl2) XXX_Size

func (m *SomeImpl2) XXX_Size() int

func (*SomeImpl2) XXX_Unmarshal

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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