Documentation ¶
Overview ¶
package ywrapper contains generated code for the ywrapper protobuf.
Index ¶
- Variables
- type BoolValue
- type BytesValue
- type Decimal64Value
- func (*Decimal64Value) Descriptor() ([]byte, []int)deprecated
- func (x *Decimal64Value) GetDigits() int64
- func (x *Decimal64Value) GetPrecision() uint32
- func (*Decimal64Value) ProtoMessage()
- func (x *Decimal64Value) ProtoReflect() protoreflect.Message
- func (x *Decimal64Value) Reset()
- func (x *Decimal64Value) String() string
- type IntValue
- type StringValue
- type UintValue
Constants ¶
This section is empty.
Variables ¶
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) ProtoMessage ¶
func (*BoolValue) ProtoMessage()
func (*BoolValue) ProtoReflect ¶ added in v0.7.0
func (x *BoolValue) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*IntValue) ProtoMessage()
func (*IntValue) ProtoReflect ¶ added in v0.7.0
func (x *IntValue) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*UintValue) ProtoMessage()
func (*UintValue) ProtoReflect ¶ added in v0.7.0
func (x *UintValue) ProtoReflect() protoreflect.Message