package gnmi

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

service gNMI

gnmi.proto:45

message Alias

gnmi.proto:321

Alias specifies a data tree path, and an associated string which defines an alias which is to be used for this path in the context of the RPC. The alias is specified as a string which is prefixed with "#" to disambiguate it from data tree element paths. Reference: gNMI Specification Section 2.4.2

Used in: AliasList

message AliasList

gnmi.proto:329

AliasList specifies a list of aliases. It is used in a SubscribeRequest for a client to create a set of aliases that the target is to utilize. Reference: gNMI Specification Section 3.5.1.6

Used in: SubscribeRequest

message Decimal64

gnmi.proto:190

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.

Used in: TypedValue

enum Encoding

gnmi.proto:168

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:180

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:400

Type of elements within the data tree.

Used in: GetRequest

message ModelData

gnmi.proto:455

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:80

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:136

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: Alias, GetRequest, Notification, SetRequest, SetResponse, Subscription, SubscriptionList, Update, UpdateResult

message PathElem

gnmi.proto:149

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

Used in: Path

message Poll

gnmi.proto:224

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:312

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:196

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

Used in: TypedValue

message Subscription

gnmi.proto:287

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:252

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:259

Mode of the subscription.

Used in: SubscriptionList

enum SubscriptionMode

gnmi.proto:303

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:105

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:96

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:372

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:374

The operation that was associated with the Path specified.

Used in: UpdateResult

message Value

gnmi.proto:157

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