pagination

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpPaginationOption

type OpPaginationOption struct {
	PageSize             *wrappers.Int32Value  `protobuf:"bytes,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken            *wrappers.StringValue `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*OpPaginationOption) Descriptor

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

func (*OpPaginationOption) GetPageSize

func (m *OpPaginationOption) GetPageSize() *wrappers.Int32Value

func (*OpPaginationOption) GetPageToken

func (m *OpPaginationOption) GetPageToken() *wrappers.StringValue

func (*OpPaginationOption) ProtoMessage

func (*OpPaginationOption) ProtoMessage()

func (*OpPaginationOption) Reset

func (m *OpPaginationOption) Reset()

func (*OpPaginationOption) String

func (m *OpPaginationOption) String() string

func (*OpPaginationOption) Validate

func (m *OpPaginationOption) Validate() error

Validate checks the field values on OpPaginationOption with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OpPaginationOption) XXX_DiscardUnknown

func (m *OpPaginationOption) XXX_DiscardUnknown()

func (*OpPaginationOption) XXX_Marshal

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

func (*OpPaginationOption) XXX_Merge

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

func (*OpPaginationOption) XXX_Size

func (m *OpPaginationOption) XXX_Size() int

func (*OpPaginationOption) XXX_Unmarshal

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

type OpPaginationOptionValidationError

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

OpPaginationOptionValidationError is the validation error returned by OpPaginationOption.Validate if the designated constraints aren't met.

func (OpPaginationOptionValidationError) Cause

Cause function returns cause value.

func (OpPaginationOptionValidationError) Error

Error satisfies the builtin error interface

func (OpPaginationOptionValidationError) ErrorName

ErrorName returns error name.

func (OpPaginationOptionValidationError) Field

Field function returns field value.

func (OpPaginationOptionValidationError) Key

Key function returns key value.

func (OpPaginationOptionValidationError) Reason

Reason function returns reason value.

type PaginationOption

type PaginationOption struct {
	NextPageToken        string   `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PaginationOption) Descriptor

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

func (*PaginationOption) GetNextPageToken

func (m *PaginationOption) GetNextPageToken() string

func (*PaginationOption) ProtoMessage

func (*PaginationOption) ProtoMessage()

func (*PaginationOption) Reset

func (m *PaginationOption) Reset()

func (*PaginationOption) String

func (m *PaginationOption) String() string

func (*PaginationOption) Validate

func (m *PaginationOption) Validate() error

Validate checks the field values on PaginationOption with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PaginationOption) XXX_DiscardUnknown

func (m *PaginationOption) XXX_DiscardUnknown()

func (*PaginationOption) XXX_Marshal

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

func (*PaginationOption) XXX_Merge

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

func (*PaginationOption) XXX_Size

func (m *PaginationOption) XXX_Size() int

func (*PaginationOption) XXX_Unmarshal

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

type PaginationOptionValidationError

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

PaginationOptionValidationError is the validation error returned by PaginationOption.Validate if the designated constraints aren't met.

func (PaginationOptionValidationError) Cause

Cause function returns cause value.

func (PaginationOptionValidationError) Error

Error satisfies the builtin error interface

func (PaginationOptionValidationError) ErrorName

ErrorName returns error name.

func (PaginationOptionValidationError) Field

Field function returns field value.

func (PaginationOptionValidationError) Key

Key function returns key value.

func (PaginationOptionValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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