Merge pull request #21 from lmatte7/master

Add Options For Go Protobuf Generation
This commit is contained in:
Sacha Weatherstone 2021-05-24 11:29:31 +10:00 committed by GitHub
commit f604be5bb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 11 additions and 0 deletions

View file

@ -2,6 +2,7 @@ syntax = "proto3";
option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
import "mesh.proto";
import "radioconfig.proto";

View file

@ -2,6 +2,7 @@ syntax = "proto3";
option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
import "channel.proto";

View file

@ -20,7 +20,9 @@ syntax = "proto3";
*/
option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
option java_outer_classname = "ChannelProtos";

View file

@ -2,6 +2,7 @@ syntax = "proto3";
option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
import "mesh.proto";
import "channel.proto";

View file

@ -1,4 +1,5 @@
syntax = "proto3";
option go_package = "github.com/meshtastic/gomeshproto";
message EnvironmentalMeasurement {

View file

@ -21,6 +21,7 @@ syntax = "proto3";
option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
import "portnums.proto";

View file

@ -2,6 +2,7 @@ syntax = "proto3";
option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
import "mesh.proto";

View file

@ -3,6 +3,7 @@ syntax = "proto3";
option java_package = "com.geeksville.mesh";
option java_outer_classname = "Portnums";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
/*
* For any new 'apps' that run on the device or via sister apps on phones/PCs they should pick and use a

View file

@ -22,6 +22,7 @@ syntax = "proto3";
option java_package = "com.geeksville.mesh";
option java_outer_classname = "RadioConfigProtos";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
/*
* The frequency/regulatory region the user has selected.

View file

@ -3,6 +3,7 @@ syntax = "proto3";
option java_package = "com.geeksville.mesh";
option java_outer_classname = "RemoteHardware";
option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto";
/*
* An example app to show off the plugin system. This message is used for