testpb

package
v1.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BankQueryService_GetBalance_FullMethodName  = "/testpb.BankQueryService/GetBalance"
	BankQueryService_ListBalance_FullMethodName = "/testpb.BankQueryService/ListBalance"
	BankQueryService_GetSupply_FullMethodName   = "/testpb.BankQueryService/GetSupply"
	BankQueryService_ListSupply_FullMethodName  = "/testpb.BankQueryService/ListSupply"
)
View Source
const (
	TestSchemaQueryService_GetExampleTable_FullMethodName                 = "/testpb.TestSchemaQueryService/GetExampleTable"
	TestSchemaQueryService_GetExampleTableByU64Str_FullMethodName         = "/testpb.TestSchemaQueryService/GetExampleTableByU64Str"
	TestSchemaQueryService_ListExampleTable_FullMethodName                = "/testpb.TestSchemaQueryService/ListExampleTable"
	TestSchemaQueryService_GetExampleAutoIncrementTable_FullMethodName    = "/testpb.TestSchemaQueryService/GetExampleAutoIncrementTable"
	TestSchemaQueryService_GetExampleAutoIncrementTableByX_FullMethodName = "/testpb.TestSchemaQueryService/GetExampleAutoIncrementTableByX"
	TestSchemaQueryService_ListExampleAutoIncrementTable_FullMethodName   = "/testpb.TestSchemaQueryService/ListExampleAutoIncrementTable"
	TestSchemaQueryService_GetExampleSingleton_FullMethodName             = "/testpb.TestSchemaQueryService/GetExampleSingleton"
	TestSchemaQueryService_GetExampleTimestamp_FullMethodName             = "/testpb.TestSchemaQueryService/GetExampleTimestamp"
	TestSchemaQueryService_ListExampleTimestamp_FullMethodName            = "/testpb.TestSchemaQueryService/ListExampleTimestamp"
	TestSchemaQueryService_GetExampleDuration_FullMethodName              = "/testpb.TestSchemaQueryService/GetExampleDuration"
	TestSchemaQueryService_ListExampleDuration_FullMethodName             = "/testpb.TestSchemaQueryService/ListExampleDuration"
	TestSchemaQueryService_GetSimpleExample_FullMethodName                = "/testpb.TestSchemaQueryService/GetSimpleExample"
	TestSchemaQueryService_GetSimpleExampleByUnique_FullMethodName        = "/testpb.TestSchemaQueryService/GetSimpleExampleByUnique"
	TestSchemaQueryService_ListSimpleExample_FullMethodName               = "/testpb.TestSchemaQueryService/ListSimpleExample"
	TestSchemaQueryService_GetExampleAutoIncFieldName_FullMethodName      = "/testpb.TestSchemaQueryService/GetExampleAutoIncFieldName"
	TestSchemaQueryService_ListExampleAutoIncFieldName_FullMethodName     = "/testpb.TestSchemaQueryService/ListExampleAutoIncFieldName"
)

Variables

View Source
var (
	Enum_name = map[int32]string{
		0:  "ENUM_UNSPECIFIED",
		1:  "ENUM_ONE",
		2:  "ENUM_TWO",
		5:  "ENUM_FIVE",
		-3: "ENUM_NEG_THREE",
	}
	Enum_value = map[string]int32{
		"ENUM_UNSPECIFIED": 0,
		"ENUM_ONE":         1,
		"ENUM_TWO":         2,
		"ENUM_FIVE":        5,
		"ENUM_NEG_THREE":   -3,
	}
)

Enum value maps for Enum.

View Source
var BankQueryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "testpb.BankQueryService",
	HandlerType: (*BankQueryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBalance",
			Handler:    _BankQueryService_GetBalance_Handler,
		},
		{
			MethodName: "ListBalance",
			Handler:    _BankQueryService_ListBalance_Handler,
		},
		{
			MethodName: "GetSupply",
			Handler:    _BankQueryService_GetSupply_Handler,
		},
		{
			MethodName: "ListSupply",
			Handler:    _BankQueryService_ListSupply_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "testpb/bank_query.proto",
}

BankQueryService_ServiceDesc is the grpc.ServiceDesc for BankQueryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_testpb_bank_proto protoreflect.FileDescriptor
View Source
var File_testpb_bank_query_proto protoreflect.FileDescriptor
View Source
var File_testpb_test_schema_proto protoreflect.FileDescriptor
View Source
var File_testpb_test_schema_query_proto protoreflect.FileDescriptor
View Source
var TestSchemaQueryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "testpb.TestSchemaQueryService",
	HandlerType: (*TestSchemaQueryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetExampleTable",
			Handler:    _TestSchemaQueryService_GetExampleTable_Handler,
		},
		{
			MethodName: "GetExampleTableByU64Str",
			Handler:    _TestSchemaQueryService_GetExampleTableByU64Str_Handler,
		},
		{
			MethodName: "ListExampleTable",
			Handler:    _TestSchemaQueryService_ListExampleTable_Handler,
		},
		{
			MethodName: "GetExampleAutoIncrementTable",
			Handler:    _TestSchemaQueryService_GetExampleAutoIncrementTable_Handler,
		},
		{
			MethodName: "GetExampleAutoIncrementTableByX",
			Handler:    _TestSchemaQueryService_GetExampleAutoIncrementTableByX_Handler,
		},
		{
			MethodName: "ListExampleAutoIncrementTable",
			Handler:    _TestSchemaQueryService_ListExampleAutoIncrementTable_Handler,
		},
		{
			MethodName: "GetExampleSingleton",
			Handler:    _TestSchemaQueryService_GetExampleSingleton_Handler,
		},
		{
			MethodName: "GetExampleTimestamp",
			Handler:    _TestSchemaQueryService_GetExampleTimestamp_Handler,
		},
		{
			MethodName: "ListExampleTimestamp",
			Handler:    _TestSchemaQueryService_ListExampleTimestamp_Handler,
		},
		{
			MethodName: "GetExampleDuration",
			Handler:    _TestSchemaQueryService_GetExampleDuration_Handler,
		},
		{
			MethodName: "ListExampleDuration",
			Handler:    _TestSchemaQueryService_ListExampleDuration_Handler,
		},
		{
			MethodName: "GetSimpleExample",
			Handler:    _TestSchemaQueryService_GetSimpleExample_Handler,
		},
		{
			MethodName: "GetSimpleExampleByUnique",
			Handler:    _TestSchemaQueryService_GetSimpleExampleByUnique_Handler,
		},
		{
			MethodName: "ListSimpleExample",
			Handler:    _TestSchemaQueryService_ListSimpleExample_Handler,
		},
		{
			MethodName: "GetExampleAutoIncFieldName",
			Handler:    _TestSchemaQueryService_GetExampleAutoIncFieldName_Handler,
		},
		{
			MethodName: "ListExampleAutoIncFieldName",
			Handler:    _TestSchemaQueryService_ListExampleAutoIncFieldName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "testpb/test_schema_query.proto",
}

TestSchemaQueryService_ServiceDesc is the grpc.ServiceDesc for TestSchemaQueryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBankQueryServiceServer

func RegisterBankQueryServiceServer(s grpc.ServiceRegistrar, srv BankQueryServiceServer)

func RegisterTestSchemaQueryServiceServer

func RegisterTestSchemaQueryServiceServer(s grpc.ServiceRegistrar, srv TestSchemaQueryServiceServer)

Types

type Balance

type Balance struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Denom   string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount  uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Balance) Descriptor deprecated

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

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetAddress

func (x *Balance) GetAddress() string

func (*Balance) GetAmount

func (x *Balance) GetAmount() uint64

func (*Balance) GetDenom

func (x *Balance) GetDenom() string

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) ProtoReflect

func (x *Balance) ProtoReflect() protoreflect.Message

func (*Balance) Reset

func (x *Balance) Reset()

func (*Balance) String

func (x *Balance) String() string

type BalanceAddressDenomIndexKey

type BalanceAddressDenomIndexKey struct {
	// contains filtered or unexported fields
}

func (BalanceAddressDenomIndexKey) WithAddress

func (BalanceAddressDenomIndexKey) WithAddressDenom

func (this BalanceAddressDenomIndexKey) WithAddressDenom(address string, denom string) BalanceAddressDenomIndexKey

type BalanceDenomIndexKey

type BalanceDenomIndexKey struct {
	// contains filtered or unexported fields
}

func (BalanceDenomIndexKey) WithDenom

func (this BalanceDenomIndexKey) WithDenom(denom string) BalanceDenomIndexKey

type BalanceIndexKey

type BalanceIndexKey interface {
	// contains filtered or unexported methods
}

type BalanceIterator

type BalanceIterator struct {
	ormtable.Iterator
}

func (BalanceIterator) Value

func (i BalanceIterator) Value() (*Balance, error)

type BalancePrimaryKey

type BalancePrimaryKey = BalanceAddressDenomIndexKey

primary key starting index..

type BalanceTable

type BalanceTable interface {
	Insert(ctx context.Context, balance *Balance) error
	Update(ctx context.Context, balance *Balance) error
	Save(ctx context.Context, balance *Balance) error
	Delete(ctx context.Context, balance *Balance) error
	Has(ctx context.Context, address string, denom string) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, address string, denom string) (*Balance, error)
	List(ctx context.Context, prefixKey BalanceIndexKey, opts ...ormlist.Option) (BalanceIterator, error)
	ListRange(ctx context.Context, from, to BalanceIndexKey, opts ...ormlist.Option) (BalanceIterator, error)
	DeleteBy(ctx context.Context, prefixKey BalanceIndexKey) error
	DeleteRange(ctx context.Context, from, to BalanceIndexKey) error
	// contains filtered or unexported methods
}

func NewBalanceTable

func NewBalanceTable(db ormtable.Schema) (BalanceTable, error)

type BankQueryServiceClient

type BankQueryServiceClient interface {
	// Get queries the Balance table by its primary key.
	GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error)
	// ListBalance queries the Balance table using prefix and range queries against defined indexes.
	ListBalance(ctx context.Context, in *ListBalanceRequest, opts ...grpc.CallOption) (*ListBalanceResponse, error)
	// Get queries the Supply table by its primary key.
	GetSupply(ctx context.Context, in *GetSupplyRequest, opts ...grpc.CallOption) (*GetSupplyResponse, error)
	// ListSupply queries the Supply table using prefix and range queries against defined indexes.
	ListSupply(ctx context.Context, in *ListSupplyRequest, opts ...grpc.CallOption) (*ListSupplyResponse, error)
}

BankQueryServiceClient is the client API for BankQueryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewBankQueryServiceClient

func NewBankQueryServiceClient(cc grpc.ClientConnInterface) BankQueryServiceClient

type BankQueryServiceServer

type BankQueryServiceServer interface {
	// Get queries the Balance table by its primary key.
	GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
	// ListBalance queries the Balance table using prefix and range queries against defined indexes.
	ListBalance(context.Context, *ListBalanceRequest) (*ListBalanceResponse, error)
	// Get queries the Supply table by its primary key.
	GetSupply(context.Context, *GetSupplyRequest) (*GetSupplyResponse, error)
	// ListSupply queries the Supply table using prefix and range queries against defined indexes.
	ListSupply(context.Context, *ListSupplyRequest) (*ListSupplyResponse, error)
	// contains filtered or unexported methods
}

BankQueryServiceServer is the server API for BankQueryService service. All implementations must embed UnimplementedBankQueryServiceServer for forward compatibility

type BankStore

type BankStore interface {
	BalanceTable() BalanceTable
	SupplyTable() SupplyTable
	// contains filtered or unexported methods
}

func NewBankStore

func NewBankStore(db ormtable.Schema) (BankStore, error)

type Enum

type Enum int32
const (
	Enum_ENUM_UNSPECIFIED Enum = 0
	Enum_ENUM_ONE         Enum = 1
	Enum_ENUM_TWO         Enum = 2
	Enum_ENUM_FIVE        Enum = 5
	Enum_ENUM_NEG_THREE   Enum = -3
)

func (Enum) Descriptor

func (Enum) Descriptor() protoreflect.EnumDescriptor

func (Enum) Enum

func (x Enum) Enum() *Enum

func (Enum) EnumDescriptor deprecated

func (Enum) EnumDescriptor() ([]byte, []int)

Deprecated: Use Enum.Descriptor instead.

func (Enum) Number

func (x Enum) Number() protoreflect.EnumNumber

func (Enum) String

func (x Enum) String() string

func (Enum) Type

func (Enum) Type() protoreflect.EnumType

type ExampleAutoIncFieldName

type ExampleAutoIncFieldName struct {
	Foo uint64 `protobuf:"varint,1,opt,name=foo,proto3" json:"foo,omitempty"`
	Bar uint64 `protobuf:"varint,2,opt,name=bar,proto3" json:"bar,omitempty"`
	// contains filtered or unexported fields
}

ExampleAutoIncFieldName is a table for testing InsertReturning<FieldName>.

func (*ExampleAutoIncFieldName) Descriptor deprecated

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

Deprecated: Use ExampleAutoIncFieldName.ProtoReflect.Descriptor instead.

func (*ExampleAutoIncFieldName) GetBar

func (x *ExampleAutoIncFieldName) GetBar() uint64

func (*ExampleAutoIncFieldName) GetFoo

func (x *ExampleAutoIncFieldName) GetFoo() uint64

func (*ExampleAutoIncFieldName) ProtoMessage

func (*ExampleAutoIncFieldName) ProtoMessage()

func (*ExampleAutoIncFieldName) ProtoReflect

func (x *ExampleAutoIncFieldName) ProtoReflect() protoreflect.Message

func (*ExampleAutoIncFieldName) Reset

func (x *ExampleAutoIncFieldName) Reset()

func (*ExampleAutoIncFieldName) String

func (x *ExampleAutoIncFieldName) String() string

type ExampleAutoIncFieldNameFooIndexKey

type ExampleAutoIncFieldNameFooIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleAutoIncFieldNameFooIndexKey) WithFoo

type ExampleAutoIncFieldNameIndexKey

type ExampleAutoIncFieldNameIndexKey interface {
	// contains filtered or unexported methods
}

type ExampleAutoIncFieldNameIterator

type ExampleAutoIncFieldNameIterator struct {
	ormtable.Iterator
}

func (ExampleAutoIncFieldNameIterator) Value

type ExampleAutoIncFieldNamePrimaryKey

type ExampleAutoIncFieldNamePrimaryKey = ExampleAutoIncFieldNameFooIndexKey

primary key starting index..

type ExampleAutoIncFieldNameTable

type ExampleAutoIncFieldNameTable interface {
	Insert(ctx context.Context, exampleAutoIncFieldName *ExampleAutoIncFieldName) error
	InsertReturningFoo(ctx context.Context, exampleAutoIncFieldName *ExampleAutoIncFieldName) (uint64, error)
	LastInsertedSequence(ctx context.Context) (uint64, error)
	Update(ctx context.Context, exampleAutoIncFieldName *ExampleAutoIncFieldName) error
	Save(ctx context.Context, exampleAutoIncFieldName *ExampleAutoIncFieldName) error
	Delete(ctx context.Context, exampleAutoIncFieldName *ExampleAutoIncFieldName) error
	Has(ctx context.Context, foo uint64) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, foo uint64) (*ExampleAutoIncFieldName, error)
	List(ctx context.Context, prefixKey ExampleAutoIncFieldNameIndexKey, opts ...ormlist.Option) (ExampleAutoIncFieldNameIterator, error)
	ListRange(ctx context.Context, from, to ExampleAutoIncFieldNameIndexKey, opts ...ormlist.Option) (ExampleAutoIncFieldNameIterator, error)
	DeleteBy(ctx context.Context, prefixKey ExampleAutoIncFieldNameIndexKey) error
	DeleteRange(ctx context.Context, from, to ExampleAutoIncFieldNameIndexKey) error
	// contains filtered or unexported methods
}

func NewExampleAutoIncFieldNameTable

func NewExampleAutoIncFieldNameTable(db ormtable.Schema) (ExampleAutoIncFieldNameTable, error)

type ExampleAutoIncrementTable

