Skip to content

Instantly share code, notes, and snippets.

@ag-ramachandran
Created August 10, 2022 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ag-ramachandran/d135751c7b395b27203dbdae0c2aca1c to your computer and use it in GitHub Desktop.
Save ag-ramachandran/d135751c7b395b27203dbdae0c2aca1c to your computer and use it in GitHub Desktop.
Sensor protobuf
syntax = "proto3";
package com.microsoft.kusto.test.protobuf;
option java_outer_classname = "SensorReadingWithDeviceDataImpl";
message SensorReading {
message Device {
string deviceID = 1;
bool enabled = 2;
}
Device device = 1;
int64 dateTime = 2;
double reading = 3;
float float_val = 4;
int32 int32_val = 5;
sint32 sint32_val = 6;
sint64 sint64_val = 7;
uint32 uint32_val = 8;
bytes bytes_val = 9;
repeated double double_array_val = 10;
uint64 uint64_val = 11;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment