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.
Merge pull request elastic#358 from Ben-Aldrich/census
add new protofiles for request reply census
- Loading branch information
Showing
4 changed files
with
43 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package heartthrob; | ||
|
||
option java_package = "com.logrhythm.nm.message.heartthrob"; | ||
option java_outer_classname = "CensusReplyMsg"; | ||
|
||
message reply { | ||
optional Census census = 1; | ||
optional string failure = 100; | ||
message Census { | ||
enum Status { | ||
RED = 0; | ||
YELLOW = 1; | ||
GREEN = 2; | ||
} | ||
enum Platform { | ||
LINUX = 0; | ||
WINDOWS = 1; | ||
} | ||
optional Status status = 1; | ||
optional string host = 2; | ||
optional Platform platform = 3; | ||
optional string notices = 4; | ||
} | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package heartthrob; | ||
|
||
option java_package = "com.logrhythm.nm.message.heartthrob"; | ||
option java_outer_classname = "RequestMsg"; | ||
|
||
message Request { | ||
enum Type { | ||
INVALID = 0; | ||
CENSUS = 1; | ||
} | ||
optional Type request = 1; | ||
} |
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