Documentation ¶
Overview ¶
package ywrapper contains generated code for the ywrapper protobuf.
Package ywrapper is a generated protocol buffer package.
It is generated from these files:
github.com/openconfig/ygot/proto/ywrapper/ywrapper.proto
It has these top-level messages:
BytesValue BoolValue Decimal64Value IntValue StringValue UintValue
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolValue ¶
type BoolValue struct {
Value bool `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
BoolValue is used to store a value which is a boolean, particularly the YANG bool and empty types.
func (*BoolValue) Descriptor ¶
func (*BoolValue) ProtoMessage ¶
func (*BoolValue) ProtoMessage()
type BytesValue ¶
type BytesValue struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
BytesValue is used to store a value which is a byte array, particularly the YANG binary type.
func (*BytesValue) Descriptor ¶
func (*BytesValue) Descriptor() ([]byte, []int)
func (*BytesValue) ProtoMessage ¶
func (*BytesValue) ProtoMessage()
func (*BytesValue) Reset ¶
func (m *BytesValue) Reset()
func (*BytesValue) String ¶
func (m *BytesValue) String() string
type Decimal64Value ¶
type Decimal64Value struct { Digits int64 `protobuf:"varint,1,opt,name=digits" json:"digits,omitempty"` Precision uint32 `protobuf:"varint,2,opt,name=precision" json:"precision,omitempty"` }
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 ¶
func (*Decimal64Value) Descriptor() ([]byte, []int)
func (*Decimal64Value) ProtoMessage ¶
func (*Decimal64Value) ProtoMessage()
func (*Decimal64Value) Reset ¶
func (m *Decimal64Value) Reset()
func (*Decimal64Value) String ¶
func (m *Decimal64Value) String() string
type IntValue ¶
type IntValue struct {
Value int64 `protobuf:"zigzag64,1,opt,name=value" json:"value,omitempty"`
}
IntValue stores a value which a signed integer, particularly the YANG int8, int16, int32, and int64 types.
func (*IntValue) Descriptor ¶
func (*IntValue) ProtoMessage ¶
func (*IntValue) ProtoMessage()
type StringValue ¶
type StringValue struct {
Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}
StringValue stores a value which is a string, particularly the YANG string type.
func (*StringValue) Descriptor ¶
func (*StringValue) Descriptor() ([]byte, []int)
func (*StringValue) ProtoMessage ¶
func (*StringValue) ProtoMessage()
func (*StringValue) Reset ¶
func (m *StringValue) Reset()
func (*StringValue) String ¶
func (m *StringValue) String() string
type UintValue ¶
type UintValue struct {
Value uint64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
UintVal is used to store a value which an unsigned integer, particularly the YANG uint8, uint16, uint32 and uint64 types.
func (*UintValue) Descriptor ¶
func (*UintValue) ProtoMessage ¶
func (*UintValue) ProtoMessage()