filters

package
v0.0.0-...-a4452f2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BoolFilterOp_name = map[int32]string{
		0: "OR",
		1: "AND",
		2: "NOT",
	}
	BoolFilterOp_value = map[string]int32{
		"OR":  0,
		"AND": 1,
		"NOT": 2,
	}
)

Enum value maps for BoolFilterOp.

View Source
var (
	SortOrder_name = map[int32]string{
		0: "NoOrder",
		1: "Ascending",
		2: "Descending",
	}
	SortOrder_value = map[string]int32{
		"NoOrder":    0,
		"Ascending":  1,
		"Descending": 2,
	}
)

Enum value maps for SortOrder.

View Source
var File_graffiti_filters_filters_proto protoreflect.FileDescriptor

Functions

func IPV4CIDRToRegex

func IPV4CIDRToRegex(cidr string) (string, error)

IPV4CIDRToRegex returns a regex matching IPs belonging to a given cidr

func RangeToRegex

func RangeToRegex(min, max int) string

RangeToRegex returns a regular expression matching number in the given range Golang version of https://github.com/dimka665/range-regex

Types

type BoolFilter

type BoolFilter struct {
	Op      BoolFilterOp `protobuf:"varint,1,opt,name=Op,proto3,enum=filters.BoolFilterOp" json:"Op,omitempty"`
	Filters []*Filter    `protobuf:"bytes,2,rep,name=Filters,proto3" json:"Filters,omitempty"`
	// contains filtered or unexported fields
}

func (*BoolFilter) Descriptor deprecated

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

Deprecated: Use BoolFilter.ProtoReflect.Descriptor instead.

func (*BoolFilter) Eval

func (b *BoolFilter) Eval(g getter.Getter) bool

Eval evaluates a boolean (not, and, or) filter

func (*BoolFilter) GetFilters

func (x *BoolFilter) GetFilters() []*Filter

func (*BoolFilter) GetOp

func (x *BoolFilter) GetOp() BoolFilterOp

func (*BoolFilter) ProtoMessage

func (*BoolFilter) ProtoMessage()

func (*BoolFilter) ProtoReflect

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

func (*BoolFilter) Reset

func (x *BoolFilter) Reset()

func (*BoolFilter) String

func (x *BoolFilter) String() string

type BoolFilterOp

type BoolFilterOp int32
const (
	BoolFilterOp_OR  BoolFilterOp = 0
	BoolFilterOp_AND BoolFilterOp = 1
	BoolFilterOp_NOT BoolFilterOp = 2
)

func (BoolFilterOp) Descriptor

func (BoolFilterOp) Enum

func (x BoolFilterOp) Enum() *BoolFilterOp

func (BoolFilterOp) EnumDescriptor deprecated

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

Deprecated: Use BoolFilterOp.Descriptor instead.

func (BoolFilterOp) Number

func (BoolFilterOp) String

func (x BoolFilterOp) String() string

func (BoolFilterOp) Type

type Filter

type Filter struct {
	TermStringFilter *TermStringFilter `protobuf:"bytes,1,opt,name=TermStringFilter,proto3" json:"TermStringFilter,omitempty"`
	TermInt64Filter  *TermInt64Filter  `protobuf:"bytes,2,opt,name=TermInt64Filter,proto3" json:"TermInt64Filter,omitempty"`
	TermBoolFilter   *TermBoolFilter   `protobuf:"bytes,3,opt,name=TermBoolFilter,proto3" json:"TermBoolFilter,omitempty"`
	GtInt64Filter    *GtInt64Filter    `protobuf:"bytes,4,opt,name=GtInt64Filter,proto3" json:"GtInt64Filter,omitempty"`
	LtInt64Filter    *LtInt64Filter    `protobuf:"bytes,5,opt,name=LtInt64Filter,proto3" json:"LtInt64Filter,omitempty"`
	GteInt64Filter   *GteInt64Filter   `protobuf:"bytes,6,opt,name=GteInt64Filter,proto3" json:"GteInt64Filter,omitempty"`
	LteInt64Filter   *LteInt64Filter   `protobuf:"bytes,7,opt,name=LteInt64Filter,proto3" json:"LteInt64Filter,omitempty"`
	BoolFilter       *BoolFilter       `protobuf:"bytes,8,opt,name=BoolFilter,proto3" json:"BoolFilter,omitempty"`
	RegexFilter      *RegexFilter      `protobuf:"bytes,9,opt,name=RegexFilter,proto3" json:"RegexFilter,omitempty"`
	NullFilter       *NullFilter       `protobuf:"bytes,10,opt,name=NullFilter,proto3" json:"NullFilter,omitempty"`
	IPV4RangeFilter  *IPV4RangeFilter  `protobuf:"bytes,11,opt,name=IPV4RangeFilter,proto3" json:"IPV4RangeFilter,omitempty"`
	// contains filtered or unexported fields
}

