protos

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protos_dataplane_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ArrayType

type ArrayType struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// only one should be set, when multiple lenghts are detected,
	// the array is considered variable length
	FixedLengthOrderedArray *FixedLengthOrderedArrayType `` /* 134-byte string literal not displayed */
	VariableLengthArray     *VariableLengthArrayType     `protobuf:"bytes,3,opt,name=variable_length_array,json=variableLengthArray,proto3" json:"variable_length_array,omitempty"`
	// contains filtered or unexported fields
}

func (*ArrayType) Descriptor deprecated

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

Deprecated: Use ArrayType.ProtoReflect.Descriptor instead.

func (*ArrayType) GetCount

func (x *ArrayType) GetCount() int64

func (*ArrayType) GetFixedLengthOrderedArray

func (x *ArrayType) GetFixedLengthOrderedArray() *FixedLengthOrderedArrayType

func (*ArrayType) GetVariableLengthArray

func (x *ArrayType) GetVariableLengthArray() *VariableLengthArrayType

func (*ArrayType) ProtoMessage

func (*ArrayType) ProtoMessage()

func (*ArrayType) ProtoReflect

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

func (*ArrayType) Reset

func (x *ArrayType) Reset()

func (*ArrayType) String

func (x *ArrayType) String() string

type BooleanType

type BooleanType struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*BooleanType) Descriptor deprecated

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

Deprecated: Use BooleanType.ProtoReflect.Descriptor instead.

func (*BooleanType) GetCount

func (x *BooleanType) GetCount() int64

func (*BooleanType) ProtoMessage

func (*BooleanType) ProtoMessage()

func (*BooleanType) ProtoReflect

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

func (*BooleanType) Reset

func (x *BooleanType) Reset()

func (*BooleanType) String

func (x *BooleanType) String() string

type FixedLengthOrderedArrayType

type FixedLengthOrderedArrayType struct {
	Fields []*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*FixedLengthOrderedArrayType) Descriptor deprecated

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

Deprecated: Use FixedLengthOrderedArrayType.ProtoReflect.Descriptor instead.

func (*FixedLengthOrderedArrayType) GetFields

func (x *FixedLengthOrderedArrayType) GetFields() []*Value

func (*FixedLengthOrderedArrayType) ProtoMessage

func (*FixedLengthOrderedArrayType) ProtoMessage()

func (*FixedLengthOrderedArrayType) ProtoReflect

func (*FixedLengthOrderedArrayType) Reset

func (x *FixedLengthOrderedArrayType) Reset()

func (*FixedLengthOrderedArrayType) String

func (x *FixedLengthOrderedArrayType) String() string

type FloatNumType

type FloatNumType struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatNumType) Descriptor deprecated

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

Deprecated: Use FloatNumType.ProtoReflect.Descriptor instead.

func (*FloatNumType) GetCount

func (x *FloatNumType) GetCount() int64

func (*FloatNumType) ProtoMessage

func (*FloatNumType) ProtoMessage()

func (*FloatNumType) ProtoReflect

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

func (*FloatNumType) Reset

func (x *FloatNumType) Reset()

func (*FloatNumType) String

func (x *FloatNumType) String() string

type IntNumType

type IntNumType struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*IntNumType) Descriptor deprecated

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

Deprecated: Use IntNumType.ProtoReflect.Descriptor instead.

func (*IntNumType) GetCount

func (x *IntNumType) GetCount() int64

func (*IntNumType) ProtoMessage

func (*IntNumType) ProtoMessage()

func (*IntNumType) ProtoReflect

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

func (*IntNumType) Reset

func (x *IntNumType) Reset()

func (*IntNumType) String

func (x *IntNumType) String() string

type NumberType

