D3Events.proto
path D3Events.proto
package network_monitor
D3Events v1.0
Messages
PublishRequest
Request containing the message payload
Name | Type | Description |
---|---|---|
id | bytes | The stream message ID (128 bit) |
details | repeated google.protobuf.Any | The encoded stream message |
PublishResponse
The response status for publisher streams
Name | Type | Description |
---|---|---|
status | string | |
stop | bool | Stop the subscribtion |
SubscribeRequest
Request containing the subscribtion parameters
Name | Type | Description |
---|---|---|
params | string |
SubscribeResponse
Request containing the reply parameters
Name | Type | Description |
---|---|---|
proto | google.protobuf.FileDescriptorSet | The output protobof spec encoded as a FileDescriptorSet Use FileDescriptor.buildFrom() to convert each FileDescriptorProto to a live Descriptors.FileDescriptor Call DynamicMessage.newBuilder(descriptor) to construct a new builder instance Call DynamicMessage.parseFrom(descriptor, input) to parse messages received from the server |
Services
NetworkMonitorClient
The network monitor service definition
SusbcribeMessageStream
Method | SusbcribeMessageStream |
---|---|
Request | SubscribeRequest |
Response | SubscribeResponse |
Description | Subscribes to a stream of messages |
PublishMessageStream
Method | PublishMessageStream |
---|---|
Request | PublishRequest stream |
Response | PublishResponse stream |
Description | Publishes the messages |