Documentation ¶
Index ¶
- Variables
- type IdentityKind
- func (IdentityKind) Descriptor() protoreflect.EnumDescriptor
- func (x IdentityKind) Enum() *IdentityKind
- func (IdentityKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x IdentityKind) Number() protoreflect.EnumNumber
- func (x IdentityKind) String() string
- func (IdentityKind) Type() protoreflect.EnumType
- type PageCursor
- func (*PageCursor) Descriptor() ([]byte, []int)deprecated
- func (x *PageCursor) GetDir() PageDir
- func (x *PageCursor) GetLastId() string
- func (x *PageCursor) GetLimit() uint32
- func (*PageCursor) ProtoMessage()
- func (x *PageCursor) ProtoReflect() protoreflect.Message
- func (x *PageCursor) Reset()
- func (x *PageCursor) String() string
- type PageDir
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetFirstId() string
- func (x *PageInfo) GetHasNext() bool
- func (x *PageInfo) GetHasPrev() bool
- func (x *PageInfo) GetLastId() string
- func (x *PageInfo) GetLength() uint32
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PageDir_name = map[int32]string{ 0: "PAGE_DIR_FORWARD", 1: "PAGE_DIR_BACKWARD", } PageDir_value = map[string]int32{ "PAGE_DIR_FORWARD": 0, "PAGE_DIR_BACKWARD": 1, } )
Enum value maps for PageDir.
View Source
var ( IdentityKind_name = map[int32]string{ 0: "IDENTITY_KIND_UNSPECIFIED", 1: "IDENTITY_KIND_USER", 2: "IDENTITY_KIND_APP", } IdentityKind_value = map[string]int32{ "IDENTITY_KIND_UNSPECIFIED": 0, "IDENTITY_KIND_USER": 1, "IDENTITY_KIND_APP": 2, } )
Enum value maps for IdentityKind.
View Source
var File_common_v1_cursor_proto protoreflect.FileDescriptor
View Source
var File_common_v1_identity_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type IdentityKind ¶
type IdentityKind int32
const ( IdentityKind_IDENTITY_KIND_UNSPECIFIED IdentityKind = 0 IdentityKind_IDENTITY_KIND_USER IdentityKind = 1 IdentityKind_IDENTITY_KIND_APP IdentityKind = 2 )
func (IdentityKind) Descriptor ¶
func (IdentityKind) Descriptor() protoreflect.EnumDescriptor
func (IdentityKind) Enum ¶
func (x IdentityKind) Enum() *IdentityKind
func (IdentityKind) EnumDescriptor
deprecated
func (IdentityKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use IdentityKind.Descriptor instead.
func (IdentityKind) Number ¶
func (x IdentityKind) Number() protoreflect.EnumNumber
func (IdentityKind) String ¶
func (x IdentityKind) String() string
func (IdentityKind) Type ¶
func (IdentityKind) Type() protoreflect.EnumType
type PageCursor ¶
type PageCursor struct { LastId string `protobuf:"bytes,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Dir PageDir `protobuf:"varint,3,opt,name=dir,proto3,enum=common.v1.PageDir" json:"dir,omitempty"` // contains filtered or unexported fields }
func (*PageCursor) Descriptor
deprecated
func (*PageCursor) Descriptor() ([]byte, []int)
Deprecated: Use PageCursor.ProtoReflect.Descriptor instead.
func (*PageCursor) GetDir ¶
func (x *PageCursor) GetDir() PageDir
func (*PageCursor) GetLastId ¶
func (x *PageCursor) GetLastId() string
func (*PageCursor) GetLimit ¶
func (x *PageCursor) GetLimit() uint32
func (*PageCursor) ProtoMessage ¶
func (*PageCursor) ProtoMessage()
func (*PageCursor) ProtoReflect ¶
func (x *PageCursor) ProtoReflect() protoreflect.Message
func (*PageCursor) Reset ¶
func (x *PageCursor) Reset()
func (*PageCursor) String ¶
func (x *PageCursor) String() string
type PageDir ¶
type PageDir int32
buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
func (PageDir) Descriptor ¶
func (PageDir) Descriptor() protoreflect.EnumDescriptor
func (PageDir) EnumDescriptor
deprecated
func (PageDir) Number ¶
func (x PageDir) Number() protoreflect.EnumNumber
func (PageDir) Type ¶
func (PageDir) Type() protoreflect.EnumType
type PageInfo ¶
type PageInfo struct { FirstId *string `protobuf:"bytes,1,opt,name=first_id,json=firstId,proto3,oneof" json:"first_id,omitempty"` LastId *string `protobuf:"bytes,2,opt,name=last_id,json=lastId,proto3,oneof" json:"last_id,omitempty"` HasPrev bool `protobuf:"varint,3,opt,name=has_prev,json=hasPrev,proto3" json:"has_prev,omitempty"` HasNext bool `protobuf:"varint,4,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"` Length uint32 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*PageInfo) Descriptor
deprecated
func (*PageInfo) GetFirstId ¶
func (*PageInfo) GetHasNext ¶
func (*PageInfo) GetHasPrev ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.