type NumberType struct {

	// if more than one is set, multiple types detected
	IntegerNum  *IntNumType   `protobuf:"bytes,1,opt,name=integer_num,json=integerNum,proto3" json:"integer_num,omitempty"`
	UintegerNum *UIntNumType  `protobuf:"bytes,2,opt,name=uinteger_num,json=uintegerNum,proto3" json:"uinteger_num,omitempty"`
	FloatNum    *FloatNumType `protobuf:"bytes,3,opt,name=float_num,json=floatNum,proto3" json:"float_num,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberType) Descriptor deprecated

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

Deprecated: Use NumberType.ProtoReflect.Descriptor instead.

func (*NumberType) GetFloatNum

func (x *NumberType) GetFloatNum() *FloatNumType

func (*NumberType) GetIntegerNum

func (x *NumberType) GetIntegerNum() *IntNumType

func (*NumberType) GetUintegerNum

func (x *NumberType) GetUintegerNum() *UIntNumType

func (*NumberType) ProtoMessage

func (*NumberType) ProtoMessage()

func (*NumberType) ProtoReflect

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

func (*NumberType) Reset

func (x *NumberType) Reset()

func (*NumberType) String

func (x *NumberType) String() string

type ObjType

type ObjType struct {
	Count  int64             `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Fields map[string]*Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ObjType) Descriptor deprecated

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

Deprecated: Use ObjType.ProtoReflect.Descriptor instead.

func (*ObjType) GetCount

func (x *ObjType) GetCount() int64

func (*ObjType) GetFields

func (x *ObjType) GetFields() map[string]*Value

func (*ObjType) ProtoMessage

func (*ObjType) ProtoMessage()

func (*ObjType) ProtoReflect

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

func (*ObjType) Reset

func (x *ObjType) Reset()

func (*ObjType) String

func (x *ObjType) String() string

type StringType

type StringType struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*StringType) Descriptor deprecated

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

Deprecated: Use StringType.ProtoReflect.Descriptor instead.

func (*StringType) GetCount

func (x *StringType) GetCount() int64

func (*StringType) ProtoMessage

func (*StringType) ProtoMessage()

func (*StringType) ProtoReflect

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

func (*StringType) Reset

func (x *StringType) Reset()

func (*StringType) String

func (x *StringType) String() string

type StructureDigest

type StructureDigest struct {
	Obj *ObjType `protobuf:"bytes,1,opt,name=obj,proto3" json:"obj,omitempty"`
	// contains filtered or unexported fields
}

func (*StructureDigest) Descriptor deprecated

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

Deprecated: Use StructureDigest.ProtoReflect.Descriptor instead.

func (*StructureDigest) GetObj

func (x *StructureDigest) GetObj() *ObjType

func (*StructureDigest) ProtoMessage

func (*StructureDigest) ProtoMessage()

func (*StructureDigest) ProtoReflect

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

func (*StructureDigest) Reset

func (x *StructureDigest) Reset()

func (*StructureDigest) String

func (x *StructureDigest) String() string

type TestSample