func NewAndFilter

func NewAndFilter(filters ...*Filter) *Filter

NewAndFilter creates a new boolean And filter

func NewBoolFilter

func NewBoolFilter(op BoolFilterOp, filters ...*Filter) *Filter

NewBoolFilter creates a new boolean filter

func NewFilterActiveIn

func NewFilterActiveIn(fr Range, prefix string) *Filter

NewFilterActiveIn returns a filter that returns elements that were active in the given time range.

func NewFilterIncludedIn

func NewFilterIncludedIn(fr Range, prefix string) *Filter

NewFilterIncludedIn returns a filter that returns elements that include in the time range.

func NewGtInt64Filter

func NewGtInt64Filter(key string, value int64) *Filter

NewGtInt64Filter creates a new > filter

func NewGteInt64Filter

func NewGteInt64Filter(key string, value int64) *Filter

NewGteInt64Filter creates a new >= filter

func NewLtInt64Filter

func NewLtInt64Filter(key string, value int64) *Filter

NewLtInt64Filter creates a new < filter

func NewLteInt64Filter

func NewLteInt64Filter(key string, value int64) *Filter

NewLteInt64Filter creates a new <= filter

func NewNotFilter

func NewNotFilter(filter *Filter) *Filter

NewNotFilter creates a new boolean Not filter

func NewNotNullFilter

func NewNotNullFilter(key string) *Filter

NewNotNullFilter returns a filter that returns elements with a field set.

func NewNullFilter

func NewNullFilter(key string) *Filter

NewNullFilter creates a new null filter

func NewOrFilter

func NewOrFilter(filters ...*Filter) *Filter

NewOrFilter creates a new boolean Or filter

func NewOrTermStringFilter

func NewOrTermStringFilter(values []string, attrs ...string) *Filter

NewOrTermStringFilter creates a new "or" filter based on values and attributes

func NewTermBoolFilter

func NewTermBoolFilter(key string, value bool) *Filter

NewTermBoolFilter creates a new bool filter

func NewTermInt64Filter

func NewTermInt64Filter(key string, value int64) *Filter

NewTermInt64Filter creates a new string iny64 filter

func NewTermStringFilter

func NewTermStringFilter(key string, value string) *Filter

NewTermStringFilter creates a new string filter

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) Eval

func (f *Filter) Eval(g getter.Getter) bool

Eval evaluates a filter

func (*Filter) GetBoolFilter

func (x *Filter) GetBoolFilter() *BoolFilter

func (*Filter) GetGtInt64Filter

func (x *Filter) GetGtInt64Filter() *GtInt64Filter

func (*Filter) GetGteInt64Filter

func (x *Filter) GetGteInt64Filter() *GteInt64Filter

func (*Filter) GetIPV4RangeFilter

func (x *Filter) GetIPV4RangeFilter() *IPV4RangeFilter

func (*Filter) GetLtInt64Filter

func (x *Filter) GetLtInt64Filter() *LtInt64Filter

func (*Filter) GetLteInt64Filter

func (x *Filter) GetLteInt64Filter() *LteInt64Filter

func (*Filter) GetNullFilter

func (x *Filter) GetNullFilter() *NullFilter

func (*Filter) GetRegexFilter

func (x *Filter) GetRegexFilter() *RegexFilter

