ywrapper

package
v0.29.19 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 34

Documentation

Overview

package ywrapper contains generated code for the ywrapper protobuf.

Index

Constants

This section is empty.

Variables

View Source
var File_ywrapper_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoolValue

type BoolValue struct {
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

BoolValue is used to store a value which is a boolean, particularly the YANG bool and empty types.

func (*BoolValue) Descriptor deprecated

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

Deprecated: Use BoolValue.ProtoReflect.Descriptor instead.

func (*BoolValue) GetValue added in v0.6.0

func (x *BoolValue) GetValue() bool

func (*BoolValue) ProtoMessage

func (*BoolValue) ProtoMessage()

func (*BoolValue) ProtoReflect added in v0.7.0

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

func (*BoolValue) Reset

func (x *BoolValue) Reset()

func (*BoolValue) String

func (x *BoolValue) String() string

type BytesValue

type BytesValue struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

BytesValue is used to store a value which is a byte array, particularly the YANG binary type.

func (*BytesValue) Descriptor deprecated

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

Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.

func (*BytesValue) GetValue added in v0.6.0

func (x *BytesValue) GetValue() []byte

func (*BytesValue) ProtoMessage

func (*BytesValue) ProtoMessage()

func (*BytesValue) ProtoReflect added in v0.7.0

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

func (*BytesValue) Reset

func (x *BytesValue) Reset()

func (*BytesValue) String

func (x *BytesValue) String() string

type Decimal64Value

type Decimal64Value struct {
	Digits    int64  `protobuf:"varint,1,opt,name=digits,proto3" json:"digits,omitempty"`
	Precision uint32 `protobuf:"varint,2,opt,name=precision,proto3" json:"precision,omitempty"`
	// contains filtered or unexported fields
}

Decimal64Value is used to store a value which is a decimal64, split into a digits field, and a precision field. The precision indicates the number of digits that occur after the decimal point in the digits field.

func (*Decimal64Value) Descriptor deprecated

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

Deprecated: Use Decimal64Value.ProtoReflect.Descriptor instead.

func (*Decimal64Value) GetDigits added in v0.6.0

func (x *Decimal64Value) GetDigits() int64

func (*Decimal64Value) GetPrecision added in v0.6.0

func (x *Decimal64Value) GetPrecision() uint32

func (*Decimal64Value) ProtoMessage

func (*Decimal64Value) ProtoMessage()

func (*Decimal64Value) ProtoReflect added in v0.7.0

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

func (*Decimal64Value) Reset

func (x *Decimal64Value) Reset()

func (*Decimal64Value) String

func (x *Decimal64Value) String() string

type IntValue

type IntValue struct {
	Value int64 `protobuf:"zigzag64,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

IntValue stores a value which a signed integer, particularly the YANG int8, int16, int32, and int64 types.

func (*IntValue) Descriptor deprecated

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

Deprecated: Use IntValue.ProtoReflect.Descriptor instead.

func (*IntValue) GetValue added in v0.6.0

func (x *IntValue) GetValue() int64

func (*IntValue) ProtoMessage

func (*IntValue) ProtoMessage()

func (*IntValue) ProtoReflect added in v0.7.0

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

func (*IntValue) Reset

func (x *IntValue) Reset()

func (*IntValue) String

func (x *IntValue) String() string

type StringValue

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

StringValue stores a value which is a string, particularly the YANG string type.

func (*StringValue) Descriptor deprecated

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

Deprecated: Use StringValue.ProtoReflect.Descriptor instead.

func (*StringValue) GetValue added in v0.6.0

func (x *StringValue) GetValue() string

func (*StringValue) ProtoMessage

func (*StringValue) ProtoMessage()

func (*StringValue) ProtoReflect added in v0.7.0

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

func (*StringValue) Reset

func (x *StringValue) Reset()

func (*StringValue) String

func (x *StringValue) String() string

type UintValue

type UintValue struct {
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

UintVal is used to store a value which an unsigned integer, particularly the YANG uint8, uint16, uint32 and uint64 types.

func (*UintValue) Descriptor deprecated

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

Deprecated: Use UintValue.ProtoReflect.Descriptor instead.

func (*UintValue) GetValue added in v0.6.0

func (x *UintValue) GetValue() uint64

func (*UintValue) ProtoMessage

func (*UintValue) ProtoMessage()

func (*UintValue) ProtoReflect added in v0.7.0

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

func (*UintValue) Reset

func (x *UintValue) Reset()

func (*UintValue) String

func (x *UintValue) String() string

Jump to

Keyboard shortcuts

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