forked from logrhythm/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrapped ConfigType in a proto message to enable gen in Go
- Loading branch information
Tom Artale
committed
Jun 29, 2015
1 parent
ae94c46
commit bf7b919
Showing
3 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
package configelements; | ||
|
||
option java_package = "com.logrhythm.configelements"; | ||
option java_outer_classname = "ConfigTypeMsg"; | ||
option java_outer_classname = "ConfigTypeMessage"; | ||
|
||
enum ConfigType { | ||
// Intentional use of CamelCase; enum literals are | ||
// matched up with a YAML and ProtoMessage of the | ||
// same name (e.g. ConfigServerConfig.yaml, ConfigServerConfigMessage). | ||
ConfigServerConfig = 0; | ||
MetricsClientConfig = 1; | ||
MetricsConfig = 2; | ||
LinkConfig = 3; | ||
HermesConfig = 4; | ||
CassandraConfig = 5; | ||
ElasticSearchClientConfig = 6; | ||
DispatchConfig = 7; | ||
DispatchClientConfig = 8; | ||
PlaybackConfig = 9; | ||
MaintenanceConfig = 10; | ||
ColumboConfig = 11; | ||
CarpenterConfig = 12; | ||
InfluxConfig = 13; | ||
// EventManagerClientConfig = 14; Depreciated | ||
ColumboClientConfig = 15; | ||
VitalsClientConfig = 16; | ||
EnigmaConfig = 17; | ||
message ConfigTypeMsg { | ||
enum ConfigType { | ||
// Intentional use of CamelCase; enum literals are | ||
// matched up with a YAML and ProtoMessage of the | ||
// same name (e.g. ConfigServerConfig.yaml, ConfigServerConfigMessage). | ||
ConfigServerConfig = 0; | ||
MetricsClientConfig = 1; | ||
MetricsConfig = 2; | ||
LinkConfig = 3; | ||
HermesConfig = 4; | ||
CassandraConfig = 5; | ||
ElasticSearchClientConfig = 6; | ||
DispatchConfig = 7; | ||
DispatchClientConfig = 8; | ||
PlaybackConfig = 9; | ||
MaintenanceConfig = 10; | ||
ColumboConfig = 11; | ||
CarpenterConfig = 12; | ||
InfluxConfig = 13; | ||
// EventManagerClientConfig = 14; Deprecated | ||
ColumboClientConfig = 15; | ||
VitalsClientConfig = 16; | ||
EnigmaConfig = 17; | ||
} | ||
} |