package gnmi

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service gNMI

gnmi.proto:48

message Decimal64

gnmi.proto:196

Decimal64 is used to encode a fixed precision decimal number. The value is expressed as a set of digits with the precision specifying the number of digits following the decimal point in the digit set. This message is deprecated in favor of encoding all floating point types as double precision.

Used in: TypedValue

enum Encoding

gnmi.proto:172

Encoding defines the value encoding formats that are supported by the gNMI protocol. These encodings are used by both the client (when sending Set messages to modify the state of the target) and the target when serializing data to be returned to the client (in both Subscribe and Get RPCs). Reference: gNMI Specification Section 2.3

Used in: CapabilityResponse, GetRequest, SubscriptionList, Value

message Error

gnmi.proto:184

Error message previously utilised to return errors to the client. Deprecated in favour of using the google.golang.org/genproto/googleapis/rpc/status message in the RPC response. Reference: gNMI Specification Section 2.5

Used in: GetResponse, SetResponse, SubscribeResponse, UpdateResult

enum GetRequest.DataType

gnmi.proto:392

Type of elements within the data tree.

Used in: GetRequest

message ModelData

gnmi.proto:447

ModelData is used to describe a set of schema modules. It can be used in a CapabilityResponse where a target reports the set of modules that it supports, and within the SubscribeRequest and GetRequest messages to specify the set of models from which data tree elements should be reported. Reference: gNMI Specification Section 3.2.3

Used in: CapabilityResponse, GetRequest, SubscriptionList

message Notification

gnmi.proto:83

Notification is a re-usable message that is used to encode data from the target to the client. A Notification carries two types of changes to the data tree: - Deleted values (delete) - a set of paths that have been removed from the data tree. - Updated values (update) - a set of path-value pairs indicating the path whose value has changed in the data tree. Reference: gNMI Specification Section 2.1

Used in: GetResponse, SubscribeResponse

message Path

gnmi.proto:140

Path encodes a data tree path as a series of repeated strings, with each element of the path representing a data tree node name and the associated attributes. Reference: gNMI Specification Section 2.2.2.

Used in: GetRequest, Notification, SetRequest, SetResponse, Subscription, SubscriptionList, Update, UpdateResult

message PathElem

gnmi.proto:153

PathElem encodes an element of a gNMI path, along with any attributes (keys) that may be associated with it. Reference: gNMI Specification Section 2.2.2.

Used in: Path

message Poll

gnmi.proto:232

Poll is sent within a SubscribeRequest to trigger the device to send telemetry updates for the paths that are associated with the subscription. Reference: gNMI Specification Section Section 3.5.1.4

Used in: SubscribeRequest

(message has no fields)

message QOSMarking

gnmi.proto:321

QOSMarking specifies the DSCP value to be set on transmitted telemetry updates from the target. Reference: gNMI Specification Section 3.5.1.2

Used in: SubscriptionList

message ScalarArray

gnmi.proto:203

ScalarArray is used to encode a mixed-type array of values.

Used in: TypedValue

message Subscription

gnmi.proto:296

Subscription is a single request within a SubscriptionList. The path specified is interpreted (along with the prefix) as the elements of the data tree that the client is subscribing to. The mode determines how the target should trigger updates to be sent. Reference: gNMI Specification Section 3.5.1.3

Used in: SubscriptionList

message SubscriptionList

gnmi.proto:260

SubscriptionList is used within a Subscribe message to specify the list of paths that the client wishes to subscribe to. The message consists of a list of (possibly prefixed) paths, and options that relate to the subscription. Reference: gNMI Specification Section 3.5.1.2

Used in: SubscribeRequest

enum SubscriptionList.Mode

gnmi.proto:265

Mode of the subscription.

Used in: SubscriptionList

enum SubscriptionMode

gnmi.proto:312

SubscriptionMode is the mode of the subscription, specifying how the target must return values in a subscription. Reference: gNMI Specification Section 3.5.1.3

Used in: Subscription

message TypedValue

gnmi.proto:108

TypedValue is used to encode a value being sent between the client and target (originated by either entity).

Used in: ScalarArray, Update

message Update

gnmi.proto:99

Update is a re-usable message that is used to store a particular Path, Value pair. Reference: gNMI Specification Section 2.1

Used in: Notification, SetRequest

message UpdateResult

gnmi.proto:364

UpdateResult is used within the SetResponse message to communicate the result of an operation specified within a SetRequest message. Reference: gNMI Specification Section 3.4.2

Used in: SetResponse

enum UpdateResult.Operation

gnmi.proto:366

The operation that was associated with the Path specified.

Used in: UpdateResult

message Value

gnmi.proto:161

Value encodes a data tree node's value - along with the way in which the value is encoded. This message is deprecated by gNMI 0.3.0. Reference: gNMI Specification Section 2.2.3.

Used in: Update