protobuf

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

README

Protobuf interfaces for ntt

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Parameter_Direction_name = map[int32]string{
		0: "IN",
		1: "OUT",
		2: "INOUT",
	}
	Parameter_Direction_value = map[string]int32{
		"IN":    0,
		"OUT":   1,
		"INOUT": 2,
	}
)

Enum value maps for Parameter_Direction.

View Source
var (
	ScalarType_name = map[int32]string{
		0: "NULL",
		1: "BOOLEAN",
		2: "FLOAT",
		3: "INTEGER",
		4: "VERDICT",
	}
	ScalarType_value = map[string]int32{
		"NULL":    0,
		"BOOLEAN": 1,
		"FLOAT":   2,
		"INTEGER": 3,
		"VERDICT": 4,
	}
)

Enum value maps for ScalarType.

View Source
var (
	Verdict_name = map[int32]string{
		0: "NONE",
		1: "PASS",
		2: "INCONC",
		3: "FAIL",
		4: "ERROR",
	}
	Verdict_value = map[string]int32{
		"NONE":   0,
		"PASS":   1,
		"INCONC": 2,
		"FAIL":   3,
		"ERROR":  4,
	}
)

Enum value maps for Verdict.

View Source
var File_BinaryString_proto protoreflect.FileDescriptor
View Source
var File_codec_proto protoreflect.FileDescriptor
View Source
var File_generator_proto protoreflect.FileDescriptor
View Source
var File_module_proto protoreflect.FileDescriptor
View Source
var File_parameter_proto protoreflect.FileDescriptor
View Source
var File_runtime_proto protoreflect.FileDescriptor
View Source
var File_value_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BinaryString

type BinaryString struct {
	Data  []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Nbits int32  `protobuf:"varint,2,opt,name=nbits,proto3" json:"nbits,omitempty"`
	// contains filtered or unexported fields
}

func (*BinaryString) Descriptor deprecated

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

Deprecated: Use BinaryString.ProtoReflect.Descriptor instead.

func (*BinaryString) GetData

func (x *BinaryString) GetData() []byte

func (*BinaryString) GetNbits

func (x *BinaryString) GetNbits() int32

func (*BinaryString) ProtoMessage

func (*BinaryString) ProtoMessage()

func (*BinaryString) ProtoReflect

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

func (*BinaryString) Reset

func (x *BinaryString) Reset()

func (*BinaryString) String

func (x *BinaryString) String() string

type ComponentType

type ComponentType struct {
	// contains filtered or unexported fields
}

func (*ComponentType) Descriptor deprecated

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

Deprecated: Use ComponentType.ProtoReflect.Descriptor instead.

func (*ComponentType) ProtoMessage

func (*ComponentType) ProtoMessage()

func (*ComponentType) ProtoReflect

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

func (*ComponentType) Reset

func (x *ComponentType) Reset()

func (*ComponentType) String

func (x *ComponentType) String() string

type Composite

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

func (*Composite) Descriptor deprecated

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

Deprecated: Use Composite.ProtoReflect.Descriptor instead.

func (*Composite) GetValues

func (x *Composite) GetValues() []*Value

func (*Composite) ProtoMessage

func (*Composite) ProtoMessage()

func (*Composite) ProtoReflect

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

func (*Composite) Reset

func (x *Composite) Reset()

func (*Composite) String

func (x *Composite) String() string

type Constraint

type Constraint struct {
	// contains filtered or unexported fields
}

func (*Constraint) Descriptor deprecated

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

Deprecated: Use Constraint.ProtoReflect.Descriptor instead.

func (*Constraint) ProtoMessage

func (*Constraint) ProtoMessage()

func (*Constraint) ProtoReflect

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

func (*Constraint) Reset

func (x *Constraint) Reset()

func (*Constraint) String

func (x *Constraint) String() string

type Constraint_Bounds