type ExampleAutoIncrementTable struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	X  string `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"`
	Y  int32  `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*ExampleAutoIncrementTable) Descriptor deprecated

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

Deprecated: Use ExampleAutoIncrementTable.ProtoReflect.Descriptor instead.

func (*ExampleAutoIncrementTable) GetId

func (x *ExampleAutoIncrementTable) GetId() uint64

func (*ExampleAutoIncrementTable) GetX

func (*ExampleAutoIncrementTable) GetY

func (x *ExampleAutoIncrementTable) GetY() int32

func (*ExampleAutoIncrementTable) ProtoMessage

func (*ExampleAutoIncrementTable) ProtoMessage()

func (*ExampleAutoIncrementTable) ProtoReflect

func (*ExampleAutoIncrementTable) Reset

func (x *ExampleAutoIncrementTable) Reset()

func (*ExampleAutoIncrementTable) String

func (x *ExampleAutoIncrementTable) String() string

type ExampleAutoIncrementTableIdIndexKey

type ExampleAutoIncrementTableIdIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleAutoIncrementTableIdIndexKey) WithId

type ExampleAutoIncrementTableIndexKey

type ExampleAutoIncrementTableIndexKey interface {
	// contains filtered or unexported methods
}

type ExampleAutoIncrementTableIterator

type ExampleAutoIncrementTableIterator struct {
	ormtable.Iterator
}

func (ExampleAutoIncrementTableIterator) Value

type ExampleAutoIncrementTablePrimaryKey

type ExampleAutoIncrementTablePrimaryKey = ExampleAutoIncrementTableIdIndexKey

primary key starting index..

type ExampleAutoIncrementTableTable

type ExampleAutoIncrementTableTable interface {
	Insert(ctx context.Context, exampleAutoIncrementTable *ExampleAutoIncrementTable) error
	InsertReturningId(ctx context.Context, exampleAutoIncrementTable *ExampleAutoIncrementTable) (uint64, error)
	LastInsertedSequence(ctx context.Context) (uint64, error)
	Update(ctx context.Context, exampleAutoIncrementTable *ExampleAutoIncrementTable) error
	Save(ctx context.Context, exampleAutoIncrementTable *ExampleAutoIncrementTable) error
	Delete(ctx context.Context, exampleAutoIncrementTable *ExampleAutoIncrementTable) error
	Has(ctx context.Context, id uint64) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, id uint64) (*ExampleAutoIncrementTable, error)
	HasByX(ctx context.Context, x string) (found bool, err error)
	// GetByX returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	GetByX(ctx context.Context, x string) (*ExampleAutoIncrementTable, error)
	List(ctx context.Context, prefixKey ExampleAutoIncrementTableIndexKey, opts ...ormlist.Option) (ExampleAutoIncrementTableIterator, error)
	ListRange(ctx context.Context, from, to ExampleAutoIncrementTableIndexKey, opts ...ormlist.Option) (ExampleAutoIncrementTableIterator, error)
	DeleteBy(ctx context.Context, prefixKey ExampleAutoIncrementTableIndexKey) error
	DeleteRange(ctx context.Context, from, to ExampleAutoIncrementTableIndexKey) error
	// contains filtered or unexported methods
}

func NewExampleAutoIncrementTableTable

func NewExampleAutoIncrementTableTable(db ormtable.Schema) (ExampleAutoIncrementTableTable, error)

type ExampleAutoIncrementTableXIndexKey

type ExampleAutoIncrementTableXIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleAutoIncrementTableXIndexKey) WithX

type ExampleDuration

type ExampleDuration struct {
	Id   uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Dur  *durationpb.Duration `protobuf:"bytes,3,opt,name=dur,proto3" json:"dur,omitempty"`
	// contains filtered or unexported fields
}

func (*ExampleDuration) Descriptor deprecated

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

Deprecated: Use ExampleDuration.ProtoReflect.Descriptor instead.

func (*ExampleDuration) GetDur

func (x *ExampleDuration) GetDur() *durationpb.Duration

func (*ExampleDuration) GetId

func (x *ExampleDuration) GetId() uint64

func (*ExampleDuration) GetName

func (x *ExampleDuration) GetName() string

func (*ExampleDuration) ProtoMessage

func (*ExampleDuration) ProtoMessage()

func (*ExampleDuration) ProtoReflect

func (x *ExampleDuration) ProtoReflect() protoreflect.Message

func (*ExampleDuration) Reset

func (x *ExampleDuration) Reset()

func (*ExampleDuration) String

func (x *ExampleDuration) String() string

type ExampleDurationDurIndexKey

type ExampleDurationDurIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleDurationDurIndexKey) WithDur

type ExampleDurationIdIndexKey

type ExampleDurationIdIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleDurationIdIndexKey) WithId

type ExampleDurationIndexKey

type ExampleDurationIndexKey interface {
	// contains filtered or unexported methods
}

type ExampleDurationIterator

type ExampleDurationIterator struct {
	ormtable.Iterator
}

func (ExampleDurationIterator) Value

type ExampleDurationPrimaryKey

type ExampleDurationPrimaryKey = ExampleDurationIdIndexKey

primary key starting index..

type ExampleDurationTable

type ExampleDurationTable interface {
	Insert(ctx context.Context, exampleDuration *ExampleDuration) error
	InsertReturningId(ctx context.Context, exampleDuration *ExampleDuration) (uint64, error)
	LastInsertedSequence(ctx context.Context) (uint64, error)
	Update(ctx context.Context, exampleDuration *ExampleDuration) error
	Save(ctx context.Context, exampleDuration *ExampleDuration) error
	Delete(ctx context.Context, exampleDuration *ExampleDuration) error
	Has(ctx context.Context, id uint64) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, id uint64) (*ExampleDuration, error)
	List(ctx context.Context, prefixKey ExampleDurationIndexKey, opts ...ormlist.Option) (ExampleDurationIterator, error)
	ListRange(ctx context.Context, from, to ExampleDurationIndexKey, opts ...ormlist.Option) (ExampleDurationIterator, error)
	DeleteBy(ctx context.Context, prefixKey ExampleDurationIndexKey) error
	DeleteRange(ctx context.Context, from, to ExampleDurationIndexKey) error
	// contains filtered or unexported methods
}

func NewExampleDurationTable

func NewExampleDurationTable(db ormtable.Schema) (ExampleDurationTable, error)

type ExampleSingleton

type ExampleSingleton struct {
	Foo string `protobuf:"bytes,1,opt,name=foo,proto3" json:"foo,omitempty"`
	Bar int32  `protobuf:"varint,2,opt,name=bar,proto3" json:"bar,omitempty"`
	// contains filtered or unexported fields
}

func (*ExampleSingleton) Descriptor deprecated

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

Deprecated: Use ExampleSingleton.ProtoReflect.Descriptor instead.

func (*ExampleSingleton) GetBar

func (x *ExampleSingleton) GetBar() int32

func (*ExampleSingleton) GetFoo

func (x *ExampleSingleton) GetFoo() string

func (*ExampleSingleton) ProtoMessage

func (*ExampleSingleton) ProtoMessage()

func (*ExampleSingleton) ProtoReflect

func (x *ExampleSingleton) ProtoReflect() protoreflect.Message

func (*ExampleSingleton) Reset

func (x *ExampleSingleton) Reset()

func (*ExampleSingleton) String

func (x *ExampleSingleton) String() string

type ExampleSingletonTable

type ExampleSingletonTable interface {
	Get(ctx context.Context) (*ExampleSingleton, error)
	Save(ctx context.Context, exampleSingleton *ExampleSingleton) error
}

singleton store

func NewExampleSingletonTable

func NewExampleSingletonTable(db ormtable.Schema) (ExampleSingletonTable, error)

type ExampleTable

type ExampleTable struct {

	// Valid key fields:
	U32  uint32                 `protobuf:"varint,1,opt,name=u32,proto3" json:"u32,omitempty"`
	U64  uint64                 `protobuf:"varint,2,opt,name=u64,proto3" json:"u64,omitempty"`
	Str  string                 `protobuf:"bytes,3,opt,name=str,proto3" json:"str,omitempty"`
	Bz   []byte                 `protobuf:"bytes,4,opt,name=bz,proto3" json:"bz,omitempty"`
	Ts   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=ts,proto3" json:"ts,omitempty"`
	Dur  *durationpb.Duration   `protobuf:"bytes,6,opt,name=dur,proto3" json:"dur,omitempty"`
	I32  int32                  `protobuf:"varint,7,opt,name=i32,proto3" json:"i32,omitempty"`
	S32  int32                  `protobuf:"zigzag32,8,opt,name=s32,proto3" json:"s32,omitempty"`
	Sf32 int32                  `protobuf:"fixed32,9,opt,name=sf32,proto3" json:"sf32,omitempty"`
	I64  int64                  `protobuf:"varint,10,opt,name=i64,proto3" json:"i64,omitempty"`
	S64  int64                  `protobuf:"zigzag64,11,opt,name=s64,proto3" json:"s64,omitempty"`
	Sf64 int64                  `protobuf:"fixed64,12,opt,name=sf64,proto3" json:"sf64,omitempty"`
	F32  uint32                 `protobuf:"fixed32,13,opt,name=f32,proto3" json:"f32,omitempty"`
	F64  uint64                 `protobuf:"fixed64,14,opt,name=f64,proto3" json:"f64,omitempty"`
	B    bool                   `protobuf:"varint,15,opt,name=b,proto3" json:"b,omitempty"`
	E    Enum                   `protobuf:"varint,16,opt,name=e,proto3,enum=testpb.Enum" json:"e,omitempty"`
	// Invalid key fields:
	Repeated []uint32                     `protobuf:"varint,17,rep,packed,name=repeated,proto3" json:"repeated,omitempty"`
	Map      map[string]uint32            `` /* 149-byte string literal not displayed */
	Msg      *ExampleTable_ExampleMessage `protobuf:"bytes,19,opt,name=msg,proto3" json:"msg,omitempty"`
	// Types that are assignable to Sum:
	//
	//	*ExampleTable_Oneof
	Sum isExampleTable_Sum `protobuf_oneof:"sum"`
	// contains filtered or unexported fields
}

func (*ExampleTable) Descriptor deprecated

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

Deprecated: Use ExampleTable.ProtoReflect.Descriptor instead.

func (*ExampleTable) GetB

func (x *ExampleTable) GetB() bool

func (*ExampleTable) GetBz

func (x *ExampleTable) GetBz() []byte

func (*ExampleTable) GetDur

func (x *ExampleTable) GetDur() *durationpb.Duration

func (*ExampleTable) GetE

func (x *ExampleTable) GetE() Enum

func (*ExampleTable) GetF32

func (x *ExampleTable) GetF32() uint32

func (*ExampleTable) GetF64

func (x *ExampleTable) GetF64() uint64

func (*ExampleTable) GetI32

func (x *ExampleTable) GetI32() int32

func (*ExampleTable) GetI64

func (x *ExampleTable) GetI64() int64

func (*ExampleTable) GetMap

func (x *ExampleTable) GetMap() map[string]uint32

func (*ExampleTable) GetMsg

func (*ExampleTable) GetOneof

func (x *ExampleTable) GetOneof() uint32

func (*ExampleTable) GetRepeated

func (x *ExampleTable) GetRepeated() []uint32

func (*ExampleTable) GetS32

func (x *ExampleTable) GetS32() int32

func (*ExampleTable) GetS64

func (x *ExampleTable) GetS64() int64

func (*ExampleTable) GetSf32

func (x *ExampleTable) GetSf32() int32

func (*ExampleTable) GetSf64

func (x *ExampleTable) GetSf64() int64

func (*ExampleTable) GetStr

func (x *ExampleTable) GetStr() string

func (*ExampleTable) GetSum

func (m *ExampleTable) GetSum() isExampleTable_Sum

func (*ExampleTable) GetTs

func (x *ExampleTable) GetTs() *timestamppb.Timestamp

func (*ExampleTable) GetU32

func (x *ExampleTable) GetU32() uint32

func (*ExampleTable) GetU64

func (x *ExampleTable) GetU64() uint64

func (*ExampleTable) ProtoMessage

func (*ExampleTable) ProtoMessage()

func (*ExampleTable) ProtoReflect

func (x *ExampleTable) ProtoReflect() protoreflect.Message

func (*ExampleTable) Reset

func (x *ExampleTable) Reset()

func (*ExampleTable) String

func (x *ExampleTable) String() string

type ExampleTableBzStrIndexKey

type ExampleTableBzStrIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleTableBzStrIndexKey) WithBz

func (ExampleTableBzStrIndexKey) WithBzStr

type ExampleTableIndexKey

type ExampleTableIndexKey interface {
	// contains filtered or unexported methods
}

type ExampleTableIterator

type ExampleTableIterator struct {
	ormtable.Iterator
}

func (ExampleTableIterator) Value

func (i ExampleTableIterator) Value() (*ExampleTable, error)

type ExampleTablePrimaryKey

type ExampleTablePrimaryKey = ExampleTableU32I64StrIndexKey

primary key starting index..

type ExampleTableStrU32IndexKey

type ExampleTableStrU32IndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleTableStrU32IndexKey) WithStr

func (ExampleTableStrU32IndexKey) WithStrU32

type ExampleTableTable

type ExampleTableTable interface {
	Insert(ctx context.Context, exampleTable *ExampleTable) error
	Update(ctx context.Context, exampleTable *ExampleTable) error
	Save(ctx context.Context, exampleTable *ExampleTable) error
	Delete(ctx context.Context, exampleTable *ExampleTable) error
	Has(ctx context.Context, u32 uint32, i64 int64, str string) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, u32 uint32, i64 int64, str string) (*ExampleTable, error)
	HasByU64Str(ctx context.Context, u64 uint64, str string) (found bool, err error)
	// GetByU64Str returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	GetByU64Str(ctx context.Context, u64 uint64, str string) (*ExampleTable, error)
	List(ctx context.Context, prefixKey ExampleTableIndexKey, opts ...ormlist.Option) (ExampleTableIterator, error)
	ListRange(ctx context.Context, from, to ExampleTableIndexKey, opts ...ormlist.Option) (ExampleTableIterator, error)
	DeleteBy(ctx context.Context, prefixKey ExampleTableIndexKey) error
	DeleteRange(ctx context.Context, from, to ExampleTableIndexKey) error
	// contains filtered or unexported methods
}

func NewExampleTableTable

func NewExampleTableTable(db ormtable.Schema) (ExampleTableTable, error)

type ExampleTableU32I64StrIndexKey

type ExampleTableU32I64StrIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleTableU32I64StrIndexKey) WithU32

func (ExampleTableU32I64StrIndexKey) WithU32I64

func (ExampleTableU32I64StrIndexKey) WithU32I64Str

type ExampleTableU64StrIndexKey

type ExampleTableU64StrIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleTableU64StrIndexKey) WithU64

func (ExampleTableU64StrIndexKey) WithU64Str

type ExampleTable_ExampleMessage

type ExampleTable_ExampleMessage struct {
	Foo string `protobuf:"bytes,1,opt,name=foo,proto3" json:"foo,omitempty"`
	Bar int32  `protobuf:"varint,2,opt,name=bar,proto3" json:"bar,omitempty"`
	// contains filtered or unexported fields
}

func (*ExampleTable_ExampleMessage) Descriptor deprecated

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

Deprecated: Use ExampleTable_ExampleMessage.ProtoReflect.Descriptor instead.

func (*ExampleTable_ExampleMessage) GetBar

func (x *ExampleTable_ExampleMessage) GetBar() int32

func (*ExampleTable_ExampleMessage) GetFoo

func (x *ExampleTable_ExampleMessage) GetFoo() string

func (*ExampleTable_ExampleMessage) ProtoMessage

func (*ExampleTable_ExampleMessage) ProtoMessage()

func (*ExampleTable_ExampleMessage) ProtoReflect

func (*ExampleTable_ExampleMessage) Reset

func (x *ExampleTable_ExampleMessage) Reset()

func (*ExampleTable_ExampleMessage) String

func (x *ExampleTable_ExampleMessage) String() string

type ExampleTable_Oneof

type ExampleTable_Oneof struct {
	Oneof uint32 `protobuf:"varint,20,opt,name=oneof,proto3,oneof"`
}

type ExampleTimestamp

type ExampleTimestamp struct {
	Id   uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ts   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ts,proto3" json:"ts,omitempty"`
	// contains filtered or unexported fields
}

func (*ExampleTimestamp) Descriptor deprecated

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

Deprecated: Use ExampleTimestamp.ProtoReflect.Descriptor instead.

func (*ExampleTimestamp) GetId

func (x *ExampleTimestamp) GetId() uint64

func (*ExampleTimestamp) GetName

func (x *ExampleTimestamp) GetName() string

func (*ExampleTimestamp) GetTs

func (*ExampleTimestamp) ProtoMessage

func (*ExampleTimestamp) ProtoMessage()

func (*ExampleTimestamp) ProtoReflect

func (x *ExampleTimestamp) ProtoReflect() protoreflect.Message

func (*ExampleTimestamp) Reset

func (x *ExampleTimestamp) Reset()

func (*ExampleTimestamp) String

func (x *ExampleTimestamp) String() string

type ExampleTimestampIdIndexKey

type ExampleTimestampIdIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleTimestampIdIndexKey) WithId

type ExampleTimestampIndexKey

type ExampleTimestampIndexKey interface {
	// contains filtered or unexported methods
}

type ExampleTimestampIterator

type ExampleTimestampIterator struct {
	ormtable.Iterator
}

func (ExampleTimestampIterator) Value

type ExampleTimestampPrimaryKey

type ExampleTimestampPrimaryKey = ExampleTimestampIdIndexKey

primary key starting index..

type ExampleTimestampTable

