feat[protobuf]: not support enum and extend in protobuf

This commit is contained in:
godotg
2023-12-02 22:31:33 +08:00
parent 6bc9eeaa10
commit 46dbac01ab
10 changed files with 41 additions and 642 deletions
@@ -3,7 +3,6 @@ syntax = "proto3";
package test.message;
import "one_enum.proto";
import "one_map.proto";
import "one_message.proto";
option java_package = "io.edap.protobuf.test.message.v3";
@@ -13,7 +12,6 @@ message AllType {
bool field1 = 1;
bytes field2 = 2;
double field3 = 3;
Corpus field4 = 4;
fixed32 field5 = 5;
fixed64 field6 = 6;
float field7 = 7;
@@ -5,17 +5,17 @@ package test.message;
option java_package = "io.edap.protobuf.test.message.v3";
message OneEnum {
Corpus corpus = 1;
}
enum Corpus {
UNIVERSAL = 0;
WEB = 1;
IMAGES = 2;
LOCAL = 3;
NEWS = 4;
PRODUCTS = 5;
VIDEO = 6;
}
//message OneEnum {
// Corpus corpus = 1;
//}
//
//
//enum Corpus {
// UNIVERSAL = 0;
// WEB = 1;
// IMAGES = 2;
// LOCAL = 3;
// NEWS = 4;
// PRODUCTS = 5;
// VIDEO = 6;
//}