func (*Filter) GetTermBoolFilter

func (x *Filter) GetTermBoolFilter() *TermBoolFilter

func (*Filter) GetTermInt64Filter

func (x *Filter) GetTermInt64Filter() *TermInt64Filter

func (*Filter) GetTermStringFilter

func (x *Filter) GetTermStringFilter() *TermStringFilter

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type GtInt64Filter

type GtInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*GtInt64Filter) Descriptor deprecated

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

Deprecated: Use GtInt64Filter.ProtoReflect.Descriptor instead.

func (*GtInt64Filter) GetKey

func (x *GtInt64Filter) GetKey() string

func (*GtInt64Filter) GetValue

func (x *GtInt64Filter) GetValue() int64

func (*GtInt64Filter) ProtoMessage

func (*GtInt64Filter) ProtoMessage()

func (*GtInt64Filter) ProtoReflect

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

func (*GtInt64Filter) Reset

func (x *GtInt64Filter) Reset()

func (*GtInt64Filter) String

func (x *GtInt64Filter) String() string

type GteInt64Filter

type GteInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*GteInt64Filter) Descriptor deprecated

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

Deprecated: Use GteInt64Filter.ProtoReflect.Descriptor instead.

func (*GteInt64Filter) GetKey

func (x *GteInt64Filter) GetKey() string

func (*GteInt64Filter) GetValue

func (x *GteInt64Filter) GetValue() int64

func (*GteInt64Filter) ProtoMessage

func (*GteInt64Filter) ProtoMessage()

func (*GteInt64Filter) ProtoReflect

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

func (*GteInt64Filter) Reset

func (x *GteInt64Filter) Reset()

func (*GteInt64Filter) String

func (x *GteInt64Filter) String() string

type IPV4RangeFilter

type IPV4RangeFilter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func NewIPV4RangeFilter

func NewIPV4RangeFilter(key, cidr string) (*IPV4RangeFilter, error)

NewIPV4RangeFilter creates a regex based filter corresponding to the ip range

func (*IPV4RangeFilter) Descriptor deprecated

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

Deprecated: Use IPV4RangeFilter.ProtoReflect.Descriptor instead.

func (*IPV4RangeFilter) GetKey

func (x *IPV4RangeFilter) GetKey() string

func (*IPV4RangeFilter) GetValue

func (x *IPV4RangeFilter) GetValue() string

func (*IPV4RangeFilter) ProtoMessage

func (*IPV4RangeFilter) ProtoMessage()

func (*IPV4RangeFilter) ProtoReflect

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

func (*IPV4RangeFilter) Reset

func (x *IPV4RangeFilter) Reset()

func (*IPV4RangeFilter) String

func (x *IPV4RangeFilter) String() string

type LtInt64Filter

type LtInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*LtInt64Filter) Descriptor deprecated

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

Deprecated: Use LtInt64Filter.ProtoReflect.Descriptor instead.

func (*LtInt64Filter) GetKey

func (x *LtInt64Filter) GetKey() string

func (*LtInt64Filter) GetValue

func (x *LtInt64Filter) GetValue() int64

func (*LtInt64Filter) ProtoMessage

func (*LtInt64Filter) ProtoMessage()

func (*LtInt64Filter) ProtoReflect

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

func (*LtInt64Filter) Reset

func (x *LtInt64Filter) Reset()

func (*LtInt64Filter) String

func (x *LtInt64Filter) String() string

type LteInt64Filter

type LteInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*LteInt64Filter) Descriptor deprecated

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

Deprecated: Use LteInt64Filter.ProtoReflect.Descriptor instead.

func (*LteInt64Filter) GetKey

func (x *LteInt64Filter) GetKey() string

func (*LteInt64Filter) GetValue

func (x *LteInt64Filter) GetValue() int64

func (*LteInt64Filter) ProtoMessage

func (*LteInt64Filter) ProtoMessage()

func (*LteInt64Filter) ProtoReflect

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

func (*LteInt64Filter) Reset

func (x *LteInt64Filter) Reset()

func (*LteInt64Filter) String