type ExampleTimestampTable interface {
	Insert(ctx context.Context, exampleTimestamp *ExampleTimestamp) error
	InsertReturningId(ctx context.Context, exampleTimestamp *ExampleTimestamp) (uint64, error)
	LastInsertedSequence(ctx context.Context) (uint64, error)
	Update(ctx context.Context, exampleTimestamp *ExampleTimestamp) error
	Save(ctx context.Context, exampleTimestamp *ExampleTimestamp) error
	Delete(ctx context.Context, exampleTimestamp *ExampleTimestamp) error
	Has(ctx context.Context, id uint64) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, id uint64) (*ExampleTimestamp, error)
	List(ctx context.Context, prefixKey ExampleTimestampIndexKey, opts ...ormlist.Option) (ExampleTimestampIterator, error)
	ListRange(ctx context.Context, from, to ExampleTimestampIndexKey, opts ...ormlist.Option) (ExampleTimestampIterator, error)
	DeleteBy(ctx context.Context, prefixKey ExampleTimestampIndexKey) error
	DeleteRange(ctx context.Context, from, to ExampleTimestampIndexKey) error
	// contains filtered or unexported methods
}

func NewExampleTimestampTable

func NewExampleTimestampTable(db ormtable.Schema) (ExampleTimestampTable, error)

type ExampleTimestampTsIndexKey

type ExampleTimestampTsIndexKey struct {
	// contains filtered or unexported fields
}

func (ExampleTimestampTsIndexKey) WithTs

type GetBalanceRequest

type GetBalanceRequest struct {

	// address specifies the value of the address field in the primary key.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// denom specifies the value of the denom field in the primary key.
	Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

GetBalanceRequest is the BankQuery/GetBalanceRequest request type.

func (*GetBalanceRequest) Descriptor deprecated

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

Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetBalanceRequest) GetAddress

func (x *GetBalanceRequest) GetAddress() string

func (*GetBalanceRequest) GetDenom

func (x *GetBalanceRequest) GetDenom() string

func (*GetBalanceRequest) ProtoMessage

func (*GetBalanceRequest) ProtoMessage()

func (*GetBalanceRequest) ProtoReflect

func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message

func (*GetBalanceRequest) Reset

func (x *GetBalanceRequest) Reset()

func (*GetBalanceRequest) String

func (x *GetBalanceRequest) String() string

type GetBalanceResponse

