Documentation ¶
Index ¶
- Variables
- type GnmiJuniperTelemetryHeaderExtension
- func (*GnmiJuniperTelemetryHeaderExtension) Descriptor() ([]byte, []int)deprecated
- func (x *GnmiJuniperTelemetryHeaderExtension) GetComponent() string
- func (x *GnmiJuniperTelemetryHeaderExtension) GetComponentId() uint32
- func (x *GnmiJuniperTelemetryHeaderExtension) GetEom() bool
- func (x *GnmiJuniperTelemetryHeaderExtension) GetEventPublishTimestamp() int64
- func (x *GnmiJuniperTelemetryHeaderExtension) GetEventTimestamp() int64deprecated
- func (x *GnmiJuniperTelemetryHeaderExtension) GetExportTimestamp() int64
- func (x *GnmiJuniperTelemetryHeaderExtension) GetPayloadGetTimestamp() int64
- func (x *GnmiJuniperTelemetryHeaderExtension) GetSensorName() string
- func (x *GnmiJuniperTelemetryHeaderExtension) GetSequenceNumber() uint64
- func (x *GnmiJuniperTelemetryHeaderExtension) GetStreamCreationTimestamp() int64
- func (x *GnmiJuniperTelemetryHeaderExtension) GetStreamId() StreamType
- func (x *GnmiJuniperTelemetryHeaderExtension) GetStreamedPath() string
- func (x *GnmiJuniperTelemetryHeaderExtension) GetSubComponentId() uint32
- func (x *GnmiJuniperTelemetryHeaderExtension) GetSubSequenceNumber() uint64
- func (x *GnmiJuniperTelemetryHeaderExtension) GetSubscribedPath() string
- func (x *GnmiJuniperTelemetryHeaderExtension) GetSystemId() string
- func (*GnmiJuniperTelemetryHeaderExtension) ProtoMessage()
- func (x *GnmiJuniperTelemetryHeaderExtension) ProtoReflect() protoreflect.Message
- func (x *GnmiJuniperTelemetryHeaderExtension) Reset()
- func (x *GnmiJuniperTelemetryHeaderExtension) String() string
- type StreamType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StreamType_name = map[int32]string{ 0: "INITIAL_SYNC", 1: "ONCHANGE", 2: "PERIODIC", } StreamType_value = map[string]int32{ "INITIAL_SYNC": 0, "ONCHANGE": 1, "PERIODIC": 2, } )
Enum value maps for StreamType.
View Source
var File_GnmiJuniperTelemetryHeaderExtension_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GnmiJuniperTelemetryHeaderExtension ¶
type GnmiJuniperTelemetryHeaderExtension struct { // router name:export IP address SystemId string `protobuf:"bytes,1,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"` // line card / RE (slot number) ComponentId uint32 `protobuf:"varint,2,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"` // PFE (if applicable) SubComponentId uint32 `protobuf:"varint,3,opt,name=sub_component_id,json=subComponentId,proto3" json:"sub_component_id,omitempty"` // Internal sensor name SensorName string `protobuf:"bytes,4,opt,name=sensor_name,json=sensorName,proto3" json:"sensor_name,omitempty"` // Sensor path in the subscribe request SubscribedPath string `protobuf:"bytes,5,opt,name=subscribed_path,json=subscribedPath,proto3" json:"subscribed_path,omitempty"` // Internal sensor path in junos StreamedPath string `protobuf:"bytes,6,opt,name=streamed_path,json=streamedPath,proto3" json:"streamed_path,omitempty"` Component string `protobuf:"bytes,7,opt,name=component,proto3" json:"component,omitempty"` // Sequence number, monotonically increasing for each SequenceNumber uint64 `protobuf:"varint,8,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // Payload get timestamp in milliseconds PayloadGetTimestamp int64 `protobuf:"varint,9,opt,name=payload_get_timestamp,json=payloadGetTimestamp,proto3" json:"payload_get_timestamp,omitempty"` // Stream creation timestamp in milliseconds StreamCreationTimestamp int64 `` /* 134-byte string literal not displayed */ // [Deprecated] Event timestamp in milliseconds // // Deprecated: Marked as deprecated in GnmiJuniperTelemetryHeaderExtension.proto. EventTimestamp int64 `protobuf:"varint,11,opt,name=event_timestamp,json=eventTimestamp,proto3" json:"event_timestamp,omitempty"` // Export timestamp in milliseconds ExportTimestamp int64 `protobuf:"varint,12,opt,name=export_timestamp,json=exportTimestamp,proto3" json:"export_timestamp,omitempty"` // Subsequence number SubSequenceNumber uint64 `protobuf:"varint,13,opt,name=sub_sequence_number,json=subSequenceNumber,proto3" json:"sub_sequence_number,omitempty"` // End of marker Eom bool `protobuf:"varint,14,opt,name=eom,proto3" json:"eom,omitempty"` // Event publish timestamp in milliseconds EventPublishTimestamp int64 `` /* 128-byte string literal not displayed */ // Stream type of packet StreamId StreamType `protobuf:"varint,16,opt,name=stream_id,json=streamId,proto3,enum=StreamType" json:"stream_id,omitempty"` // contains filtered or unexported fields }
Present as first gNMI update in all packets
func (*GnmiJuniperTelemetryHeaderExtension) Descriptor
deprecated
func (*GnmiJuniperTelemetryHeaderExtension) Descriptor() ([]byte, []int)
Deprecated: Use GnmiJuniperTelemetryHeaderExtension.ProtoReflect.Descriptor instead.
func (*GnmiJuniperTelemetryHeaderExtension) GetComponent ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetComponent() string
func (*GnmiJuniperTelemetryHeaderExtension) GetComponentId ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetComponentId() uint32
func (*GnmiJuniperTelemetryHeaderExtension) GetEom ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetEom() bool
func (*GnmiJuniperTelemetryHeaderExtension) GetEventPublishTimestamp ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetEventPublishTimestamp() int64
func (*GnmiJuniperTelemetryHeaderExtension) GetEventTimestamp
deprecated
func (x *GnmiJuniperTelemetryHeaderExtension) GetEventTimestamp() int64
Deprecated: Marked as deprecated in GnmiJuniperTelemetryHeaderExtension.proto.
func (*GnmiJuniperTelemetryHeaderExtension) GetExportTimestamp ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetExportTimestamp() int64
func (*GnmiJuniperTelemetryHeaderExtension) GetPayloadGetTimestamp ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetPayloadGetTimestamp() int64
func (*GnmiJuniperTelemetryHeaderExtension) GetSensorName ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetSensorName() string
func (*GnmiJuniperTelemetryHeaderExtension) GetSequenceNumber ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetSequenceNumber() uint64
func (*GnmiJuniperTelemetryHeaderExtension) GetStreamCreationTimestamp ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetStreamCreationTimestamp() int64
func (*GnmiJuniperTelemetryHeaderExtension) GetStreamId ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetStreamId() StreamType
func (*GnmiJuniperTelemetryHeaderExtension) GetStreamedPath ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetStreamedPath() string
func (*GnmiJuniperTelemetryHeaderExtension) GetSubComponentId ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetSubComponentId() uint32
func (*GnmiJuniperTelemetryHeaderExtension) GetSubSequenceNumber ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetSubSequenceNumber() uint64
func (*GnmiJuniperTelemetryHeaderExtension) GetSubscribedPath ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetSubscribedPath() string
func (*GnmiJuniperTelemetryHeaderExtension) GetSystemId ¶
func (x *GnmiJuniperTelemetryHeaderExtension) GetSystemId() string
func (*GnmiJuniperTelemetryHeaderExtension) ProtoMessage ¶
func (*GnmiJuniperTelemetryHeaderExtension) ProtoMessage()
func (*GnmiJuniperTelemetryHeaderExtension) ProtoReflect ¶
func (x *GnmiJuniperTelemetryHeaderExtension) ProtoReflect() protoreflect.Message
func (*GnmiJuniperTelemetryHeaderExtension) Reset ¶
func (x *GnmiJuniperTelemetryHeaderExtension) Reset()
func (*GnmiJuniperTelemetryHeaderExtension) String ¶
func (x *GnmiJuniperTelemetryHeaderExtension) String() string
type StreamType ¶
type StreamType int32
const ( StreamType_INITIAL_SYNC StreamType = 0 StreamType_ONCHANGE StreamType = 1 StreamType_PERIODIC StreamType = 2 )
func (StreamType) Descriptor ¶
func (StreamType) Descriptor() protoreflect.EnumDescriptor
func (StreamType) Enum ¶
func (x StreamType) Enum() *StreamType
func (StreamType) EnumDescriptor
deprecated
func (StreamType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamType.Descriptor instead.
func (StreamType) Number ¶
func (x StreamType) Number() protoreflect.EnumNumber
func (StreamType) String ¶
func (x StreamType) String() string
func (StreamType) Type ¶
func (StreamType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.