func (x *LteInt64Filter) String() string

type NeInt64Filter

type NeInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*NeInt64Filter) Descriptor deprecated

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

Deprecated: Use NeInt64Filter.ProtoReflect.Descriptor instead.

func (*NeInt64Filter) GetKey

func (x *NeInt64Filter) GetKey() string

func (*NeInt64Filter) GetValue

func (x *NeInt64Filter) GetValue() int64

func (*NeInt64Filter) ProtoMessage

func (*NeInt64Filter) ProtoMessage()

func (*NeInt64Filter) ProtoReflect

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

func (*NeInt64Filter) Reset

func (x *NeInt64Filter) Reset()

func (*NeInt64Filter) String

func (x *NeInt64Filter) String() string

type NeStringFilter

type NeStringFilter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*NeStringFilter) Descriptor deprecated

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

Deprecated: Use NeStringFilter.ProtoReflect.Descriptor instead.

func (*NeStringFilter) GetKey

func (x *NeStringFilter) GetKey() string

func (*NeStringFilter) GetValue

func (x *NeStringFilter) GetValue() string

func (*NeStringFilter) ProtoMessage

func (*NeStringFilter) ProtoMessage()

func (*NeStringFilter) ProtoReflect

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

func (*NeStringFilter) Reset

func (x *NeStringFilter) Reset()

func (*NeStringFilter) String

func (x *NeStringFilter) String() string

type NullFilter

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

func (*NullFilter) Descriptor deprecated

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

Deprecated: Use NullFilter.ProtoReflect.Descriptor instead.

func (*NullFilter) GetKey

func (x *NullFilter) GetKey() string

func (*NullFilter) ProtoMessage

func (*NullFilter) ProtoMessage()

func (*NullFilter) ProtoReflect

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

func (*NullFilter) Reset

func (x *NullFilter) Reset()

func (*NullFilter) String

func (x *NullFilter) String() string

type Range

type Range struct {
	From int64 `protobuf:"varint,1,opt,name=From,proto3" json:"From,omitempty"`
	To   int64 `protobuf:"varint,2,opt,name=To,proto3" json:"To,omitempty"`
	// contains filtered or unexported fields
}

func (*Range) Descriptor deprecated

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

Deprecated: Use Range.ProtoReflect.Descriptor instead.

func (*Range) GetFrom

func (x *Range) GetFrom() int64

func (*Range) GetTo

func (x *Range) GetTo() int64

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) ProtoReflect

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

func (*Range) Reset

func (x *Range) Reset()

func (*Range) String

func (x *Range) String() string

type RegexFilter

type RegexFilter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func NewRegexFilter

func NewRegexFilter(key string, pattern string) (*RegexFilter, error)

NewRegexFilter returns a new regular expression based filter

func (*RegexFilter) Descriptor deprecated

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

Deprecated: Use RegexFilter.ProtoReflect.Descriptor instead.

func (*RegexFilter) GetKey

func (x *RegexFilter) GetKey() string

func (*RegexFilter) GetValue

func (x *RegexFilter) GetValue() string

func (*RegexFilter) ProtoMessage

func (*RegexFilter) ProtoMessage()

func (*RegexFilter) ProtoReflect

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

func (*RegexFilter) Reset

func (x *RegexFilter) Reset()

func (*RegexFilter) String

func (x *RegexFilter) String() string

type SearchQuery

