options

package
v0.0.0-...-f84996e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional kagadar.protoexpr.options.MessageCollectionOptions collection = 20220413;
	E_Collection = &file_proto_options_options_proto_extTypes[1]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional kagadar.protoexpr.options.FieldFilteringOptions filtering = 20220413;
	E_Filtering = &file_proto_options_options_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional kagadar.protoexpr.options.MethodPaginationOptions pagination = 20220413;
	E_Pagination = &file_proto_options_options_proto_extTypes[2]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_proto_options_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FieldFilteringOptions

type FieldFilteringOptions struct {

	// This field implements all standard filtering operations.
	// Defaults to true.
	Filterable *bool `protobuf:"varint,1,opt,name=filterable,proto3,oneof" json:"filterable,omitempty"`
	// This field participates in fuzzy search.
	// Only applicable to primitive types.
	// Defaults to false.
	Searchable *bool `protobuf:"varint,2,opt,name=searchable,proto3,oneof" json:"searchable,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldFilteringOptions) Descriptor deprecated

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

Deprecated: Use FieldFilteringOptions.ProtoReflect.Descriptor instead.

func (*FieldFilteringOptions) GetFilterable

func (x *FieldFilteringOptions) GetFilterable() bool

func (*FieldFilteringOptions) GetSearchable

func (x *FieldFilteringOptions) GetSearchable() bool

func (*FieldFilteringOptions) ProtoMessage

func (*FieldFilteringOptions) ProtoMessage()

func (*FieldFilteringOptions) ProtoReflect

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

func (*FieldFilteringOptions) Reset

func (x *FieldFilteringOptions) Reset()

func (*FieldFilteringOptions) String

func (x *FieldFilteringOptions) String() string

type MessageCollectionOptions

type MessageCollectionOptions struct {

	// Specifies the field number of the collection that is wrapped by a ListResponse that is not the first field.
	CollectionFieldNumber *int32 `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessageCollectionOptions) Descriptor deprecated

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

Deprecated: Use MessageCollectionOptions.ProtoReflect.Descriptor instead.

func (*MessageCollectionOptions) GetCollectionFieldNumber

func (x *MessageCollectionOptions) GetCollectionFieldNumber() int32

func (*MessageCollectionOptions) ProtoMessage

func (*MessageCollectionOptions) ProtoMessage()

func (*MessageCollectionOptions) ProtoReflect

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

func (*MessageCollectionOptions) Reset

func (x *MessageCollectionOptions) Reset()

func (*MessageCollectionOptions) String

func (x *MessageCollectionOptions) String() string

type MethodPaginationOptions

type MethodPaginationOptions struct {

	// When the page size is unspecified in a request, how many results should be returned.
	DefaultPageSize *int32 `protobuf:"varint,1,opt,name=default_page_size,json=defaultPageSize,proto3,oneof" json:"default_page_size,omitempty"`
	// What is the maximum page size.
	MaxPageSize *int32 `protobuf:"varint,2,opt,name=max_page_size,json=maxPageSize,proto3,oneof" json:"max_page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*MethodPaginationOptions) Descriptor deprecated

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

Deprecated: Use MethodPaginationOptions.ProtoReflect.Descriptor instead.

func (*MethodPaginationOptions) GetDefaultPageSize

func (x *MethodPaginationOptions) GetDefaultPageSize() int32

func (*MethodPaginationOptions) GetMaxPageSize

func (x *MethodPaginationOptions) GetMaxPageSize() int32

func (*MethodPaginationOptions) ProtoMessage

func (*MethodPaginationOptions) ProtoMessage()

func (*MethodPaginationOptions) ProtoReflect

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

func (*MethodPaginationOptions) Reset

func (x *MethodPaginationOptions) Reset()

func (*MethodPaginationOptions) String

func (x *MethodPaginationOptions) String() string

Jump to

Keyboard shortcuts

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