UNPKG

@plexus-interop/cli

Version:

Plexus Interop CLI tools

1,290 lines (1,289 loc) 35.6 kB
{ "messages": { "nested": { "google": { "nested": { "protobuf": { "options": { "go_package": "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor", "java_package": "com.google.protobuf", "java_outer_classname": "DescriptorProtos", "csharp_namespace": "Google.Protobuf.Reflection", "objc_class_prefix": "GPB", "optimize_for": "SPEED" }, "nested": { "FileDescriptorSet": { "fields": { "file": { "rule": "repeated", "type": "FileDescriptorProto", "id": 1 } } }, "FileDescriptorProto": { "fields": { "name": { "type": "string", "id": 1 }, "package": { "type": "string", "id": 2 }, "dependency": { "rule": "repeated", "type": "string", "id": 3 }, "publicDependency": { "rule": "repeated", "type": "int32", "id": 10, "options": { "packed": false } }, "weakDependency": { "rule": "repeated", "type": "int32", "id": 11, "options": { "packed": false } }, "messageType": { "rule": "repeated", "type": "DescriptorProto", "id": 4 }, "enumType": { "rule": "repeated", "type": "EnumDescriptorProto", "id": 5 }, "service": { "rule": "repeated", "type": "ServiceDescriptorProto", "id": 6 }, "extension": { "rule": "repeated", "type": "FieldDescriptorProto", "id": 7 }, "options": { "type": "FileOptions", "id": 8 }, "sourceCodeInfo": { "type": "SourceCodeInfo", "id": 9 }, "syntax": { "type": "string", "id": 12 } } }, "DescriptorProto": { "fields": { "name": { "type": "string", "id": 1 }, "field": { "rule": "repeated", "type": "FieldDescriptorProto", "id": 2 }, "extension": { "rule": "repeated", "type": "FieldDescriptorProto", "id": 6 }, "nestedType": { "rule": "repeated", "type": "DescriptorProto", "id": 3 }, "enumType": { "rule": "repeated", "type": "EnumDescriptorProto", "id": 4 }, "extensionRange": { "rule": "repeated", "type": "ExtensionRange", "id": 5 }, "oneofDecl": { "rule": "repeated", "type": "OneofDescriptorProto", "id": 8 }, "options": { "type": "MessageOptions", "id": 7 }, "reservedRange": { "rule": "repeated", "type": "ReservedRange", "id": 9 }, "reservedName": { "rule": "repeated", "type": "string", "id": 10 } }, "nested": { "ExtensionRange": { "fields": { "start": { "type": "int32", "id": 1 }, "end": { "type": "int32", "id": 2 }, "options": { "type": "ExtensionRangeOptions", "id": 3 } } }, "ReservedRange": { "fields": { "start": { "type": "int32", "id": 1 }, "end": { "type": "int32", "id": 2 } } } } }, "ExtensionRangeOptions": { "fields": { "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ] }, "FieldDescriptorProto": { "fields": { "name": { "type": "string", "id": 1 }, "number": { "type": "int32", "id": 3 }, "label": { "type": "Label", "id": 4 }, "type": { "type": "Type", "id": 5 }, "typeName": { "type": "string", "id": 6 }, "extendee": { "type": "string", "id": 2 }, "defaultValue": { "type": "string", "id": 7 }, "oneofIndex": { "type": "int32", "id": 9 }, "jsonName": { "type": "string", "id": 10 }, "options": { "type": "FieldOptions", "id": 8 } }, "nested": { "Type": { "values": { "TYPE_DOUBLE": 1, "TYPE_FLOAT": 2, "TYPE_INT64": 3, "TYPE_UINT64": 4, "TYPE_INT32": 5, "TYPE_FIXED64": 6, "TYPE_FIXED32": 7, "TYPE_BOOL": 8, "TYPE_STRING": 9, "TYPE_GROUP": 10, "TYPE_MESSAGE": 11, "TYPE_BYTES": 12, "TYPE_UINT32": 13, "TYPE_ENUM": 14, "TYPE_SFIXED32": 15, "TYPE_SFIXED64": 16, "TYPE_SINT32": 17, "TYPE_SINT64": 18 } }, "Label": { "values": { "LABEL_OPTIONAL": 1, "LABEL_REQUIRED": 2, "LABEL_REPEATED": 3 } } } }, "OneofDescriptorProto": { "fields": { "name": { "type": "string", "id": 1 }, "options": { "type": "OneofOptions", "id": 2 } } }, "EnumDescriptorProto": { "fields": { "name": { "type": "string", "id": 1 }, "value": { "rule": "repeated", "type": "EnumValueDescriptorProto", "id": 2 }, "options": { "type": "EnumOptions", "id": 3 } } }, "EnumValueDescriptorProto": { "fields": { "name": { "type": "string", "id": 1 }, "number": { "type": "int32", "id": 2 }, "options": { "type": "EnumValueOptions", "id": 3 } } }, "ServiceDescriptorProto": { "fields": { "name": { "type": "string", "id": 1 }, "method": { "rule": "repeated", "type": "MethodDescriptorProto", "id": 2 }, "options": { "type": "ServiceOptions", "id": 3 } } }, "MethodDescriptorProto": { "fields": { "name": { "type": "string", "id": 1 }, "inputType": { "type": "string", "id": 2 }, "outputType": { "type": "string", "id": 3 }, "options": { "type": "MethodOptions", "id": 4 }, "clientStreaming": { "type": "bool", "id": 5, "options": { "default": false } }, "serverStreaming": { "type": "bool", "id": 6, "options": { "default": false } } } }, "FileOptions": { "fields": { "javaPackage": { "type": "string", "id": 1 }, "javaOuterClassname": { "type": "string", "id": 8 }, "javaMultipleFiles": { "type": "bool", "id": 10, "options": { "default": false } }, "javaGenerateEqualsAndHash": { "type": "bool", "id": 20, "options": { "deprecated": true } }, "javaStringCheckUtf8": { "type": "bool", "id": 27, "options": { "default": false } }, "optimizeFor": { "type": "OptimizeMode", "id": 9, "options": { "default": "SPEED" } }, "goPackage": { "type": "string", "id": 11 }, "ccGenericServices": { "type": "bool", "id": 16, "options": { "default": false } }, "javaGenericServices": { "type": "bool", "id": 17, "options": { "default": false } }, "pyGenericServices": { "type": "bool", "id": 18, "options": { "default": false } }, "phpGenericServices": { "type": "bool", "id": 19, "options": { "default": false } }, "deprecated": { "type": "bool", "id": 23, "options": { "default": false } }, "ccEnableArenas": { "type": "bool", "id": 31, "options": { "default": false } }, "objcClassPrefix": { "type": "string", "id": 36 }, "csharpNamespace": { "type": "string", "id": 37 }, "swiftPrefix": { "type": "string", "id": 39 }, "phpClassPrefix": { "type": "string", "id": 40 }, "phpNamespace": { "type": "string", "id": 41 }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ], "reserved": [ [ 38, 38 ] ], "nested": { "OptimizeMode": { "values": { "SPEED": 1, "CODE_SIZE": 2, "LITE_RUNTIME": 3 } } } }, "MessageOptions": { "fields": { "messageSetWireFormat": { "type": "bool", "id": 1, "options": { "default": false } }, "noStandardDescriptorAccessor": { "type": "bool", "id": 2, "options": { "default": false } }, "deprecated": { "type": "bool", "id": 3, "options": { "default": false } }, "mapEntry": { "type": "bool", "id": 7 }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ], "reserved": [ [ 8, 8 ], [ 9, 9 ] ] }, "FieldOptions": { "fields": { "ctype": { "type": "CType", "id": 1, "options": { "default": "STRING" } }, "packed": { "type": "bool", "id": 2 }, "jstype": { "type": "JSType", "id": 6, "options": { "default": "JS_NORMAL" } }, "lazy": { "type": "bool", "id": 5, "options": { "default": false } }, "deprecated": { "type": "bool", "id": 3, "options": { "default": false } }, "weak": { "type": "bool", "id": 10, "options": { "default": false } }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ], "reserved": [ [ 4, 4 ] ], "nested": { "CType": { "values": { "STRING": 0, "CORD": 1, "STRING_PIECE": 2 } }, "JSType": { "values": { "JS_NORMAL": 0, "JS_STRING": 1, "JS_NUMBER": 2 } } } }, "OneofOptions": { "fields": { "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ] }, "EnumOptions": { "fields": { "allowAlias": { "type": "bool", "id": 2 }, "deprecated": { "type": "bool", "id": 3, "options": { "default": false } }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ], "reserved": [ [ 5, 5 ] ] }, "EnumValueOptions": { "fields": { "deprecated": { "type": "bool", "id": 1, "options": { "default": false } }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ] }, "ServiceOptions": { "fields": { "deprecated": { "type": "bool", "id": 33, "options": { "default": false } }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ] }, "MethodOptions": { "fields": { "deprecated": { "type": "bool", "id": 33, "options": { "default": false } }, "idempotencyLevel": { "type": "IdempotencyLevel", "id": 34, "options": { "default": "IDEMPOTENCY_UNKNOWN" } }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", "id": 999 } }, "extensions": [ [ 1000, 536870911 ] ], "nested": { "IdempotencyLevel": { "values": { "IDEMPOTENCY_UNKNOWN": 0, "NO_SIDE_EFFECTS": 1, "IDEMPOTENT": 2 } } } }, "UninterpretedOption": { "fields": { "name": { "rule": "repeated", "type": "NamePart", "id": 2 }, "identifierValue": { "type": "string", "id": 3 }, "positiveIntValue": { "type": "uint64", "id": 4 }, "negativeIntValue": { "type": "int64", "id": 5 }, "doubleValue": { "type": "double", "id": 6 }, "stringValue": { "type": "bytes", "id": 7 }, "aggregateValue": { "type": "string", "id": 8 } }, "nested": { "NamePart": { "fields": { "namePart": { "rule": "required", "type": "string", "id": 1 }, "isExtension": { "rule": "required", "type": "bool", "id": 2 } } } } }, "SourceCodeInfo": { "fields": { "location": { "rule": "repeated", "type": "Location", "id": 1 } }, "nested": { "Location": { "fields": { "path": { "rule": "repeated", "type": "int32", "id": 1 }, "span": { "rule": "repeated", "type": "int32", "id": 2 }, "leadingComments": { "type": "string", "id": 3 }, "trailingComments": { "type": "string", "id": 4 }, "leadingDetachedComments": { "rule": "repeated", "type": "string", "id": 6 } } } } }, "GeneratedCodeInfo": { "fields": { "annotation": { "rule": "repeated", "type": "Annotation", "id": 1 } }, "nested": { "Annotation": { "fields": { "path": { "rule": "repeated", "type": "int32", "id": 1 }, "sourceFile": { "type": "string", "id": 2 }, "begin": { "type": "int32", "id": 3 }, "end": { "type": "int32", "id": 4 } } } } } } } } }, "interop": { "options": { "csharp_namespace": "plexus" }, "nested": { "AppLauncherService": { "options": { "(.interop.service_id)": "interop.AppLauncherService" }, "methods": { "Launch": { "requestType": "AppLaunchRequest", "responseType": "AppLaunchResponse" } } }, "AppLaunchRequest": { "options": { "(.interop.message_id)": "interop.AppLaunchRequest" }, "fields": { "appId": { "type": "string", "id": 1 }, "launchParamsJson": { "type": "string", "id": 2 }, "launchMode": { "type": "AppLaunchMode", "id": 3 }, "suggestedAppInstanceId": { "type": "UniqueId", "id": 4 }, "referrer": { "type": "AppLaunchReferrer", "id": 5 } } }, "AppLaunchReferrer": { "options": { "(.interop.message_id)": "interop.AppLaunchReferrer" }, "fields": { "appId": { "type": "string", "id": 1 }, "appInstanceId": { "type": "UniqueId", "id": 2 }, "connectionId": { "type": "UniqueId", "id": 3 } } }, "AppLaunchResponse": { "options": { "(.interop.message_id)": "interop.AppLaunchResponse" }, "fields": { "appInstanceId": { "type": "UniqueId", "id": 1 } } }, "messageId": { "type": "string", "id": 9650, "extend": "google.protobuf.MessageOptions" }, "serviceId": { "type": "string", "id": 9650, "extend": "google.protobuf.ServiceOptions" }, "methodId": { "type": "string", "id": 9650, "extend": "google.protobuf.MethodOptions" }, "samples": { "options": { "csharp_namespace": "plexus" }, "nested": { "GreetingService": { "options": { "(.interop.service_id)": "interop.samples.GreetingService" }, "methods": { "Unary": { "requestType": "GreetingRequest", "responseType": "GreetingResponse" }, "ServerStreaming": { "requestType": "GreetingRequest", "responseType": "GreetingResponse", "responseStream": true }, "ClientStreaming": { "requestType": "GreetingRequest", "requestStream": true, "responseType": "GreetingResponse" }, "DuplexStreaming": { "requestType": "GreetingRequest", "requestStream": true, "responseType": "GreetingResponse", "responseStream": true } } }, "GreetingRequest": { "options": { "(.interop.message_id)": "interop.samples.GreetingRequest" }, "fields": { "name": { "type": "string", "id": 1 } } }, "GreetingResponse": { "options": { "(.interop.message_id)": "interop.samples.GreetingResponse" }, "fields": { "greeting": { "type": "string", "id": 1 } } } } }, "ApplicationOptions": { "fields": { "title": { "type": "string", "id": 1 }, "launchOnCall": { "type": "ApplicationLaunchOnCallMode", "id": 2 } }, "extensions": [ [ 1000, 536870911 ] ] }, "ProvidedServiceOptions": { "fields": { "title": { "type": "string", "id": 1 }, "launchOnCall": { "type": "ApplicationLaunchOnCallMode", "id": 2 } }, "extensions": [ [ 1000, 536870911 ] ] }, "ConsumedServiceOptions": { "fields": {}, "extensions": [ [ 1000, 536870911 ] ] }, "ProvidedMethodOptions": { "fields": { "title": { "type": "string", "id": 1 }, "launchOnCall": { "type": "ApplicationLaunchOnCallMode", "id": 2 }, "timeoutMs": { "type": "uint32", "id": 3 } }, "extensions": [ [ 1000, 536870911 ] ] }, "ConsumedMethodOptions": { "fields": {}, "extensions": [ [ 1000, 536870911 ] ] }, "ApplicationLaunchOnCallMode": { "options": { "allow_alias": true }, "values": { "IF_NOT_LAUNCHED": 0, "DEFAULT": 0, "ALWAYS": 1, "ENABLED": 1, "NEVER": 2, "DISABLED": 2 } }, "UniqueId": { "options": { "(.interop.message_id)": "interop.UniqueId" }, "fields": { "lo": { "type": "fixed64", "id": 1 }, "hi": { "type": "fixed64", "id": 2 } } }, "AppLaunchMode": { "values": { "SINGLE_INSTANCE": 0, "MULTI_INSTANCE": 1 } } } } } } , "services": [ { "id": "interop.AppLauncherService", "methods": [ { "name": "Launch", "request": "interop.AppLaunchRequest", "response": "interop.AppLaunchResponse", "type": "Unary" } ], "options": [ { "id": "interop.service_id", "value": "interop.AppLauncherService" } ] }, { "id": "interop.samples.GreetingService", "methods": [ { "name": "Unary", "request": "interop.samples.GreetingRequest", "response": "interop.samples.GreetingResponse", "type": "Unary" }, { "name": "ServerStreaming", "request": "interop.samples.GreetingRequest", "response": "interop.samples.GreetingResponse", "type": "ServerStreaming" }, { "name": "ClientStreaming", "request": "interop.samples.GreetingRequest", "response": "interop.samples.GreetingResponse", "type": "ClientStreaming" }, { "name": "DuplexStreaming", "request": "interop.samples.GreetingRequest", "response": "interop.samples.GreetingResponse", "type": "DuplexStreaming" } ], "options": [ { "id": "interop.service_id", "value": "interop.samples.GreetingService" } ] } ], "applications": [ { "id": "interop.ElectronAppLauncher", "provides": [ { "service": "interop.AppLauncherService", "methods": [ { "name": "Launch" } ], "to": [ "interop.AppLifecycleManager" ] } ] }, { "id": "interop.samples.GreetingClient", "consumes": [ { "service": "interop.samples.GreetingService", "methods": [ { "name": "Unary" }, { "name": "ServerStreaming" }, { "name": "ClientStreaming" }, { "name": "DuplexStreaming" } ], "from": [ "interop.samples.*" ] } ] }, { "id": "interop.samples.GreetingServer", "provides": [ { "service": "interop.samples.GreetingService", "methods": [ { "name": "Unary", "options": [ { "id": "interop.ProvidedMethodOptions.title", "value": "Greeting from .NET app" } ] }, { "name": "ServerStreaming", "options": [ { "id": "interop.ProvidedMethodOptions.title", "value": "Greetings from .NET app" } ] }, { "name": "ClientStreaming" }, { "name": "DuplexStreaming" } ], "to": [ "interop.samples.GreetingClient" ], "options": [ { "id": "interop.ProvidedServiceOptions.title", "value": "Greeting service implemented by .NET app" } ] } ] }, { "id": "interop.samples.WebGreetingServer", "provides": [ { "service": "interop.samples.GreetingService", "methods": [ { "name": "Unary", "options": [ { "id": "interop.ProvidedMethodOptions.title", "value": "Greeting from Electron Web app" } ] } ], "to": [ "interop.samples.GreetingClient" ] } ] } ] }