Documentation ¶
Index ¶
- Variables
- type Example
- type PaginatedRequest
- func (*PaginatedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaginatedRequest) GetCursor() []byte
- func (x *PaginatedRequest) GetLimit() uint32
- func (*PaginatedRequest) ProtoMessage()
- func (x *PaginatedRequest) ProtoReflect() protoreflect.Message
- func (x *PaginatedRequest) Reset()
- func (x *PaginatedRequest) String() string
- type PaginatedResponse
- func (*PaginatedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaginatedResponse) GetItems() []*anypb.Any
- func (x *PaginatedResponse) GetNextCursor() []byte
- func (*PaginatedResponse) ProtoMessage()
- func (x *PaginatedResponse) ProtoReflect() protoreflect.Message
- func (x *PaginatedResponse) Reset()
- func (x *PaginatedResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Example_name = map[int32]string{ 0: "EXAMPLE_UNSPECIFIED", 1: "EXAMPLE_FOO", } Example_value = map[string]int32{ "EXAMPLE_UNSPECIFIED": 0, "EXAMPLE_FOO": 1, } )
Enum value maps for Example.
View Source
var File_test_simple_common_v1_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Example ¶ added in v1.14.2
type Example int32
func (Example) Descriptor ¶ added in v1.14.2
func (Example) Descriptor() protoreflect.EnumDescriptor
func (Example) EnumDescriptor
deprecated
added in
v1.14.2
func (Example) Number ¶ added in v1.14.2
func (x Example) Number() protoreflect.EnumNumber
func (Example) Type ¶ added in v1.14.2
func (Example) Type() protoreflect.EnumType
type PaginatedRequest ¶
type PaginatedRequest struct { Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Cursor []byte `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*PaginatedRequest) Descriptor
deprecated
func (*PaginatedRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaginatedRequest.ProtoReflect.Descriptor instead.
func (*PaginatedRequest) GetCursor ¶
func (x *PaginatedRequest) GetCursor() []byte
func (*PaginatedRequest) GetLimit ¶
func (x *PaginatedRequest) GetLimit() uint32
func (*PaginatedRequest) ProtoMessage ¶
func (*PaginatedRequest) ProtoMessage()
func (*PaginatedRequest) ProtoReflect ¶
func (x *PaginatedRequest) ProtoReflect() protoreflect.Message
func (*PaginatedRequest) Reset ¶
func (x *PaginatedRequest) Reset()
func (*PaginatedRequest) String ¶
func (x *PaginatedRequest) String() string
type PaginatedResponse ¶
type PaginatedResponse struct { Items []*anypb.Any `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` NextCursor []byte `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // contains filtered or unexported fields }
func (*PaginatedResponse) Descriptor
deprecated
func (*PaginatedResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaginatedResponse.ProtoReflect.Descriptor instead.
func (*PaginatedResponse) GetItems ¶
func (x *PaginatedResponse) GetItems() []*anypb.Any
func (*PaginatedResponse) GetNextCursor ¶
func (x *PaginatedResponse) GetNextCursor() []byte
func (*PaginatedResponse) ProtoMessage ¶
func (*PaginatedResponse) ProtoMessage()
func (*PaginatedResponse) ProtoReflect ¶
func (x *PaginatedResponse) ProtoReflect() protoreflect.Message
func (*PaginatedResponse) Reset ¶
func (x *PaginatedResponse) Reset()
func (*PaginatedResponse) String ¶
func (x *PaginatedResponse) String() string
Click to show internal directories.
Click to hide internal directories.