type SearchQuery struct {
	Filter          *Filter   `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"`
	PaginationRange *Range    `protobuf:"bytes,2,opt,name=PaginationRange,proto3" json:"PaginationRange,omitempty"`
	Sort            bool      `protobuf:"varint,3,opt,name=Sort,proto3" json:"Sort,omitempty"`
	Dedup           bool      `protobuf:"varint,4,opt,name=Dedup,proto3" json:"Dedup,omitempty"`
	DedupBy         string    `protobuf:"bytes,5,opt,name=DedupBy,proto3" json:"DedupBy,omitempty"`
	SortBy          string    `protobuf:"bytes,6,opt,name=SortBy,proto3" json:"SortBy,omitempty"`
	SortOrder       SortOrder `protobuf:"varint,7,opt,name=SortOrder,proto3,enum=filters.SortOrder" json:"SortOrder,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchQuery) Descriptor deprecated

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

Deprecated: Use SearchQuery.ProtoReflect.Descriptor instead.

func (*SearchQuery) GetDedup

func (x *SearchQuery) GetDedup() bool

func (*SearchQuery) GetDedupBy

func (x *SearchQuery) GetDedupBy() string

func (*SearchQuery) GetFilter

func (x *SearchQuery) GetFilter() *Filter

func (*SearchQuery) GetPaginationRange

func (x *SearchQuery) GetPaginationRange() *Range

func (*SearchQuery) GetSort

func (x *SearchQuery) GetSort() bool

func (*SearchQuery) GetSortBy

func (x *SearchQuery) GetSortBy() string

func (*SearchQuery) GetSortOrder

func (x *SearchQuery) GetSortOrder() SortOrder

func (*SearchQuery) ProtoMessage

func (*SearchQuery) ProtoMessage()

func (*SearchQuery) ProtoReflect

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

func (*SearchQuery) Reset

func (x *SearchQuery) Reset()

func (*SearchQuery) String

func (x *SearchQuery) String() string

type SortOrder

type SortOrder int32
const (
	SortOrder_NoOrder    SortOrder = 0
	SortOrder_Ascending  SortOrder = 1
	SortOrder_Descending SortOrder = 2
)

func (SortOrder) Descriptor

func (SortOrder) Descriptor() protoreflect.EnumDescriptor

func (SortOrder) Enum

func (x SortOrder) Enum() *SortOrder

func (SortOrder) EnumDescriptor deprecated

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

Deprecated: Use SortOrder.Descriptor instead.

func (SortOrder) Number

func (x SortOrder) Number() protoreflect.EnumNumber

func (SortOrder) String

func (x SortOrder) String() string

func (SortOrder) Type

type TermBoolFilter

type TermBoolFilter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value bool   `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*TermBoolFilter) Descriptor deprecated

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

Deprecated: Use TermBoolFilter.ProtoReflect.Descriptor instead.

func (*TermBoolFilter) GetKey

func (x *TermBoolFilter) GetKey() string

func (*TermBoolFilter) GetValue

func (x *TermBoolFilter) GetValue() bool

func (*TermBoolFilter) ProtoMessage

func (*TermBoolFilter) ProtoMessage()

func (*TermBoolFilter) ProtoReflect

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

func (*TermBoolFilter) Reset

func (x *TermBoolFilter) Reset()

func (*TermBoolFilter) String

func (x *TermBoolFilter) String() string

type TermInt64Filter

type TermInt64Filter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*TermInt64Filter) Descriptor deprecated

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

Deprecated: Use TermInt64Filter.ProtoReflect.Descriptor instead.

func (*TermInt64Filter) GetKey

func (x *TermInt64Filter) GetKey() string

func (*TermInt64Filter) GetValue

func (x *TermInt64Filter) GetValue() int64

func (*TermInt64Filter) ProtoMessage

func (*TermInt64Filter) ProtoMessage()

func (*TermInt64Filter) ProtoReflect

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

func (*TermInt64Filter) Reset

func (x *TermInt64Filter) Reset()

func (*TermInt64Filter) String

func (x *TermInt64Filter) String() string

type TermStringFilter

type TermStringFilter struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*TermStringFilter) Descriptor deprecated

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

Deprecated: Use TermStringFilter.ProtoReflect.Descriptor instead.

func (*TermStringFilter) GetKey

func (x *TermStringFilter) GetKey() string

func (*TermStringFilter) GetValue

func (x *TermStringFilter) GetValue() string

func (*TermStringFilter) ProtoMessage

func (*TermStringFilter) ProtoMessage()

func (*TermStringFilter) ProtoReflect

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

func (*TermStringFilter) Reset

func (x *TermStringFilter) Reset()

func (*TermStringFilter) String

func (x *TermStringFilter) String() string

Jump to

Keyboard shortcuts

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