type GetBalanceResponse struct {

	// value is the response value.
	Value *Balance `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetBalanceResponse is the BankQuery/GetBalanceResponse response type.

func (*GetBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetBalanceResponse) GetValue

func (x *GetBalanceResponse) GetValue() *Balance

func (*GetBalanceResponse) ProtoMessage

func (*GetBalanceResponse) ProtoMessage()

func (*GetBalanceResponse) ProtoReflect

func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message

func (*GetBalanceResponse) Reset

func (x *GetBalanceResponse) Reset()

func (*GetBalanceResponse) String

func (x *GetBalanceResponse) String() string

type GetExampleAutoIncFieldNameRequest

type GetExampleAutoIncFieldNameRequest struct {

	// foo specifies the value of the foo field in the primary key.
	Foo uint64 `protobuf:"varint,1,opt,name=foo,proto3" json:"foo,omitempty"`
	// contains filtered or unexported fields
}

GetExampleAutoIncFieldNameRequest is the TestSchemaQuery/GetExampleAutoIncFieldNameRequest request type.

func (*GetExampleAutoIncFieldNameRequest) Descriptor deprecated

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

Deprecated: Use GetExampleAutoIncFieldNameRequest.ProtoReflect.Descriptor instead.

func (*GetExampleAutoIncFieldNameRequest) GetFoo

func (*GetExampleAutoIncFieldNameRequest) ProtoMessage

func (*GetExampleAutoIncFieldNameRequest) ProtoMessage()

func (*GetExampleAutoIncFieldNameRequest) ProtoReflect

func (*GetExampleAutoIncFieldNameRequest) Reset

func (*GetExampleAutoIncFieldNameRequest) String

type GetExampleAutoIncFieldNameResponse

type GetExampleAutoIncFieldNameResponse struct {

	// value is the response value.
	Value *ExampleAutoIncFieldName `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetExampleAutoIncFieldNameResponse is the TestSchemaQuery/GetExampleAutoIncFieldNameResponse response type.

func (*GetExampleAutoIncFieldNameResponse) Descriptor deprecated

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

Deprecated: Use GetExampleAutoIncFieldNameResponse.ProtoReflect.Descriptor instead.

func (*GetExampleAutoIncFieldNameResponse) GetValue

func (*GetExampleAutoIncFieldNameResponse) ProtoMessage

func (*GetExampleAutoIncFieldNameResponse) ProtoMessage()

func (*GetExampleAutoIncFieldNameResponse) ProtoReflect

func (*GetExampleAutoIncFieldNameResponse) Reset

func (*GetExampleAutoIncFieldNameResponse) String

type GetExampleAutoIncrementTableByXRequest

type GetExampleAutoIncrementTableByXRequest struct {
	X string `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
	// contains filtered or unexported fields
}

GetExampleAutoIncrementTableByXRequest is the TestSchemaQuery/GetExampleAutoIncrementTableByXRequest request type.

func (*GetExampleAutoIncrementTableByXRequest) Descriptor deprecated

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

Deprecated: Use GetExampleAutoIncrementTableByXRequest.ProtoReflect.Descriptor instead.

func (*GetExampleAutoIncrementTableByXRequest) GetX

func (*GetExampleAutoIncrementTableByXRequest) ProtoMessage

func (*GetExampleAutoIncrementTableByXRequest) ProtoReflect

func (*GetExampleAutoIncrementTableByXRequest) Reset

func (*GetExampleAutoIncrementTableByXRequest) String

type GetExampleAutoIncrementTableByXResponse

type GetExampleAutoIncrementTableByXResponse struct {
	Value *ExampleAutoIncrementTable `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetExampleAutoIncrementTableByXResponse is the TestSchemaQuery/GetExampleAutoIncrementTableByXResponse response type.

func (*GetExampleAutoIncrementTableByXResponse) Descriptor deprecated

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

Deprecated: Use GetExampleAutoIncrementTableByXResponse.ProtoReflect.Descriptor instead.

func (*GetExampleAutoIncrementTableByXResponse) GetValue

func (*GetExampleAutoIncrementTableByXResponse) ProtoMessage

func (*GetExampleAutoIncrementTableByXResponse) ProtoReflect

func (*GetExampleAutoIncrementTableByXResponse) Reset

func (*GetExampleAutoIncrementTableByXResponse) String

type GetExampleAutoIncrementTableRequest

type GetExampleAutoIncrementTableRequest struct {

	// id specifies the value of the id field in the primary key.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetExampleAutoIncrementTableRequest is the TestSchemaQuery/GetExampleAutoIncrementTableRequest request type.

func (*GetExampleAutoIncrementTableRequest) Descriptor deprecated

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

Deprecated: Use GetExampleAutoIncrementTableRequest.ProtoReflect.Descriptor instead.

func (*GetExampleAutoIncrementTableRequest) GetId

func (*GetExampleAutoIncrementTableRequest) ProtoMessage

func (*GetExampleAutoIncrementTableRequest) ProtoMessage()

func (*GetExampleAutoIncrementTableRequest) ProtoReflect

func (*GetExampleAutoIncrementTableRequest) Reset

func (*GetExampleAutoIncrementTableRequest) String

type GetExampleAutoIncrementTableResponse

type GetExampleAutoIncrementTableResponse struct {

	// value is the response value.
	Value *ExampleAutoIncrementTable `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetExampleAutoIncrementTableResponse is the TestSchemaQuery/GetExampleAutoIncrementTableResponse response type.

func (*GetExampleAutoIncrementTableResponse) Descriptor deprecated

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

Deprecated: Use GetExampleAutoIncrementTableResponse.ProtoReflect.Descriptor instead.

func (*GetExampleAutoIncrementTableResponse) GetValue

func (*GetExampleAutoIncrementTableResponse) ProtoMessage

func (*GetExampleAutoIncrementTableResponse) ProtoMessage()

func (*GetExampleAutoIncrementTableResponse) ProtoReflect

func (*GetExampleAutoIncrementTableResponse) Reset

func (*GetExampleAutoIncrementTableResponse) String

type GetExampleDurationRequest

type GetExampleDurationRequest struct {

	// id specifies the value of the id field in the primary key.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetExampleDurationRequest is the TestSchemaQuery/GetExampleDurationRequest request type.

func (*GetExampleDurationRequest) Descriptor deprecated

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

Deprecated: Use GetExampleDurationRequest.ProtoReflect.Descriptor instead.

func (*GetExampleDurationRequest) GetId

func (x *GetExampleDurationRequest) GetId() uint64

func (*GetExampleDurationRequest) ProtoMessage

func (*GetExampleDurationRequest) ProtoMessage()

func (*GetExampleDurationRequest) ProtoReflect

func (*GetExampleDurationRequest) Reset

func (x *GetExampleDurationRequest) Reset()

func (*GetExampleDurationRequest) String

func (x *GetExampleDurationRequest) String() string

type GetExampleDurationResponse

type GetExampleDurationResponse struct {

	// value is the response value.
	Value *ExampleDuration `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetExampleDurationResponse is the TestSchemaQuery/GetExampleDurationResponse response type.

func (*GetExampleDurationResponse) Descriptor deprecated

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

Deprecated: Use GetExampleDurationResponse.ProtoReflect.Descriptor instead.

func (*GetExampleDurationResponse) GetValue

func (*GetExampleDurationResponse) ProtoMessage

func (*GetExampleDurationResponse) ProtoMessage()

func (*GetExampleDurationResponse) ProtoReflect

func (*GetExampleDurationResponse) Reset

func (x *GetExampleDurationResponse) Reset()

func (*GetExampleDurationResponse) String

func (x *GetExampleDurationResponse) String() string

type GetExampleSingletonRequest

type GetExampleSingletonRequest struct {
	// contains filtered or unexported fields
}

GetExampleSingletonRequest is the TestSchemaQuery/GetExampleSingletonRequest request type.

func (*GetExampleSingletonRequest) Descriptor deprecated

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

Deprecated: Use GetExampleSingletonRequest.ProtoReflect.Descriptor instead.

func (*GetExampleSingletonRequest) ProtoMessage

func (*GetExampleSingletonRequest) ProtoMessage()

func (*GetExampleSingletonRequest) ProtoReflect

func (*GetExampleSingletonRequest) Reset

func (x *GetExampleSingletonRequest) Reset()

func (*GetExampleSingletonRequest) String

func (x *GetExampleSingletonRequest) String() string

type GetExampleSingletonResponse

type GetExampleSingletonResponse struct {
	Value *ExampleSingleton `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetExampleSingletonResponse is the TestSchemaQuery/GetExampleSingletonResponse request type.

func (*GetExampleSingletonResponse) Descriptor deprecated

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

Deprecated: Use GetExampleSingletonResponse.ProtoReflect.Descriptor instead.

func (*GetExampleSingletonResponse) GetValue

func (*GetExampleSingletonResponse) ProtoMessage

func (*GetExampleSingletonResponse) ProtoMessage()

func (*GetExampleSingletonResponse) ProtoReflect

func (*GetExampleSingletonResponse) Reset

func (x *GetExampleSingletonResponse) Reset()

func (*GetExampleSingletonResponse) String

func (x *GetExampleSingletonResponse) String() string

type GetExampleTableByU64StrRequest

type GetExampleTableByU64StrRequest struct {
	U64 uint64 `protobuf:"varint,1,opt,name=u64,proto3" json:"u64,omitempty"`
	Str string `protobuf:"bytes,2,opt,name=str,proto3" json:"str,omitempty"`
	// contains filtered or unexported fields
}

GetExampleTableByU64StrRequest is the TestSchemaQuery/GetExampleTableByU64StrRequest request type.

func (*GetExampleTableByU64StrRequest) Descriptor deprecated

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

Deprecated: Use GetExampleTableByU64StrRequest.ProtoReflect.Descriptor instead.

func (*GetExampleTableByU64StrRequest) GetStr

func (*GetExampleTableByU64StrRequest) GetU64

func (*GetExampleTableByU64StrRequest) ProtoMessage

func (*GetExampleTableByU64StrRequest) ProtoMessage()

func (*GetExampleTableByU64StrRequest) ProtoReflect

func (*GetExampleTableByU64StrRequest) Reset

func (x *GetExampleTableByU64StrRequest) Reset()

func (*GetExampleTableByU64StrRequest) String

type GetExampleTableByU64StrResponse

type GetExampleTableByU64StrResponse struct {
	Value *ExampleTable `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetExampleTableByU64StrResponse is the TestSchemaQuery/GetExampleTableByU64StrResponse response type.

func (*GetExampleTableByU64StrResponse) Descriptor deprecated

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

Deprecated: Use GetExampleTableByU64StrResponse.ProtoReflect.Descriptor instead.

func (*GetExampleTableByU64StrResponse) GetValue

func (*GetExampleTableByU64StrResponse) ProtoMessage

func (*GetExampleTableByU64StrResponse) ProtoMessage()

func (*GetExampleTableByU64StrResponse) ProtoReflect

func (*GetExampleTableByU64StrResponse) Reset

func (*GetExampleTableByU64StrResponse) String

type GetExampleTableRequest

type GetExampleTableRequest struct {

	// u32 specifies the value of the u32 field in the primary key.
	U32 uint32 `protobuf:"varint,1,opt,name=u32,proto3" json:"u32,omitempty"`
	// i64 specifies the value of the i64 field in the primary key.
	I64 int64 `protobuf:"varint,2,opt,name=i64,proto3" json:"i64,omitempty"`
	// str specifies the value of the str field in the primary key.
	Str string `protobuf:"bytes,3,opt,name=str,proto3" json:"str,omitempty"`
	// contains filtered or unexported fields
}

GetExampleTableRequest is the TestSchemaQuery/GetExampleTableRequest request type.

func (*GetExampleTableRequest) Descriptor deprecated

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

Deprecated: Use GetExampleTableRequest.ProtoReflect.Descriptor instead.

func (*GetExampleTableRequest) GetI64

func (x *GetExampleTableRequest) GetI64() int64

func (*GetExampleTableRequest) GetStr

func (x *GetExampleTableRequest) GetStr() string

func (*GetExampleTableRequest) GetU32

func (x *GetExampleTableRequest) GetU32() uint32

func (*GetExampleTableRequest) ProtoMessage

func (*GetExampleTableRequest) ProtoMessage()

func (*GetExampleTableRequest) ProtoReflect

func (x *GetExampleTableRequest) ProtoReflect() protoreflect.Message

func (*GetExampleTableRequest) Reset

func (x *GetExampleTableRequest) Reset()

func (*GetExampleTableRequest) String

func (x *GetExampleTableRequest) String() string

type GetExampleTableResponse

type GetExampleTableResponse struct {

	// value is the response value.
	Value *ExampleTable `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetExampleTableResponse is the TestSchemaQuery/GetExampleTableResponse response type.

func (*GetExampleTableResponse) Descriptor deprecated

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

Deprecated: Use GetExampleTableResponse.ProtoReflect.Descriptor instead.

func (*GetExampleTableResponse) GetValue

func (x *GetExampleTableResponse) GetValue() *ExampleTable

func (*GetExampleTableResponse) ProtoMessage

func (*GetExampleTableResponse) ProtoMessage()

func (*GetExampleTableResponse) ProtoReflect

func (x *GetExampleTableResponse) ProtoReflect() protoreflect.Message

func (*GetExampleTableResponse) Reset

func (x *GetExampleTableResponse) Reset()

func (*GetExampleTableResponse) String

func (x *GetExampleTableResponse) String() string

type GetExampleTimestampRequest

type GetExampleTimestampRequest struct {

	// id specifies the value of the id field in the primary key.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetExampleTimestampRequest is the TestSchemaQuery/GetExampleTimestampRequest request type.

func (*GetExampleTimestampRequest) Descriptor deprecated

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

Deprecated: Use GetExampleTimestampRequest.ProtoReflect.Descriptor instead.

func (*GetExampleTimestampRequest) GetId

func (*GetExampleTimestampRequest) ProtoMessage

func (*GetExampleTimestampRequest) ProtoMessage()

func (*GetExampleTimestampRequest) ProtoReflect

func (*GetExampleTimestampRequest) Reset

func (x *GetExampleTimestampRequest) Reset()

func (*GetExampleTimestampRequest) String

func (x *GetExampleTimestampRequest) String() string

type GetExampleTimestampResponse

type GetExampleTimestampResponse struct {

	// value is the response value.
	Value *ExampleTimestamp `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetExampleTimestampResponse is the TestSchemaQuery/GetExampleTimestampResponse response type.

func (*GetExampleTimestampResponse) Descriptor deprecated

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

Deprecated: Use GetExampleTimestampResponse.ProtoReflect.Descriptor instead.

func (*GetExampleTimestampResponse) GetValue

func (*GetExampleTimestampResponse) ProtoMessage

func (*GetExampleTimestampResponse) ProtoMessage()

func (*GetExampleTimestampResponse) ProtoReflect

func (*GetExampleTimestampResponse) Reset

func (x *GetExampleTimestampResponse) Reset()

func (*GetExampleTimestampResponse) String

func (x *GetExampleTimestampResponse) String() string

type GetSimpleExampleByUniqueRequest

type GetSimpleExampleByUniqueRequest struct {
	Unique string `protobuf:"bytes,1,opt,name=unique,proto3" json:"unique,omitempty"`
	// contains filtered or unexported fields
}

GetSimpleExampleByUniqueRequest is the TestSchemaQuery/GetSimpleExampleByUniqueRequest request type.

func (*GetSimpleExampleByUniqueRequest) Descriptor deprecated

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

Deprecated: Use GetSimpleExampleByUniqueRequest.ProtoReflect.Descriptor instead.

func (*GetSimpleExampleByUniqueRequest) GetUnique

func (x *GetSimpleExampleByUniqueRequest) GetUnique() string

func (*GetSimpleExampleByUniqueRequest) ProtoMessage

func (*GetSimpleExampleByUniqueRequest) ProtoMessage()

func (*GetSimpleExampleByUniqueRequest) ProtoReflect

func (*GetSimpleExampleByUniqueRequest) Reset

func (*GetSimpleExampleByUniqueRequest) String

type GetSimpleExampleByUniqueResponse

type GetSimpleExampleByUniqueResponse struct {
	Value *SimpleExample `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetSimpleExampleByUniqueResponse is the TestSchemaQuery/GetSimpleExampleByUniqueResponse response type.

func (*GetSimpleExampleByUniqueResponse) Descriptor deprecated

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

Deprecated: Use GetSimpleExampleByUniqueResponse.ProtoReflect.Descriptor instead.

func (*GetSimpleExampleByUniqueResponse) GetValue

func (*GetSimpleExampleByUniqueResponse) ProtoMessage

func (*GetSimpleExampleByUniqueResponse) ProtoMessage()

func (*GetSimpleExampleByUniqueResponse) ProtoReflect

func (*GetSimpleExampleByUniqueResponse) Reset

func (*GetSimpleExampleByUniqueResponse) String

type GetSimpleExampleRequest

type GetSimpleExampleRequest struct {

	// name specifies the value of the name field in the primary key.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetSimpleExampleRequest is the TestSchemaQuery/GetSimpleExampleRequest request type.

func (*GetSimpleExampleRequest) Descriptor deprecated

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

Deprecated: Use GetSimpleExampleRequest.ProtoReflect.Descriptor instead.

func (*GetSimpleExampleRequest) GetName

func (x *GetSimpleExampleRequest) GetName() string

func (*GetSimpleExampleRequest) ProtoMessage

func (*GetSimpleExampleRequest) ProtoMessage()

func (*GetSimpleExampleRequest) ProtoReflect

func (x *GetSimpleExampleRequest) ProtoReflect() protoreflect.Message

func (*GetSimpleExampleRequest) Reset

func (x *GetSimpleExampleRequest) Reset()

func (*GetSimpleExampleRequest) String

func (x *GetSimpleExampleRequest) String() string

type GetSimpleExampleResponse

type GetSimpleExampleResponse struct {

	// value is the response value.
	Value *SimpleExample `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetSimpleExampleResponse is the TestSchemaQuery/GetSimpleExampleResponse response type.

func (*GetSimpleExampleResponse) Descriptor deprecated

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

Deprecated: Use GetSimpleExampleResponse.ProtoReflect.Descriptor instead.

func (*GetSimpleExampleResponse) GetValue

func (x *GetSimpleExampleResponse) GetValue() *SimpleExample

func (*GetSimpleExampleResponse) ProtoMessage

func (*GetSimpleExampleResponse) ProtoMessage()

func (*GetSimpleExampleResponse) ProtoReflect

func (x *GetSimpleExampleResponse) ProtoReflect() protoreflect.Message

func (*GetSimpleExampleResponse) Reset

func (x *GetSimpleExampleResponse) Reset()

func (*GetSimpleExampleResponse) String

func (x *GetSimpleExampleResponse) String() string

type GetSupplyRequest

type GetSupplyRequest struct {

	// denom specifies the value of the denom field in the primary key.
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

GetSupplyRequest is the BankQuery/GetSupplyRequest request type.

func (*GetSupplyRequest) Descriptor deprecated

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

Deprecated: Use GetSupplyRequest.ProtoReflect.Descriptor instead.

func (*GetSupplyRequest) GetDenom

func (x *GetSupplyRequest) GetDenom() string

func (*GetSupplyRequest) ProtoMessage

func (*GetSupplyRequest) ProtoMessage()

func (*GetSupplyRequest) ProtoReflect

func (x *GetSupplyRequest) ProtoReflect() protoreflect.Message

func (*GetSupplyRequest) Reset

func (x *GetSupplyRequest) Reset()

func (*GetSupplyRequest) String

func (x *GetSupplyRequest) String() string

type GetSupplyResponse

type GetSupplyResponse struct {

	// value is the response value.
	Value *Supply `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetSupplyResponse is the BankQuery/GetSupplyResponse response type.

func (*GetSupplyResponse) Descriptor deprecated

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

Deprecated: Use GetSupplyResponse.ProtoReflect.Descriptor instead.

func (*GetSupplyResponse) GetValue

func (x *GetSupplyResponse) GetValue() *Supply

func (*GetSupplyResponse) ProtoMessage

func (*GetSupplyResponse) ProtoMessage()

func (*GetSupplyResponse) ProtoReflect

func (x *GetSupplyResponse) ProtoReflect() protoreflect.Message

func (*GetSupplyResponse) Reset

func (x *GetSupplyResponse) Reset()

func (*GetSupplyResponse) String

func (x *GetSupplyResponse) String() string

type ListBalanceRequest

type ListBalanceRequest struct {

	// query specifies the type of query - either a prefix or range query.
	//
	// Types that are assignable to Query:
	//
	//	*ListBalanceRequest_PrefixQuery
	//	*ListBalanceRequest_RangeQuery_
	Query isListBalanceRequest_Query `protobuf_oneof:"query"`
	// pagination specifies optional pagination parameters.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListBalanceRequest is the BankQuery/ListBalanceRequest request type.

func (*ListBalanceRequest) Descriptor deprecated

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

Deprecated: Use ListBalanceRequest.ProtoReflect.Descriptor instead.

func (*ListBalanceRequest) GetPagination

func (x *ListBalanceRequest) GetPagination() *v1beta1.PageRequest

func (*ListBalanceRequest) GetPrefixQuery

func (x *ListBalanceRequest) GetPrefixQuery() *ListBalanceRequest_IndexKey

func (*ListBalanceRequest) GetQuery

func (m *ListBalanceRequest) GetQuery() isListBalanceRequest_Query

func (*ListBalanceRequest) GetRangeQuery

func (*ListBalanceRequest) ProtoMessage

func (*ListBalanceRequest) ProtoMessage()

func (*ListBalanceRequest) ProtoReflect

func (x *ListBalanceRequest) ProtoReflect() protoreflect.Message

func (*ListBalanceRequest) Reset

func (x *ListBalanceRequest) Reset()

func (*ListBalanceRequest) String

func (x *ListBalanceRequest) String() string

type ListBalanceRequest_IndexKey

type ListBalanceRequest_IndexKey struct {

	// key specifies the index key value.
	//
	// Types that are assignable to Key:
	//
	//	*ListBalanceRequest_IndexKey_AddressDenom_
	//	*ListBalanceRequest_IndexKey_Denom_
	Key isListBalanceRequest_IndexKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

IndexKey specifies the value of an index key to use in prefix and range queries.

func (*ListBalanceRequest_IndexKey) Descriptor deprecated

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

Deprecated: Use ListBalanceRequest_IndexKey.ProtoReflect.Descriptor instead.

func (*ListBalanceRequest_IndexKey) GetAddressDenom

func (*ListBalanceRequest_IndexKey) GetDenom

func (*ListBalanceRequest_IndexKey) GetKey

func (m *ListBalanceRequest_IndexKey) GetKey() isListBalanceRequest_IndexKey_Key

func (*ListBalanceRequest_IndexKey) ProtoMessage

func (*ListBalanceRequest_IndexKey) ProtoMessage()

func (*ListBalanceRequest_IndexKey) ProtoReflect

func (*ListBalanceRequest_IndexKey) Reset

func (x *ListBalanceRequest_IndexKey) Reset()

func (*ListBalanceRequest_IndexKey) String

func (x *ListBalanceRequest_IndexKey) String() string

type ListBalanceRequest_IndexKey_AddressDenom

type ListBalanceRequest_IndexKey_AddressDenom struct {

	// address is the value of the address field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Address *string `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"`
	// denom is the value of the denom field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Denom *string `protobuf:"bytes,2,opt,name=denom,proto3,oneof" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBalanceRequest_IndexKey_AddressDenom) Descriptor deprecated

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

Deprecated: Use ListBalanceRequest_IndexKey_AddressDenom.ProtoReflect.Descriptor instead.

func (*ListBalanceRequest_IndexKey_AddressDenom) GetAddress

func (*ListBalanceRequest_IndexKey_AddressDenom) GetDenom

func (*ListBalanceRequest_IndexKey_AddressDenom) ProtoMessage

func (*ListBalanceRequest_IndexKey_AddressDenom) ProtoReflect

func (*ListBalanceRequest_IndexKey_AddressDenom) Reset

func (*ListBalanceRequest_IndexKey_AddressDenom) String

type ListBalanceRequest_IndexKey_AddressDenom_

type ListBalanceRequest_IndexKey_AddressDenom_ struct {
	// address_denom specifies the value of the AddressDenom index key to use in the query.
	AddressDenom *ListBalanceRequest_IndexKey_AddressDenom `protobuf:"bytes,1,opt,name=address_denom,json=addressDenom,proto3,oneof"`
}

type ListBalanceRequest_IndexKey_Denom

type ListBalanceRequest_IndexKey_Denom struct {

	// denom is the value of the denom field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Denom *string `protobuf:"bytes,1,opt,name=denom,proto3,oneof" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBalanceRequest_IndexKey_Denom) Descriptor deprecated

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

Deprecated: Use ListBalanceRequest_IndexKey_Denom.ProtoReflect.Descriptor instead.

func (*ListBalanceRequest_IndexKey_Denom) GetDenom

func (*ListBalanceRequest_IndexKey_Denom) ProtoMessage

func (*ListBalanceRequest_IndexKey_Denom) ProtoMessage()

func (*ListBalanceRequest_IndexKey_Denom) ProtoReflect

func (*ListBalanceRequest_IndexKey_Denom) Reset

func (*ListBalanceRequest_IndexKey_Denom) String

type ListBalanceRequest_IndexKey_Denom_

type ListBalanceRequest_IndexKey_Denom_ struct {
	// denom specifies the value of the Denom index key to use in the query.
	Denom *ListBalanceRequest_IndexKey_Denom `protobuf:"bytes,2,opt,name=denom,proto3,oneof"`
}

type ListBalanceRequest_PrefixQuery

type ListBalanceRequest_PrefixQuery struct {
	// prefix_query specifies the index key value to use for the prefix query.
	PrefixQuery *ListBalanceRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"`
}

type ListBalanceRequest_RangeQuery

type ListBalanceRequest_RangeQuery struct {

	// from is the index key to use for the start of the range query.
	// To query from the start of an index, specify an index key for that index with empty values.
	From *ListBalanceRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// to is the index key to use for the end of the range query.
	// The index key type MUST be the same as the index key type used for from.
	// To query from to the end of an index it can be omitted.
	To *ListBalanceRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

RangeQuery specifies the from/to index keys for a range query.

func (*ListBalanceRequest_RangeQuery) Descriptor deprecated

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

Deprecated: Use ListBalanceRequest_RangeQuery.ProtoReflect.Descriptor instead.

func (*ListBalanceRequest_RangeQuery) GetFrom

func (*ListBalanceRequest_RangeQuery) GetTo

func (*ListBalanceRequest_RangeQuery) ProtoMessage

func (*ListBalanceRequest_RangeQuery) ProtoMessage()

func (*ListBalanceRequest_RangeQuery) ProtoReflect

func (*ListBalanceRequest_RangeQuery) Reset

func (x *ListBalanceRequest_RangeQuery) Reset()

func (*ListBalanceRequest_RangeQuery) String

type ListBalanceRequest_RangeQuery_

type ListBalanceRequest_RangeQuery_ struct {
	// range_query specifies the index key from/to values to use for the range query.
	RangeQuery *ListBalanceRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type ListBalanceResponse

type ListBalanceResponse struct {

	// values are the results of the query.
	Values []*Balance `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// pagination is the pagination response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListBalanceResponse is the BankQuery/ListBalanceResponse response type.

func (*ListBalanceResponse) Descriptor deprecated

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

Deprecated: Use ListBalanceResponse.ProtoReflect.Descriptor instead.

func (*ListBalanceResponse) GetPagination

func (x *ListBalanceResponse) GetPagination() *v1beta1.PageResponse

func (*ListBalanceResponse) GetValues

func (x *ListBalanceResponse) GetValues() []*Balance

func (*ListBalanceResponse) ProtoMessage

func (*ListBalanceResponse) ProtoMessage()

func (*ListBalanceResponse) ProtoReflect

func (x *ListBalanceResponse) ProtoReflect() protoreflect.Message

func (*ListBalanceResponse) Reset

func (x *ListBalanceResponse) Reset()

func (*ListBalanceResponse) String

func (x *ListBalanceResponse) String() string

type ListExampleAutoIncFieldNameRequest

type ListExampleAutoIncFieldNameRequest struct {

	// query specifies the type of query - either a prefix or range query.
	//
	// Types that are assignable to Query:
	//
	//	*ListExampleAutoIncFieldNameRequest_PrefixQuery
	//	*ListExampleAutoIncFieldNameRequest_RangeQuery_
	Query isListExampleAutoIncFieldNameRequest_Query `protobuf_oneof:"query"`
	// pagination specifies optional pagination parameters.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleAutoIncFieldNameRequest is the TestSchemaQuery/ListExampleAutoIncFieldNameRequest request type.

func (*ListExampleAutoIncFieldNameRequest) Descriptor deprecated

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

Deprecated: Use ListExampleAutoIncFieldNameRequest.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncFieldNameRequest) GetPagination

func (*ListExampleAutoIncFieldNameRequest) GetPrefixQuery

func (*ListExampleAutoIncFieldNameRequest) GetQuery

func (m *ListExampleAutoIncFieldNameRequest) GetQuery() isListExampleAutoIncFieldNameRequest_Query

func (*ListExampleAutoIncFieldNameRequest) GetRangeQuery

func (*ListExampleAutoIncFieldNameRequest) ProtoMessage

func (*ListExampleAutoIncFieldNameRequest) ProtoMessage()

func (*ListExampleAutoIncFieldNameRequest) ProtoReflect

func (*ListExampleAutoIncFieldNameRequest) Reset

func (*ListExampleAutoIncFieldNameRequest) String

type ListExampleAutoIncFieldNameRequest_IndexKey

type ListExampleAutoIncFieldNameRequest_IndexKey struct {

	// key specifies the index key value.
	//
	// Types that are assignable to Key:
	//
	//	*ListExampleAutoIncFieldNameRequest_IndexKey_Foo_
	Key isListExampleAutoIncFieldNameRequest_IndexKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

IndexKey specifies the value of an index key to use in prefix and range queries.

func (*ListExampleAutoIncFieldNameRequest_IndexKey) Descriptor deprecated

Deprecated: Use ListExampleAutoIncFieldNameRequest_IndexKey.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncFieldNameRequest_IndexKey) GetFoo

func (*ListExampleAutoIncFieldNameRequest_IndexKey) GetKey

func (m *ListExampleAutoIncFieldNameRequest_IndexKey) GetKey() isListExampleAutoIncFieldNameRequest_IndexKey_Key

func (*ListExampleAutoIncFieldNameRequest_IndexKey) ProtoMessage

func (*ListExampleAutoIncFieldNameRequest_IndexKey) ProtoReflect

func (*ListExampleAutoIncFieldNameRequest_IndexKey) Reset

func (*ListExampleAutoIncFieldNameRequest_IndexKey) String

type ListExampleAutoIncFieldNameRequest_IndexKey_Foo

type ListExampleAutoIncFieldNameRequest_IndexKey_Foo struct {

	// foo is the value of the foo field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Foo *uint64 `protobuf:"varint,1,opt,name=foo,proto3,oneof" json:"foo,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleAutoIncFieldNameRequest_IndexKey_Foo) Descriptor deprecated

Deprecated: Use ListExampleAutoIncFieldNameRequest_IndexKey_Foo.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncFieldNameRequest_IndexKey_Foo) GetFoo

func (*ListExampleAutoIncFieldNameRequest_IndexKey_Foo) ProtoMessage

func (*ListExampleAutoIncFieldNameRequest_IndexKey_Foo) ProtoReflect

func (*ListExampleAutoIncFieldNameRequest_IndexKey_Foo) Reset

func (*ListExampleAutoIncFieldNameRequest_IndexKey_Foo) String

type ListExampleAutoIncFieldNameRequest_IndexKey_Foo_

type ListExampleAutoIncFieldNameRequest_IndexKey_Foo_ struct {
	// foo specifies the value of the Foo index key to use in the query.
	Foo *ListExampleAutoIncFieldNameRequest_IndexKey_Foo `protobuf:"bytes,1,opt,name=foo,proto3,oneof"`
}

type ListExampleAutoIncFieldNameRequest_PrefixQuery

type ListExampleAutoIncFieldNameRequest_PrefixQuery struct {
	// prefix_query specifies the index key value to use for the prefix query.
	PrefixQuery *ListExampleAutoIncFieldNameRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"`
}

type ListExampleAutoIncFieldNameRequest_RangeQuery

type ListExampleAutoIncFieldNameRequest_RangeQuery struct {

	// from is the index key to use for the start of the range query.
	// To query from the start of an index, specify an index key for that index with empty values.
	From *ListExampleAutoIncFieldNameRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// to is the index key to use for the end of the range query.
	// The index key type MUST be the same as the index key type used for from.
	// To query from to the end of an index it can be omitted.
	To *ListExampleAutoIncFieldNameRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

RangeQuery specifies the from/to index keys for a range query.

func (*ListExampleAutoIncFieldNameRequest_RangeQuery) Descriptor deprecated

Deprecated: Use ListExampleAutoIncFieldNameRequest_RangeQuery.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncFieldNameRequest_RangeQuery) GetFrom

func (*ListExampleAutoIncFieldNameRequest_RangeQuery) GetTo

func (*ListExampleAutoIncFieldNameRequest_RangeQuery) ProtoMessage

func (*ListExampleAutoIncFieldNameRequest_RangeQuery) ProtoReflect

func (*ListExampleAutoIncFieldNameRequest_RangeQuery) Reset

func (*ListExampleAutoIncFieldNameRequest_RangeQuery) String

type ListExampleAutoIncFieldNameRequest_RangeQuery_

type ListExampleAutoIncFieldNameRequest_RangeQuery_ struct {
	// range_query specifies the index key from/to values to use for the range query.
	RangeQuery *ListExampleAutoIncFieldNameRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type ListExampleAutoIncFieldNameResponse

type ListExampleAutoIncFieldNameResponse struct {

	// values are the results of the query.
	Values []*ExampleAutoIncFieldName `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// pagination is the pagination response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleAutoIncFieldNameResponse is the TestSchemaQuery/ListExampleAutoIncFieldNameResponse response type.

func (*ListExampleAutoIncFieldNameResponse) Descriptor deprecated

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

Deprecated: Use ListExampleAutoIncFieldNameResponse.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncFieldNameResponse) GetPagination

func (*ListExampleAutoIncFieldNameResponse) GetValues

func (*ListExampleAutoIncFieldNameResponse) ProtoMessage

func (*ListExampleAutoIncFieldNameResponse) ProtoMessage()

func (*ListExampleAutoIncFieldNameResponse) ProtoReflect

func (*ListExampleAutoIncFieldNameResponse) Reset

func (*ListExampleAutoIncFieldNameResponse) String

type ListExampleAutoIncrementTableRequest

type ListExampleAutoIncrementTableRequest struct {

	// query specifies the type of query - either a prefix or range query.
	//
	// Types that are assignable to Query:
	//
	//	*ListExampleAutoIncrementTableRequest_PrefixQuery
	//	*ListExampleAutoIncrementTableRequest_RangeQuery_
	Query isListExampleAutoIncrementTableRequest_Query `protobuf_oneof:"query"`
	// pagination specifies optional pagination parameters.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleAutoIncrementTableRequest is the TestSchemaQuery/ListExampleAutoIncrementTableRequest request type.

func (*ListExampleAutoIncrementTableRequest) Descriptor deprecated

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

Deprecated: Use ListExampleAutoIncrementTableRequest.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncrementTableRequest) GetPagination

func (*ListExampleAutoIncrementTableRequest) GetPrefixQuery

func (*ListExampleAutoIncrementTableRequest) GetQuery

func (m *ListExampleAutoIncrementTableRequest) GetQuery() isListExampleAutoIncrementTableRequest_Query

func (*ListExampleAutoIncrementTableRequest) GetRangeQuery

func (*ListExampleAutoIncrementTableRequest) ProtoMessage

func (*ListExampleAutoIncrementTableRequest) ProtoMessage()

func (*ListExampleAutoIncrementTableRequest) ProtoReflect

func (*ListExampleAutoIncrementTableRequest) Reset

func (*ListExampleAutoIncrementTableRequest) String

type ListExampleAutoIncrementTableRequest_IndexKey

type ListExampleAutoIncrementTableRequest_IndexKey struct {

	// key specifies the index key value.
	//
	// Types that are assignable to Key:
	//
	//	*ListExampleAutoIncrementTableRequest_IndexKey_Id_
	//	*ListExampleAutoIncrementTableRequest_IndexKey_X_
	Key isListExampleAutoIncrementTableRequest_IndexKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

IndexKey specifies the value of an index key to use in prefix and range queries.

func (*ListExampleAutoIncrementTableRequest_IndexKey) Descriptor deprecated

Deprecated: Use ListExampleAutoIncrementTableRequest_IndexKey.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncrementTableRequest_IndexKey) GetId

func (*ListExampleAutoIncrementTableRequest_IndexKey) GetKey

func (m *ListExampleAutoIncrementTableRequest_IndexKey) GetKey() isListExampleAutoIncrementTableRequest_IndexKey_Key

func (*ListExampleAutoIncrementTableRequest_IndexKey) GetX

func (*ListExampleAutoIncrementTableRequest_IndexKey) ProtoMessage

func (*ListExampleAutoIncrementTableRequest_IndexKey) ProtoReflect

func (*ListExampleAutoIncrementTableRequest_IndexKey) Reset

func (*ListExampleAutoIncrementTableRequest_IndexKey) String

type ListExampleAutoIncrementTableRequest_IndexKey_Id

type ListExampleAutoIncrementTableRequest_IndexKey_Id struct {

	// id is the value of the id field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleAutoIncrementTableRequest_IndexKey_Id) Descriptor deprecated

Deprecated: Use ListExampleAutoIncrementTableRequest_IndexKey_Id.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncrementTableRequest_IndexKey_Id) GetId

func (*ListExampleAutoIncrementTableRequest_IndexKey_Id) ProtoMessage

func (*ListExampleAutoIncrementTableRequest_IndexKey_Id) ProtoReflect

func (*ListExampleAutoIncrementTableRequest_IndexKey_Id) Reset

func (*ListExampleAutoIncrementTableRequest_IndexKey_Id) String

type ListExampleAutoIncrementTableRequest_IndexKey_Id_

type ListExampleAutoIncrementTableRequest_IndexKey_Id_ struct {
	// id specifies the value of the Id index key to use in the query.
	Id *ListExampleAutoIncrementTableRequest_IndexKey_Id `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type ListExampleAutoIncrementTableRequest_IndexKey_X

type ListExampleAutoIncrementTableRequest_IndexKey_X struct {

	// x is the value of the x field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	X *string `protobuf:"bytes,1,opt,name=x,proto3,oneof" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleAutoIncrementTableRequest_IndexKey_X) Descriptor deprecated

Deprecated: Use ListExampleAutoIncrementTableRequest_IndexKey_X.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncrementTableRequest_IndexKey_X) GetX

func (*ListExampleAutoIncrementTableRequest_IndexKey_X) ProtoMessage

func (*ListExampleAutoIncrementTableRequest_IndexKey_X) ProtoReflect

func (*ListExampleAutoIncrementTableRequest_IndexKey_X) Reset

func (*ListExampleAutoIncrementTableRequest_IndexKey_X) String

type ListExampleAutoIncrementTableRequest_IndexKey_X_

type ListExampleAutoIncrementTableRequest_IndexKey_X_ struct {
	// x specifies the value of the X index key to use in the query.
	X *ListExampleAutoIncrementTableRequest_IndexKey_X `protobuf:"bytes,2,opt,name=x,proto3,oneof"`
}

type ListExampleAutoIncrementTableRequest_PrefixQuery

type ListExampleAutoIncrementTableRequest_PrefixQuery struct {
	// prefix_query specifies the index key value to use for the prefix query.
	PrefixQuery *ListExampleAutoIncrementTableRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"`
}

type ListExampleAutoIncrementTableRequest_RangeQuery

type ListExampleAutoIncrementTableRequest_RangeQuery struct {

	// from is the index key to use for the start of the range query.
	// To query from the start of an index, specify an index key for that index with empty values.
	From *ListExampleAutoIncrementTableRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// to is the index key to use for the end of the range query.
	// The index key type MUST be the same as the index key type used for from.
	// To query from to the end of an index it can be omitted.
	To *ListExampleAutoIncrementTableRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

RangeQuery specifies the from/to index keys for a range query.

func (*ListExampleAutoIncrementTableRequest_RangeQuery) Descriptor deprecated

Deprecated: Use ListExampleAutoIncrementTableRequest_RangeQuery.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncrementTableRequest_RangeQuery) GetFrom

func (*ListExampleAutoIncrementTableRequest_RangeQuery) GetTo

func (*ListExampleAutoIncrementTableRequest_RangeQuery) ProtoMessage

func (*ListExampleAutoIncrementTableRequest_RangeQuery) ProtoReflect

func (*ListExampleAutoIncrementTableRequest_RangeQuery) Reset

func (*ListExampleAutoIncrementTableRequest_RangeQuery) String

type ListExampleAutoIncrementTableRequest_RangeQuery_

type ListExampleAutoIncrementTableRequest_RangeQuery_ struct {
	// range_query specifies the index key from/to values to use for the range query.
	RangeQuery *ListExampleAutoIncrementTableRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type ListExampleAutoIncrementTableResponse

type ListExampleAutoIncrementTableResponse struct {

	// values are the results of the query.
	Values []*ExampleAutoIncrementTable `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// pagination is the pagination response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleAutoIncrementTableResponse is the TestSchemaQuery/ListExampleAutoIncrementTableResponse response type.

func (*ListExampleAutoIncrementTableResponse) Descriptor deprecated

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

Deprecated: Use ListExampleAutoIncrementTableResponse.ProtoReflect.Descriptor instead.

func (*ListExampleAutoIncrementTableResponse) GetPagination

func (*ListExampleAutoIncrementTableResponse) GetValues

func (*ListExampleAutoIncrementTableResponse) ProtoMessage

func (*ListExampleAutoIncrementTableResponse) ProtoMessage()

func (*ListExampleAutoIncrementTableResponse) ProtoReflect

func (*ListExampleAutoIncrementTableResponse) Reset

func (*ListExampleAutoIncrementTableResponse) String

type ListExampleDurationRequest

type ListExampleDurationRequest struct {

	// query specifies the type of query - either a prefix or range query.
	//
	// Types that are assignable to Query:
	//
	//	*ListExampleDurationRequest_PrefixQuery
	//	*ListExampleDurationRequest_RangeQuery_
	Query isListExampleDurationRequest_Query `protobuf_oneof:"query"`
	// pagination specifies optional pagination parameters.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleDurationRequest is the TestSchemaQuery/ListExampleDurationRequest request type.

func (*ListExampleDurationRequest) Descriptor deprecated

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

Deprecated: Use ListExampleDurationRequest.ProtoReflect.Descriptor instead.

func (*ListExampleDurationRequest) GetPagination

func (x *ListExampleDurationRequest) GetPagination() *v1beta1.PageRequest

func (*ListExampleDurationRequest) GetPrefixQuery

func (*ListExampleDurationRequest) GetQuery

func (m *ListExampleDurationRequest) GetQuery() isListExampleDurationRequest_Query

func (*ListExampleDurationRequest) GetRangeQuery

func (*ListExampleDurationRequest) ProtoMessage

func (*ListExampleDurationRequest) ProtoMessage()

func (*ListExampleDurationRequest) ProtoReflect

func (*ListExampleDurationRequest) Reset

func (x *ListExampleDurationRequest) Reset()

func (*ListExampleDurationRequest) String

func (x *ListExampleDurationRequest) String() string

type ListExampleDurationRequest_IndexKey

type ListExampleDurationRequest_IndexKey struct {

	// key specifies the index key value.
	//
	// Types that are assignable to Key:
	//
	//	*ListExampleDurationRequest_IndexKey_Id_
	//	*ListExampleDurationRequest_IndexKey_Dur_
	Key isListExampleDurationRequest_IndexKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

IndexKey specifies the value of an index key to use in prefix and range queries.

func (*ListExampleDurationRequest_IndexKey) Descriptor deprecated

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

Deprecated: Use ListExampleDurationRequest_IndexKey.ProtoReflect.Descriptor instead.

func (*ListExampleDurationRequest_IndexKey) GetDur

func (*ListExampleDurationRequest_IndexKey) GetId

func (*ListExampleDurationRequest_IndexKey) GetKey

func (m *ListExampleDurationRequest_IndexKey) GetKey() isListExampleDurationRequest_IndexKey_Key

func (*ListExampleDurationRequest_IndexKey) ProtoMessage

func (*ListExampleDurationRequest_IndexKey) ProtoMessage()

func (*ListExampleDurationRequest_IndexKey) ProtoReflect

func (*ListExampleDurationRequest_IndexKey) Reset

func (*ListExampleDurationRequest_IndexKey) String

type ListExampleDurationRequest_IndexKey_Dur

type ListExampleDurationRequest_IndexKey_Dur struct {

	// dur is the value of the dur field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Dur *durationpb.Duration `protobuf:"bytes,1,opt,name=dur,proto3,oneof" json:"dur,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleDurationRequest_IndexKey_Dur) Descriptor deprecated

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

Deprecated: Use ListExampleDurationRequest_IndexKey_Dur.ProtoReflect.Descriptor instead.

func (*ListExampleDurationRequest_IndexKey_Dur) GetDur

func (*ListExampleDurationRequest_IndexKey_Dur) ProtoMessage

func (*ListExampleDurationRequest_IndexKey_Dur) ProtoReflect

func (*ListExampleDurationRequest_IndexKey_Dur) Reset

func (*ListExampleDurationRequest_IndexKey_Dur) String

type ListExampleDurationRequest_IndexKey_Dur_

type ListExampleDurationRequest_IndexKey_Dur_ struct {
	// dur specifies the value of the Dur index key to use in the query.
	Dur *ListExampleDurationRequest_IndexKey_Dur `protobuf:"bytes,2,opt,name=dur,proto3,oneof"`
}

type ListExampleDurationRequest_IndexKey_Id

type ListExampleDurationRequest_IndexKey_Id struct {

	// id is the value of the id field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleDurationRequest_IndexKey_Id) Descriptor deprecated

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

Deprecated: Use ListExampleDurationRequest_IndexKey_Id.ProtoReflect.Descriptor instead.

func (*ListExampleDurationRequest_IndexKey_Id) GetId

func (*ListExampleDurationRequest_IndexKey_Id) ProtoMessage

func (*ListExampleDurationRequest_IndexKey_Id) ProtoReflect

func (*ListExampleDurationRequest_IndexKey_Id) Reset

func (*ListExampleDurationRequest_IndexKey_Id) String

type ListExampleDurationRequest_IndexKey_Id_

type ListExampleDurationRequest_IndexKey_Id_ struct {
	// id specifies the value of the Id index key to use in the query.
	Id *ListExampleDurationRequest_IndexKey_Id `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type ListExampleDurationRequest_PrefixQuery

type ListExampleDurationRequest_PrefixQuery struct {
	// prefix_query specifies the index key value to use for the prefix query.
	PrefixQuery *ListExampleDurationRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"`
}

type ListExampleDurationRequest_RangeQuery

type ListExampleDurationRequest_RangeQuery struct {

	// from is the index key to use for the start of the range query.
	// To query from the start of an index, specify an index key for that index with empty values.
	From *ListExampleDurationRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// to is the index key to use for the end of the range query.
	// The index key type MUST be the same as the index key type used for from.
	// To query from to the end of an index it can be omitted.
	To *ListExampleDurationRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

RangeQuery specifies the from/to index keys for a range query.

func (*ListExampleDurationRequest_RangeQuery) Descriptor deprecated

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

Deprecated: Use ListExampleDurationRequest_RangeQuery.ProtoReflect.Descriptor instead.

func (*ListExampleDurationRequest_RangeQuery) GetFrom

func (*ListExampleDurationRequest_RangeQuery) GetTo

func (*ListExampleDurationRequest_RangeQuery) ProtoMessage

func (*ListExampleDurationRequest_RangeQuery) ProtoMessage()

func (*ListExampleDurationRequest_RangeQuery) ProtoReflect

func (*ListExampleDurationRequest_RangeQuery) Reset

func (*ListExampleDurationRequest_RangeQuery) String

type ListExampleDurationRequest_RangeQuery_

type ListExampleDurationRequest_RangeQuery_ struct {
	// range_query specifies the index key from/to values to use for the range query.
	RangeQuery *ListExampleDurationRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type ListExampleDurationResponse

type ListExampleDurationResponse struct {

	// values are the results of the query.
	Values []*ExampleDuration `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// pagination is the pagination response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleDurationResponse is the TestSchemaQuery/ListExampleDurationResponse response type.

func (*ListExampleDurationResponse) Descriptor deprecated

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

Deprecated: Use ListExampleDurationResponse.ProtoReflect.Descriptor instead.

func (*ListExampleDurationResponse) GetPagination

func (x *ListExampleDurationResponse) GetPagination() *v1beta1.PageResponse

func (*ListExampleDurationResponse) GetValues

func (x *ListExampleDurationResponse) GetValues() []*ExampleDuration

func (*ListExampleDurationResponse) ProtoMessage

func (*ListExampleDurationResponse) ProtoMessage()

func (*ListExampleDurationResponse) ProtoReflect

func (*ListExampleDurationResponse) Reset

func (x *ListExampleDurationResponse) Reset()

func (*ListExampleDurationResponse) String

func (x *ListExampleDurationResponse) String() string

type ListExampleTableRequest

type ListExampleTableRequest struct {

	// query specifies the type of query - either a prefix or range query.
	//
	// Types that are assignable to Query:
	//
	//	*ListExampleTableRequest_PrefixQuery
	//	*ListExampleTableRequest_RangeQuery_
	Query isListExampleTableRequest_Query `protobuf_oneof:"query"`
	// pagination specifies optional pagination parameters.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleTableRequest is the TestSchemaQuery/ListExampleTableRequest request type.

func (*ListExampleTableRequest) Descriptor deprecated

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

Deprecated: Use ListExampleTableRequest.ProtoReflect.Descriptor instead.

func (*ListExampleTableRequest) GetPagination

func (x *ListExampleTableRequest) GetPagination() *v1beta1.PageRequest

func (*ListExampleTableRequest) GetPrefixQuery

func (*ListExampleTableRequest) GetQuery

func (m *ListExampleTableRequest) GetQuery() isListExampleTableRequest_Query

func (*ListExampleTableRequest) GetRangeQuery

func (*ListExampleTableRequest) ProtoMessage

func (*ListExampleTableRequest) ProtoMessage()

func (*ListExampleTableRequest) ProtoReflect

func (x *ListExampleTableRequest) ProtoReflect() protoreflect.Message

func (*ListExampleTableRequest) Reset

func (x *ListExampleTableRequest) Reset()

func (*ListExampleTableRequest) String

func (x *ListExampleTableRequest) String() string

type ListExampleTableRequest_IndexKey

type ListExampleTableRequest_IndexKey struct {

	// key specifies the index key value.
	//
	// Types that are assignable to Key:
	//
	//	*ListExampleTableRequest_IndexKey_U_32I_64Str
	//	*ListExampleTableRequest_IndexKey_U_64Str
	//	*ListExampleTableRequest_IndexKey_StrU_32
	//	*ListExampleTableRequest_IndexKey_BzStr_
	Key isListExampleTableRequest_IndexKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

IndexKey specifies the value of an index key to use in prefix and range queries.

func (*ListExampleTableRequest_IndexKey) Descriptor deprecated

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

Deprecated: Use ListExampleTableRequest_IndexKey.ProtoReflect.Descriptor instead.

func (*ListExampleTableRequest_IndexKey) GetBzStr

func (*ListExampleTableRequest_IndexKey) GetKey

func (m *ListExampleTableRequest_IndexKey) GetKey() isListExampleTableRequest_IndexKey_Key

func (*ListExampleTableRequest_IndexKey) GetStrU_32

func (*ListExampleTableRequest_IndexKey) GetU_32I_64Str

func (*ListExampleTableRequest_IndexKey) GetU_64Str

func (*ListExampleTableRequest_IndexKey) ProtoMessage

func (*ListExampleTableRequest_IndexKey) ProtoMessage()

func (*ListExampleTableRequest_IndexKey) ProtoReflect

func (*ListExampleTableRequest_IndexKey) Reset

func (*ListExampleTableRequest_IndexKey) String

type ListExampleTableRequest_IndexKey_BzStr

type ListExampleTableRequest_IndexKey_BzStr struct {

	// bz is the value of the bz field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Bz []byte `protobuf:"bytes,1,opt,name=bz,proto3,oneof" json:"bz,omitempty"`
	// str is the value of the str field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Str *string `protobuf:"bytes,2,opt,name=str,proto3,oneof" json:"str,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleTableRequest_IndexKey_BzStr) Descriptor deprecated

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

Deprecated: Use ListExampleTableRequest_IndexKey_BzStr.ProtoReflect.Descriptor instead.

func (*ListExampleTableRequest_IndexKey_BzStr) GetBz

func (*ListExampleTableRequest_IndexKey_BzStr) GetStr

func (*ListExampleTableRequest_IndexKey_BzStr) ProtoMessage

func (*ListExampleTableRequest_IndexKey_BzStr) ProtoReflect

func (*ListExampleTableRequest_IndexKey_BzStr) Reset

func (*ListExampleTableRequest_IndexKey_BzStr) String

type ListExampleTableRequest_IndexKey_BzStr_

type ListExampleTableRequest_IndexKey_BzStr_ struct {
	// bz_str specifies the value of the BzStr index key to use in the query.
	BzStr *ListExampleTableRequest_IndexKey_BzStr `protobuf:"bytes,4,opt,name=bz_str,json=bzStr,proto3,oneof"`
}

type ListExampleTableRequest_IndexKey_StrU32

type ListExampleTableRequest_IndexKey_StrU32 struct {

	// str is the value of the str field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Str *string `protobuf:"bytes,1,opt,name=str,proto3,oneof" json:"str,omitempty"`
	// u32 is the value of the u32 field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	U32 *uint32 `protobuf:"varint,2,opt,name=u32,proto3,oneof" json:"u32,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleTableRequest_IndexKey_StrU32) Descriptor deprecated

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

Deprecated: Use ListExampleTableRequest_IndexKey_StrU32.ProtoReflect.Descriptor instead.

func (*ListExampleTableRequest_IndexKey_StrU32) GetStr

func (*ListExampleTableRequest_IndexKey_StrU32) GetU32

func (*ListExampleTableRequest_IndexKey_StrU32) ProtoMessage

func (*ListExampleTableRequest_IndexKey_StrU32) ProtoReflect

func (*ListExampleTableRequest_IndexKey_StrU32) Reset

func (*ListExampleTableRequest_IndexKey_StrU32) String

type ListExampleTableRequest_IndexKey_StrU_32

type ListExampleTableRequest_IndexKey_StrU_32 struct {
	// str_u_32 specifies the value of the StrU32 index key to use in the query.
	StrU_32 *ListExampleTableRequest_IndexKey_StrU32 `protobuf:"bytes,3,opt,name=str_u_32,json=strU32,proto3,oneof"`
}

type ListExampleTableRequest_IndexKey_U32I64Str

type ListExampleTableRequest_IndexKey_U32I64Str struct {

	// u32 is the value of the u32 field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	U32 *uint32 `protobuf:"varint,1,opt,name=u32,proto3,oneof" json:"u32,omitempty"`
	// i64 is the value of the i64 field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	I64 *int64 `protobuf:"varint,2,opt,name=i64,proto3,oneof" json:"i64,omitempty"`
	// str is the value of the str field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Str *string `protobuf:"bytes,3,opt,name=str,proto3,oneof" json:"str,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleTableRequest_IndexKey_U32I64Str) Descriptor deprecated

Deprecated: Use ListExampleTableRequest_IndexKey_U32I64Str.ProtoReflect.Descriptor instead.

func (*ListExampleTableRequest_IndexKey_U32I64Str) GetI64

func (*ListExampleTableRequest_IndexKey_U32I64Str) GetStr

func (*ListExampleTableRequest_IndexKey_U32I64Str) GetU32

func (*ListExampleTableRequest_IndexKey_U32I64Str) ProtoMessage

func (*ListExampleTableRequest_IndexKey_U32I64Str) ProtoReflect

func (*ListExampleTableRequest_IndexKey_U32I64Str) Reset

func (*ListExampleTableRequest_IndexKey_U32I64Str) String

type ListExampleTableRequest_IndexKey_U64Str

type ListExampleTableRequest_IndexKey_U64Str struct {

	// u64 is the value of the u64 field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	U64 *uint64 `protobuf:"varint,1,opt,name=u64,proto3,oneof" json:"u64,omitempty"`
	// str is the value of the str field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Str *string `protobuf:"bytes,2,opt,name=str,proto3,oneof" json:"str,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleTableRequest_IndexKey_U64Str) Descriptor deprecated

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

Deprecated: Use ListExampleTableRequest_IndexKey_U64Str.ProtoReflect.Descriptor instead.

func (*ListExampleTableRequest_IndexKey_U64Str) GetStr

func (*ListExampleTableRequest_IndexKey_U64Str) GetU64

func (*ListExampleTableRequest_IndexKey_U64Str) ProtoMessage

func (*ListExampleTableRequest_IndexKey_U64Str) ProtoReflect

func (*ListExampleTableRequest_IndexKey_U64Str) Reset

func (*ListExampleTableRequest_IndexKey_U64Str) String

type ListExampleTableRequest_IndexKey_U_32I_64Str

type ListExampleTableRequest_IndexKey_U_32I_64Str struct {
	// u_32_i_64_str specifies the value of the U32I64Str index key to use in the query.
	U_32I_64Str *ListExampleTableRequest_IndexKey_U32I64Str `protobuf:"bytes,1,opt,name=u_32_i_64_str,json=u32I64Str,proto3,oneof"`
}

type ListExampleTableRequest_IndexKey_U_64Str

type ListExampleTableRequest_IndexKey_U_64Str struct {
	// u_64_str specifies the value of the U64Str index key to use in the query.
	U_64Str *ListExampleTableRequest_IndexKey_U64Str `protobuf:"bytes,2,opt,name=u_64_str,json=u64Str,proto3,oneof"`
}

type ListExampleTableRequest_PrefixQuery

type ListExampleTableRequest_PrefixQuery struct {
	// prefix_query specifies the index key value to use for the prefix query.
	PrefixQuery *ListExampleTableRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"`
}

type ListExampleTableRequest_RangeQuery

type ListExampleTableRequest_RangeQuery struct {

	// from is the index key to use for the start of the range query.
	// To query from the start of an index, specify an index key for that index with empty values.
	From *ListExampleTableRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// to is the index key to use for the end of the range query.
	// The index key type MUST be the same as the index key type used for from.
	// To query from to the end of an index it can be omitted.
	To *ListExampleTableRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

RangeQuery specifies the from/to index keys for a range query.

func (*ListExampleTableRequest_RangeQuery) Descriptor deprecated

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

Deprecated: Use ListExampleTableRequest_RangeQuery.ProtoReflect.Descriptor instead.

func (*ListExampleTableRequest_RangeQuery) GetFrom

func (*ListExampleTableRequest_RangeQuery) GetTo

func (*ListExampleTableRequest_RangeQuery) ProtoMessage

func (*ListExampleTableRequest_RangeQuery) ProtoMessage()

func (*ListExampleTableRequest_RangeQuery) ProtoReflect

func (*ListExampleTableRequest_RangeQuery) Reset

func (*ListExampleTableRequest_RangeQuery) String

type ListExampleTableRequest_RangeQuery_

type ListExampleTableRequest_RangeQuery_ struct {
	// range_query specifies the index key from/to values to use for the range query.
	RangeQuery *ListExampleTableRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type ListExampleTableResponse

type ListExampleTableResponse struct {

	// values are the results of the query.
	Values []*ExampleTable `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// pagination is the pagination response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleTableResponse is the TestSchemaQuery/ListExampleTableResponse response type.

func (*ListExampleTableResponse) Descriptor deprecated

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

Deprecated: Use ListExampleTableResponse.ProtoReflect.Descriptor instead.

func (*ListExampleTableResponse) GetPagination

func (x *ListExampleTableResponse) GetPagination() *v1beta1.PageResponse

func (*ListExampleTableResponse) GetValues

func (x *ListExampleTableResponse) GetValues() []*ExampleTable

func (*ListExampleTableResponse) ProtoMessage

func (*ListExampleTableResponse) ProtoMessage()

func (*ListExampleTableResponse) ProtoReflect

func (x *ListExampleTableResponse) ProtoReflect() protoreflect.Message

func (*ListExampleTableResponse) Reset

func (x *ListExampleTableResponse) Reset()

func (*ListExampleTableResponse) String

func (x *ListExampleTableResponse) String() string

type ListExampleTimestampRequest

type ListExampleTimestampRequest struct {

	// query specifies the type of query - either a prefix or range query.
	//
	// Types that are assignable to Query:
	//
	//	*ListExampleTimestampRequest_PrefixQuery
	//	*ListExampleTimestampRequest_RangeQuery_
	Query isListExampleTimestampRequest_Query `protobuf_oneof:"query"`
	// pagination specifies optional pagination parameters.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleTimestampRequest is the TestSchemaQuery/ListExampleTimestampRequest request type.

func (*ListExampleTimestampRequest) Descriptor deprecated

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

Deprecated: Use ListExampleTimestampRequest.ProtoReflect.Descriptor instead.

func (*ListExampleTimestampRequest) GetPagination

func (x *ListExampleTimestampRequest) GetPagination() *v1beta1.PageRequest

func (*ListExampleTimestampRequest) GetPrefixQuery

func (*ListExampleTimestampRequest) GetQuery

func (m *ListExampleTimestampRequest) GetQuery() isListExampleTimestampRequest_Query

func (*ListExampleTimestampRequest) GetRangeQuery

func (*ListExampleTimestampRequest) ProtoMessage

func (*ListExampleTimestampRequest) ProtoMessage()

func (*ListExampleTimestampRequest) ProtoReflect

func (*ListExampleTimestampRequest) Reset

func (x *ListExampleTimestampRequest) Reset()

func (*ListExampleTimestampRequest) String

func (x *ListExampleTimestampRequest) String() string

type ListExampleTimestampRequest_IndexKey

type ListExampleTimestampRequest_IndexKey struct {

	// key specifies the index key value.
	//
	// Types that are assignable to Key:
	//
	//	*ListExampleTimestampRequest_IndexKey_Id_
	//	*ListExampleTimestampRequest_IndexKey_Ts_
	Key isListExampleTimestampRequest_IndexKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

IndexKey specifies the value of an index key to use in prefix and range queries.

func (*ListExampleTimestampRequest_IndexKey) Descriptor deprecated

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

Deprecated: Use ListExampleTimestampRequest_IndexKey.ProtoReflect.Descriptor instead.

func (*ListExampleTimestampRequest_IndexKey) GetId

func (*ListExampleTimestampRequest_IndexKey) GetKey

func (m *ListExampleTimestampRequest_IndexKey) GetKey() isListExampleTimestampRequest_IndexKey_Key

func (*ListExampleTimestampRequest_IndexKey) GetTs

func (*ListExampleTimestampRequest_IndexKey) ProtoMessage

func (*ListExampleTimestampRequest_IndexKey) ProtoMessage()

func (*ListExampleTimestampRequest_IndexKey) ProtoReflect

func (*ListExampleTimestampRequest_IndexKey) Reset

func (*ListExampleTimestampRequest_IndexKey) String

type ListExampleTimestampRequest_IndexKey_Id

type ListExampleTimestampRequest_IndexKey_Id struct {

	// id is the value of the id field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleTimestampRequest_IndexKey_Id) Descriptor deprecated

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

Deprecated: Use ListExampleTimestampRequest_IndexKey_Id.ProtoReflect.Descriptor instead.

func (*ListExampleTimestampRequest_IndexKey_Id) GetId

func (*ListExampleTimestampRequest_IndexKey_Id) ProtoMessage

func (*ListExampleTimestampRequest_IndexKey_Id) ProtoReflect

func (*ListExampleTimestampRequest_IndexKey_Id) Reset

func (*ListExampleTimestampRequest_IndexKey_Id) String

type ListExampleTimestampRequest_IndexKey_Id_

type ListExampleTimestampRequest_IndexKey_Id_ struct {
	// id specifies the value of the Id index key to use in the query.
	Id *ListExampleTimestampRequest_IndexKey_Id `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type ListExampleTimestampRequest_IndexKey_Ts

type ListExampleTimestampRequest_IndexKey_Ts struct {

	// ts is the value of the ts field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3,oneof" json:"ts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleTimestampRequest_IndexKey_Ts) Descriptor deprecated

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

Deprecated: Use ListExampleTimestampRequest_IndexKey_Ts.ProtoReflect.Descriptor instead.

func (*ListExampleTimestampRequest_IndexKey_Ts) GetTs

func (*ListExampleTimestampRequest_IndexKey_Ts) ProtoMessage

func (*ListExampleTimestampRequest_IndexKey_Ts) ProtoReflect

func (*ListExampleTimestampRequest_IndexKey_Ts) Reset

func (*ListExampleTimestampRequest_IndexKey_Ts) String

type ListExampleTimestampRequest_IndexKey_Ts_

type ListExampleTimestampRequest_IndexKey_Ts_ struct {
	// ts specifies the value of the Ts index key to use in the query.
	Ts *ListExampleTimestampRequest_IndexKey_Ts `protobuf:"bytes,2,opt,name=ts,proto3,oneof"`
}

type ListExampleTimestampRequest_PrefixQuery

type ListExampleTimestampRequest_PrefixQuery struct {
	// prefix_query specifies the index key value to use for the prefix query.
	PrefixQuery *ListExampleTimestampRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"`
}

type ListExampleTimestampRequest_RangeQuery

type ListExampleTimestampRequest_RangeQuery struct {

	// from is the index key to use for the start of the range query.
	// To query from the start of an index, specify an index key for that index with empty values.
	From *ListExampleTimestampRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// to is the index key to use for the end of the range query.
	// The index key type MUST be the same as the index key type used for from.
	// To query from to the end of an index it can be omitted.
	To *ListExampleTimestampRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

RangeQuery specifies the from/to index keys for a range query.

func (*ListExampleTimestampRequest_RangeQuery) Descriptor deprecated

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

Deprecated: Use ListExampleTimestampRequest_RangeQuery.ProtoReflect.Descriptor instead.

func (*ListExampleTimestampRequest_RangeQuery) GetFrom

func (*ListExampleTimestampRequest_RangeQuery) GetTo

func (*ListExampleTimestampRequest_RangeQuery) ProtoMessage

func (*ListExampleTimestampRequest_RangeQuery) ProtoReflect

func (*ListExampleTimestampRequest_RangeQuery) Reset

func (*ListExampleTimestampRequest_RangeQuery) String

type ListExampleTimestampRequest_RangeQuery_

type ListExampleTimestampRequest_RangeQuery_ struct {
	// range_query specifies the index key from/to values to use for the range query.
	RangeQuery *ListExampleTimestampRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type ListExampleTimestampResponse

type ListExampleTimestampResponse struct {

	// values are the results of the query.
	Values []*ExampleTimestamp `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// pagination is the pagination response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListExampleTimestampResponse is the TestSchemaQuery/ListExampleTimestampResponse response type.

func (*ListExampleTimestampResponse) Descriptor deprecated

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

Deprecated: Use ListExampleTimestampResponse.ProtoReflect.Descriptor instead.

func (*ListExampleTimestampResponse) GetPagination

func (*ListExampleTimestampResponse) GetValues

func (*ListExampleTimestampResponse) ProtoMessage

func (*ListExampleTimestampResponse) ProtoMessage()

func (*ListExampleTimestampResponse) ProtoReflect

func (*ListExampleTimestampResponse) Reset

func (x *ListExampleTimestampResponse) Reset()

func (*ListExampleTimestampResponse) String

type ListSimpleExampleRequest

type ListSimpleExampleRequest struct {

	// query specifies the type of query - either a prefix or range query.
	//
	// Types that are assignable to Query:
	//
	//	*ListSimpleExampleRequest_PrefixQuery
	//	*ListSimpleExampleRequest_RangeQuery_
	Query isListSimpleExampleRequest_Query `protobuf_oneof:"query"`
	// pagination specifies optional pagination parameters.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListSimpleExampleRequest is the TestSchemaQuery/ListSimpleExampleRequest request type.

func (*ListSimpleExampleRequest) Descriptor deprecated

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

Deprecated: Use ListSimpleExampleRequest.ProtoReflect.Descriptor instead.

func (*ListSimpleExampleRequest) GetPagination

func (x *ListSimpleExampleRequest) GetPagination() *v1beta1.PageRequest

func (*ListSimpleExampleRequest) GetPrefixQuery

func (*ListSimpleExampleRequest) GetQuery

func (m *ListSimpleExampleRequest) GetQuery() isListSimpleExampleRequest_Query

func (*ListSimpleExampleRequest) GetRangeQuery

func (*ListSimpleExampleRequest) ProtoMessage

func (*ListSimpleExampleRequest) ProtoMessage()

func (*ListSimpleExampleRequest) ProtoReflect

func (x *ListSimpleExampleRequest) ProtoReflect() protoreflect.Message

func (*ListSimpleExampleRequest) Reset

func (x *ListSimpleExampleRequest) Reset()

func (*ListSimpleExampleRequest) String

func (x *ListSimpleExampleRequest) String() string

type ListSimpleExampleRequest_IndexKey

type ListSimpleExampleRequest_IndexKey struct {

	// key specifies the index key value.
	//
	// Types that are assignable to Key:
	//
	//	*ListSimpleExampleRequest_IndexKey_Name_
	//	*ListSimpleExampleRequest_IndexKey_Unique_
	Key isListSimpleExampleRequest_IndexKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

IndexKey specifies the value of an index key to use in prefix and range queries.

func (*ListSimpleExampleRequest_IndexKey) Descriptor deprecated

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

Deprecated: Use ListSimpleExampleRequest_IndexKey.ProtoReflect.Descriptor instead.

func (*ListSimpleExampleRequest_IndexKey) GetKey

func (m *ListSimpleExampleRequest_IndexKey) GetKey() isListSimpleExampleRequest_IndexKey_Key

func (*ListSimpleExampleRequest_IndexKey) GetName

func (*ListSimpleExampleRequest_IndexKey) GetUnique

func (*ListSimpleExampleRequest_IndexKey) ProtoMessage

func (*ListSimpleExampleRequest_IndexKey) ProtoMessage()

func (*ListSimpleExampleRequest_IndexKey) ProtoReflect

func (*ListSimpleExampleRequest_IndexKey) Reset

func (*ListSimpleExampleRequest_IndexKey) String

type ListSimpleExampleRequest_IndexKey_Name

type ListSimpleExampleRequest_IndexKey_Name struct {

	// name is the value of the name field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSimpleExampleRequest_IndexKey_Name) Descriptor deprecated

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

Deprecated: Use ListSimpleExampleRequest_IndexKey_Name.ProtoReflect.Descriptor instead.

func (*ListSimpleExampleRequest_IndexKey_Name) GetName

func (*ListSimpleExampleRequest_IndexKey_Name) ProtoMessage

func (*ListSimpleExampleRequest_IndexKey_Name) ProtoReflect

func (*ListSimpleExampleRequest_IndexKey_Name) Reset

func (*ListSimpleExampleRequest_IndexKey_Name) String

type ListSimpleExampleRequest_IndexKey_Name_

type ListSimpleExampleRequest_IndexKey_Name_ struct {
	// name specifies the value of the Name index key to use in the query.
	Name *ListSimpleExampleRequest_IndexKey_Name `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}

type ListSimpleExampleRequest_IndexKey_Unique

type ListSimpleExampleRequest_IndexKey_Unique struct {

	// unique is the value of the unique field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Unique *string `protobuf:"bytes,1,opt,name=unique,proto3,oneof" json:"unique,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSimpleExampleRequest_IndexKey_Unique) Descriptor deprecated

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

Deprecated: Use ListSimpleExampleRequest_IndexKey_Unique.ProtoReflect.Descriptor instead.

func (*ListSimpleExampleRequest_IndexKey_Unique) GetUnique

func (*ListSimpleExampleRequest_IndexKey_Unique) ProtoMessage

func (*ListSimpleExampleRequest_IndexKey_Unique) ProtoReflect

func (*ListSimpleExampleRequest_IndexKey_Unique) Reset

func (*ListSimpleExampleRequest_IndexKey_Unique) String

type ListSimpleExampleRequest_IndexKey_Unique_

type ListSimpleExampleRequest_IndexKey_Unique_ struct {
	// unique specifies the value of the Unique index key to use in the query.
	Unique *ListSimpleExampleRequest_IndexKey_Unique `protobuf:"bytes,2,opt,name=unique,proto3,oneof"`
}

type ListSimpleExampleRequest_PrefixQuery

type ListSimpleExampleRequest_PrefixQuery struct {
	// prefix_query specifies the index key value to use for the prefix query.
	PrefixQuery *ListSimpleExampleRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"`
}

type ListSimpleExampleRequest_RangeQuery

type ListSimpleExampleRequest_RangeQuery struct {

	// from is the index key to use for the start of the range query.
	// To query from the start of an index, specify an index key for that index with empty values.
	From *ListSimpleExampleRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// to is the index key to use for the end of the range query.
	// The index key type MUST be the same as the index key type used for from.
	// To query from to the end of an index it can be omitted.
	To *ListSimpleExampleRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

RangeQuery specifies the from/to index keys for a range query.

func (*ListSimpleExampleRequest_RangeQuery) Descriptor deprecated

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

Deprecated: Use ListSimpleExampleRequest_RangeQuery.ProtoReflect.Descriptor instead.

func (*ListSimpleExampleRequest_RangeQuery) GetFrom

func (*ListSimpleExampleRequest_RangeQuery) GetTo

func (*ListSimpleExampleRequest_RangeQuery) ProtoMessage

func (*ListSimpleExampleRequest_RangeQuery) ProtoMessage()

func (*ListSimpleExampleRequest_RangeQuery) ProtoReflect

func (*ListSimpleExampleRequest_RangeQuery) Reset

func (*ListSimpleExampleRequest_RangeQuery) String

type ListSimpleExampleRequest_RangeQuery_

type ListSimpleExampleRequest_RangeQuery_ struct {
	// range_query specifies the index key from/to values to use for the range query.
	RangeQuery *ListSimpleExampleRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type ListSimpleExampleResponse

type ListSimpleExampleResponse struct {

	// values are the results of the query.
	Values []*SimpleExample `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// pagination is the pagination response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListSimpleExampleResponse is the TestSchemaQuery/ListSimpleExampleResponse response type.

func (*ListSimpleExampleResponse) Descriptor deprecated

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

Deprecated: Use ListSimpleExampleResponse.ProtoReflect.Descriptor instead.

func (*ListSimpleExampleResponse) GetPagination

func (x *ListSimpleExampleResponse) GetPagination() *v1beta1.PageResponse

func (*ListSimpleExampleResponse) GetValues

func (x *ListSimpleExampleResponse) GetValues() []*SimpleExample

func (*ListSimpleExampleResponse) ProtoMessage

func (*ListSimpleExampleResponse) ProtoMessage()

func (*ListSimpleExampleResponse) ProtoReflect

func (*ListSimpleExampleResponse) Reset

func (x *ListSimpleExampleResponse) Reset()

func (*ListSimpleExampleResponse) String

func (x *ListSimpleExampleResponse) String() string

type ListSupplyRequest

type ListSupplyRequest struct {

	// query specifies the type of query - either a prefix or range query.
	//
	// Types that are assignable to Query:
	//
	//	*ListSupplyRequest_PrefixQuery
	//	*ListSupplyRequest_RangeQuery_
	Query isListSupplyRequest_Query `protobuf_oneof:"query"`
	// pagination specifies optional pagination parameters.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListSupplyRequest is the BankQuery/ListSupplyRequest request type.

func (*ListSupplyRequest) Descriptor deprecated

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

Deprecated: Use ListSupplyRequest.ProtoReflect.Descriptor instead.

func (*ListSupplyRequest) GetPagination

func (x *ListSupplyRequest) GetPagination() *v1beta1.PageRequest

func (*ListSupplyRequest) GetPrefixQuery

func (x *ListSupplyRequest) GetPrefixQuery() *ListSupplyRequest_IndexKey

func (*ListSupplyRequest) GetQuery

func (m *ListSupplyRequest) GetQuery() isListSupplyRequest_Query

func (*ListSupplyRequest) GetRangeQuery

func (x *ListSupplyRequest) GetRangeQuery() *ListSupplyRequest_RangeQuery

func (*ListSupplyRequest) ProtoMessage

func (*ListSupplyRequest) ProtoMessage()

func (*ListSupplyRequest) ProtoReflect

func (x *ListSupplyRequest) ProtoReflect() protoreflect.Message

func (*ListSupplyRequest) Reset

func (x *ListSupplyRequest) Reset()

func (*ListSupplyRequest) String

func (x *ListSupplyRequest) String() string

type ListSupplyRequest_IndexKey

type ListSupplyRequest_IndexKey struct {

	// key specifies the index key value.
	//
	// Types that are assignable to Key:
	//
	//	*ListSupplyRequest_IndexKey_Denom_
	Key isListSupplyRequest_IndexKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

IndexKey specifies the value of an index key to use in prefix and range queries.

func (*ListSupplyRequest_IndexKey) Descriptor deprecated

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

Deprecated: Use ListSupplyRequest_IndexKey.ProtoReflect.Descriptor instead.

func (*ListSupplyRequest_IndexKey) GetDenom

func (*ListSupplyRequest_IndexKey) GetKey

func (m *ListSupplyRequest_IndexKey) GetKey() isListSupplyRequest_IndexKey_Key

func (*ListSupplyRequest_IndexKey) ProtoMessage

func (*ListSupplyRequest_IndexKey) ProtoMessage()

func (*ListSupplyRequest_IndexKey) ProtoReflect

func (*ListSupplyRequest_IndexKey) Reset

func (x *ListSupplyRequest_IndexKey) Reset()

func (*ListSupplyRequest_IndexKey) String

func (x *ListSupplyRequest_IndexKey) String() string

type ListSupplyRequest_IndexKey_Denom

type ListSupplyRequest_IndexKey_Denom struct {

	// denom is the value of the denom field in the index.
	// It can be omitted to query for all valid values of that field in this segment of the index.
	Denom *string `protobuf:"bytes,1,opt,name=denom,proto3,oneof" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSupplyRequest_IndexKey_Denom) Descriptor deprecated

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

Deprecated: Use ListSupplyRequest_IndexKey_Denom.ProtoReflect.Descriptor instead.

func (*ListSupplyRequest_IndexKey_Denom) GetDenom

func (*ListSupplyRequest_IndexKey_Denom) ProtoMessage

func (*ListSupplyRequest_IndexKey_Denom) ProtoMessage()

func (*ListSupplyRequest_IndexKey_Denom) ProtoReflect

func (*ListSupplyRequest_IndexKey_Denom) Reset

func (*ListSupplyRequest_IndexKey_Denom) String

type ListSupplyRequest_IndexKey_Denom_

type ListSupplyRequest_IndexKey_Denom_ struct {
	// denom specifies the value of the Denom index key to use in the query.
	Denom *ListSupplyRequest_IndexKey_Denom `protobuf:"bytes,1,opt,name=denom,proto3,oneof"`
}

type ListSupplyRequest_PrefixQuery

type ListSupplyRequest_PrefixQuery struct {
	// prefix_query specifies the index key value to use for the prefix query.
	PrefixQuery *ListSupplyRequest_IndexKey `protobuf:"bytes,1,opt,name=prefix_query,json=prefixQuery,proto3,oneof"`
}

type ListSupplyRequest_RangeQuery

type ListSupplyRequest_RangeQuery struct {

	// from is the index key to use for the start of the range query.
	// To query from the start of an index, specify an index key for that index with empty values.
	From *ListSupplyRequest_IndexKey `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// to is the index key to use for the end of the range query.
	// The index key type MUST be the same as the index key type used for from.
	// To query from to the end of an index it can be omitted.
	To *ListSupplyRequest_IndexKey `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

RangeQuery specifies the from/to index keys for a range query.

func (*ListSupplyRequest_RangeQuery) Descriptor deprecated

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

Deprecated: Use ListSupplyRequest_RangeQuery.ProtoReflect.Descriptor instead.

func (*ListSupplyRequest_RangeQuery) GetFrom

func (*ListSupplyRequest_RangeQuery) GetTo

func (*ListSupplyRequest_RangeQuery) ProtoMessage

func (*ListSupplyRequest_RangeQuery) ProtoMessage()

func (*ListSupplyRequest_RangeQuery) ProtoReflect

func (*ListSupplyRequest_RangeQuery) Reset

func (x *ListSupplyRequest_RangeQuery) Reset()

func (*ListSupplyRequest_RangeQuery) String

type ListSupplyRequest_RangeQuery_

type ListSupplyRequest_RangeQuery_ struct {
	// range_query specifies the index key from/to values to use for the range query.
	RangeQuery *ListSupplyRequest_RangeQuery `protobuf:"bytes,2,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type ListSupplyResponse

type ListSupplyResponse struct {

	// values are the results of the query.
	Values []*Supply `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// pagination is the pagination response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

ListSupplyResponse is the BankQuery/ListSupplyResponse response type.

func (*ListSupplyResponse) Descriptor deprecated

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

Deprecated: Use ListSupplyResponse.ProtoReflect.Descriptor instead.

func (*ListSupplyResponse) GetPagination

func (x *ListSupplyResponse) GetPagination() *v1beta1.PageResponse

func (*ListSupplyResponse) GetValues

func (x *ListSupplyResponse) GetValues() []*Supply

func (*ListSupplyResponse) ProtoMessage

func (*ListSupplyResponse) ProtoMessage()

func (*ListSupplyResponse) ProtoReflect

func (x *ListSupplyResponse) ProtoReflect() protoreflect.Message

func (*ListSupplyResponse) Reset

func (x *ListSupplyResponse) Reset()

func (*ListSupplyResponse) String

func (x *ListSupplyResponse) String() string

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module is a test module for demonstrating how to use the ORM with appconfig.

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

func (x *Module) ProtoReflect() protoreflect.Message

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

type SimpleExample

type SimpleExample struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Unique    string `protobuf:"bytes,2,opt,name=unique,proto3" json:"unique,omitempty"`
	NotUnique string `protobuf:"bytes,3,opt,name=not_unique,json=notUnique,proto3" json:"not_unique,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleExample) Descriptor deprecated

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

Deprecated: Use SimpleExample.ProtoReflect.Descriptor instead.

func (*SimpleExample) GetName

func (x *SimpleExample) GetName() string

func (*SimpleExample) GetNotUnique

func (x *SimpleExample) GetNotUnique() string

func (*SimpleExample) GetUnique

func (x *SimpleExample) GetUnique() string

func (*SimpleExample) ProtoMessage

func (*SimpleExample) ProtoMessage()

func (*SimpleExample) ProtoReflect

func (x *SimpleExample) ProtoReflect() protoreflect.Message

func (*SimpleExample) Reset

func (x *SimpleExample) Reset()

func (*SimpleExample) String

func (x *SimpleExample) String() string

type SimpleExampleIndexKey

type SimpleExampleIndexKey interface {
	// contains filtered or unexported methods
}

type SimpleExampleIterator

type SimpleExampleIterator struct {
	ormtable.Iterator
}

func (SimpleExampleIterator) Value

type SimpleExampleNameIndexKey

type SimpleExampleNameIndexKey struct {
	// contains filtered or unexported fields
}

func (SimpleExampleNameIndexKey) WithName

type SimpleExamplePrimaryKey

type SimpleExamplePrimaryKey = SimpleExampleNameIndexKey

primary key starting index..

type SimpleExampleTable

type SimpleExampleTable interface {
	Insert(ctx context.Context, simpleExample *SimpleExample) error
	Update(ctx context.Context, simpleExample *SimpleExample) error
	Save(ctx context.Context, simpleExample *SimpleExample) error
	Delete(ctx context.Context, simpleExample *SimpleExample) error
	Has(ctx context.Context, name string) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, name string) (*SimpleExample, error)
	HasByUnique(ctx context.Context, unique string) (found bool, err error)
	// GetByUnique returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	GetByUnique(ctx context.Context, unique string) (*SimpleExample, error)
	List(ctx context.Context, prefixKey SimpleExampleIndexKey, opts ...ormlist.Option) (SimpleExampleIterator, error)
	ListRange(ctx context.Context, from, to SimpleExampleIndexKey, opts ...ormlist.Option) (SimpleExampleIterator, error)
	DeleteBy(ctx context.Context, prefixKey SimpleExampleIndexKey) error
	DeleteRange(ctx context.Context, from, to SimpleExampleIndexKey) error
	// contains filtered or unexported methods
}

func NewSimpleExampleTable

func NewSimpleExampleTable(db ormtable.Schema) (SimpleExampleTable, error)

type SimpleExampleUniqueIndexKey

type SimpleExampleUniqueIndexKey struct {
	// contains filtered or unexported fields
}

func (SimpleExampleUniqueIndexKey) WithUnique

type Supply

type Supply struct {
	Denom  string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Supply) Descriptor deprecated

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

Deprecated: Use Supply.ProtoReflect.Descriptor instead.

func (*Supply) GetAmount

func (x *Supply) GetAmount() uint64

func (*Supply) GetDenom

func (x *Supply) GetDenom() string

func (*Supply) ProtoMessage

func (*Supply) ProtoMessage()

func (*Supply) ProtoReflect

func (x *Supply) ProtoReflect() protoreflect.Message

func (*Supply) Reset

func (x *Supply) Reset()

func (*Supply) String

func (x *Supply) String() string

type SupplyDenomIndexKey

type SupplyDenomIndexKey struct {
	// contains filtered or unexported fields
}

func (SupplyDenomIndexKey) WithDenom

func (this SupplyDenomIndexKey) WithDenom(denom string) SupplyDenomIndexKey

type SupplyIndexKey

type SupplyIndexKey interface {
	// contains filtered or unexported methods
}

type SupplyIterator

type SupplyIterator struct {
	ormtable.Iterator
}

func (SupplyIterator) Value

func (i SupplyIterator) Value() (*Supply, error)

type SupplyPrimaryKey

type SupplyPrimaryKey = SupplyDenomIndexKey

primary key starting index..

type SupplyTable

type SupplyTable interface {
	Insert(ctx context.Context, supply *Supply) error
	Update(ctx context.Context, supply *Supply) error
	Save(ctx context.Context, supply *Supply) error
	Delete(ctx context.Context, supply *Supply) error
	Has(ctx context.Context, denom string) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, denom string) (*Supply, error)
	List(ctx context.Context, prefixKey SupplyIndexKey, opts ...ormlist.Option) (SupplyIterator, error)
	ListRange(ctx context.Context, from, to SupplyIndexKey, opts ...ormlist.Option) (SupplyIterator, error)
	DeleteBy(ctx context.Context, prefixKey SupplyIndexKey) error
	DeleteRange(ctx context.Context, from, to SupplyIndexKey) error
	// contains filtered or unexported methods
}

func NewSupplyTable

func NewSupplyTable(db ormtable.Schema) (SupplyTable, error)

type TestSchemaQueryServiceClient

type TestSchemaQueryServiceClient interface {
	// Get queries the ExampleTable table by its primary key.
	GetExampleTable(ctx context.Context, in *GetExampleTableRequest, opts ...grpc.CallOption) (*GetExampleTableResponse, error)
	// GetExampleTableByU64Str queries the ExampleTable table by its U64Str index
	GetExampleTableByU64Str(ctx context.Context, in *GetExampleTableByU64StrRequest, opts ...grpc.CallOption) (*GetExampleTableByU64StrResponse, error)
	// ListExampleTable queries the ExampleTable table using prefix and range queries against defined indexes.
	ListExampleTable(ctx context.Context, in *ListExampleTableRequest, opts ...grpc.CallOption) (*ListExampleTableResponse, error)
	// Get queries the ExampleAutoIncrementTable table by its primary key.
	GetExampleAutoIncrementTable(ctx context.Context, in *GetExampleAutoIncrementTableRequest, opts ...grpc.CallOption) (*GetExampleAutoIncrementTableResponse, error)
	// GetExampleAutoIncrementTableByX queries the ExampleAutoIncrementTable table by its X index
	GetExampleAutoIncrementTableByX(ctx context.Context, in *GetExampleAutoIncrementTableByXRequest, opts ...grpc.CallOption) (*GetExampleAutoIncrementTableByXResponse, error)
	// ListExampleAutoIncrementTable queries the ExampleAutoIncrementTable table using prefix and range queries against defined indexes.
	ListExampleAutoIncrementTable(ctx context.Context, in *ListExampleAutoIncrementTableRequest, opts ...grpc.CallOption) (*ListExampleAutoIncrementTableResponse, error)
	// GetExampleSingleton queries the ExampleSingleton singleton.
	GetExampleSingleton(ctx context.Context, in *GetExampleSingletonRequest, opts ...grpc.CallOption) (*GetExampleSingletonResponse, error)
	// Get queries the ExampleTimestamp table by its primary key.
	GetExampleTimestamp(ctx context.Context, in *GetExampleTimestampRequest, opts ...grpc.CallOption) (*GetExampleTimestampResponse, error)
	// ListExampleTimestamp queries the ExampleTimestamp table using prefix and range queries against defined indexes.
	ListExampleTimestamp(ctx context.Context, in *ListExampleTimestampRequest, opts ...grpc.CallOption) (*ListExampleTimestampResponse, error)
	// Get queries the ExampleDuration table by its primary key.
	GetExampleDuration(ctx context.Context, in *GetExampleDurationRequest, opts ...grpc.CallOption) (*GetExampleDurationResponse, error)
	// ListExampleDuration queries the ExampleDuration table using prefix and range queries against defined indexes.
	ListExampleDuration(ctx context.Context, in *ListExampleDurationRequest, opts ...grpc.CallOption) (*ListExampleDurationResponse, error)
	// Get queries the SimpleExample table by its primary key.
	GetSimpleExample(ctx context.Context, in *GetSimpleExampleRequest, opts ...grpc.CallOption) (*GetSimpleExampleResponse, error)
	// GetSimpleExampleByUnique queries the SimpleExample table by its Unique index
	GetSimpleExampleByUnique(ctx context.Context, in *GetSimpleExampleByUniqueRequest, opts ...grpc.CallOption) (*GetSimpleExampleByUniqueResponse, error)
	// ListSimpleExample queries the SimpleExample table using prefix and range queries against defined indexes.
	ListSimpleExample(ctx context.Context, in *ListSimpleExampleRequest, opts ...grpc.CallOption) (*ListSimpleExampleResponse, error)
	// Get queries the ExampleAutoIncFieldName table by its primary key.
	GetExampleAutoIncFieldName(ctx context.Context, in *GetExampleAutoIncFieldNameRequest, opts ...grpc.CallOption) (*GetExampleAutoIncFieldNameResponse, error)
	// ListExampleAutoIncFieldName queries the ExampleAutoIncFieldName table using prefix and range queries against defined indexes.
	ListExampleAutoIncFieldName(ctx context.Context, in *ListExampleAutoIncFieldNameRequest, opts ...grpc.CallOption) (*ListExampleAutoIncFieldNameResponse, error)
}

TestSchemaQueryServiceClient is the client API for TestSchemaQueryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTestSchemaQueryServiceClient

func NewTestSchemaQueryServiceClient(cc grpc.ClientConnInterface) TestSchemaQueryServiceClient

type TestSchemaQueryServiceServer

type TestSchemaQueryServiceServer interface {
	// Get queries the ExampleTable table by its primary key.
	GetExampleTable(context.Context, *GetExampleTableRequest) (*GetExampleTableResponse, error)
	// GetExampleTableByU64Str queries the ExampleTable table by its U64Str index
	GetExampleTableByU64Str(context.Context, *GetExampleTableByU64StrRequest) (*GetExampleTableByU64StrResponse, error)
	// ListExampleTable queries the ExampleTable table using prefix and range queries against defined indexes.
	ListExampleTable(context.Context, *ListExampleTableRequest) (*ListExampleTableResponse, error)
	// Get queries the ExampleAutoIncrementTable table by its primary key.
	GetExampleAutoIncrementTable(context.Context, *GetExampleAutoIncrementTableRequest) (*GetExampleAutoIncrementTableResponse, error)
	// GetExampleAutoIncrementTableByX queries the ExampleAutoIncrementTable table by its X index
	GetExampleAutoIncrementTableByX(context.Context, *GetExampleAutoIncrementTableByXRequest) (*GetExampleAutoIncrementTableByXResponse, error)
	// ListExampleAutoIncrementTable queries the ExampleAutoIncrementTable table using prefix and range queries against defined indexes.
	ListExampleAutoIncrementTable(context.Context, *ListExampleAutoIncrementTableRequest) (*ListExampleAutoIncrementTableResponse, error)
	// GetExampleSingleton queries the ExampleSingleton singleton.
	GetExampleSingleton(context.Context, *GetExampleSingletonRequest) (*GetExampleSingletonResponse, error)
	// Get queries the ExampleTimestamp table by its primary key.
	GetExampleTimestamp(context.Context, *GetExampleTimestampRequest) (*GetExampleTimestampResponse, error)
	// ListExampleTimestamp queries the ExampleTimestamp table using prefix and range queries against defined indexes.
	ListExampleTimestamp(context.Context, *ListExampleTimestampRequest) (*ListExampleTimestampResponse, error)
	// Get queries the ExampleDuration table by its primary key.
	GetExampleDuration(context.Context, *GetExampleDurationRequest) (*GetExampleDurationResponse, error)
	// ListExampleDuration queries the ExampleDuration table using prefix and range queries against defined indexes.
	ListExampleDuration(context.Context, *ListExampleDurationRequest) (*ListExampleDurationResponse, error)
	// Get queries the SimpleExample table by its primary key.
	GetSimpleExample(context.Context, *GetSimpleExampleRequest) (*GetSimpleExampleResponse, error)
	// GetSimpleExampleByUnique queries the SimpleExample table by its Unique index
	GetSimpleExampleByUnique(context.Context, *GetSimpleExampleByUniqueRequest) (*GetSimpleExampleByUniqueResponse, error)
	// ListSimpleExample queries the SimpleExample table using prefix and range queries against defined indexes.
	ListSimpleExample(context.Context, *ListSimpleExampleRequest) (*ListSimpleExampleResponse, error)
	// Get queries the ExampleAutoIncFieldName table by its primary key.
	GetExampleAutoIncFieldName(context.Context, *GetExampleAutoIncFieldNameRequest) (*GetExampleAutoIncFieldNameResponse, error)
	// ListExampleAutoIncFieldName queries the ExampleAutoIncFieldName table using prefix and range queries against defined indexes.
	ListExampleAutoIncFieldName(context.Context, *ListExampleAutoIncFieldNameRequest) (*ListExampleAutoIncFieldNameResponse, error)
	// contains filtered or unexported methods
}

TestSchemaQueryServiceServer is the server API for TestSchemaQueryService service. All implementations must embed UnimplementedTestSchemaQueryServiceServer for forward compatibility

type TestSchemaStore

type TestSchemaStore interface {
	ExampleTableTable() ExampleTableTable
	ExampleAutoIncrementTableTable() ExampleAutoIncrementTableTable
	ExampleSingletonTable() ExampleSingletonTable
	ExampleTimestampTable() ExampleTimestampTable
	ExampleDurationTable() ExampleDurationTable
	SimpleExampleTable() SimpleExampleTable
	ExampleAutoIncFieldNameTable() ExampleAutoIncFieldNameTable
	// contains filtered or unexported methods
}

func NewTestSchemaStore

func NewTestSchemaStore(db ormtable.Schema) (TestSchemaStore, error)

type UnimplementedBankQueryServiceServer

type UnimplementedBankQueryServiceServer struct {
}

UnimplementedBankQueryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBankQueryServiceServer) GetBalance

func (UnimplementedBankQueryServiceServer) GetSupply

func (UnimplementedBankQueryServiceServer) ListBalance

func (UnimplementedBankQueryServiceServer) ListSupply

type UnimplementedTestSchemaQueryServiceServer

type UnimplementedTestSchemaQueryServiceServer struct {
}

UnimplementedTestSchemaQueryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTestSchemaQueryServiceServer) GetExampleAutoIncFieldName

func (UnimplementedTestSchemaQueryServiceServer) GetExampleAutoIncrementTable

func (UnimplementedTestSchemaQueryServiceServer) GetExampleAutoIncrementTableByX

func (UnimplementedTestSchemaQueryServiceServer) GetExampleDuration

func (UnimplementedTestSchemaQueryServiceServer) GetExampleSingleton

func (UnimplementedTestSchemaQueryServiceServer) GetExampleTable

func (UnimplementedTestSchemaQueryServiceServer) GetExampleTableByU64Str

func (UnimplementedTestSchemaQueryServiceServer) GetExampleTimestamp

func (UnimplementedTestSchemaQueryServiceServer) GetSimpleExample

func (UnimplementedTestSchemaQueryServiceServer) GetSimpleExampleByUnique

func (UnimplementedTestSchemaQueryServiceServer) ListExampleAutoIncFieldName

func (UnimplementedTestSchemaQueryServiceServer) ListExampleAutoIncrementTable

func (UnimplementedTestSchemaQueryServiceServer) ListExampleDuration

func (UnimplementedTestSchemaQueryServiceServer) ListExampleTable

func (UnimplementedTestSchemaQueryServiceServer) ListExampleTimestamp

func (UnimplementedTestSchemaQueryServiceServer) ListSimpleExample

type UnsafeBankQueryServiceServer

type UnsafeBankQueryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBankQueryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BankQueryServiceServer will result in compilation errors.

type UnsafeTestSchemaQueryServiceServer

type UnsafeTestSchemaQueryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTestSchemaQueryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestSchemaQueryServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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