Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -9,45 +9,45 @@ import "google/protobuf/descriptor.proto";
|
||||
// TODO: Email protobuf-global-extension-registry@google.com to get an extension ID.
|
||||
|
||||
extend google.protobuf.MethodOptions {
|
||||
optional Rpc rpc = 65030;
|
||||
Rpc rpc = 65030;
|
||||
}
|
||||
|
||||
extend google.protobuf.ServiceOptions {
|
||||
optional Svc svc = 65030;
|
||||
Svc svc = 65030;
|
||||
}
|
||||
|
||||
extend google.protobuf.FieldOptions {
|
||||
optional Field field = 65030;
|
||||
Field field = 65030;
|
||||
}
|
||||
|
||||
extend google.protobuf.OneofOptions {
|
||||
optional Oneof oneof = 65030;
|
||||
Oneof oneof = 65030;
|
||||
}
|
||||
|
||||
message Oneof {
|
||||
optional bool ignore = 4;
|
||||
optional string name = 5;
|
||||
bool ignore = 4;
|
||||
string name = 5;
|
||||
}
|
||||
|
||||
message Field {
|
||||
optional bool required = 1;
|
||||
optional string params = 2;
|
||||
optional string dirs = 3;
|
||||
optional bool ignore = 4;
|
||||
optional string name = 5;
|
||||
bool required = 1;
|
||||
string params = 2;
|
||||
string dirs = 3;
|
||||
bool ignore = 4;
|
||||
string name = 5;
|
||||
}
|
||||
|
||||
message Rpc {
|
||||
optional Type type = 1;
|
||||
optional bool ignore = 2;
|
||||
optional string name = 3;
|
||||
Type type = 1;
|
||||
bool ignore = 2;
|
||||
string name = 3;
|
||||
}
|
||||
|
||||
message Svc {
|
||||
optional Type type = 1;
|
||||
optional bool ignore = 2;
|
||||
optional string name = 3;
|
||||
optional Upstream upstream = 4;
|
||||
Type type = 1;
|
||||
bool ignore = 2;
|
||||
string name = 3;
|
||||
Upstream upstream = 4;
|
||||
}
|
||||
|
||||
enum Type {
|
||||
|
||||
Reference in New Issue
Block a user