ywrapper

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2017 License: Apache-2.0 Imports: 3 Imported by: 36

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) Descriptor() ([]byte, []int)

func (*BoolValue) ProtoMessage

func (*BoolValue) ProtoMessage()

func (*BoolValue) Reset

func (m *BoolValue) Reset()

func (*BoolValue) String

func (m *BoolValue) String() string

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) Descriptor() ([]byte, []int)

func (*IntValue) ProtoMessage

func (*IntValue) ProtoMessage()

func (*IntValue) Reset

func (m *IntValue) Reset()

func (*IntValue) String

func (m *IntValue) String() string

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) Descriptor() ([]byte, []int)

func (*UintValue) ProtoMessage

func (*UintValue) ProtoMessage()

func (*UintValue) Reset

func (m *UintValue) Reset()

func (*UintValue) String

func (m *UintValue) String() string

Jump to

Keyboard shortcuts

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