testpb

package
v0.0.0-...-095f669 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTest = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type IntAsBothStringAndBytes

type IntAsBothStringAndBytes struct {
	IntAsString github_com_cosmos_cosmos_sdk_types.Int `` /* 136-byte string literal not displayed */
	IntAsBytes  github_com_cosmos_cosmos_sdk_types.Int `` /* 133-byte string literal not displayed */
}

func (*IntAsBothStringAndBytes) Descriptor

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

func (*IntAsBothStringAndBytes) Marshal

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

func (*IntAsBothStringAndBytes) MarshalTo

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

func (*IntAsBothStringAndBytes) MarshalToSizedBuffer

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

func (*IntAsBothStringAndBytes) ProtoMessage

func (*IntAsBothStringAndBytes) ProtoMessage()

func (*IntAsBothStringAndBytes) Reset

func (m *IntAsBothStringAndBytes) Reset()

func (*IntAsBothStringAndBytes) Size

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

func (*IntAsBothStringAndBytes) String

func (m *IntAsBothStringAndBytes) String() string

func (*IntAsBothStringAndBytes) Unmarshal

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

func (*IntAsBothStringAndBytes) XXX_DiscardUnknown

func (m *IntAsBothStringAndBytes) XXX_DiscardUnknown()

func (*IntAsBothStringAndBytes) XXX_Marshal

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

func (*IntAsBothStringAndBytes) XXX_Merge

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

func (*IntAsBothStringAndBytes) XXX_Size

func (m *IntAsBothStringAndBytes) XXX_Size() int

func (*IntAsBothStringAndBytes) XXX_Unmarshal

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

type IntAsBytes

type IntAsBytes struct {
	IntAsBytes github_com_cosmos_cosmos_sdk_types.Int `` /* 133-byte string literal not displayed */
}

func (*IntAsBytes) Descriptor

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

func (*IntAsBytes) Marshal

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

func (*IntAsBytes) MarshalTo

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

func (*IntAsBytes) MarshalToSizedBuffer

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

func (*IntAsBytes) ProtoMessage

func (*IntAsBytes) ProtoMessage()

func (*IntAsBytes) Reset

func (m *IntAsBytes) Reset()

func (*IntAsBytes) Size

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

func (*IntAsBytes) String

func (m *IntAsBytes) String() string

func (*IntAsBytes) Unmarshal

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

func (*IntAsBytes) XXX_DiscardUnknown

func (m *IntAsBytes) XXX_DiscardUnknown()

func (*IntAsBytes) XXX_Marshal

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

func (*IntAsBytes) XXX_Merge

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

func (*IntAsBytes) XXX_Size

func (m *IntAsBytes) XXX_Size() int

func (*IntAsBytes) XXX_Unmarshal

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

type IntAsString

type IntAsString struct {
	IntAsString github_com_cosmos_cosmos_sdk_types.Int `` /* 136-byte string literal not displayed */
}

func (*IntAsString) Descriptor

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

func (*IntAsString) Marshal

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

func (*IntAsString) MarshalTo

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

func (*IntAsString) MarshalToSizedBuffer

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

func (*IntAsString) ProtoMessage

func (*IntAsString) ProtoMessage()

func (*IntAsString) Reset

func (m *IntAsString) Reset()

func (*IntAsString) Size

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

func (*IntAsString) String

func (m *IntAsString) String() string

func (*IntAsString) Unmarshal

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

func (*IntAsString) XXX_DiscardUnknown

func (m *IntAsString) XXX_DiscardUnknown()

func (*IntAsString) XXX_Marshal

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

func (*IntAsString) XXX_Merge

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

func (*IntAsString) XXX_Size

func (m *IntAsString) XXX_Size() int

func (*IntAsString) XXX_Unmarshal

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

type Streng

type Streng struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Streng) Descriptor

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

func (*Streng) GetValue

func (m *Streng) GetValue() string

func (*Streng) Marshal

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

func (*Streng) MarshalTo

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

func (*Streng) MarshalToSizedBuffer

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

func (*Streng) ProtoMessage

func (*Streng) ProtoMessage()

func (*Streng) Reset

func (m *Streng) Reset()

func (*Streng) Size

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

func (*Streng) String

func (m *Streng) String() string

func (*Streng) Unmarshal

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

func (*Streng) XXX_DiscardUnknown

func (m *Streng) XXX_DiscardUnknown()

func (*Streng) XXX_Marshal

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

func (*Streng) XXX_Merge

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

func (*Streng) XXX_Size

func (m *Streng) XXX_Size() int

func (*Streng) XXX_Unmarshal

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

type TestNullableFields