type TestSample struct {
	Double     float64         `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"`
	Float      float32         `protobuf:"fixed32,2,opt,name=float,proto3" json:"float,omitempty"`
	Int32      int32           `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"`
	Int64      int64           `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"`
	Uint32     uint32          `protobuf:"varint,5,opt,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64     uint64          `protobuf:"varint,6,opt,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32     int32           `protobuf:"zigzag32,7,opt,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64     int64           `protobuf:"zigzag64,8,opt,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32    uint32          `protobuf:"fixed32,9,opt,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64    uint64          `protobuf:"fixed64,10,opt,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32   int32           `protobuf:"fixed32,11,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64   int64           `protobuf:"fixed64,12,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Bool       bool            `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"`
	String_    string          `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"`
	Bytes      []byte          `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Array      []int32         `protobuf:"varint,16,rep,packed,name=array,proto3" json:"array,omitempty"`
	Map        map[int32]int32 `` /* 150-byte string literal not displayed */
	NestedMsg  *TestSample     `protobuf:"bytes,18,opt,name=nested_msg,json=nestedMsg,proto3" json:"nested_msg,omitempty"`
	NestedMsgs []*TestSample   `protobuf:"bytes,19,rep,name=nested_msgs,json=nestedMsgs,proto3" json:"nested_msgs,omitempty"`
	// contains filtered or unexported fields
}

used for testing

func (*TestSample) Descriptor deprecated

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

Deprecated: Use TestSample.ProtoReflect.Descriptor instead.

func (*TestSample) GetArray

func (x *TestSample) GetArray() []int32

func (*TestSample) GetBool

func (x *TestSample) GetBool() bool

func (*TestSample) GetBytes

func (x *TestSample) GetBytes() []byte

func (*TestSample) GetDouble

func (x *TestSample) GetDouble() float64

func (*TestSample) GetFixed32

func (x *TestSample) GetFixed32() uint32

func (*TestSample) GetFixed64

func (x *TestSample) GetFixed64() uint64

func (*TestSample) GetFloat

func (x *TestSample) GetFloat() float32

func (*TestSample) GetInt32

func (x *TestSample) GetInt32() int32

func (*TestSample) GetInt64

func (x *TestSample) GetInt64() int64

func (*TestSample) GetMap

func (x *TestSample) GetMap() map[int32]int32

func (*TestSample) GetNestedMsg

func (x *TestSample) GetNestedMsg() *TestSample

func (*TestSample) GetNestedMsgs

func (x *TestSample) GetNestedMsgs() []*TestSample

func (*TestSample) GetSfixed32

func (x *TestSample) GetSfixed32() int32

func (*TestSample) GetSfixed64

func (x *TestSample) GetSfixed64() int64

func (*TestSample) GetSint32

func (x *TestSample) GetSint32() int32

func (*TestSample) GetSint64

func (x *TestSample) GetSint64() int64

func (*TestSample) GetString_

func (x *TestSample) GetString_() string

func (*TestSample) GetUint32

func (x *TestSample) GetUint32() uint32

func (*TestSample) GetUint64

func (x *TestSample) GetUint64() uint64

func (*TestSample) ProtoMessage

func (*TestSample) ProtoMessage()

func (*TestSample) ProtoReflect

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

func (*TestSample) Reset

func (x *TestSample) Reset()

func (*TestSample) String

func (x *TestSample) String() string

type UIntNumType

type UIntNumType struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*UIntNumType) Descriptor deprecated

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

Deprecated: Use UIntNumType.ProtoReflect.Descriptor instead.

func (*UIntNumType) GetCount

func (x *UIntNumType) GetCount() int64

func (*UIntNumType) ProtoMessage

func (*UIntNumType) ProtoMessage()

func (*UIntNumType) ProtoReflect

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

func (*UIntNumType) Reset

func (x *UIntNumType) Reset()

func (*UIntNumType) String

func (x *UIntNumType) String() string

type Value

type Value struct {

	// if more than one is set, multiple types detected
	Number  *NumberType  `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
	String_ *StringType  `protobuf:"bytes,2,opt,name=string,proto3" json:"string,omitempty"`
	Boolean *BooleanType `protobuf:"bytes,3,opt,name=boolean,proto3" json:"boolean,omitempty"`
	Array   *ArrayType   `protobuf:"bytes,4,opt,name=array,proto3" json:"array,omitempty"`
	Obj     *ObjType     `protobuf:"bytes,5,opt,name=obj,proto3" json:"obj,omitempty"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetArray

func (x *Value) GetArray() *ArrayType

func (*Value) GetBoolean

func (x *Value) GetBoolean() *BooleanType

func (*Value) GetNumber

func (x *Value) GetNumber() *NumberType

func (*Value) GetObj

func (x *Value) GetObj() *ObjType

func (*Value) GetString_

func (x *Value) GetString_() *StringType

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type VariableLengthArrayType

type VariableLengthArrayType struct {
	MinLength int64 `protobuf:"varint,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	MaxLength int64 `protobuf:"varint,2,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
	// to be able to calculate the average when aggregating digests
	SumLength int64 `protobuf:"varint,3,opt,name=sum_length,json=sumLength,proto3" json:"sum_length,omitempty"`
	// contains filtered or unexported fields
}

func (*VariableLengthArrayType) Descriptor deprecated

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

Deprecated: Use VariableLengthArrayType.ProtoReflect.Descriptor instead.

func (*VariableLengthArrayType) GetMaxLength

func (x *VariableLengthArrayType) GetMaxLength() int64

func (*VariableLengthArrayType) GetMinLength

func (x *VariableLengthArrayType) GetMinLength() int64

func (*VariableLengthArrayType) GetSumLength

func (x *VariableLengthArrayType) GetSumLength() int64

func (*VariableLengthArrayType) ProtoMessage

func (*VariableLengthArrayType) ProtoMessage()

func (*VariableLengthArrayType) ProtoReflect

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

func (*VariableLengthArrayType) Reset

func (x *VariableLengthArrayType) Reset()

func (*VariableLengthArrayType) String

func (x *VariableLengthArrayType) String() string

Jump to

Keyboard shortcuts

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