-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade protobuf version to support proto3
- Loading branch information
Abid Mohammed
committed
Aug 5, 2018
1 parent
57e38d0
commit 3890258
Showing
5 changed files
with
12 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
syntax = "proto3"; | ||
package ProtocolBuffers; // the namespace for the compiled classes | ||
|
||
option java_package = "de.javakaffee.kryoserializers.protobuf"; | ||
option java_outer_classname = "SampleProtoAOuterClass"; | ||
|
||
message SampleProtoA { | ||
optional string name = 1; | ||
optional uint32 message_id = 2; | ||
string name = 1; | ||
uint32 message_id = 2; | ||
} |
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,10 +1,11 @@ | ||
syntax = "proto3"; | ||
package ProtocolBuffers; // the namespace for the compiled classes | ||
|
||
option java_package = "de.javakaffee.kryoserializers.protobuf"; | ||
option java_outer_classname = "SampleProtoBOuterClass"; | ||
|
||
message SampleProtoB { | ||
required uint32 identifier = 1; | ||
required string state = 2; | ||
required string city = 3; | ||
uint32 identifier = 1; | ||
string state = 2; | ||
string city = 3; | ||
} |