Add existing to tracked
This commit is contained in:
+126
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"nested": {
|
||||
"google": {
|
||||
"nested": {
|
||||
"protobuf": {
|
||||
"nested": {
|
||||
"compiler": {
|
||||
"options": {
|
||||
"java_package": "com.google.protobuf.compiler",
|
||||
"java_outer_classname": "PluginProtos",
|
||||
"csharp_namespace": "Google.Protobuf.Compiler",
|
||||
"go_package": "google.golang.org/protobuf/types/pluginpb"
|
||||
},
|
||||
"nested": {
|
||||
"Version": {
|
||||
"edition": "proto2",
|
||||
"fields": {
|
||||
"major": {
|
||||
"type": "int32",
|
||||
"id": 1
|
||||
},
|
||||
"minor": {
|
||||
"type": "int32",
|
||||
"id": 2
|
||||
},
|
||||
"patch": {
|
||||
"type": "int32",
|
||||
"id": 3
|
||||
},
|
||||
"suffix": {
|
||||
"type": "string",
|
||||
"id": 4
|
||||
}
|
||||
}
|
||||
},
|
||||
"CodeGeneratorRequest": {
|
||||
"edition": "proto2",
|
||||
"fields": {
|
||||
"fileToGenerate": {
|
||||
"rule": "repeated",
|
||||
"type": "string",
|
||||
"id": 1
|
||||
},
|
||||
"parameter": {
|
||||
"type": "string",
|
||||
"id": 2
|
||||
},
|
||||
"protoFile": {
|
||||
"rule": "repeated",
|
||||
"type": "FileDescriptorProto",
|
||||
"id": 15
|
||||
},
|
||||
"sourceFileDescriptors": {
|
||||
"rule": "repeated",
|
||||
"type": "FileDescriptorProto",
|
||||
"id": 17
|
||||
},
|
||||
"compilerVersion": {
|
||||
"type": "Version",
|
||||
"id": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"CodeGeneratorResponse": {
|
||||
"edition": "proto2",
|
||||
"fields": {
|
||||
"error": {
|
||||
"type": "string",
|
||||
"id": 1
|
||||
},
|
||||
"supportedFeatures": {
|
||||
"type": "uint64",
|
||||
"id": 2
|
||||
},
|
||||
"minimumEdition": {
|
||||
"type": "int32",
|
||||
"id": 3
|
||||
},
|
||||
"maximumEdition": {
|
||||
"type": "int32",
|
||||
"id": 4
|
||||
},
|
||||
"file": {
|
||||
"rule": "repeated",
|
||||
"type": "File",
|
||||
"id": 15
|
||||
}
|
||||
},
|
||||
"nested": {
|
||||
"Feature": {
|
||||
"values": {
|
||||
"FEATURE_NONE": 0,
|
||||
"FEATURE_PROTO3_OPTIONAL": 1,
|
||||
"FEATURE_SUPPORTS_EDITIONS": 2
|
||||
}
|
||||
},
|
||||
"File": {
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"id": 1
|
||||
},
|
||||
"insertionPoint": {
|
||||
"type": "string",
|
||||
"id": 2
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"id": 15
|
||||
},
|
||||
"generatedCodeInfo": {
|
||||
"type": "GeneratedCodeInfo",
|
||||
"id": 16
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
syntax = "proto2";
|
||||
|
||||
package google.protobuf.compiler;
|
||||
option java_package = "com.google.protobuf.compiler";
|
||||
option java_outer_classname = "PluginProtos";
|
||||
|
||||
import "google/protobuf/descriptor.proto";
|
||||
|
||||
option csharp_namespace = "Google.Protobuf.Compiler";
|
||||
option go_package = "google.golang.org/protobuf/types/pluginpb";
|
||||
|
||||
message Version {
|
||||
optional int32 major = 1;
|
||||
optional int32 minor = 2;
|
||||
optional int32 patch = 3;
|
||||
optional string suffix = 4;
|
||||
}
|
||||
|
||||
message CodeGeneratorRequest {
|
||||
repeated string file_to_generate = 1;
|
||||
optional string parameter = 2;
|
||||
repeated FileDescriptorProto proto_file = 15;
|
||||
repeated FileDescriptorProto source_file_descriptors = 17;
|
||||
optional Version compiler_version = 3;
|
||||
}
|
||||
|
||||
message CodeGeneratorResponse {
|
||||
optional string error = 1;
|
||||
optional uint64 supported_features = 2;
|
||||
|
||||
enum Feature {
|
||||
FEATURE_NONE = 0;
|
||||
FEATURE_PROTO3_OPTIONAL = 1;
|
||||
FEATURE_SUPPORTS_EDITIONS = 2;
|
||||
}
|
||||
|
||||
optional int32 minimum_edition = 3;
|
||||
optional int32 maximum_edition = 4;
|
||||
|
||||
message File {
|
||||
optional string name = 1;
|
||||
optional string insertion_point = 2;
|
||||
optional string content = 15;
|
||||
optional GeneratedCodeInfo generated_code_info = 16;
|
||||
}
|
||||
repeated File file = 15;
|
||||
}
|
||||
Reference in New Issue
Block a user