type TestNullableFields struct {
	NullableOmitempty *Streng `protobuf:"bytes,1,opt,name=nullable_omitempty,json=nullableOmitempty,proto3" json:"nullable_omitempty,omitempty"`
	// not supported
	// go-amino emits nothing and the protoreflect returns an error
	// alternatively protoreflect could emit `{}`
	NullableDontOmitempty *Streng `` /* 126-byte string literal not displayed */
	// not supported
	// go-amino emits `{}` but the protoreflect library emits nothing
	NonNullableOmitempty     Streng `protobuf:"bytes,3,opt,name=non_nullable_omitempty,json=nonNullableOmitempty,proto3" json:"non_nullable_omitempty"`
	NonNullableDontOmitempty Streng `` /* 127-byte string literal not displayed */
}

func (*TestNullableFields) Descriptor

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

func (*TestNullableFields) GetNonNullableDontOmitempty

func (m *TestNullableFields) GetNonNullableDontOmitempty() Streng

func (*TestNullableFields) GetNonNullableOmitempty

func (m *TestNullableFields) GetNonNullableOmitempty() Streng

func (*TestNullableFields) GetNullableDontOmitempty

func (m *TestNullableFields) GetNullableDontOmitempty() *Streng

func (*TestNullableFields) GetNullableOmitempty

func (m *TestNullableFields) GetNullableOmitempty() *Streng

func (*TestNullableFields) Marshal

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

func (*TestNullableFields) MarshalTo

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

func (*TestNullableFields) MarshalToSizedBuffer

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

func (*TestNullableFields) ProtoMessage

func (*TestNullableFields) ProtoMessage()

func (*TestNullableFields) Reset

func (m *TestNullableFields) Reset()

func (*TestNullableFields) Size

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

func (*TestNullableFields) String

func (m *TestNullableFields) String() string

func (*TestNullableFields) Unmarshal

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

func (*TestNullableFields) XXX_DiscardUnknown

func (m *TestNullableFields) XXX_DiscardUnknown()

func (*TestNullableFields) XXX_Marshal

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

func (*TestNullableFields) XXX_Merge

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

func (*TestNullableFields) XXX_Size

func (m *TestNullableFields) XXX_Size() int

func (*TestNullableFields) XXX_Unmarshal

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

type TestRepeatedFields

type TestRepeatedFields struct {
	NullableOmitempty []*Streng `protobuf:"bytes,1,rep,name=nullable_omitempty,json=nullableOmitempty,proto3" json:"nullable_omitempty,omitempty"`
	// not supported for empty sets
	// go-amino emits nothing but the protoreflect library emits a null
	NullableDontOmitempty []*Streng `` /* 126-byte string literal not displayed */
	// not supported for empty sets
	// go-amino emits a null but the protoreflect library emits nothing
	NonNullableOmitempty     []Streng `protobuf:"bytes,3,rep,name=non_nullable_omitempty,json=nonNullableOmitempty,proto3" json:"non_nullable_omitempty"`
	NonNullableDontOmitempty []Streng `` /* 127-byte string literal not displayed */
}

func (*TestRepeatedFields) Descriptor

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

func (*TestRepeatedFields) GetNonNullableDontOmitempty

func (m *TestRepeatedFields) GetNonNullableDontOmitempty() []Streng

func (*TestRepeatedFields) GetNonNullableOmitempty

func (m *TestRepeatedFields) GetNonNullableOmitempty() []Streng

func (*TestRepeatedFields) GetNullableDontOmitempty

func (m *TestRepeatedFields) GetNullableDontOmitempty() []*Streng

func (*TestRepeatedFields) GetNullableOmitempty

func (m *TestRepeatedFields) GetNullableOmitempty() []*Streng

func (*TestRepeatedFields) Marshal

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

func (*TestRepeatedFields) MarshalTo

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

func (*TestRepeatedFields) MarshalToSizedBuffer

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

func (*TestRepeatedFields) ProtoMessage

func (*TestRepeatedFields) ProtoMessage()

func (*TestRepeatedFields) Reset

func (m *TestRepeatedFields) Reset()

func (*TestRepeatedFields) Size

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

func (*TestRepeatedFields) String

func (m *TestRepeatedFields) String() string

func (*TestRepeatedFields) Unmarshal

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

func (*TestRepeatedFields) XXX_DiscardUnknown

func (m *TestRepeatedFields) XXX_DiscardUnknown()

func (*TestRepeatedFields) XXX_Marshal

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

func (*TestRepeatedFields) XXX_Merge

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

func (*TestRepeatedFields) XXX_Size

func (m *TestRepeatedFields) XXX_Size() int

func (*TestRepeatedFields) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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