type Constraint_Bounds struct {
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*Constraint_Bounds) Descriptor deprecated

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

Deprecated: Use Constraint_Bounds.ProtoReflect.Descriptor instead.

func (*Constraint_Bounds) GetEnd

func (x *Constraint_Bounds) GetEnd() int64

func (*Constraint_Bounds) GetStart

func (x *Constraint_Bounds) GetStart() int64

func (*Constraint_Bounds) ProtoMessage

func (*Constraint_Bounds) ProtoMessage()

func (*Constraint_Bounds) ProtoReflect

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

func (*Constraint_Bounds) Reset

func (x *Constraint_Bounds) Reset()

func (*Constraint_Bounds) String

func (x *Constraint_Bounds) String() string

type DecodeRequest

type DecodeRequest struct {
	Bytes *BinaryString `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Type  *Type         `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeRequest) Descriptor deprecated

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

Deprecated: Use DecodeRequest.ProtoReflect.Descriptor instead.

func (*DecodeRequest) GetBytes

func (x *DecodeRequest) GetBytes() *BinaryString

func (*DecodeRequest) GetType

func (x *DecodeRequest) GetType() *Type

func (*DecodeRequest) ProtoMessage

func (*DecodeRequest) ProtoMessage()

func (*DecodeRequest) ProtoReflect

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

func (*DecodeRequest) Reset

func (x *DecodeRequest) Reset()

func (*DecodeRequest) String

func (x *DecodeRequest) String() string

type DecodeResponse

type DecodeResponse struct {
	Nbits int32  `protobuf:"varint,1,opt,name=nbits,proto3" json:"nbits,omitempty"`
	Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeResponse) Descriptor deprecated

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

Deprecated: Use DecodeResponse.ProtoReflect.Descriptor instead.

func (*DecodeResponse) GetNbits

func (x *DecodeResponse) GetNbits() int32

func (*DecodeResponse) GetValue

func (x *DecodeResponse) GetValue() *Value

func (*DecodeResponse) ProtoMessage

func (*DecodeResponse) ProtoMessage()

func (*DecodeResponse) ProtoReflect

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

func (*DecodeResponse) Reset

func (x *DecodeResponse) Reset()

func (*DecodeResponse) String

func (x *DecodeResponse) String() string

type EnumType

type EnumType struct {
	// contains filtered or unexported fields
}

func (*EnumType) Descriptor deprecated

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

Deprecated: Use EnumType.ProtoReflect.Descriptor instead.

func (*EnumType) ProtoMessage

func (*EnumType) ProtoMessage()

func (*EnumType) ProtoReflect

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

func (*EnumType) Reset

func (x *EnumType) Reset()

func (*EnumType) String

func (x *EnumType) String() string

type Field

type Field struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type *Type  `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

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

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetName

func (x *Field) GetName() string

func (*Field) GetType

func (x *Field) GetType() *Type

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

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

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type GeneratorRequest

type GeneratorRequest struct {
	Version *Version  `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Modules []*Module `protobuf:"bytes,2,rep,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneratorRequest) Descriptor deprecated

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

Deprecated: Use GeneratorRequest.ProtoReflect.Descriptor instead.

func (*GeneratorRequest) GetModules

func (x *GeneratorRequest) GetModules() []*Module

func (*GeneratorRequest) GetVersion

func (x *GeneratorRequest) GetVersion() *Version

func (*GeneratorRequest) ProtoMessage

func (*GeneratorRequest) ProtoMessage()

func (*GeneratorRequest) ProtoReflect

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

func (*GeneratorRequest) Reset

func (x *GeneratorRequest) Reset()

func (*GeneratorRequest) String

func (x *GeneratorRequest) String() string

type GeneratorResponse

type GeneratorResponse struct {
	// contains filtered or unexported fields
}

func (*GeneratorResponse) Descriptor deprecated

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

Deprecated: Use GeneratorResponse.ProtoReflect.Descriptor instead.

func (*GeneratorResponse) ProtoMessage

func (*GeneratorResponse) ProtoMessage()

func (*GeneratorResponse) ProtoReflect

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

func (*GeneratorResponse) Reset

func (x *GeneratorResponse) Reset()

func (*GeneratorResponse) String

func (x *GeneratorResponse) String() string

type ListType

type ListType struct {
	Element    *Type       `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
	Constraint *Constraint `protobuf:"bytes,3,opt,name=constraint,proto3" json:"constraint,omitempty"`
	// contains filtered or unexported fields
}

