Protobuf: deleted outdated .proto files from test set (now focusing only on carkot protobufs)
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
syntax = "proto3";
|
||||
package carkot;
|
||||
|
||||
option java_package = "proto.car";
|
||||
option java_outer_classname = "Direction";
|
||||
|
||||
message DirectionRequest {
|
||||
enum Command {
|
||||
stop = 0;
|
||||
forward = 1;
|
||||
backward = 2;
|
||||
left = 3;
|
||||
right = 4;
|
||||
}
|
||||
Command command = 1;
|
||||
}
|
||||
|
||||
message DirectionResponse {
|
||||
int32 code = 1;
|
||||
string errorMsg = 2;
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
// See README.txt for information and build instructions.
|
||||
//
|
||||
// Note: START and END tags are used in comments to define sections used in
|
||||
// tutorials. They are not part of the syntax for Protocol Buffers.
|
||||
//
|
||||
// To get an in-depth walkthrough of this file and the related examples, see:
|
||||
// https://developers.google.com/protocol-buffers/docs/tutorials
|
||||
|
||||
// [START declaration]
|
||||
syntax = "proto3";
|
||||
package tutorial;
|
||||
// [END declaration]
|
||||
|
||||
// [START java_declaration]
|
||||
option java_package = "com.example.tutorial";
|
||||
option java_outer_classname = "AddressBookProtos";
|
||||
// [END java_declaration]
|
||||
|
||||
// [START csharp_declaration]
|
||||
option csharp_namespace = "Google.Protobuf.Examples.AddressBook";
|
||||
// [END csharp_declaration]
|
||||
|
||||
// [START messages]
|
||||
message Person {
|
||||
string name = 1;
|
||||
int32 id = 2; // Unique ID number for this person.
|
||||
string email = 3;
|
||||
|
||||
enum PhoneType {
|
||||
MOBILE = 0;
|
||||
HOME = 1;
|
||||
WORK = 2;
|
||||
}
|
||||
|
||||
message PhoneNumber {
|
||||
string number = 1;
|
||||
PhoneType type = 2;
|
||||
}
|
||||
|
||||
repeated PhoneNumber phones = 4;
|
||||
|
||||
bytes someBytes = 5;
|
||||
}
|
||||
|
||||
// Our address book file is just one of these.
|
||||
message AddressBook {
|
||||
repeated Person people = 1;
|
||||
}
|
||||
// [END messages]
|
||||
@@ -1,6 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
message SomeMessage {
|
||||
string stringField = 1;
|
||||
int32 int32Field = 2;
|
||||
}
|
||||
-24
@@ -1,24 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
message Grandfather {
|
||||
message FatherLeft {
|
||||
message SonLeftLeft {
|
||||
FatherLeft father = 1;
|
||||
Grandfather.FatherRight.SonRightLeft brother = 2;
|
||||
}
|
||||
|
||||
message SonLeftRight {
|
||||
string foo = 3;
|
||||
}
|
||||
}
|
||||
|
||||
message FatherRight {
|
||||
message SonRightLeft {
|
||||
string bar = 4;
|
||||
}
|
||||
|
||||
message SonRightRight {
|
||||
Grandfather.FatherLeft.SonLeftRight brother = 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
syntax = "proto3";
|
||||
package carkot;
|
||||
|
||||
option java_package = "proto.car";
|
||||
option java_outer_classname = "ErrorP";
|
||||
|
||||
message Error {
|
||||
string errorMessage = 1;
|
||||
int32 errorCode = 2;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
message ExtendedMessage {
|
||||
string stringField = 1;
|
||||
int32 int32Field = 2;
|
||||
double doubleField = 3;
|
||||
bytes bytesField = 4;
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
message Level1 {
|
||||
Level2 field1 = 1;
|
||||
message Level2 {
|
||||
Level3 field2 = 2;
|
||||
message Level3 {
|
||||
Level4 field3 = 3;
|
||||
message Level4 {
|
||||
string field4 = 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
syntax = "proto3";
|
||||
package carkot;
|
||||
|
||||
option java_package = "proto.car";
|
||||
option java_outer_classname = "RouteDone";
|
||||
|
||||
message RouteDoneResponse {
|
||||
int32 code = 1;
|
||||
string errorMsg = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user