-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
base: added versioning and reduced size
- Loading branch information
Showing
16 changed files
with
1,283 additions
and
183 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
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Proto Syntax: | ||
syntax = "proto3"; | ||
// Package Name: | ||
package ttp; | ||
// Imports: | ||
import "gogo/protobuf/gogoproto/gogo.proto"; | ||
// GoGo Proto Options (Golang optimizations): | ||
option (gogoproto.equal_all) = true; | ||
option (gogoproto.goproto_stringer_all) = false; | ||
option (gogoproto.gostring_all) = true; | ||
option (gogoproto.marshaler_all) = true; | ||
option (gogoproto.sizer_all) = true; | ||
option (gogoproto.stringer_all) = true; | ||
option (gogoproto.unmarshaler_all) = true; | ||
option (gogoproto.verbose_equal_all) = true; | ||
option (gogoproto.populate_all) = true; | ||
option (gogoproto.testgen_all) = true; | ||
// Description: | ||
// | ||
// Version specifies the version of the underlying | ||
// TTP transport. In addition to TTP versioning, | ||
// version allows application specific versioning | ||
// to reduce errors from missing metadata fields. | ||
|
||
message Version { | ||
// TTP is the version of the underlying | ||
// Tensor Transport Protocol (Buffer). | ||
int32 TTP = 1; | ||
|
||
// ApplicationID identifies a specific application | ||
// that is built on TTP. | ||
string ApplicationID = 2; | ||
|
||
// The version of the application that produced | ||
// this data. | ||
int32 ProducerVersion = 3; | ||
|
||
// Any consumer below this version is NOT allowed | ||
// to consume this data. | ||
int32 ConsumerVersion = 4; | ||
|
||
// Specific consumer versions which are disallowed | ||
// (e.g. due to bugs). | ||
repeated int32 BlacklistVersions = 5; | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.