func (*ListType) Descriptor deprecated

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

Deprecated: Use ListType.ProtoReflect.Descriptor instead.

func (*ListType) GetConstraint

func (x *ListType) GetConstraint() *Constraint

func (*ListType) GetElement

func (x *ListType) GetElement() *Type

func (*ListType) ProtoMessage

func (*ListType) ProtoMessage()

func (*ListType) ProtoReflect

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

func (*ListType) Reset

func (x *ListType) Reset()

func (*ListType) String

func (x *ListType) String() string

type Module

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

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

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

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

type Parameter

type Parameter struct {
	Direction Parameter_Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=ntt.Parameter_Direction" json:"direction,omitempty"`
	Value     *Value              `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Parameter) Descriptor deprecated

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

Deprecated: Use Parameter.ProtoReflect.Descriptor instead.

func (*Parameter) GetDirection

func (x *Parameter) GetDirection() Parameter_Direction

func (*Parameter) GetValue

func (x *Parameter) GetValue() *Value

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoReflect

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

func (*Parameter) Reset

func (x *Parameter) Reset()

func (*Parameter) String

func (x *Parameter) String() string

type Parameter_Direction

type Parameter_Direction int32
const (
	Parameter_IN    Parameter_Direction = 0
	Parameter_OUT   Parameter_Direction = 1
	Parameter_INOUT Parameter_Direction = 2
)

func (Parameter_Direction) Descriptor

func (Parameter_Direction) Enum

func (Parameter_Direction) EnumDescriptor deprecated

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

Deprecated: Use Parameter_Direction.Descriptor instead.

func (Parameter_Direction) Number

func (Parameter_Direction) String

func (x Parameter_Direction) String() string

func (Parameter_Direction) Type

type PortType

type PortType struct {
	// contains filtered or unexported fields
}

func (*PortType) Descriptor deprecated

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

Deprecated: Use PortType.ProtoReflect.Descriptor instead.

func (*PortType) ProtoMessage

func (*PortType) ProtoMessage()

func (*PortType) ProtoReflect

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

func (*PortType) Reset

func (x *PortType) Reset()

func (*PortType) String

func (x *PortType) String() string

type RunRequest

type RunRequest struct {
	TestName   string       `protobuf:"bytes,1,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"`
	Parameters []*Parameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*RunRequest) Descriptor deprecated

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

Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.

func (*RunRequest) GetParameters

func (x *RunRequest) GetParameters() []*Parameter

func (*RunRequest) GetTestName

func (x *RunRequest) GetTestName() string

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) ProtoReflect

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

func (*RunRequest) Reset

func (x *RunRequest) Reset()

func (*RunRequest) String

func (x *RunRequest) String() string

type RunResponse

type RunResponse struct {
	TestName   string       `protobuf:"bytes,1,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"`
	Parameters []*Parameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
	Verdict    Verdict      `protobuf:"varint,3,opt,name=verdict,proto3,enum=ntt.Verdict" json:"verdict,omitempty"`
	// contains filtered or unexported fields
}

func (*RunResponse) Descriptor deprecated

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

Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.

func (*RunResponse) GetParameters

func (x *RunResponse) GetParameters() []*Parameter

func (*RunResponse) GetTestName

func (x *RunResponse) GetTestName() string

func (*RunResponse) GetVerdict

func (x *RunResponse) GetVerdict() Verdict

func (*RunResponse) ProtoMessage

func (*RunResponse) ProtoMessage()

func (*RunResponse) ProtoReflect

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

func (*RunResponse) Reset

func (x *RunResponse) Reset()

func (*RunResponse) String

func (x *RunResponse) String() string

type ScalarType

type ScalarType int32
const (
	ScalarType_NULL    ScalarType = 0
	ScalarType_BOOLEAN ScalarType = 1
	ScalarType_FLOAT   ScalarType = 2
	ScalarType_INTEGER ScalarType = 3
	ScalarType_VERDICT ScalarType = 4
)

func (ScalarType) Descriptor

func (ScalarType) Descriptor() protoreflect.EnumDescriptor

func (ScalarType) Enum

func (x ScalarType) Enum() *ScalarType

func (ScalarType) EnumDescriptor deprecated

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

Deprecated: Use ScalarType.Descriptor instead.

func (ScalarType) Number

func (x ScalarType) Number() protoreflect.EnumNumber

func (ScalarType) String

func (x ScalarType) String() string

func (ScalarType) Type

type StringType

type StringType struct {
	ElementWidth int32 `protobuf:"varint,1,opt,name=element_width,json=elementWidth,proto3" json:"element_width,omitempty"`
	// contains filtered or unexported fields
}

func (*StringType) Descriptor deprecated

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

Deprecated: Use StringType.ProtoReflect.Descriptor instead.

func (*StringType) GetElementWidth

func (x *StringType) GetElementWidth() int32

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 StructType

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

func (*StructType) Descriptor deprecated

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

Deprecated: Use StructType.ProtoReflect.Descriptor instead.

func (*StructType) GetFields

func (x *StructType) GetFields() []*Field

func (*StructType) ProtoMessage

func (*StructType) ProtoMessage()

func (*StructType) ProtoReflect

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

func (*StructType) Reset

func (x *StructType) Reset()

func (*StructType) String

func (x *StructType) String() string

type TimerType

type TimerType struct {
	// contains filtered or unexported fields
}

func (*TimerType) Descriptor deprecated

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

Deprecated: Use TimerType.ProtoReflect.Descriptor instead.

func (*TimerType) ProtoMessage

func (*TimerType) ProtoMessage()

func (*TimerType) ProtoReflect

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

func (*TimerType) Reset

func (x *TimerType) Reset()

func (*TimerType) String

func (x *TimerType) String() string

type Type

type Type struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Encode    string `protobuf:"bytes,3,opt,name=encode,proto3" json:"encode,omitempty"`
	Variant   string `protobuf:"bytes,4,opt,name=variant,proto3" json:"variant,omitempty"`
	Extension string `protobuf:"bytes,5,opt,name=extension,proto3" json:"extension,omitempty"`
	// Types that are assignable to Kind:
	//	*Type_Array
	//	*Type_RecordOf
	//	*Type_SetOf
	//	*Type_Bitstring
	//	*Type_Charstring
	//	*Type_Hextstring
	//	*Type_Octetstring
	//	*Type_UniversalCharstring
	//	*Type_Anytype
	//	*Type_Record
	//	*Type_Set
	//	*Type_Union
	//	*Type_Scalar
	//	*Type_Component
	//	*Type_Enumerated
	//	*Type_Port
	//	*Type_Timer
	//	*Type_Address
	Kind isType_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*Type) Descriptor deprecated

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

Deprecated: Use Type.ProtoReflect.Descriptor instead.

func (*Type) GetAddress

func (x *Type) GetAddress() *Type

func (*Type) GetAnytype

func (x *Type) GetAnytype() *StructType

func (*Type) GetArray

func (x *Type) GetArray() *ListType

func (*Type) GetBitstring

func (x *Type) GetBitstring() *StringType

func (*Type) GetCharstring

func (x *Type) GetCharstring() *StringType

func (*Type) GetComponent

func (x *Type) GetComponent() *ComponentType

func (*Type) GetEncode

func (x *Type) GetEncode() string

func (*Type) GetEnumerated

func (x *Type) GetEnumerated() *EnumType

func (*Type) GetExtension

func (x *Type) GetExtension() string

func (*Type) GetHextstring

func (x *Type) GetHextstring() *StringType

func (*Type) GetKind

func (m *Type) GetKind() isType_Kind

func (*Type) GetName

func (x *Type) GetName() string

func (*Type) GetOctetstring

func (x *Type) GetOctetstring() *StringType

func (*Type) GetPort

func (x *Type) GetPort() *PortType

func (*Type) GetRecord

func (x *Type) GetRecord() *StructType

func (*Type) GetRecordOf

func (x *Type) GetRecordOf() *ListType

func (*Type) GetScalar

func (x *Type) GetScalar() ScalarType

func (*Type) GetSet

func (x *Type) GetSet() *StructType

func (*Type) GetSetOf

func (x *Type) GetSetOf() *ListType

func (*Type) GetTimer

func (x *Type) GetTimer() *TimerType

func (*Type) GetUnion

func (x *Type) GetUnion() *StructType

func (*Type) GetUniversalCharstring

func (x *Type) GetUniversalCharstring() *StringType

func (*Type) GetVariant

func (x *Type) GetVariant() string

func (*Type) ProtoMessage

func (*Type) ProtoMessage()

func (*Type) ProtoReflect

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

func (*Type) Reset

func (x *Type) Reset()

func (*Type) String

func (x *Type) String() string

type Type_Address

type Type_Address struct {
	Address *Type `protobuf:"bytes,26,opt,name=address,proto3,oneof"`
}

type Type_Anytype

type Type_Anytype struct {
	Anytype *StructType `protobuf:"bytes,17,opt,name=anytype,proto3,oneof"`
}

type Type_Array

type Type_Array struct {
	Array *ListType `protobuf:"bytes,9,opt,name=array,proto3,oneof"`
}

type Type_Bitstring

type Type_Bitstring struct {
	Bitstring *StringType `protobuf:"bytes,12,opt,name=bitstring,proto3,oneof"`
}

type Type_Charstring

type Type_Charstring struct {
	Charstring *StringType `protobuf:"bytes,13,opt,name=charstring,proto3,oneof"`
}

type Type_Component

type Type_Component struct {
	Component *ComponentType `protobuf:"bytes,22,opt,name=component,proto3,oneof"`
}

type Type_Enumerated

type Type_Enumerated struct {
	Enumerated *EnumType `protobuf:"bytes,23,opt,name=enumerated,proto3,oneof"`
}

type Type_Hextstring

type Type_Hextstring struct {
	Hextstring *StringType `protobuf:"bytes,14,opt,name=hextstring,proto3,oneof"`
}

type Type_Octetstring

type Type_Octetstring struct {
	Octetstring *StringType `protobuf:"bytes,15,opt,name=octetstring,proto3,oneof"`
}

type Type_Port

type Type_Port struct {
	Port *PortType `protobuf:"bytes,24,opt,name=port,proto3,oneof"`
}

type Type_Record

type Type_Record struct {
	Record *StructType `protobuf:"bytes,18,opt,name=record,proto3,oneof"`
}

type Type_RecordOf

type Type_RecordOf struct {
	RecordOf *ListType `protobuf:"bytes,10,opt,name=record_of,json=recordOf,proto3,oneof"`
}

type Type_Scalar

type Type_Scalar struct {
	Scalar ScalarType `protobuf:"varint,21,opt,name=scalar,proto3,enum=ntt.ScalarType,oneof"`
}

type Type_Set

type Type_Set struct {
	Set *StructType `protobuf:"bytes,19,opt,name=set,proto3,oneof"`
}

type Type_SetOf

type Type_SetOf struct {
	SetOf *ListType `protobuf:"bytes,11,opt,name=set_of,json=setOf,proto3,oneof"`
}

type Type_Timer

type Type_Timer struct {
	Timer *TimerType `protobuf:"bytes,25,opt,name=timer,proto3,oneof"`
}

type Type_Union

type Type_Union struct {
	Union *StructType `protobuf:"bytes,20,opt,name=union,proto3,oneof"`
}

type Type_UniversalCharstring

type Type_UniversalCharstring struct {
	UniversalCharstring *StringType `protobuf:"bytes,16,opt,name=universal_charstring,json=universalCharstring,proto3,oneof"`
}

type Value

type Value struct {

	// Types that are assignable to Kind:
	//	*Value_ByteValue
	//	*Value_BoolValue
	//	*Value_VerdictValue
	//	*Value_StringValue
	//	*Value_FloatValue
	//	*Value_IntValue
	//	*Value_BigValue
	//	*Value_CompositeValue
	Kind isValue_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBigValue

func (x *Value) GetBigValue() string

func (*Value) GetBoolValue

func (x *Value) GetBoolValue() bool

func (*Value) GetByteValue

func (x *Value) GetByteValue() []byte

func (*Value) GetCompositeValue

func (x *Value) GetCompositeValue() *Composite

func (*Value) GetFloatValue

func (x *Value) GetFloatValue() float64

func (*Value) GetIntValue

func (x *Value) GetIntValue() int32

func (*Value) GetKind

func (m *Value) GetKind() isValue_Kind

func (*Value) GetStringValue

func (x *Value) GetStringValue() string

func (*Value) GetVerdictValue

func (x *Value) GetVerdictValue() Verdict

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 Value_BigValue

type Value_BigValue struct {
	BigValue string `protobuf:"bytes,7,opt,name=big_value,json=bigValue,proto3,oneof"`
}

type Value_BoolValue

type Value_BoolValue struct {
	BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type Value_ByteValue

type Value_ByteValue struct {
	ByteValue []byte `protobuf:"bytes,1,opt,name=byte_value,json=byteValue,proto3,oneof"`
}

type Value_CompositeValue

type Value_CompositeValue struct {
	CompositeValue *Composite `protobuf:"bytes,8,opt,name=composite_value,json=compositeValue,proto3,oneof"`
}

type Value_FloatValue

type Value_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,5,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Value_IntValue

type Value_IntValue struct {
	IntValue int32 `protobuf:"varint,6,opt,name=int_value,json=intValue,proto3,oneof"`
}

type Value_StringValue

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

type Value_VerdictValue

type Value_VerdictValue struct {
	VerdictValue Verdict `protobuf:"varint,3,opt,name=verdict_value,json=verdictValue,proto3,enum=ntt.Verdict,oneof"`
}

type Verdict

type Verdict int32
const (
	Verdict_NONE   Verdict = 0
	Verdict_PASS   Verdict = 1
	Verdict_INCONC Verdict = 2
	Verdict_FAIL   Verdict = 3
	Verdict_ERROR  Verdict = 4
)

func (Verdict) Descriptor

func (Verdict) Descriptor() protoreflect.EnumDescriptor

func (Verdict) Enum

func (x Verdict) Enum() *Verdict

func (Verdict) EnumDescriptor deprecated

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

Deprecated: Use Verdict.Descriptor instead.

func (Verdict) Number

func (x Verdict) Number() protoreflect.EnumNumber

func (Verdict) String

func (x Verdict) String() string

func (Verdict) Type

func (Verdict) Type() protoreflect.EnumType

type Version

type Version struct {
	Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"`
	// contains filtered or unexported fields
}

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetMajor

func (x *Version) GetMajor() int32

func (*Version) GetMinor

func (x *Version) GetMinor() int32

func (*Version) GetPatch

func (x *Version) GetPatch() int32

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

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