@furo/open-models 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81381,28 +81381,20 @@
81381
81381
  },
81382
81382
  {
81383
81383
  "kind": "javascript-module",
81384
- "path": "dist/protoc-gen-open-models/furo/cube/Colour.js",
81384
+ "path": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js",
81385
81385
  "declarations": [
81386
81386
  {
81387
81387
  "kind": "class",
81388
- "description": "Colour",
81389
- "name": "Colour",
81388
+ "description": "CustomHttpPattern\n A custom pattern is used for defining custom HTTP verb.",
81389
+ "name": "CustomHttpPattern",
81390
81390
  "members": [
81391
81391
  {
81392
81392
  "kind": "field",
81393
- "name": "red"
81394
- },
81395
- {
81396
- "kind": "field",
81397
- "name": "green"
81398
- },
81399
- {
81400
- "kind": "field",
81401
- "name": "blue"
81393
+ "name": "kind"
81402
81394
  },
81403
81395
  {
81404
81396
  "kind": "field",
81405
- "name": "alpha"
81397
+ "name": "path"
81406
81398
  },
81407
81399
  {
81408
81400
  "kind": "method",
@@ -81423,7 +81415,7 @@
81423
81415
  "type": {
81424
81416
  "text": "string"
81425
81417
  },
81426
- "default": "'furo.cube.Colour'"
81418
+ "default": "'google.api.CustomHttpPattern'"
81427
81419
  },
81428
81420
  {
81429
81421
  "kind": "field",
@@ -81431,27 +81423,17 @@
81431
81423
  "type": {
81432
81424
  "text": "array"
81433
81425
  },
81434
- "default": "[ { fieldName: 'red', protoName: 'red', FieldConstructor: INT32, constraints: { maximum: 255 }, }, { fieldName: 'green', protoName: 'green', FieldConstructor: INT32, constraints: { maximum: 255 }, }, { fieldName: 'blue', protoName: 'blue', FieldConstructor: INT32, constraints: { maximum: 255 }, }, { fieldName: 'alpha', protoName: 'alpha', FieldConstructor: FLOAT, constraints: { maximum: 1 }, }, ]"
81435
- },
81436
- {
81437
- "kind": "field",
81438
- "name": "_red",
81439
- "default": "new INT32(undefined, this, 'red')"
81440
- },
81441
- {
81442
- "kind": "field",
81443
- "name": "_green",
81444
- "default": "new INT32(undefined, this, 'green')"
81426
+ "default": "[ { fieldName: 'kind', protoName: 'kind', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'path', protoName: 'path', FieldConstructor: STRING, constraints: {}, }, ]"
81445
81427
  },
81446
81428
  {
81447
81429
  "kind": "field",
81448
- "name": "_blue",
81449
- "default": "new INT32(undefined, this, 'blue')"
81430
+ "name": "_kind",
81431
+ "default": "new STRING(undefined, this, 'kind')"
81450
81432
  },
81451
81433
  {
81452
81434
  "kind": "field",
81453
- "name": "_alpha",
81454
- "default": "new FLOAT(undefined, this, 'alpha')"
81435
+ "name": "_path",
81436
+ "default": "new STRING(undefined, this, 'path')"
81455
81437
  },
81456
81438
  {
81457
81439
  "kind": "field",
@@ -81459,7 +81441,7 @@
81459
81441
  "type": {
81460
81442
  "text": "object"
81461
81443
  },
81462
- "default": "{ alpha: 1.0, blue: 88.0, green: 34.0, red: 22.0, }"
81444
+ "default": "{}"
81463
81445
  },
81464
81446
  {
81465
81447
  "kind": "field",
@@ -82282,60 +82264,36 @@
82282
82264
  "exports": [
82283
82265
  {
82284
82266
  "kind": "js",
82285
- "name": "Colour",
82267
+ "name": "CustomHttpPattern",
82286
82268
  "declaration": {
82287
- "name": "Colour",
82288
- "module": "dist/protoc-gen-open-models/furo/cube/Colour.js"
82269
+ "name": "CustomHttpPattern",
82270
+ "module": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js"
82289
82271
  }
82290
82272
  }
82291
82273
  ]
82292
82274
  },
82293
82275
  {
82294
82276
  "kind": "javascript-module",
82295
- "path": "dist/protoc-gen-open-models/furo/cube/Colour.js.map",
82277
+ "path": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js.map",
82296
82278
  "declarations": [],
82297
82279
  "exports": []
82298
82280
  },
82299
82281
  {
82300
82282
  "kind": "javascript-module",
82301
- "path": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js",
82283
+ "path": "dist/protoc-gen-open-models/google/api/Http.js",
82302
82284
  "declarations": [
82303
82285
  {
82304
82286
  "kind": "class",
82305
- "description": "CubeDefinition",
82306
- "name": "CubeDefinition",
82287
+ "description": "Http\n Defines the HTTP configuration for an API service. It contains a list of\n [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method\n to one or more HTTP REST API methods.",
82288
+ "name": "Http",
82307
82289
  "members": [
82308
82290
  {
82309
82291
  "kind": "field",
82310
- "name": "length"
82311
- },
82312
- {
82313
- "kind": "field",
82314
- "name": "breadth"
82315
- },
82316
- {
82317
- "kind": "field",
82318
- "name": "height"
82319
- },
82320
- {
82321
- "kind": "field",
82322
- "name": "colour"
82323
- },
82324
- {
82325
- "kind": "field",
82326
- "name": "material"
82327
- },
82328
- {
82329
- "kind": "field",
82330
- "name": "str"
82331
- },
82332
- {
82333
- "kind": "field",
82334
- "name": "boo"
82292
+ "name": "rules"
82335
82293
  },
82336
82294
  {
82337
82295
  "kind": "field",
82338
- "name": "num"
82296
+ "name": "fullyDecodeReservedExpansion"
82339
82297
  },
82340
82298
  {
82341
82299
  "kind": "method",
@@ -82356,7 +82314,7 @@
82356
82314
  "type": {
82357
82315
  "text": "string"
82358
82316
  },
82359
- "default": "'furo.cube.CubeDefinition'"
82317
+ "default": "'google.api.Http'"
82360
82318
  },
82361
82319
  {
82362
82320
  "kind": "field",
@@ -82364,47 +82322,17 @@
82364
82322
  "type": {
82365
82323
  "text": "array"
82366
82324
  },
82367
- "default": "[ { fieldName: 'length', protoName: 'length', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, }, { fieldName: 'breadth', protoName: 'breadth', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, }, { fieldName: 'height', protoName: 'height', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, }, { fieldName: 'colour', protoName: 'colour', FieldConstructor: FuroCubeColour, constraints: {}, }, { fieldName: 'material', protoName: 'material', FieldConstructor: (ENUM), constraints: {}, }, { fieldName: 'str', protoName: 'str', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'boo', protoName: 'boo', FieldConstructor: BOOLEAN, constraints: {}, }, { fieldName: 'num', protoName: 'num', FieldConstructor: INT32, constraints: {}, }, ]"
82368
- },
82369
- {
82370
- "kind": "field",
82371
- "name": "_length",
82372
- "default": "new DOUBLE(undefined, this, 'length')"
82373
- },
82374
- {
82375
- "kind": "field",
82376
- "name": "_breadth",
82377
- "default": "new DOUBLE(undefined, this, 'breadth')"
82378
- },
82379
- {
82380
- "kind": "field",
82381
- "name": "_height",
82382
- "default": "new DOUBLE(undefined, this, 'height')"
82383
- },
82384
- {
82385
- "kind": "field",
82386
- "name": "_colour",
82387
- "default": "new FuroCubeColour(undefined, this, 'colour')"
82388
- },
82389
- {
82390
- "kind": "field",
82391
- "name": "_material",
82392
- "default": "new ENUM(undefined, FuroCubeMaterials, FuroCubeMaterials.MATERIALS_UNSPECIFIED, this, 'material')"
82393
- },
82394
- {
82395
- "kind": "field",
82396
- "name": "_str",
82397
- "default": "new STRING(undefined, this, 'str')"
82325
+ "default": "[ { fieldName: 'rules', protoName: 'rules', FieldConstructor: GoogleApiHttpRule, constraints: {}, }, { fieldName: 'fullyDecodeReservedExpansion', protoName: 'fully_decode_reserved_expansion', FieldConstructor: BOOLEAN, constraints: {}, }, ]"
82398
82326
  },
82399
82327
  {
82400
82328
  "kind": "field",
82401
- "name": "_boo",
82402
- "default": "new BOOLEAN(undefined, this, 'boo')"
82329
+ "name": "_rules",
82330
+ "default": "new ARRAY(undefined, this, 'rules')"
82403
82331
  },
82404
82332
  {
82405
82333
  "kind": "field",
82406
- "name": "_num",
82407
- "default": "new INT32(undefined, this, 'num')"
82334
+ "name": "_fullyDecodeReservedExpansion",
82335
+ "default": "new BOOLEAN(undefined, this, 'fullyDecodeReservedExpansion')"
82408
82336
  },
82409
82337
  {
82410
82338
  "kind": "field",
@@ -82412,7 +82340,7 @@
82412
82340
  "type": {
82413
82341
  "text": "object"
82414
82342
  },
82415
- "default": "{ breadth: 100.0, height: 100.0, length: 100.0, }"
82343
+ "default": "{}"
82416
82344
  },
82417
82345
  {
82418
82346
  "kind": "field",
@@ -83235,40 +83163,68 @@
83235
83163
  "exports": [
83236
83164
  {
83237
83165
  "kind": "js",
83238
- "name": "CubeDefinition",
83166
+ "name": "Http",
83239
83167
  "declaration": {
83240
- "name": "CubeDefinition",
83241
- "module": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js"
83168
+ "name": "Http",
83169
+ "module": "dist/protoc-gen-open-models/google/api/Http.js"
83242
83170
  }
83243
83171
  }
83244
83172
  ]
83245
83173
  },
83246
83174
  {
83247
83175
  "kind": "javascript-module",
83248
- "path": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js.map",
83176
+ "path": "dist/protoc-gen-open-models/google/api/Http.js.map",
83249
83177
  "declarations": [],
83250
83178
  "exports": []
83251
83179
  },
83252
83180
  {
83253
83181
  "kind": "javascript-module",
83254
- "path": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js",
83182
+ "path": "dist/protoc-gen-open-models/google/api/HttpRule.js",
83255
83183
  "declarations": [
83256
83184
  {
83257
83185
  "kind": "class",
83258
- "description": "CubeEntity",
83259
- "name": "CubeEntity",
83186
+ "description": "HttpRule\n # gRPC Transcoding\n\n gRPC Transcoding is a feature for mapping between a gRPC method and one or\n more HTTP REST endpoints. It allows developers to build a single API service\n that supports both gRPC APIs and REST APIs. Many systems, including [Google\n APIs](https://github.com/googleapis/googleapis),\n [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\n Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\n and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\n and use it for large scale production services.\n\n `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\n how different portions of the gRPC request message are mapped to the URL\n path, URL query parameters, and HTTP request body. It also controls how the\n gRPC response message is mapped to the HTTP response body. `HttpRule` is\n typically specified as an `google.api.http` annotation on the gRPC method.\n\n Each mapping specifies a URL path template and an HTTP method. The path\n template may refer to one or more fields in the gRPC request message, as long\n as each field is a non-repeated field with a primitive (non-message) type.\n The path template controls how fields of the request message are mapped to\n the URL path.\n\n Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/{name=messages/*}\"\n };\n }\n }\n message GetMessageRequest {\n string name = 1; // Mapped to URL path.\n }\n message Message {\n string text = 1; // The resource content.\n }\n\n This enables an HTTP REST to gRPC mapping as below:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\n\n Any fields in the request message which are not bound by the path template\n automatically become HTTP query parameters if there is no HTTP request body.\n For example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get:\"/v1/messages/{message_id}\"\n };\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // Mapped to URL path.\n int64 revision = 2; // Mapped to URL query parameter `revision`.\n SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\n }\n\n This enables a HTTP JSON to RPC mapping as below:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\n `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\n \"foo\"))`\n\n Note that fields which are mapped to URL query parameters must have a\n primitive type or a repeated primitive type or a non-repeated message type.\n In the case of a repeated type, the parameter can be repeated in the URL\n as `...?param=A&param=B`. In the case of a message type, each field of the\n message is mapped to a separate parameter, such as\n `...?foo.a=A&foo.b=B&foo.c=C`.\n\n For HTTP methods that allow a request body, the `body` field\n specifies the mapping. Consider a REST update method on the\n message resource collection:\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n patch: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n The following HTTP JSON to RPC mapping is enabled, where the\n representation of the JSON in the request body is determined by\n protos JSON encoding:\n\n HTTP | gRPC\n -----|-----\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n \"123456\" message { text: \"Hi!\" })`\n\n The special name `*` can be used in the body mapping to define that\n every field not bound by the path template should be mapped to the\n request body. This enables the following alternative definition of\n the update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n patch: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\n The following HTTP JSON to RPC mapping is enabled:\n\n HTTP | gRPC\n -----|-----\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n \"123456\" text: \"Hi!\")`\n\n Note that when using `*` in the body mapping, it is not possible to\n have HTTP parameters, as all fields not bound by the path end in\n the body. This makes this option more rarely used in practice when\n defining REST APIs. The common usage of `*` is in custom methods\n which don't use the URL at all for transferring data.\n\n It is possible to define multiple HTTP methods for one RPC by using\n the `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n This enables the following two alternative HTTP JSON to RPC mappings:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\n \"123456\")`\n\n ## Rules for HTTP mapping\n\n 1. Leaf request fields (recursive expansion nested messages in the request\n message) are classified into three categories:\n - Fields referred by the path template. They are passed via the URL path.\n - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\n are passed via the HTTP\n request body.\n - All other fields are passed via the URL query parameters, and the\n parameter name is the field path in the request message. A repeated\n field can be represented as multiple query parameters under the same\n name.\n 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\n query parameter, all fields\n are passed via URL path and HTTP request body.\n 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\n request body, all\n fields are passed via URL path and URL query parameters.\n\n ### Path template syntax\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\n The syntax `*` matches a single URL path segment. The syntax `**` matches\n zero or more URL path segments, which must be the last part of the URL path\n except the `Verb`.\n\n The syntax `Variable` matches part of the URL path as specified by its\n template. A variable template must not contain other variables. If a variable\n matches a single path segment, its template may be omitted, e.g. `{var}`\n is equivalent to `{var=*}`.\n\n The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\n contains any reserved character, such characters should be percent-encoded\n before the matching.\n\n If a variable contains exactly one path segment, such as `\"{var}\"` or\n `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\n side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\n server side does the reverse decoding. Such variables show up in the\n [Discovery\n Document](https://developers.google.com/discovery/v1/reference/apis) as\n `{var}`.\n\n If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\n or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\n client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\n The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\n unchanged. Such variables show up in the\n [Discovery\n Document](https://developers.google.com/discovery/v1/reference/apis) as\n `{+var}`.\n\n ## Using gRPC API Service Configuration\n\n gRPC API Service Configuration (service config) is a configuration language\n for configuring a gRPC service to become a user-facing product. The\n service config is simply the YAML representation of the `google.api.Service`\n proto message.\n\n As an alternative to annotating your proto file, you can configure gRPC\n transcoding in your service config YAML files. You do this by specifying a\n `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\n effect as the proto annotation. This can be particularly useful if you\n have a proto that is reused in multiple services. Note that any transcoding\n specified in the service config will override any matching transcoding\n configuration in the proto.\n\n Example:\n\n http:\n rules:\n # Selects a gRPC method and applies HttpRule to it.\n - selector: example.v1.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\n ## Special notes\n\n When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\n proto to JSON conversion must follow the [proto3\n specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\n\n While the single segment variable follows the semantics of\n [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\n Expansion, the multi segment variable **does not** follow RFC 6570 Section\n 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\n does not expand special characters like `?` and `#`, which would lead\n to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\n for multi segment variables.\n\n The path variables **must not** refer to any repeated or mapped field,\n because client libraries are not capable of handling such variable expansion.\n\n The path variables **must not** capture the leading \"/\" character. The reason\n is that the most common use case \"{var}\" does not capture the leading \"/\"\n character. For consistency, all path variables must share the same behavior.\n\n Repeated message fields must not be mapped to URL query parameters, because\n no client library can support such complicated mapping.\n\n If an API needs to use a JSON array for request or response body, it can map\n the request or response body to a repeated field. However, some gRPC\n Transcoding implementations may not support this feature.",
83187
+ "name": "HttpRule",
83260
83188
  "members": [
83261
83189
  {
83262
83190
  "kind": "field",
83263
- "name": "displayName"
83191
+ "name": "selector"
83264
83192
  },
83265
83193
  {
83266
83194
  "kind": "field",
83267
- "name": "description"
83195
+ "name": "get"
83268
83196
  },
83269
83197
  {
83270
83198
  "kind": "field",
83271
- "name": "cube"
83199
+ "name": "put"
83200
+ },
83201
+ {
83202
+ "kind": "field",
83203
+ "name": "post"
83204
+ },
83205
+ {
83206
+ "kind": "field",
83207
+ "name": "delete"
83208
+ },
83209
+ {
83210
+ "kind": "field",
83211
+ "name": "patch"
83212
+ },
83213
+ {
83214
+ "kind": "field",
83215
+ "name": "custom"
83216
+ },
83217
+ {
83218
+ "kind": "field",
83219
+ "name": "body"
83220
+ },
83221
+ {
83222
+ "kind": "field",
83223
+ "name": "responseBody"
83224
+ },
83225
+ {
83226
+ "kind": "field",
83227
+ "name": "additionalBindings"
83272
83228
  },
83273
83229
  {
83274
83230
  "kind": "method",
@@ -83289,7 +83245,7 @@
83289
83245
  "type": {
83290
83246
  "text": "string"
83291
83247
  },
83292
- "default": "'furo.cube.CubeEntity'"
83248
+ "default": "'google.api.HttpRule'"
83293
83249
  },
83294
83250
  {
83295
83251
  "kind": "field",
@@ -83297,22 +83253,57 @@
83297
83253
  "type": {
83298
83254
  "text": "array"
83299
83255
  },
83300
- "default": "[ { fieldName: 'displayName', protoName: 'display_name', FieldConstructor: STRING, constraints: { read_only: true }, }, { fieldName: 'description', protoName: 'description', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'cube', protoName: 'cube', FieldConstructor: FuroCubeCubeDefinition, constraints: {}, }, ]"
83256
+ "default": "[ { fieldName: 'selector', protoName: 'selector', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'get', protoName: 'get', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'put', protoName: 'put', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'post', protoName: 'post', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'delete', protoName: 'delete', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'patch', protoName: 'patch', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'custom', protoName: 'custom', FieldConstructor: GoogleApiCustomHttpPattern, constraints: {}, }, { fieldName: 'body', protoName: 'body', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'responseBody', protoName: 'response_body', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'additionalBindings', protoName: 'additional_bindings', FieldConstructor: HttpRule, constraints: {}, }, ]"
83301
83257
  },
83302
83258
  {
83303
83259
  "kind": "field",
83304
- "name": "_displayName",
83305
- "default": "new STRING(undefined, this, 'displayName')"
83260
+ "name": "_selector",
83261
+ "default": "new STRING(undefined, this, 'selector')"
83306
83262
  },
83307
83263
  {
83308
83264
  "kind": "field",
83309
- "name": "_description",
83310
- "default": "new STRING(undefined, this, 'description')"
83265
+ "name": "_get",
83266
+ "default": "new STRING(undefined, this, 'get')"
83311
83267
  },
83312
83268
  {
83313
83269
  "kind": "field",
83314
- "name": "_cube",
83315
- "default": "new FuroCubeCubeDefinition(undefined, this, 'cube')"
83270
+ "name": "_put",
83271
+ "default": "new STRING(undefined, this, 'put')"
83272
+ },
83273
+ {
83274
+ "kind": "field",
83275
+ "name": "_post",
83276
+ "default": "new STRING(undefined, this, 'post')"
83277
+ },
83278
+ {
83279
+ "kind": "field",
83280
+ "name": "_delete",
83281
+ "default": "new STRING(undefined, this, 'delete')"
83282
+ },
83283
+ {
83284
+ "kind": "field",
83285
+ "name": "_patch",
83286
+ "default": "new STRING(undefined, this, 'patch')"
83287
+ },
83288
+ {
83289
+ "kind": "field",
83290
+ "name": "_custom",
83291
+ "default": "new GoogleApiCustomHttpPattern(undefined, this, 'custom')"
83292
+ },
83293
+ {
83294
+ "kind": "field",
83295
+ "name": "_body",
83296
+ "default": "new STRING(undefined, this, 'body')"
83297
+ },
83298
+ {
83299
+ "kind": "field",
83300
+ "name": "_responseBody",
83301
+ "default": "new STRING(undefined, this, 'responseBody')"
83302
+ },
83303
+ {
83304
+ "kind": "field",
83305
+ "name": "_additionalBindings",
83306
+ "default": "new ARRAY(undefined, this, 'additionalBindings')"
83316
83307
  },
83317
83308
  {
83318
83309
  "kind": "field",
@@ -83320,7 +83311,7 @@
83320
83311
  "type": {
83321
83312
  "text": "object"
83322
83313
  },
83323
- "default": "{ cube: { length: 222 }, }"
83314
+ "default": "{}"
83324
83315
  },
83325
83316
  {
83326
83317
  "kind": "field",
@@ -84143,76 +84134,44 @@
84143
84134
  "exports": [
84144
84135
  {
84145
84136
  "kind": "js",
84146
- "name": "CubeEntity",
84137
+ "name": "HttpRule",
84147
84138
  "declaration": {
84148
- "name": "CubeEntity",
84149
- "module": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js"
84139
+ "name": "HttpRule",
84140
+ "module": "dist/protoc-gen-open-models/google/api/HttpRule.js"
84150
84141
  }
84151
84142
  }
84152
84143
  ]
84153
84144
  },
84154
84145
  {
84155
84146
  "kind": "javascript-module",
84156
- "path": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js.map",
84147
+ "path": "dist/protoc-gen-open-models/google/api/HttpRule.js.map",
84157
84148
  "declarations": [],
84158
84149
  "exports": []
84159
84150
  },
84160
84151
  {
84161
84152
  "kind": "javascript-module",
84162
- "path": "dist/protoc-gen-open-models/furo/cube/CubeService.js",
84153
+ "path": "dist/protoc-gen-open-models/furo/cube/Colour.js",
84163
84154
  "declarations": [
84164
84155
  {
84165
84156
  "kind": "class",
84166
- "description": "",
84167
- "name": "CubeService",
84157
+ "description": "Colour",
84158
+ "name": "Colour",
84168
84159
  "members": [
84169
84160
  {
84170
84161
  "kind": "field",
84171
- "name": "GetList",
84172
- "default": "new Fetcher(API_OPTIONS, 'GET', '/v1/cubes')"
84162
+ "name": "red"
84173
84163
  },
84174
84164
  {
84175
84165
  "kind": "field",
84176
- "name": "Get",
84177
- "default": "new Fetcher(API_OPTIONS, 'GET', '/v1/cubes/{cube_id}')"
84166
+ "name": "green"
84178
84167
  },
84179
84168
  {
84180
84169
  "kind": "field",
84181
- "name": "Update",
84182
- "default": "new Fetcher(API_OPTIONS, 'PUT', '/v1/cubes/{cube_id}', 'entity')"
84183
- }
84184
- ]
84185
- }
84186
- ],
84187
- "exports": [
84188
- {
84189
- "kind": "js",
84190
- "name": "CubeService",
84191
- "declaration": {
84192
- "name": "CubeService",
84193
- "module": "dist/protoc-gen-open-models/furo/cube/CubeService.js"
84194
- }
84195
- }
84196
- ]
84197
- },
84198
- {
84199
- "kind": "javascript-module",
84200
- "path": "dist/protoc-gen-open-models/furo/cube/CubeService.js.map",
84201
- "declarations": [],
84202
- "exports": []
84203
- },
84204
- {
84205
- "kind": "javascript-module",
84206
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js",
84207
- "declarations": [
84208
- {
84209
- "kind": "class",
84210
- "description": "CubeServiceGetListRequest",
84211
- "name": "CubeServiceGetListRequest",
84212
- "members": [
84170
+ "name": "blue"
84171
+ },
84213
84172
  {
84214
84173
  "kind": "field",
84215
- "name": "query"
84174
+ "name": "alpha"
84216
84175
  },
84217
84176
  {
84218
84177
  "kind": "method",
@@ -84233,7 +84192,7 @@
84233
84192
  "type": {
84234
84193
  "text": "string"
84235
84194
  },
84236
- "default": "'furo.cube.CubeServiceGetListRequest'"
84195
+ "default": "'furo.cube.Colour'"
84237
84196
  },
84238
84197
  {
84239
84198
  "kind": "field",
@@ -84241,12 +84200,27 @@
84241
84200
  "type": {
84242
84201
  "text": "array"
84243
84202
  },
84244
- "default": "[ { fieldName: 'query', protoName: 'query', FieldConstructor: STRING, constraints: {}, }, ]"
84203
+ "default": "[ { fieldName: 'red', protoName: 'red', FieldConstructor: INT32, constraints: { maximum: 255 }, }, { fieldName: 'green', protoName: 'green', FieldConstructor: INT32, constraints: { maximum: 255 }, }, { fieldName: 'blue', protoName: 'blue', FieldConstructor: INT32, constraints: { maximum: 255 }, }, { fieldName: 'alpha', protoName: 'alpha', FieldConstructor: FLOAT, constraints: { maximum: 1 }, }, ]"
84245
84204
  },
84246
84205
  {
84247
84206
  "kind": "field",
84248
- "name": "_query",
84249
- "default": "new STRING(undefined, this, 'query')"
84207
+ "name": "_red",
84208
+ "default": "new INT32(undefined, this, 'red')"
84209
+ },
84210
+ {
84211
+ "kind": "field",
84212
+ "name": "_green",
84213
+ "default": "new INT32(undefined, this, 'green')"
84214
+ },
84215
+ {
84216
+ "kind": "field",
84217
+ "name": "_blue",
84218
+ "default": "new INT32(undefined, this, 'blue')"
84219
+ },
84220
+ {
84221
+ "kind": "field",
84222
+ "name": "_alpha",
84223
+ "default": "new FLOAT(undefined, this, 'alpha')"
84250
84224
  },
84251
84225
  {
84252
84226
  "kind": "field",
@@ -84254,7 +84228,7 @@
84254
84228
  "type": {
84255
84229
  "text": "object"
84256
84230
  },
84257
- "default": "{}"
84231
+ "default": "{ alpha: 1.0, blue: 88.0, green: 34.0, red: 22.0, }"
84258
84232
  },
84259
84233
  {
84260
84234
  "kind": "field",
@@ -85077,32 +85051,60 @@
85077
85051
  "exports": [
85078
85052
  {
85079
85053
  "kind": "js",
85080
- "name": "CubeServiceGetListRequest",
85054
+ "name": "Colour",
85081
85055
  "declaration": {
85082
- "name": "CubeServiceGetListRequest",
85083
- "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js"
85056
+ "name": "Colour",
85057
+ "module": "dist/protoc-gen-open-models/furo/cube/Colour.js"
85084
85058
  }
85085
85059
  }
85086
85060
  ]
85087
85061
  },
85088
85062
  {
85089
85063
  "kind": "javascript-module",
85090
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js.map",
85064
+ "path": "dist/protoc-gen-open-models/furo/cube/Colour.js.map",
85091
85065
  "declarations": [],
85092
85066
  "exports": []
85093
85067
  },
85094
85068
  {
85095
85069
  "kind": "javascript-module",
85096
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js",
85070
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js",
85097
85071
  "declarations": [
85098
85072
  {
85099
85073
  "kind": "class",
85100
- "description": "CubeServiceGetListResponse",
85101
- "name": "CubeServiceGetListResponse",
85074
+ "description": "CubeDefinition",
85075
+ "name": "CubeDefinition",
85102
85076
  "members": [
85103
85077
  {
85104
85078
  "kind": "field",
85105
- "name": "entities"
85079
+ "name": "length"
85080
+ },
85081
+ {
85082
+ "kind": "field",
85083
+ "name": "breadth"
85084
+ },
85085
+ {
85086
+ "kind": "field",
85087
+ "name": "height"
85088
+ },
85089
+ {
85090
+ "kind": "field",
85091
+ "name": "colour"
85092
+ },
85093
+ {
85094
+ "kind": "field",
85095
+ "name": "material"
85096
+ },
85097
+ {
85098
+ "kind": "field",
85099
+ "name": "str"
85100
+ },
85101
+ {
85102
+ "kind": "field",
85103
+ "name": "boo"
85104
+ },
85105
+ {
85106
+ "kind": "field",
85107
+ "name": "num"
85106
85108
  },
85107
85109
  {
85108
85110
  "kind": "method",
@@ -85123,7 +85125,7 @@
85123
85125
  "type": {
85124
85126
  "text": "string"
85125
85127
  },
85126
- "default": "'furo.cube.CubeServiceGetListResponse'"
85128
+ "default": "'furo.cube.CubeDefinition'"
85127
85129
  },
85128
85130
  {
85129
85131
  "kind": "field",
@@ -85131,12 +85133,47 @@
85131
85133
  "type": {
85132
85134
  "text": "array"
85133
85135
  },
85134
- "default": "[ { fieldName: 'entities', protoName: 'entities', FieldConstructor: FuroCubeCubeEntity, constraints: {}, }, ]"
85136
+ "default": "[ { fieldName: 'length', protoName: 'length', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, }, { fieldName: 'breadth', protoName: 'breadth', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, }, { fieldName: 'height', protoName: 'height', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, }, { fieldName: 'colour', protoName: 'colour', FieldConstructor: FuroCubeColour, constraints: {}, }, { fieldName: 'material', protoName: 'material', FieldConstructor: (ENUM), constraints: {}, }, { fieldName: 'str', protoName: 'str', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'boo', protoName: 'boo', FieldConstructor: BOOLEAN, constraints: {}, }, { fieldName: 'num', protoName: 'num', FieldConstructor: INT32, constraints: {}, }, ]"
85135
85137
  },
85136
85138
  {
85137
85139
  "kind": "field",
85138
- "name": "_entities",
85139
- "default": "new ARRAY(undefined, this, 'entities')"
85140
+ "name": "_length",
85141
+ "default": "new DOUBLE(undefined, this, 'length')"
85142
+ },
85143
+ {
85144
+ "kind": "field",
85145
+ "name": "_breadth",
85146
+ "default": "new DOUBLE(undefined, this, 'breadth')"
85147
+ },
85148
+ {
85149
+ "kind": "field",
85150
+ "name": "_height",
85151
+ "default": "new DOUBLE(undefined, this, 'height')"
85152
+ },
85153
+ {
85154
+ "kind": "field",
85155
+ "name": "_colour",
85156
+ "default": "new FuroCubeColour(undefined, this, 'colour')"
85157
+ },
85158
+ {
85159
+ "kind": "field",
85160
+ "name": "_material",
85161
+ "default": "new ENUM(undefined, FuroCubeMaterials, FuroCubeMaterials.MATERIALS_UNSPECIFIED, this, 'material')"
85162
+ },
85163
+ {
85164
+ "kind": "field",
85165
+ "name": "_str",
85166
+ "default": "new STRING(undefined, this, 'str')"
85167
+ },
85168
+ {
85169
+ "kind": "field",
85170
+ "name": "_boo",
85171
+ "default": "new BOOLEAN(undefined, this, 'boo')"
85172
+ },
85173
+ {
85174
+ "kind": "field",
85175
+ "name": "_num",
85176
+ "default": "new INT32(undefined, this, 'num')"
85140
85177
  },
85141
85178
  {
85142
85179
  "kind": "field",
@@ -85144,7 +85181,7 @@
85144
85181
  "type": {
85145
85182
  "text": "object"
85146
85183
  },
85147
- "default": "{}"
85184
+ "default": "{ breadth: 100.0, height: 100.0, length: 100.0, }"
85148
85185
  },
85149
85186
  {
85150
85187
  "kind": "field",
@@ -85967,36 +86004,40 @@
85967
86004
  "exports": [
85968
86005
  {
85969
86006
  "kind": "js",
85970
- "name": "CubeServiceGetListResponse",
86007
+ "name": "CubeDefinition",
85971
86008
  "declaration": {
85972
- "name": "CubeServiceGetListResponse",
85973
- "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js"
86009
+ "name": "CubeDefinition",
86010
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js"
85974
86011
  }
85975
86012
  }
85976
86013
  ]
85977
86014
  },
85978
86015
  {
85979
86016
  "kind": "javascript-module",
85980
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js.map",
86017
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js.map",
85981
86018
  "declarations": [],
85982
86019
  "exports": []
85983
86020
  },
85984
86021
  {
85985
86022
  "kind": "javascript-module",
85986
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js",
86023
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js",
85987
86024
  "declarations": [
85988
86025
  {
85989
86026
  "kind": "class",
85990
- "description": "CubeServiceGetRequest",
85991
- "name": "CubeServiceGetRequest",
86027
+ "description": "CubeEntity",
86028
+ "name": "CubeEntity",
85992
86029
  "members": [
85993
86030
  {
85994
86031
  "kind": "field",
85995
- "name": "cubeId"
86032
+ "name": "displayName"
85996
86033
  },
85997
86034
  {
85998
86035
  "kind": "field",
85999
- "name": "fields"
86036
+ "name": "description"
86037
+ },
86038
+ {
86039
+ "kind": "field",
86040
+ "name": "cube"
86000
86041
  },
86001
86042
  {
86002
86043
  "kind": "method",
@@ -86017,7 +86058,7 @@
86017
86058
  "type": {
86018
86059
  "text": "string"
86019
86060
  },
86020
- "default": "'furo.cube.CubeServiceGetRequest'"
86061
+ "default": "'furo.cube.CubeEntity'"
86021
86062
  },
86022
86063
  {
86023
86064
  "kind": "field",
@@ -86025,17 +86066,22 @@
86025
86066
  "type": {
86026
86067
  "text": "array"
86027
86068
  },
86028
- "default": "[ { fieldName: 'cubeId', protoName: 'cube_id', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'fields', protoName: 'fields', FieldConstructor: STRING, constraints: {}, }, ]"
86069
+ "default": "[ { fieldName: 'displayName', protoName: 'display_name', FieldConstructor: STRING, constraints: { read_only: true }, }, { fieldName: 'description', protoName: 'description', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'cube', protoName: 'cube', FieldConstructor: FuroCubeCubeDefinition, constraints: {}, }, ]"
86029
86070
  },
86030
86071
  {
86031
86072
  "kind": "field",
86032
- "name": "_cubeId",
86033
- "default": "new STRING(undefined, this, 'cubeId')"
86073
+ "name": "_displayName",
86074
+ "default": "new STRING(undefined, this, 'displayName')"
86034
86075
  },
86035
86076
  {
86036
86077
  "kind": "field",
86037
- "name": "_fields",
86038
- "default": "new STRING(undefined, this, 'fields')"
86078
+ "name": "_description",
86079
+ "default": "new STRING(undefined, this, 'description')"
86080
+ },
86081
+ {
86082
+ "kind": "field",
86083
+ "name": "_cube",
86084
+ "default": "new FuroCubeCubeDefinition(undefined, this, 'cube')"
86039
86085
  },
86040
86086
  {
86041
86087
  "kind": "field",
@@ -86043,7 +86089,7 @@
86043
86089
  "type": {
86044
86090
  "text": "object"
86045
86091
  },
86046
- "default": "{ fields: '*', }"
86092
+ "default": "{ cube: { length: 222 }, }"
86047
86093
  },
86048
86094
  {
86049
86095
  "kind": "field",
@@ -86866,32 +86912,76 @@
86866
86912
  "exports": [
86867
86913
  {
86868
86914
  "kind": "js",
86869
- "name": "CubeServiceGetRequest",
86915
+ "name": "CubeEntity",
86870
86916
  "declaration": {
86871
- "name": "CubeServiceGetRequest",
86872
- "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js"
86917
+ "name": "CubeEntity",
86918
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js"
86873
86919
  }
86874
86920
  }
86875
86921
  ]
86876
86922
  },
86877
86923
  {
86878
86924
  "kind": "javascript-module",
86879
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js.map",
86925
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js.map",
86880
86926
  "declarations": [],
86881
86927
  "exports": []
86882
86928
  },
86883
86929
  {
86884
86930
  "kind": "javascript-module",
86885
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js",
86931
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeService.js",
86886
86932
  "declarations": [
86887
86933
  {
86888
86934
  "kind": "class",
86889
- "description": "CubeServiceGetResponse",
86890
- "name": "CubeServiceGetResponse",
86935
+ "description": "",
86936
+ "name": "CubeService",
86891
86937
  "members": [
86892
86938
  {
86893
86939
  "kind": "field",
86894
- "name": "entity"
86940
+ "name": "GetList",
86941
+ "default": "new Fetcher(API_OPTIONS, 'GET', '/v1/cubes')"
86942
+ },
86943
+ {
86944
+ "kind": "field",
86945
+ "name": "Get",
86946
+ "default": "new Fetcher(API_OPTIONS, 'GET', '/v1/cubes/{cube_id}')"
86947
+ },
86948
+ {
86949
+ "kind": "field",
86950
+ "name": "Update",
86951
+ "default": "new Fetcher(API_OPTIONS, 'PUT', '/v1/cubes/{cube_id}', 'entity')"
86952
+ }
86953
+ ]
86954
+ }
86955
+ ],
86956
+ "exports": [
86957
+ {
86958
+ "kind": "js",
86959
+ "name": "CubeService",
86960
+ "declaration": {
86961
+ "name": "CubeService",
86962
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeService.js"
86963
+ }
86964
+ }
86965
+ ]
86966
+ },
86967
+ {
86968
+ "kind": "javascript-module",
86969
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeService.js.map",
86970
+ "declarations": [],
86971
+ "exports": []
86972
+ },
86973
+ {
86974
+ "kind": "javascript-module",
86975
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js",
86976
+ "declarations": [
86977
+ {
86978
+ "kind": "class",
86979
+ "description": "CubeServiceGetListRequest",
86980
+ "name": "CubeServiceGetListRequest",
86981
+ "members": [
86982
+ {
86983
+ "kind": "field",
86984
+ "name": "query"
86895
86985
  },
86896
86986
  {
86897
86987
  "kind": "method",
@@ -86912,7 +87002,7 @@
86912
87002
  "type": {
86913
87003
  "text": "string"
86914
87004
  },
86915
- "default": "'furo.cube.CubeServiceGetResponse'"
87005
+ "default": "'furo.cube.CubeServiceGetListRequest'"
86916
87006
  },
86917
87007
  {
86918
87008
  "kind": "field",
@@ -86920,12 +87010,12 @@
86920
87010
  "type": {
86921
87011
  "text": "array"
86922
87012
  },
86923
- "default": "[ { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, }, ]"
87013
+ "default": "[ { fieldName: 'query', protoName: 'query', FieldConstructor: STRING, constraints: {}, }, ]"
86924
87014
  },
86925
87015
  {
86926
87016
  "kind": "field",
86927
- "name": "_entity",
86928
- "default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
87017
+ "name": "_query",
87018
+ "default": "new STRING(undefined, this, 'query')"
86929
87019
  },
86930
87020
  {
86931
87021
  "kind": "field",
@@ -87756,36 +87846,32 @@
87756
87846
  "exports": [
87757
87847
  {
87758
87848
  "kind": "js",
87759
- "name": "CubeServiceGetResponse",
87849
+ "name": "CubeServiceGetListRequest",
87760
87850
  "declaration": {
87761
- "name": "CubeServiceGetResponse",
87762
- "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js"
87851
+ "name": "CubeServiceGetListRequest",
87852
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js"
87763
87853
  }
87764
87854
  }
87765
87855
  ]
87766
87856
  },
87767
87857
  {
87768
87858
  "kind": "javascript-module",
87769
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js.map",
87859
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js.map",
87770
87860
  "declarations": [],
87771
87861
  "exports": []
87772
87862
  },
87773
87863
  {
87774
87864
  "kind": "javascript-module",
87775
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js",
87865
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js",
87776
87866
  "declarations": [
87777
87867
  {
87778
87868
  "kind": "class",
87779
- "description": "CubeServiceUpdateRequest",
87780
- "name": "CubeServiceUpdateRequest",
87869
+ "description": "CubeServiceGetListResponse",
87870
+ "name": "CubeServiceGetListResponse",
87781
87871
  "members": [
87782
87872
  {
87783
87873
  "kind": "field",
87784
- "name": "cubeId"
87785
- },
87786
- {
87787
- "kind": "field",
87788
- "name": "entity"
87874
+ "name": "entities"
87789
87875
  },
87790
87876
  {
87791
87877
  "kind": "method",
@@ -87806,7 +87892,7 @@
87806
87892
  "type": {
87807
87893
  "text": "string"
87808
87894
  },
87809
- "default": "'furo.cube.CubeServiceUpdateRequest'"
87895
+ "default": "'furo.cube.CubeServiceGetListResponse'"
87810
87896
  },
87811
87897
  {
87812
87898
  "kind": "field",
@@ -87814,17 +87900,12 @@
87814
87900
  "type": {
87815
87901
  "text": "array"
87816
87902
  },
87817
- "default": "[ { fieldName: 'cubeId', protoName: 'cube_id', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, }, ]"
87818
- },
87819
- {
87820
- "kind": "field",
87821
- "name": "_cubeId",
87822
- "default": "new STRING(undefined, this, 'cubeId')"
87903
+ "default": "[ { fieldName: 'entities', protoName: 'entities', FieldConstructor: FuroCubeCubeEntity, constraints: {}, }, ]"
87823
87904
  },
87824
87905
  {
87825
87906
  "kind": "field",
87826
- "name": "_entity",
87827
- "default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
87907
+ "name": "_entities",
87908
+ "default": "new ARRAY(undefined, this, 'entities')"
87828
87909
  },
87829
87910
  {
87830
87911
  "kind": "field",
@@ -88655,32 +88736,36 @@
88655
88736
  "exports": [
88656
88737
  {
88657
88738
  "kind": "js",
88658
- "name": "CubeServiceUpdateRequest",
88739
+ "name": "CubeServiceGetListResponse",
88659
88740
  "declaration": {
88660
- "name": "CubeServiceUpdateRequest",
88661
- "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js"
88741
+ "name": "CubeServiceGetListResponse",
88742
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js"
88662
88743
  }
88663
88744
  }
88664
88745
  ]
88665
88746
  },
88666
88747
  {
88667
88748
  "kind": "javascript-module",
88668
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js.map",
88749
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js.map",
88669
88750
  "declarations": [],
88670
88751
  "exports": []
88671
88752
  },
88672
88753
  {
88673
88754
  "kind": "javascript-module",
88674
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js",
88755
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js",
88675
88756
  "declarations": [
88676
88757
  {
88677
88758
  "kind": "class",
88678
- "description": "CubeServiceUpdateResponse",
88679
- "name": "CubeServiceUpdateResponse",
88759
+ "description": "CubeServiceGetRequest",
88760
+ "name": "CubeServiceGetRequest",
88680
88761
  "members": [
88681
88762
  {
88682
88763
  "kind": "field",
88683
- "name": "entity"
88764
+ "name": "cubeId"
88765
+ },
88766
+ {
88767
+ "kind": "field",
88768
+ "name": "fields"
88684
88769
  },
88685
88770
  {
88686
88771
  "kind": "method",
@@ -88701,7 +88786,7 @@
88701
88786
  "type": {
88702
88787
  "text": "string"
88703
88788
  },
88704
- "default": "'furo.cube.CubeServiceUpdateResponse'"
88789
+ "default": "'furo.cube.CubeServiceGetRequest'"
88705
88790
  },
88706
88791
  {
88707
88792
  "kind": "field",
@@ -88709,12 +88794,17 @@
88709
88794
  "type": {
88710
88795
  "text": "array"
88711
88796
  },
88712
- "default": "[ { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, }, ]"
88797
+ "default": "[ { fieldName: 'cubeId', protoName: 'cube_id', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'fields', protoName: 'fields', FieldConstructor: STRING, constraints: {}, }, ]"
88713
88798
  },
88714
88799
  {
88715
88800
  "kind": "field",
88716
- "name": "_entity",
88717
- "default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
88801
+ "name": "_cubeId",
88802
+ "default": "new STRING(undefined, this, 'cubeId')"
88803
+ },
88804
+ {
88805
+ "kind": "field",
88806
+ "name": "_fields",
88807
+ "default": "new STRING(undefined, this, 'fields')"
88718
88808
  },
88719
88809
  {
88720
88810
  "kind": "field",
@@ -88722,7 +88812,7 @@
88722
88812
  "type": {
88723
88813
  "text": "object"
88724
88814
  },
88725
- "default": "{}"
88815
+ "default": "{ fields: '*', }"
88726
88816
  },
88727
88817
  {
88728
88818
  "kind": "field",
@@ -89540,95 +89630,37 @@
89540
89630
  "name": "FieldNode",
89541
89631
  "package": "@furo/open-models/dist/index"
89542
89632
  }
89543
- }
89544
- ],
89545
- "exports": [
89546
- {
89547
- "kind": "js",
89548
- "name": "CubeServiceUpdateResponse",
89549
- "declaration": {
89550
- "name": "CubeServiceUpdateResponse",
89551
- "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js"
89552
- }
89553
- }
89554
- ]
89555
- },
89556
- {
89557
- "kind": "javascript-module",
89558
- "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js.map",
89559
- "declarations": [],
89560
- "exports": []
89561
- },
89562
- {
89563
- "kind": "javascript-module",
89564
- "path": "dist/protoc-gen-open-models/furo/cube/Materials.js",
89565
- "declarations": [
89566
- {
89567
- "kind": "variable",
89568
- "name": "Materials"
89569
- }
89570
- ],
89571
- "exports": [
89572
- {
89573
- "kind": "js",
89574
- "name": "Materials",
89575
- "declaration": {
89576
- "name": "Materials",
89577
- "module": "dist/protoc-gen-open-models/furo/cube/Materials.js"
89578
- }
89579
- }
89580
- ]
89581
- },
89582
- {
89583
- "kind": "javascript-module",
89584
- "path": "dist/protoc-gen-open-models/furo/cube/Materials.js.map",
89585
- "declarations": [],
89586
- "exports": []
89587
- },
89588
- {
89589
- "kind": "javascript-module",
89590
- "path": "dist/protoc-gen-open-models/furo/cube/Wrappers.js",
89591
- "declarations": [
89592
- {
89593
- "kind": "class",
89594
- "description": "Wrappers",
89595
- "name": "Wrappers",
89596
- "members": [
89597
- {
89598
- "kind": "field",
89599
- "name": "stringValue"
89600
- },
89601
- {
89602
- "kind": "field",
89603
- "name": "int32Value"
89604
- },
89605
- {
89606
- "kind": "field",
89607
- "name": "int64Value"
89608
- },
89609
- {
89610
- "kind": "field",
89611
- "name": "floatValue"
89612
- },
89613
- {
89614
- "kind": "field",
89615
- "name": "doubleValue"
89616
- },
89617
- {
89618
- "kind": "field",
89619
- "name": "boolValue"
89620
- },
89621
- {
89622
- "kind": "field",
89623
- "name": "uint32Value"
89624
- },
89625
- {
89626
- "kind": "field",
89627
- "name": "uint64Value"
89628
- },
89633
+ }
89634
+ ],
89635
+ "exports": [
89636
+ {
89637
+ "kind": "js",
89638
+ "name": "CubeServiceGetRequest",
89639
+ "declaration": {
89640
+ "name": "CubeServiceGetRequest",
89641
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js"
89642
+ }
89643
+ }
89644
+ ]
89645
+ },
89646
+ {
89647
+ "kind": "javascript-module",
89648
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js.map",
89649
+ "declarations": [],
89650
+ "exports": []
89651
+ },
89652
+ {
89653
+ "kind": "javascript-module",
89654
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js",
89655
+ "declarations": [
89656
+ {
89657
+ "kind": "class",
89658
+ "description": "CubeServiceGetResponse",
89659
+ "name": "CubeServiceGetResponse",
89660
+ "members": [
89629
89661
  {
89630
89662
  "kind": "field",
89631
- "name": "bytesValue"
89663
+ "name": "entity"
89632
89664
  },
89633
89665
  {
89634
89666
  "kind": "method",
@@ -89649,7 +89681,7 @@
89649
89681
  "type": {
89650
89682
  "text": "string"
89651
89683
  },
89652
- "default": "'furo.cube.Wrappers'"
89684
+ "default": "'furo.cube.CubeServiceGetResponse'"
89653
89685
  },
89654
89686
  {
89655
89687
  "kind": "field",
@@ -89657,52 +89689,12 @@
89657
89689
  "type": {
89658
89690
  "text": "array"
89659
89691
  },
89660
- "default": "[ { fieldName: 'stringValue', protoName: 'string_value', FieldConstructor: StringValue, constraints: {}, }, { fieldName: 'int32Value', protoName: 'int32_value', FieldConstructor: Int32Value, constraints: {}, }, { fieldName: 'int64Value', protoName: 'int64_value', FieldConstructor: Int64Value, constraints: {}, }, { fieldName: 'floatValue', protoName: 'float_value', FieldConstructor: FloatValue, constraints: {}, }, { fieldName: 'doubleValue', protoName: 'double_value', FieldConstructor: DoubleValue, constraints: {}, }, { fieldName: 'boolValue', protoName: 'bool_value', FieldConstructor: BoolValue, constraints: {}, }, { fieldName: 'uint32Value', protoName: 'uint32_value', FieldConstructor: UInt32Value, constraints: {}, }, { fieldName: 'uint64Value', protoName: 'uint64_value', FieldConstructor: UInt64Value, constraints: {}, }, { fieldName: 'bytesValue', protoName: 'bytes_value', FieldConstructor: BytesValue, constraints: {}, }, ]"
89661
- },
89662
- {
89663
- "kind": "field",
89664
- "name": "_stringValue",
89665
- "default": "new StringValue(undefined, this, 'stringValue')"
89666
- },
89667
- {
89668
- "kind": "field",
89669
- "name": "_int32Value",
89670
- "default": "new Int32Value(undefined, this, 'int32Value')"
89671
- },
89672
- {
89673
- "kind": "field",
89674
- "name": "_int64Value",
89675
- "default": "new Int64Value(undefined, this, 'int64Value')"
89676
- },
89677
- {
89678
- "kind": "field",
89679
- "name": "_floatValue",
89680
- "default": "new FloatValue(undefined, this, 'floatValue')"
89681
- },
89682
- {
89683
- "kind": "field",
89684
- "name": "_doubleValue",
89685
- "default": "new DoubleValue(undefined, this, 'doubleValue')"
89686
- },
89687
- {
89688
- "kind": "field",
89689
- "name": "_boolValue",
89690
- "default": "new BoolValue(undefined, this, 'boolValue')"
89691
- },
89692
- {
89693
- "kind": "field",
89694
- "name": "_uint32Value",
89695
- "default": "new UInt32Value(undefined, this, 'uint32Value')"
89696
- },
89697
- {
89698
- "kind": "field",
89699
- "name": "_uint64Value",
89700
- "default": "new UInt64Value(undefined, this, 'uint64Value')"
89692
+ "default": "[ { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, }, ]"
89701
89693
  },
89702
89694
  {
89703
89695
  "kind": "field",
89704
- "name": "_bytesValue",
89705
- "default": "new BytesValue(undefined, this, 'bytesValue')"
89696
+ "name": "_entity",
89697
+ "default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
89706
89698
  },
89707
89699
  {
89708
89700
  "kind": "field",
@@ -90533,36 +90525,36 @@
90533
90525
  "exports": [
90534
90526
  {
90535
90527
  "kind": "js",
90536
- "name": "Wrappers",
90528
+ "name": "CubeServiceGetResponse",
90537
90529
  "declaration": {
90538
- "name": "Wrappers",
90539
- "module": "dist/protoc-gen-open-models/furo/cube/Wrappers.js"
90530
+ "name": "CubeServiceGetResponse",
90531
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js"
90540
90532
  }
90541
90533
  }
90542
90534
  ]
90543
90535
  },
90544
90536
  {
90545
90537
  "kind": "javascript-module",
90546
- "path": "dist/protoc-gen-open-models/furo/cube/Wrappers.js.map",
90538
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js.map",
90547
90539
  "declarations": [],
90548
90540
  "exports": []
90549
90541
  },
90550
90542
  {
90551
90543
  "kind": "javascript-module",
90552
- "path": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js",
90544
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js",
90553
90545
  "declarations": [
90554
90546
  {
90555
90547
  "kind": "class",
90556
- "description": "CustomHttpPattern\n A custom pattern is used for defining custom HTTP verb.",
90557
- "name": "CustomHttpPattern",
90548
+ "description": "CubeServiceUpdateRequest",
90549
+ "name": "CubeServiceUpdateRequest",
90558
90550
  "members": [
90559
90551
  {
90560
90552
  "kind": "field",
90561
- "name": "kind"
90553
+ "name": "cubeId"
90562
90554
  },
90563
90555
  {
90564
90556
  "kind": "field",
90565
- "name": "path"
90557
+ "name": "entity"
90566
90558
  },
90567
90559
  {
90568
90560
  "kind": "method",
@@ -90583,7 +90575,7 @@
90583
90575
  "type": {
90584
90576
  "text": "string"
90585
90577
  },
90586
- "default": "'google.api.CustomHttpPattern'"
90578
+ "default": "'furo.cube.CubeServiceUpdateRequest'"
90587
90579
  },
90588
90580
  {
90589
90581
  "kind": "field",
@@ -90591,17 +90583,17 @@
90591
90583
  "type": {
90592
90584
  "text": "array"
90593
90585
  },
90594
- "default": "[ { fieldName: 'kind', protoName: 'kind', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'path', protoName: 'path', FieldConstructor: STRING, constraints: {}, }, ]"
90586
+ "default": "[ { fieldName: 'cubeId', protoName: 'cube_id', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, }, ]"
90595
90587
  },
90596
90588
  {
90597
90589
  "kind": "field",
90598
- "name": "_kind",
90599
- "default": "new STRING(undefined, this, 'kind')"
90590
+ "name": "_cubeId",
90591
+ "default": "new STRING(undefined, this, 'cubeId')"
90600
90592
  },
90601
90593
  {
90602
90594
  "kind": "field",
90603
- "name": "_path",
90604
- "default": "new STRING(undefined, this, 'path')"
90595
+ "name": "_entity",
90596
+ "default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
90605
90597
  },
90606
90598
  {
90607
90599
  "kind": "field",
@@ -91432,36 +91424,32 @@
91432
91424
  "exports": [
91433
91425
  {
91434
91426
  "kind": "js",
91435
- "name": "CustomHttpPattern",
91427
+ "name": "CubeServiceUpdateRequest",
91436
91428
  "declaration": {
91437
- "name": "CustomHttpPattern",
91438
- "module": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js"
91429
+ "name": "CubeServiceUpdateRequest",
91430
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js"
91439
91431
  }
91440
91432
  }
91441
91433
  ]
91442
91434
  },
91443
91435
  {
91444
91436
  "kind": "javascript-module",
91445
- "path": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js.map",
91437
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js.map",
91446
91438
  "declarations": [],
91447
91439
  "exports": []
91448
91440
  },
91449
91441
  {
91450
91442
  "kind": "javascript-module",
91451
- "path": "dist/protoc-gen-open-models/google/api/Http.js",
91443
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js",
91452
91444
  "declarations": [
91453
91445
  {
91454
91446
  "kind": "class",
91455
- "description": "Http\n Defines the HTTP configuration for an API service. It contains a list of\n [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method\n to one or more HTTP REST API methods.",
91456
- "name": "Http",
91447
+ "description": "CubeServiceUpdateResponse",
91448
+ "name": "CubeServiceUpdateResponse",
91457
91449
  "members": [
91458
91450
  {
91459
91451
  "kind": "field",
91460
- "name": "rules"
91461
- },
91462
- {
91463
- "kind": "field",
91464
- "name": "fullyDecodeReservedExpansion"
91452
+ "name": "entity"
91465
91453
  },
91466
91454
  {
91467
91455
  "kind": "method",
@@ -91482,7 +91470,7 @@
91482
91470
  "type": {
91483
91471
  "text": "string"
91484
91472
  },
91485
- "default": "'google.api.Http'"
91473
+ "default": "'furo.cube.CubeServiceUpdateResponse'"
91486
91474
  },
91487
91475
  {
91488
91476
  "kind": "field",
@@ -91490,17 +91478,12 @@
91490
91478
  "type": {
91491
91479
  "text": "array"
91492
91480
  },
91493
- "default": "[ { fieldName: 'rules', protoName: 'rules', FieldConstructor: GoogleApiHttpRule, constraints: {}, }, { fieldName: 'fullyDecodeReservedExpansion', protoName: 'fully_decode_reserved_expansion', FieldConstructor: BOOLEAN, constraints: {}, }, ]"
91494
- },
91495
- {
91496
- "kind": "field",
91497
- "name": "_rules",
91498
- "default": "new ARRAY(undefined, this, 'rules')"
91481
+ "default": "[ { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, }, ]"
91499
91482
  },
91500
91483
  {
91501
91484
  "kind": "field",
91502
- "name": "_fullyDecodeReservedExpansion",
91503
- "default": "new BOOLEAN(undefined, this, 'fullyDecodeReservedExpansion')"
91485
+ "name": "_entity",
91486
+ "default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
91504
91487
  },
91505
91488
  {
91506
91489
  "kind": "field",
@@ -92331,68 +92314,90 @@
92331
92314
  "exports": [
92332
92315
  {
92333
92316
  "kind": "js",
92334
- "name": "Http",
92317
+ "name": "CubeServiceUpdateResponse",
92335
92318
  "declaration": {
92336
- "name": "Http",
92337
- "module": "dist/protoc-gen-open-models/google/api/Http.js"
92319
+ "name": "CubeServiceUpdateResponse",
92320
+ "module": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js"
92338
92321
  }
92339
92322
  }
92340
92323
  ]
92341
92324
  },
92342
92325
  {
92343
92326
  "kind": "javascript-module",
92344
- "path": "dist/protoc-gen-open-models/google/api/Http.js.map",
92327
+ "path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js.map",
92345
92328
  "declarations": [],
92346
92329
  "exports": []
92347
92330
  },
92348
92331
  {
92349
92332
  "kind": "javascript-module",
92350
- "path": "dist/protoc-gen-open-models/google/api/HttpRule.js",
92333
+ "path": "dist/protoc-gen-open-models/furo/cube/Materials.js",
92334
+ "declarations": [
92335
+ {
92336
+ "kind": "variable",
92337
+ "name": "Materials"
92338
+ }
92339
+ ],
92340
+ "exports": [
92341
+ {
92342
+ "kind": "js",
92343
+ "name": "Materials",
92344
+ "declaration": {
92345
+ "name": "Materials",
92346
+ "module": "dist/protoc-gen-open-models/furo/cube/Materials.js"
92347
+ }
92348
+ }
92349
+ ]
92350
+ },
92351
+ {
92352
+ "kind": "javascript-module",
92353
+ "path": "dist/protoc-gen-open-models/furo/cube/Materials.js.map",
92354
+ "declarations": [],
92355
+ "exports": []
92356
+ },
92357
+ {
92358
+ "kind": "javascript-module",
92359
+ "path": "dist/protoc-gen-open-models/furo/cube/Wrappers.js",
92351
92360
  "declarations": [
92352
92361
  {
92353
92362
  "kind": "class",
92354
- "description": "HttpRule\n # gRPC Transcoding\n\n gRPC Transcoding is a feature for mapping between a gRPC method and one or\n more HTTP REST endpoints. It allows developers to build a single API service\n that supports both gRPC APIs and REST APIs. Many systems, including [Google\n APIs](https://github.com/googleapis/googleapis),\n [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\n Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\n and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\n and use it for large scale production services.\n\n `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\n how different portions of the gRPC request message are mapped to the URL\n path, URL query parameters, and HTTP request body. It also controls how the\n gRPC response message is mapped to the HTTP response body. `HttpRule` is\n typically specified as an `google.api.http` annotation on the gRPC method.\n\n Each mapping specifies a URL path template and an HTTP method. The path\n template may refer to one or more fields in the gRPC request message, as long\n as each field is a non-repeated field with a primitive (non-message) type.\n The path template controls how fields of the request message are mapped to\n the URL path.\n\n Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/{name=messages/*}\"\n };\n }\n }\n message GetMessageRequest {\n string name = 1; // Mapped to URL path.\n }\n message Message {\n string text = 1; // The resource content.\n }\n\n This enables an HTTP REST to gRPC mapping as below:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\n\n Any fields in the request message which are not bound by the path template\n automatically become HTTP query parameters if there is no HTTP request body.\n For example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get:\"/v1/messages/{message_id}\"\n };\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // Mapped to URL path.\n int64 revision = 2; // Mapped to URL query parameter `revision`.\n SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\n }\n\n This enables a HTTP JSON to RPC mapping as below:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\n `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\n \"foo\"))`\n\n Note that fields which are mapped to URL query parameters must have a\n primitive type or a repeated primitive type or a non-repeated message type.\n In the case of a repeated type, the parameter can be repeated in the URL\n as `...?param=A&param=B`. In the case of a message type, each field of the\n message is mapped to a separate parameter, such as\n `...?foo.a=A&foo.b=B&foo.c=C`.\n\n For HTTP methods that allow a request body, the `body` field\n specifies the mapping. Consider a REST update method on the\n message resource collection:\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n patch: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n The following HTTP JSON to RPC mapping is enabled, where the\n representation of the JSON in the request body is determined by\n protos JSON encoding:\n\n HTTP | gRPC\n -----|-----\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n \"123456\" message { text: \"Hi!\" })`\n\n The special name `*` can be used in the body mapping to define that\n every field not bound by the path template should be mapped to the\n request body. This enables the following alternative definition of\n the update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n patch: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\n The following HTTP JSON to RPC mapping is enabled:\n\n HTTP | gRPC\n -----|-----\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n \"123456\" text: \"Hi!\")`\n\n Note that when using `*` in the body mapping, it is not possible to\n have HTTP parameters, as all fields not bound by the path end in\n the body. This makes this option more rarely used in practice when\n defining REST APIs. The common usage of `*` is in custom methods\n which don't use the URL at all for transferring data.\n\n It is possible to define multiple HTTP methods for one RPC by using\n the `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n This enables the following two alternative HTTP JSON to RPC mappings:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\n \"123456\")`\n\n ## Rules for HTTP mapping\n\n 1. Leaf request fields (recursive expansion nested messages in the request\n message) are classified into three categories:\n - Fields referred by the path template. They are passed via the URL path.\n - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\n are passed via the HTTP\n request body.\n - All other fields are passed via the URL query parameters, and the\n parameter name is the field path in the request message. A repeated\n field can be represented as multiple query parameters under the same\n name.\n 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\n query parameter, all fields\n are passed via URL path and HTTP request body.\n 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\n request body, all\n fields are passed via URL path and URL query parameters.\n\n ### Path template syntax\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\n The syntax `*` matches a single URL path segment. The syntax `**` matches\n zero or more URL path segments, which must be the last part of the URL path\n except the `Verb`.\n\n The syntax `Variable` matches part of the URL path as specified by its\n template. A variable template must not contain other variables. If a variable\n matches a single path segment, its template may be omitted, e.g. `{var}`\n is equivalent to `{var=*}`.\n\n The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\n contains any reserved character, such characters should be percent-encoded\n before the matching.\n\n If a variable contains exactly one path segment, such as `\"{var}\"` or\n `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\n side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\n server side does the reverse decoding. Such variables show up in the\n [Discovery\n Document](https://developers.google.com/discovery/v1/reference/apis) as\n `{var}`.\n\n If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\n or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\n client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\n The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\n unchanged. Such variables show up in the\n [Discovery\n Document](https://developers.google.com/discovery/v1/reference/apis) as\n `{+var}`.\n\n ## Using gRPC API Service Configuration\n\n gRPC API Service Configuration (service config) is a configuration language\n for configuring a gRPC service to become a user-facing product. The\n service config is simply the YAML representation of the `google.api.Service`\n proto message.\n\n As an alternative to annotating your proto file, you can configure gRPC\n transcoding in your service config YAML files. You do this by specifying a\n `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\n effect as the proto annotation. This can be particularly useful if you\n have a proto that is reused in multiple services. Note that any transcoding\n specified in the service config will override any matching transcoding\n configuration in the proto.\n\n Example:\n\n http:\n rules:\n # Selects a gRPC method and applies HttpRule to it.\n - selector: example.v1.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\n ## Special notes\n\n When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\n proto to JSON conversion must follow the [proto3\n specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\n\n While the single segment variable follows the semantics of\n [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\n Expansion, the multi segment variable **does not** follow RFC 6570 Section\n 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\n does not expand special characters like `?` and `#`, which would lead\n to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\n for multi segment variables.\n\n The path variables **must not** refer to any repeated or mapped field,\n because client libraries are not capable of handling such variable expansion.\n\n The path variables **must not** capture the leading \"/\" character. The reason\n is that the most common use case \"{var}\" does not capture the leading \"/\"\n character. For consistency, all path variables must share the same behavior.\n\n Repeated message fields must not be mapped to URL query parameters, because\n no client library can support such complicated mapping.\n\n If an API needs to use a JSON array for request or response body, it can map\n the request or response body to a repeated field. However, some gRPC\n Transcoding implementations may not support this feature.",
92355
- "name": "HttpRule",
92363
+ "description": "Wrappers",
92364
+ "name": "Wrappers",
92356
92365
  "members": [
92357
92366
  {
92358
92367
  "kind": "field",
92359
- "name": "selector"
92360
- },
92361
- {
92362
- "kind": "field",
92363
- "name": "get"
92368
+ "name": "stringValue"
92364
92369
  },
92365
92370
  {
92366
92371
  "kind": "field",
92367
- "name": "put"
92372
+ "name": "int32Value"
92368
92373
  },
92369
92374
  {
92370
92375
  "kind": "field",
92371
- "name": "post"
92376
+ "name": "int64Value"
92372
92377
  },
92373
92378
  {
92374
92379
  "kind": "field",
92375
- "name": "delete"
92380
+ "name": "floatValue"
92376
92381
  },
92377
92382
  {
92378
92383
  "kind": "field",
92379
- "name": "patch"
92384
+ "name": "doubleValue"
92380
92385
  },
92381
92386
  {
92382
92387
  "kind": "field",
92383
- "name": "custom"
92388
+ "name": "boolValue"
92384
92389
  },
92385
92390
  {
92386
92391
  "kind": "field",
92387
- "name": "body"
92392
+ "name": "uint32Value"
92388
92393
  },
92389
92394
  {
92390
92395
  "kind": "field",
92391
- "name": "responseBody"
92396
+ "name": "uint64Value"
92392
92397
  },
92393
92398
  {
92394
92399
  "kind": "field",
92395
- "name": "additionalBindings"
92400
+ "name": "bytesValue"
92396
92401
  },
92397
92402
  {
92398
92403
  "kind": "method",
@@ -92413,7 +92418,7 @@
92413
92418
  "type": {
92414
92419
  "text": "string"
92415
92420
  },
92416
- "default": "'google.api.HttpRule'"
92421
+ "default": "'furo.cube.Wrappers'"
92417
92422
  },
92418
92423
  {
92419
92424
  "kind": "field",
@@ -92421,57 +92426,52 @@
92421
92426
  "type": {
92422
92427
  "text": "array"
92423
92428
  },
92424
- "default": "[ { fieldName: 'selector', protoName: 'selector', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'get', protoName: 'get', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'put', protoName: 'put', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'post', protoName: 'post', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'delete', protoName: 'delete', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'patch', protoName: 'patch', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'custom', protoName: 'custom', FieldConstructor: GoogleApiCustomHttpPattern, constraints: {}, }, { fieldName: 'body', protoName: 'body', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'responseBody', protoName: 'response_body', FieldConstructor: STRING, constraints: {}, }, { fieldName: 'additionalBindings', protoName: 'additional_bindings', FieldConstructor: HttpRule, constraints: {}, }, ]"
92425
- },
92426
- {
92427
- "kind": "field",
92428
- "name": "_selector",
92429
- "default": "new STRING(undefined, this, 'selector')"
92429
+ "default": "[ { fieldName: 'stringValue', protoName: 'string_value', FieldConstructor: StringValue, constraints: {}, }, { fieldName: 'int32Value', protoName: 'int32_value', FieldConstructor: Int32Value, constraints: {}, }, { fieldName: 'int64Value', protoName: 'int64_value', FieldConstructor: Int64Value, constraints: {}, }, { fieldName: 'floatValue', protoName: 'float_value', FieldConstructor: FloatValue, constraints: {}, }, { fieldName: 'doubleValue', protoName: 'double_value', FieldConstructor: DoubleValue, constraints: {}, }, { fieldName: 'boolValue', protoName: 'bool_value', FieldConstructor: BoolValue, constraints: {}, }, { fieldName: 'uint32Value', protoName: 'uint32_value', FieldConstructor: UInt32Value, constraints: {}, }, { fieldName: 'uint64Value', protoName: 'uint64_value', FieldConstructor: UInt64Value, constraints: {}, }, { fieldName: 'bytesValue', protoName: 'bytes_value', FieldConstructor: BytesValue, constraints: {}, }, ]"
92430
92430
  },
92431
92431
  {
92432
92432
  "kind": "field",
92433
- "name": "_get",
92434
- "default": "new STRING(undefined, this, 'get')"
92433
+ "name": "_stringValue",
92434
+ "default": "new StringValue(undefined, this, 'stringValue')"
92435
92435
  },
92436
92436
  {
92437
92437
  "kind": "field",
92438
- "name": "_put",
92439
- "default": "new STRING(undefined, this, 'put')"
92438
+ "name": "_int32Value",
92439
+ "default": "new Int32Value(undefined, this, 'int32Value')"
92440
92440
  },
92441
92441
  {
92442
92442
  "kind": "field",
92443
- "name": "_post",
92444
- "default": "new STRING(undefined, this, 'post')"
92443
+ "name": "_int64Value",
92444
+ "default": "new Int64Value(undefined, this, 'int64Value')"
92445
92445
  },
92446
92446
  {
92447
92447
  "kind": "field",
92448
- "name": "_delete",
92449
- "default": "new STRING(undefined, this, 'delete')"
92448
+ "name": "_floatValue",
92449
+ "default": "new FloatValue(undefined, this, 'floatValue')"
92450
92450
  },
92451
92451
  {
92452
92452
  "kind": "field",
92453
- "name": "_patch",
92454
- "default": "new STRING(undefined, this, 'patch')"
92453
+ "name": "_doubleValue",
92454
+ "default": "new DoubleValue(undefined, this, 'doubleValue')"
92455
92455
  },
92456
92456
  {
92457
92457
  "kind": "field",
92458
- "name": "_custom",
92459
- "default": "new GoogleApiCustomHttpPattern(undefined, this, 'custom')"
92458
+ "name": "_boolValue",
92459
+ "default": "new BoolValue(undefined, this, 'boolValue')"
92460
92460
  },
92461
92461
  {
92462
92462
  "kind": "field",
92463
- "name": "_body",
92464
- "default": "new STRING(undefined, this, 'body')"
92463
+ "name": "_uint32Value",
92464
+ "default": "new UInt32Value(undefined, this, 'uint32Value')"
92465
92465
  },
92466
92466
  {
92467
92467
  "kind": "field",
92468
- "name": "_responseBody",
92469
- "default": "new STRING(undefined, this, 'responseBody')"
92468
+ "name": "_uint64Value",
92469
+ "default": "new UInt64Value(undefined, this, 'uint64Value')"
92470
92470
  },
92471
92471
  {
92472
92472
  "kind": "field",
92473
- "name": "_additionalBindings",
92474
- "default": "new ARRAY(undefined, this, 'additionalBindings')"
92473
+ "name": "_bytesValue",
92474
+ "default": "new BytesValue(undefined, this, 'bytesValue')"
92475
92475
  },
92476
92476
  {
92477
92477
  "kind": "field",
@@ -93302,17 +93302,17 @@
93302
93302
  "exports": [
93303
93303
  {
93304
93304
  "kind": "js",
93305
- "name": "HttpRule",
93305
+ "name": "Wrappers",
93306
93306
  "declaration": {
93307
- "name": "HttpRule",
93308
- "module": "dist/protoc-gen-open-models/google/api/HttpRule.js"
93307
+ "name": "Wrappers",
93308
+ "module": "dist/protoc-gen-open-models/furo/cube/Wrappers.js"
93309
93309
  }
93310
93310
  }
93311
93311
  ]
93312
93312
  },
93313
93313
  {
93314
93314
  "kind": "javascript-module",
93315
- "path": "dist/protoc-gen-open-models/google/api/HttpRule.js.map",
93315
+ "path": "dist/protoc-gen-open-models/furo/cube/Wrappers.js.map",
93316
93316
  "declarations": [],
93317
93317
  "exports": []
93318
93318
  },