v1

package
v1.37.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JSONOperator_name = map[int32]string{
		0: "JSON_OPERATOR_UNSPECIFIED",
		1: "JSON_OPERATOR_EQ",
		2: "JSON_OPERATOR_NEQ",
		3: "JSON_OPERATOR_IN",
	}
	JSONOperator_value = map[string]int32{
		"JSON_OPERATOR_UNSPECIFIED": 0,
		"JSON_OPERATOR_EQ":          1,
		"JSON_OPERATOR_NEQ":         2,
		"JSON_OPERATOR_IN":          3,
	}
)

Enum value maps for JSONOperator.

View Source
var File_jsonfilter_v1_jsonfilter_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type JSONFilter

type JSONFilter struct {
	FieldPath string       `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
	Operator  JSONOperator `protobuf:"varint,2,opt,name=operator,proto3,enum=jsonfilter.v1.JSONOperator" json:"operator,omitempty"`
	Value     *string      `protobuf:"bytes,43,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

JSONFilter represents a filter for JSON fields.

func (*JSONFilter) Descriptor deprecated

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

Deprecated: Use JSONFilter.ProtoReflect.Descriptor instead.

func (*JSONFilter) GetFieldPath

func (x *JSONFilter) GetFieldPath() string

func (*JSONFilter) GetOperator

func (x *JSONFilter) GetOperator() JSONOperator

func (*JSONFilter) GetValue

func (x *JSONFilter) GetValue() string

func (*JSONFilter) ProtoMessage

func (*JSONFilter) ProtoMessage()

func (*JSONFilter) ProtoReflect

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

func (*JSONFilter) Reset

func (x *JSONFilter) Reset()

func (*JSONFilter) String

func (x *JSONFilter) String() string

type JSONOperator

type JSONOperator int32

JSONOperator represents supported JSON filter operators.

const (
	JSONOperator_JSON_OPERATOR_UNSPECIFIED JSONOperator = 0
	JSONOperator_JSON_OPERATOR_EQ          JSONOperator = 1
	JSONOperator_JSON_OPERATOR_NEQ         JSONOperator = 2
	JSONOperator_JSON_OPERATOR_IN          JSONOperator = 3
)

func (JSONOperator) Descriptor

func (JSONOperator) Enum

func (x JSONOperator) Enum() *JSONOperator

func (JSONOperator) EnumDescriptor deprecated

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

Deprecated: Use JSONOperator.Descriptor instead.

func (JSONOperator) Number

func (JSONOperator) String

func (x JSONOperator) String() string

func (JSONOperator) Type

Jump to

Keyboard shortcuts

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