testpb

package
v0.0.0-...-128bb96 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 15 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

func RegisterIntegrationTxTestMsgServer

func RegisterIntegrationTxTestMsgServer(s grpc1.Server, srv IntegrationTxTestMsgServer)

Types

type IntAsBytes

type IntAsBytes struct {
	IntAsBytes cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=int_as_bytes,json=intAsBytes,proto3,customtype=cosmossdk.io/math.Int" json:"int_as_bytes"`
}

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 cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=int_as_string,json=intAsString,proto3,customtype=cosmossdk.io/math.Int" json:"int_as_string"`
}

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 IntegrationTxTestMsgClient

type IntegrationTxTestMsgClient interface {
	TestFields(ctx context.Context, in *TestRepeatedFields, opts ...grpc.CallOption) (*TestRepeatedFields, error)
}

IntegrationTxTestMsgClient is the client API for IntegrationTxTestMsg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIntegrationTxTestMsgClient

func NewIntegrationTxTestMsgClient(cc grpc1.ClientConn) IntegrationTxTestMsgClient

type IntegrationTxTestMsgServer

type IntegrationTxTestMsgServer interface {
	TestFields(context.Context, *TestRepeatedFields) (*TestRepeatedFields, error)
}

IntegrationTxTestMsgServer is the server API for IntegrationTxTestMsg service.

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

type UnimplementedIntegrationTxTestMsgServer

type UnimplementedIntegrationTxTestMsgServer struct {
}

UnimplementedIntegrationTxTestMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedIntegrationTxTestMsgServer) TestFields

Jump to

Keyboard shortcuts

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