diff --git a/src/blockchain_region_param_v1.proto b/src/blockchain_region_param_v1.proto index ae7a999c..169a5db8 100644 --- a/src/blockchain_region_param_v1.proto +++ b/src/blockchain_region_param_v1.proto @@ -1,6 +1,9 @@ syntax = "proto3"; package helium; +option java_package = "com.helium.grpc"; +option java_outer_classname = "regionparam"; +option java_multiple_files = true; message blockchain_region_params_v1 { repeated blockchain_region_param_v1 region_params = 1; diff --git a/src/data_rate.proto b/src/data_rate.proto index d3129c1f..89481291 100644 --- a/src/data_rate.proto +++ b/src/data_rate.proto @@ -1,6 +1,9 @@ syntax = "proto3"; package helium; +option java_package = "com.helium.grpc"; +option java_outer_classname = "PocLoRa"; +option java_multiple_files = true; enum data_rate { SF12BW125 = 0; diff --git a/src/region.proto b/src/region.proto index 8cc050d3..3500455a 100644 --- a/src/region.proto +++ b/src/region.proto @@ -1,6 +1,9 @@ syntax = "proto3"; package helium; +option java_package = "com.helium.grpc"; +option java_outer_classname = "IotRegion"; +option java_multiple_files = true; enum region { US915 = 0; diff --git a/src/service/iot_config.proto b/src/service/iot_config.proto index 7e7f3e24..ba0767f0 100644 --- a/src/service/iot_config.proto +++ b/src/service/iot_config.proto @@ -1,6 +1,9 @@ syntax = "proto3"; package helium.iot_config; +option java_package = "com.helium.grpc"; +option java_outer_classname = "IotConfig"; +option java_multiple_files = true; import "blockchain_region_param_v1.proto"; import "region.proto"; diff --git a/src/service/packet_verifier.proto b/src/service/packet_verifier.proto index bbb21668..676bf971 100644 --- a/src/service/packet_verifier.proto +++ b/src/service/packet_verifier.proto @@ -1,6 +1,9 @@ syntax = "proto3"; package helium.packet_verifier; +option java_package = "com.helium.grpc"; +option java_outer_classname = "PacketVerifier"; +option java_multiple_files = true; message valid_packet { uint32 payload_size = 1; diff --git a/src/service/poc_lora.proto b/src/service/poc_lora.proto index 384a720e..c79423a2 100644 --- a/src/service/poc_lora.proto +++ b/src/service/poc_lora.proto @@ -1,6 +1,9 @@ syntax = "proto3"; package helium.poc_lora; +option java_package = "com.helium.grpc"; +option java_outer_classname = "PocLoRa"; +option java_multiple_files = true; import "data_rate.proto"; import "service/packet_verifier.proto";