model

package
v0.0.0-...-1e3467c Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MatchString_MatchStringType_name = map[int32]string{
		0: "EXACT",
		1: "REGEX",
		2: "NOT_EQUALS",
		3: "IN",
		4: "NOT_IN",
	}
	MatchString_MatchStringType_value = map[string]int32{
		"EXACT":      0,
		"REGEX":      1,
		"NOT_EQUALS": 2,
		"IN":         3,
		"NOT_IN":     4,
	}
)

Enum value maps for MatchString_MatchStringType.

View Source
var (
	MatchString_ValueType_name = map[int32]string{
		0: "TEXT",
		1: "PARAMETER",
		2: "VARIABLE",
	}
	MatchString_ValueType_value = map[string]int32{
		"TEXT":      0,
		"PARAMETER": 1,
		"VARIABLE":  2,
	}
)

Enum value maps for MatchString_ValueType.

View Source
var File_model_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MatchString

type MatchString struct {
	Type      MatchString_MatchStringType `protobuf:"varint,1,opt,name=type,proto3,enum=model.MatchString_MatchStringType" json:"type,omitempty"`
	Value     *wrapperspb.StringValue     `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ValueType MatchString_ValueType       `protobuf:"varint,3,opt,name=value_type,json=valueType,proto3,enum=model.MatchString_ValueType" json:"value_type,omitempty"`
	// contains filtered or unexported fields
}

func (*MatchString) Descriptor deprecated

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

Deprecated: Use MatchString.ProtoReflect.Descriptor instead.

func (*MatchString) GetType

func (*MatchString) GetValue

func (x *MatchString) GetValue() *wrapperspb.StringValue

func (*MatchString) GetValueType

func (x *MatchString) GetValueType() MatchString_ValueType

func (*MatchString) ProtoMessage

func (*MatchString) ProtoMessage()

func (*MatchString) ProtoReflect

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

func (*MatchString) Reset

func (x *MatchString) Reset()

func (*MatchString) String

func (x *MatchString) String() string

type MatchString_MatchStringType

type MatchString_MatchStringType int32
const (
	// Equivalent match
	MatchString_EXACT MatchString_MatchStringType = 0
	// Regular match
	MatchString_REGEX MatchString_MatchStringType = 1
	// Not equals match
	MatchString_NOT_EQUALS MatchString_MatchStringType = 2
	// Include match
	MatchString_IN MatchString_MatchStringType = 3
	// Not include match
	MatchString_NOT_IN MatchString_MatchStringType = 4
)

func (MatchString_MatchStringType) Descriptor

func (MatchString_MatchStringType) Enum

func (MatchString_MatchStringType) EnumDescriptor deprecated

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

Deprecated: Use MatchString_MatchStringType.Descriptor instead.

func (MatchString_MatchStringType) Number

func (MatchString_MatchStringType) String

func (MatchString_MatchStringType) Type

type MatchString_ValueType

type MatchString_ValueType int32
const (
	MatchString_TEXT      MatchString_ValueType = 0
	MatchString_PARAMETER MatchString_ValueType = 1
	MatchString_VARIABLE  MatchString_ValueType = 2
)

func (MatchString_ValueType) Descriptor

func (MatchString_ValueType) Enum

func (MatchString_ValueType) EnumDescriptor deprecated

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

Deprecated: Use MatchString_ValueType.Descriptor instead.

func (MatchString_ValueType) Number

func (MatchString_ValueType) String

func (x MatchString_ValueType) String() string

func (MatchString_ValueType) Type

type StringList

type StringList struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*StringList) Descriptor deprecated

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

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetValues

func (x *StringList) GetValues() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect

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

func (*StringList) Reset

func (x *StringList) Reset()

func (*StringList) String

func (x *StringList) String() string

Jump to

Keyboard shortcuts

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