v2

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AttributeFilter_Operation_name = map[int32]string{
	0: "MATCH_NONE",
	1: "MATCH_ANY",
	2: "MATCH_ALL",
	3: "MATCH_ALL_MOST_SPECIFIC",
}
View Source
var AttributeFilter_Operation_value = map[string]int32{
	"MATCH_NONE":              0,
	"MATCH_ANY":               1,
	"MATCH_ALL":               2,
	"MATCH_ALL_MOST_SPECIFIC": 3,
}

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Name                 *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value                *Variant `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Attribute) Descriptor

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

func (*Attribute) GetName

func (m *Attribute) GetName() string

func (*Attribute) GetValue

func (m *Attribute) GetValue() *Variant

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) Reset

func (m *Attribute) Reset()

func (*Attribute) String

func (m *Attribute) String() string

func (*Attribute) XXX_DiscardUnknown

func (m *Attribute) XXX_DiscardUnknown()

func (*Attribute) XXX_Marshal

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

func (*Attribute) XXX_Merge

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

func (*Attribute) XXX_Size

func (m *Attribute) XXX_Size() int

func (*Attribute) XXX_Unmarshal

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

type AttributeFilter

type AttributeFilter struct {
	Op                   *AttributeFilter_Operation `protobuf:"varint,1,opt,name=op,enum=bgs.protocol.v2.AttributeFilter_Operation" json:"op,omitempty"`
	Attribute            []*Attribute               `protobuf:"bytes,2,rep,name=attribute" json:"attribute,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*AttributeFilter) Descriptor

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

func (*AttributeFilter) GetAttribute

func (m *AttributeFilter) GetAttribute() []*Attribute

func (*AttributeFilter) GetOp

func (*AttributeFilter) ProtoMessage

func (*AttributeFilter) ProtoMessage()

func (*AttributeFilter) Reset

func (m *AttributeFilter) Reset()

func (*AttributeFilter) String

func (m *AttributeFilter) String() string

func (*AttributeFilter) XXX_DiscardUnknown

func (m *AttributeFilter) XXX_DiscardUnknown()

func (*AttributeFilter) XXX_Marshal

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

func (*AttributeFilter) XXX_Merge

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

func (*AttributeFilter) XXX_Size

func (m *AttributeFilter) XXX_Size() int

func (*AttributeFilter) XXX_Unmarshal

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

type AttributeFilter_Operation

type AttributeFilter_Operation int32
const (
	AttributeFilter_MATCH_NONE              AttributeFilter_Operation = 0
	AttributeFilter_MATCH_ANY               AttributeFilter_Operation = 1
	AttributeFilter_MATCH_ALL               AttributeFilter_Operation = 2
	AttributeFilter_MATCH_ALL_MOST_SPECIFIC AttributeFilter_Operation = 3
)

func (AttributeFilter_Operation) Enum

func (AttributeFilter_Operation) EnumDescriptor

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

func (AttributeFilter_Operation) String

func (x AttributeFilter_Operation) String() string

func (*AttributeFilter_Operation) UnmarshalJSON

func (x *AttributeFilter_Operation) UnmarshalJSON(data []byte) error

type Variant

type Variant struct {
	// Types that are valid to be assigned to Type:
	//	*Variant_BoolValue
	//	*Variant_IntValue
	//	*Variant_FloatValue
	//	*Variant_StringValue
	//	*Variant_BlobValue
	//	*Variant_UintValue
	Type                 isVariant_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Variant) Descriptor

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

func (*Variant) GetBlobValue

func (m *Variant) GetBlobValue() []byte

func (*Variant) GetBoolValue

func (m *Variant) GetBoolValue() bool

func (*Variant) GetFloatValue

func (m *Variant) GetFloatValue() float64

func (*Variant) GetIntValue

func (m *Variant) GetIntValue() int64

func (*Variant) GetStringValue

func (m *Variant) GetStringValue() string

func (*Variant) GetType

func (m *Variant) GetType() isVariant_Type

func (*Variant) GetUintValue

func (m *Variant) GetUintValue() uint64

func (*Variant) ProtoMessage

func (*Variant) ProtoMessage()

func (*Variant) Reset

func (m *Variant) Reset()

func (*Variant) String

func (m *Variant) String() string

func (*Variant) XXX_DiscardUnknown

func (m *Variant) XXX_DiscardUnknown()

func (*Variant) XXX_Marshal

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

func (*Variant) XXX_Merge

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

func (*Variant) XXX_OneofWrappers

func (*Variant) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Variant) XXX_Size

func (m *Variant) XXX_Size() int

func (*Variant) XXX_Unmarshal

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

type Variant_BlobValue

type Variant_BlobValue struct {
	BlobValue []byte `protobuf:"bytes,5,opt,name=blob_value,json=blobValue,oneof"`
}

type Variant_BoolValue

type Variant_BoolValue struct {
	BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,oneof"`
}

type Variant_FloatValue

type Variant_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,3,opt,name=float_value,json=floatValue,oneof"`
}

type Variant_IntValue

type Variant_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,oneof"`
}

type Variant_StringValue

type Variant_StringValue struct {
	StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,oneof"`
}

type Variant_UintValue

type Variant_UintValue struct {
	UintValue uint64 `protobuf:"varint,6,opt,name=uint_value,json=uintValue,oneof"`
}

Jump to

Keyboard shortcuts

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