@canton-network/core-ledger-proto 0.1.0
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.
- package/README.md +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
- package/dist/_proto/google/protobuf/any.d.ts +177 -0
- package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/any.js +175 -0
- package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
- package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/descriptor.js +2999 -0
- package/dist/_proto/google/protobuf/duration.d.ts +114 -0
- package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/duration.js +113 -0
- package/dist/_proto/google/protobuf/empty.d.ts +33 -0
- package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/empty.js +41 -0
- package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
- package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/field_mask.js +95 -0
- package/dist/_proto/google/protobuf/struct.d.ts +187 -0
- package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/struct.js +417 -0
- package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
- package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/timestamp.js +157 -0
- package/dist/_proto/google/rpc/code.d.ts +219 -0
- package/dist/_proto/google/rpc/code.d.ts.map +1 -0
- package/dist/_proto/google/rpc/code.js +237 -0
- package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
- package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
- package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
- package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
- package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
- package/dist/_proto/google/rpc/context/audit_context.js +111 -0
- package/dist/_proto/google/rpc/error_details.d.ts +549 -0
- package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
- package/dist/_proto/google/rpc/error_details.js +918 -0
- package/dist/_proto/google/rpc/status.d.ts +55 -0
- package/dist/_proto/google/rpc/status.d.ts.map +1 -0
- package/dist/_proto/google/rpc/status.js +79 -0
- package/dist/_proto/scalapb/scalapb.d.ts +779 -0
- package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
- package/dist/_proto/scalapb/scalapb.js +1658 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/package.json +29 -0
|
@@ -0,0 +1,779 @@
|
|
|
1
|
+
import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
|
|
2
|
+
import type { IBinaryWriter } from '@protobuf-ts/runtime';
|
|
3
|
+
import type { BinaryReadOptions } from '@protobuf-ts/runtime';
|
|
4
|
+
import type { IBinaryReader } from '@protobuf-ts/runtime';
|
|
5
|
+
import type { PartialMessage } from '@protobuf-ts/runtime';
|
|
6
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
7
|
+
import { FieldOptions as FieldOptions$ } from '../google/protobuf/descriptor.js';
|
|
8
|
+
import { FieldDescriptorProto } from '../google/protobuf/descriptor.js';
|
|
9
|
+
/**
|
|
10
|
+
* @generated from protobuf message scalapb.ScalaPbOptions
|
|
11
|
+
*/
|
|
12
|
+
export interface ScalaPbOptions {
|
|
13
|
+
/**
|
|
14
|
+
* If set then it overrides the java_package and package.
|
|
15
|
+
*
|
|
16
|
+
* @generated from protobuf field: optional string package_name = 1
|
|
17
|
+
*/
|
|
18
|
+
packageName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* If true, the compiler does not append the proto base file name
|
|
21
|
+
* into the generated package name. If false (the default), the
|
|
22
|
+
* generated scala package name is the package_name.basename where
|
|
23
|
+
* basename is the proto file name without the .proto extension.
|
|
24
|
+
*
|
|
25
|
+
* @generated from protobuf field: optional bool flat_package = 2
|
|
26
|
+
*/
|
|
27
|
+
flatPackage?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Adds the following imports at the top of the file (this is meant
|
|
30
|
+
* to provide implicit TypeMappers)
|
|
31
|
+
*
|
|
32
|
+
* @generated from protobuf field: repeated string import = 3
|
|
33
|
+
*/
|
|
34
|
+
import: string[];
|
|
35
|
+
/**
|
|
36
|
+
* Text to add to the generated scala file. This can be used only
|
|
37
|
+
* when single_file is true.
|
|
38
|
+
*
|
|
39
|
+
* @generated from protobuf field: repeated string preamble = 4
|
|
40
|
+
*/
|
|
41
|
+
preamble: string[];
|
|
42
|
+
/**
|
|
43
|
+
* If true, all messages and enums (but not services) will be written
|
|
44
|
+
* to a single Scala file.
|
|
45
|
+
*
|
|
46
|
+
* @generated from protobuf field: optional bool single_file = 5
|
|
47
|
+
*/
|
|
48
|
+
singleFile?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* By default, wrappers defined at
|
|
51
|
+
* https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto,
|
|
52
|
+
* are mapped to an Option[T] where T is a primitive type. When this field
|
|
53
|
+
* is set to true, we do not perform this transformation.
|
|
54
|
+
*
|
|
55
|
+
* @generated from protobuf field: optional bool no_primitive_wrappers = 7
|
|
56
|
+
*/
|
|
57
|
+
noPrimitiveWrappers?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* DEPRECATED. In ScalaPB <= 0.5.47, it was necessary to explicitly enable
|
|
60
|
+
* primitive_wrappers. This field remains here for backwards compatibility,
|
|
61
|
+
* but it has no effect on generated code. It is an error to set both
|
|
62
|
+
* `primitive_wrappers` and `no_primitive_wrappers`.
|
|
63
|
+
*
|
|
64
|
+
* @generated from protobuf field: optional bool primitive_wrappers = 6
|
|
65
|
+
*/
|
|
66
|
+
primitiveWrappers?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Scala type to be used for repeated fields. If unspecified,
|
|
69
|
+
* `scala.collection.Seq` will be used.
|
|
70
|
+
*
|
|
71
|
+
* @generated from protobuf field: optional string collection_type = 8
|
|
72
|
+
*/
|
|
73
|
+
collectionType?: string;
|
|
74
|
+
/**
|
|
75
|
+
* If set to true, all generated messages in this file will preserve unknown
|
|
76
|
+
* fields.
|
|
77
|
+
*
|
|
78
|
+
* @generated from protobuf field: optional bool preserve_unknown_fields = 9 [default = true]
|
|
79
|
+
*/
|
|
80
|
+
preserveUnknownFields?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* If defined, sets the name of the file-level object that would be generated. This
|
|
83
|
+
* object extends `GeneratedFileObject` and contains descriptors, and list of message
|
|
84
|
+
* and enum companions.
|
|
85
|
+
*
|
|
86
|
+
* @generated from protobuf field: optional string object_name = 10
|
|
87
|
+
*/
|
|
88
|
+
objectName?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Experimental: scope to apply the given options.
|
|
91
|
+
*
|
|
92
|
+
* @generated from protobuf field: optional scalapb.ScalaPbOptions.OptionsScope scope = 11
|
|
93
|
+
*/
|
|
94
|
+
scope?: ScalaPbOptions_OptionsScope;
|
|
95
|
+
/**
|
|
96
|
+
* If true, lenses will be generated.
|
|
97
|
+
*
|
|
98
|
+
* @generated from protobuf field: optional bool lenses = 12 [default = true]
|
|
99
|
+
*/
|
|
100
|
+
lenses?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* If true, then source-code info information will be included in the
|
|
103
|
+
* generated code - normally the source code info is cleared out to reduce
|
|
104
|
+
* code size. The source code info is useful for extracting source code
|
|
105
|
+
* location from the descriptors as well as comments.
|
|
106
|
+
*
|
|
107
|
+
* @generated from protobuf field: optional bool retain_source_code_info = 13
|
|
108
|
+
*/
|
|
109
|
+
retainSourceCodeInfo?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Scala type to be used for maps. If unspecified,
|
|
112
|
+
* `scala.collection.immutable.Map` will be used.
|
|
113
|
+
*
|
|
114
|
+
* @generated from protobuf field: optional string map_type = 14
|
|
115
|
+
*/
|
|
116
|
+
mapType?: string;
|
|
117
|
+
/**
|
|
118
|
+
* If true, no default values will be generated in message constructors.
|
|
119
|
+
* This setting can be overridden at the message-level and for individual
|
|
120
|
+
* fields.
|
|
121
|
+
*
|
|
122
|
+
* @generated from protobuf field: optional bool no_default_values_in_constructor = 15
|
|
123
|
+
*/
|
|
124
|
+
noDefaultValuesInConstructor?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* @generated from protobuf field: optional scalapb.ScalaPbOptions.EnumValueNaming enum_value_naming = 16
|
|
127
|
+
*/
|
|
128
|
+
enumValueNaming?: ScalaPbOptions_EnumValueNaming;
|
|
129
|
+
/**
|
|
130
|
+
* Indicate if prefix (enum name + optional underscore) should be removed in scala code
|
|
131
|
+
* Strip is applied before enum value naming changes.
|
|
132
|
+
*
|
|
133
|
+
* @generated from protobuf field: optional bool enum_strip_prefix = 17 [default = false]
|
|
134
|
+
*/
|
|
135
|
+
enumStripPrefix?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Scala type to use for bytes fields.
|
|
138
|
+
*
|
|
139
|
+
* @generated from protobuf field: optional string bytes_type = 21
|
|
140
|
+
*/
|
|
141
|
+
bytesType?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Enable java conversions for this file.
|
|
144
|
+
*
|
|
145
|
+
* @generated from protobuf field: optional bool java_conversions = 23
|
|
146
|
+
*/
|
|
147
|
+
javaConversions?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* List of message options to apply to some messages.
|
|
150
|
+
*
|
|
151
|
+
* @generated from protobuf field: repeated scalapb.ScalaPbOptions.AuxMessageOptions aux_message_options = 18
|
|
152
|
+
*/
|
|
153
|
+
auxMessageOptions: ScalaPbOptions_AuxMessageOptions[];
|
|
154
|
+
/**
|
|
155
|
+
* List of message options to apply to some fields.
|
|
156
|
+
*
|
|
157
|
+
* @generated from protobuf field: repeated scalapb.ScalaPbOptions.AuxFieldOptions aux_field_options = 19
|
|
158
|
+
*/
|
|
159
|
+
auxFieldOptions: ScalaPbOptions_AuxFieldOptions[];
|
|
160
|
+
/**
|
|
161
|
+
* List of message options to apply to some enums.
|
|
162
|
+
*
|
|
163
|
+
* @generated from protobuf field: repeated scalapb.ScalaPbOptions.AuxEnumOptions aux_enum_options = 20
|
|
164
|
+
*/
|
|
165
|
+
auxEnumOptions: ScalaPbOptions_AuxEnumOptions[];
|
|
166
|
+
/**
|
|
167
|
+
* List of enum value options to apply to some enum values.
|
|
168
|
+
*
|
|
169
|
+
* @generated from protobuf field: repeated scalapb.ScalaPbOptions.AuxEnumValueOptions aux_enum_value_options = 22
|
|
170
|
+
*/
|
|
171
|
+
auxEnumValueOptions: ScalaPbOptions_AuxEnumValueOptions[];
|
|
172
|
+
/**
|
|
173
|
+
* List of preprocessors to apply.
|
|
174
|
+
*
|
|
175
|
+
* @generated from protobuf field: repeated string preprocessors = 24
|
|
176
|
+
*/
|
|
177
|
+
preprocessors: string[];
|
|
178
|
+
/**
|
|
179
|
+
* @generated from protobuf field: repeated scalapb.FieldTransformation field_transformations = 25
|
|
180
|
+
*/
|
|
181
|
+
fieldTransformations: FieldTransformation[];
|
|
182
|
+
/**
|
|
183
|
+
* Ignores all transformations for this file. This is meant to allow specific files to
|
|
184
|
+
* opt out from transformations inherited through package-scoped options.
|
|
185
|
+
*
|
|
186
|
+
* @generated from protobuf field: optional bool ignore_all_transformations = 26
|
|
187
|
+
*/
|
|
188
|
+
ignoreAllTransformations?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* If true, getters will be generated.
|
|
191
|
+
*
|
|
192
|
+
* @generated from protobuf field: optional bool getters = 27 [default = true]
|
|
193
|
+
*/
|
|
194
|
+
getters?: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* Generate sources that are compatible with Scala 3
|
|
197
|
+
*
|
|
198
|
+
* @generated from protobuf field: optional bool scala3_sources = 28
|
|
199
|
+
*/
|
|
200
|
+
scala3Sources?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* For use in tests only. Inhibit Java conversions even when when generator parameters
|
|
203
|
+
* request for it.
|
|
204
|
+
*
|
|
205
|
+
* @generated from protobuf field: optional bool test_only_no_java_conversions = 999
|
|
206
|
+
*/
|
|
207
|
+
testOnlyNoJavaConversions?: boolean;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* AuxMessageOptions enables you to set message-level options through package-scoped options.
|
|
211
|
+
* This is useful when you can't add a dependency on scalapb.proto from the proto file that
|
|
212
|
+
* defines the message.
|
|
213
|
+
*
|
|
214
|
+
* @generated from protobuf message scalapb.ScalaPbOptions.AuxMessageOptions
|
|
215
|
+
*/
|
|
216
|
+
export interface ScalaPbOptions_AuxMessageOptions {
|
|
217
|
+
/**
|
|
218
|
+
* The fully-qualified name of the message in the proto name space. Set to `*` to apply to all
|
|
219
|
+
* messages in scope.
|
|
220
|
+
*
|
|
221
|
+
* @generated from protobuf field: optional string target = 1
|
|
222
|
+
*/
|
|
223
|
+
target?: string;
|
|
224
|
+
/**
|
|
225
|
+
* Options to apply to the message. If there are any options defined on the target message
|
|
226
|
+
* they take precedence over the options.
|
|
227
|
+
*
|
|
228
|
+
* @generated from protobuf field: optional scalapb.MessageOptions options = 2
|
|
229
|
+
*/
|
|
230
|
+
options?: MessageOptions;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* AuxFieldOptions enables you to set field-level options through package-scoped options.
|
|
234
|
+
* This is useful when you can't add a dependency on scalapb.proto from the proto file that
|
|
235
|
+
* defines the field.
|
|
236
|
+
*
|
|
237
|
+
* @generated from protobuf message scalapb.ScalaPbOptions.AuxFieldOptions
|
|
238
|
+
*/
|
|
239
|
+
export interface ScalaPbOptions_AuxFieldOptions {
|
|
240
|
+
/**
|
|
241
|
+
* The fully-qualified name of the field in the proto name space. Set to `*` to apply to all
|
|
242
|
+
* fields in scope.
|
|
243
|
+
*
|
|
244
|
+
* @generated from protobuf field: optional string target = 1
|
|
245
|
+
*/
|
|
246
|
+
target?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Options to apply to the field. If there are any options defined on the target message
|
|
249
|
+
* they take precedence over the options.
|
|
250
|
+
*
|
|
251
|
+
* @generated from protobuf field: optional scalapb.FieldOptions options = 2
|
|
252
|
+
*/
|
|
253
|
+
options?: FieldOptions;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* AuxEnumOptions enables you to set enum-level options through package-scoped options.
|
|
257
|
+
* This is useful when you can't add a dependency on scalapb.proto from the proto file that
|
|
258
|
+
* defines the enum.
|
|
259
|
+
*
|
|
260
|
+
* @generated from protobuf message scalapb.ScalaPbOptions.AuxEnumOptions
|
|
261
|
+
*/
|
|
262
|
+
export interface ScalaPbOptions_AuxEnumOptions {
|
|
263
|
+
/**
|
|
264
|
+
* The fully-qualified name of the enum in the proto name space. Set to `*` to apply to
|
|
265
|
+
* all enums in scope.
|
|
266
|
+
*
|
|
267
|
+
* @generated from protobuf field: optional string target = 1
|
|
268
|
+
*/
|
|
269
|
+
target?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Options to apply to the enum. If there are any options defined on the target enum
|
|
272
|
+
* they take precedence over the options.
|
|
273
|
+
*
|
|
274
|
+
* @generated from protobuf field: optional scalapb.EnumOptions options = 2
|
|
275
|
+
*/
|
|
276
|
+
options?: EnumOptions;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* AuxEnumValueOptions enables you to set enum value level options through package-scoped
|
|
280
|
+
* options. This is useful when you can't add a dependency on scalapb.proto from the proto
|
|
281
|
+
* file that defines the enum.
|
|
282
|
+
*
|
|
283
|
+
* @generated from protobuf message scalapb.ScalaPbOptions.AuxEnumValueOptions
|
|
284
|
+
*/
|
|
285
|
+
export interface ScalaPbOptions_AuxEnumValueOptions {
|
|
286
|
+
/**
|
|
287
|
+
* The fully-qualified name of the enum value in the proto name space. Set to `*` to apply
|
|
288
|
+
* to all enum values in scope.
|
|
289
|
+
*
|
|
290
|
+
* @generated from protobuf field: optional string target = 1
|
|
291
|
+
*/
|
|
292
|
+
target?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Options to apply to the enum value. If there are any options defined on
|
|
295
|
+
* the target enum value they take precedence over the options.
|
|
296
|
+
*
|
|
297
|
+
* @generated from protobuf field: optional scalapb.EnumValueOptions options = 2
|
|
298
|
+
*/
|
|
299
|
+
options?: EnumValueOptions;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Whether to apply the options only to this file, or for the entire package (and its subpackages)
|
|
303
|
+
*
|
|
304
|
+
* @generated from protobuf enum scalapb.ScalaPbOptions.OptionsScope
|
|
305
|
+
*/
|
|
306
|
+
export declare enum ScalaPbOptions_OptionsScope {
|
|
307
|
+
/**
|
|
308
|
+
* Apply the options for this file only (default)
|
|
309
|
+
*
|
|
310
|
+
* @generated from protobuf enum value: FILE = 0;
|
|
311
|
+
*/
|
|
312
|
+
FILE = 0,
|
|
313
|
+
/**
|
|
314
|
+
* Apply the options for the entire package and its subpackages.
|
|
315
|
+
*
|
|
316
|
+
* @generated from protobuf enum value: PACKAGE = 1;
|
|
317
|
+
*/
|
|
318
|
+
PACKAGE = 1
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Naming convention for generated enum values
|
|
322
|
+
*
|
|
323
|
+
* @generated from protobuf enum scalapb.ScalaPbOptions.EnumValueNaming
|
|
324
|
+
*/
|
|
325
|
+
export declare enum ScalaPbOptions_EnumValueNaming {
|
|
326
|
+
/**
|
|
327
|
+
* Enum value names in Scala use the same name as in the proto
|
|
328
|
+
*
|
|
329
|
+
* @generated from protobuf enum value: AS_IN_PROTO = 0;
|
|
330
|
+
*/
|
|
331
|
+
AS_IN_PROTO = 0,
|
|
332
|
+
/**
|
|
333
|
+
* Convert enum values to CamelCase in Scala.
|
|
334
|
+
*
|
|
335
|
+
* @generated from protobuf enum value: CAMEL_CASE = 1;
|
|
336
|
+
*/
|
|
337
|
+
CAMEL_CASE = 1
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* @generated from protobuf message scalapb.MessageOptions
|
|
341
|
+
*/
|
|
342
|
+
export interface MessageOptions {
|
|
343
|
+
/**
|
|
344
|
+
* Additional classes and traits to mix in to the case class.
|
|
345
|
+
*
|
|
346
|
+
* @generated from protobuf field: repeated string extends = 1
|
|
347
|
+
*/
|
|
348
|
+
extends: string[];
|
|
349
|
+
/**
|
|
350
|
+
* Additional classes and traits to mix in to the companion object.
|
|
351
|
+
*
|
|
352
|
+
* @generated from protobuf field: repeated string companion_extends = 2
|
|
353
|
+
*/
|
|
354
|
+
companionExtends: string[];
|
|
355
|
+
/**
|
|
356
|
+
* Custom annotations to add to the generated case class.
|
|
357
|
+
*
|
|
358
|
+
* @generated from protobuf field: repeated string annotations = 3
|
|
359
|
+
*/
|
|
360
|
+
annotations: string[];
|
|
361
|
+
/**
|
|
362
|
+
* All instances of this message will be converted to this type. An implicit TypeMapper
|
|
363
|
+
* must be present.
|
|
364
|
+
*
|
|
365
|
+
* @generated from protobuf field: optional string type = 4
|
|
366
|
+
*/
|
|
367
|
+
type?: string;
|
|
368
|
+
/**
|
|
369
|
+
* Custom annotations to add to the companion object of the generated class.
|
|
370
|
+
*
|
|
371
|
+
* @generated from protobuf field: repeated string companion_annotations = 5
|
|
372
|
+
*/
|
|
373
|
+
companionAnnotations: string[];
|
|
374
|
+
/**
|
|
375
|
+
* Additional classes and traits to mix in to generated sealed_oneof base trait.
|
|
376
|
+
*
|
|
377
|
+
* @generated from protobuf field: repeated string sealed_oneof_extends = 6
|
|
378
|
+
*/
|
|
379
|
+
sealedOneofExtends: string[];
|
|
380
|
+
/**
|
|
381
|
+
* If true, when this message is used as an optional field, do not wrap it in an `Option`.
|
|
382
|
+
* This is equivalent of setting `(field).no_box` to true on each field with the message type.
|
|
383
|
+
*
|
|
384
|
+
* @generated from protobuf field: optional bool no_box = 7
|
|
385
|
+
*/
|
|
386
|
+
noBox?: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* Custom annotations to add to the generated `unknownFields` case class field.
|
|
389
|
+
*
|
|
390
|
+
* @generated from protobuf field: repeated string unknown_fields_annotations = 8
|
|
391
|
+
*/
|
|
392
|
+
unknownFieldsAnnotations: string[];
|
|
393
|
+
/**
|
|
394
|
+
* If true, no default values will be generated in message constructors.
|
|
395
|
+
* If set (to true or false), the message-level setting overrides the
|
|
396
|
+
* file-level value, and can be overridden by the field-level setting.
|
|
397
|
+
*
|
|
398
|
+
* @generated from protobuf field: optional bool no_default_values_in_constructor = 9
|
|
399
|
+
*/
|
|
400
|
+
noDefaultValuesInConstructor?: boolean;
|
|
401
|
+
/**
|
|
402
|
+
* Additional classes and traits to mix in to generated sealed oneof base trait's companion object.
|
|
403
|
+
*
|
|
404
|
+
* @generated from protobuf field: repeated string sealed_oneof_companion_extends = 10
|
|
405
|
+
*/
|
|
406
|
+
sealedOneofCompanionExtends: string[];
|
|
407
|
+
/**
|
|
408
|
+
* Adds a derives clause to the message case class
|
|
409
|
+
*
|
|
410
|
+
* @generated from protobuf field: repeated string derives = 11
|
|
411
|
+
*/
|
|
412
|
+
derives: string[];
|
|
413
|
+
/**
|
|
414
|
+
* Additional classes and traits to add to the derives clause of a sealed oneof.
|
|
415
|
+
*
|
|
416
|
+
* @generated from protobuf field: repeated string sealed_oneof_derives = 12
|
|
417
|
+
*/
|
|
418
|
+
sealedOneofDerives: string[];
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Represents a custom Collection type in Scala. This allows ScalaPB to integrate with
|
|
422
|
+
* collection types that are different enough from the ones in the standard library.
|
|
423
|
+
*
|
|
424
|
+
* @generated from protobuf message scalapb.Collection
|
|
425
|
+
*/
|
|
426
|
+
export interface Collection {
|
|
427
|
+
/**
|
|
428
|
+
* Type of the collection
|
|
429
|
+
*
|
|
430
|
+
* @generated from protobuf field: optional string type = 1
|
|
431
|
+
*/
|
|
432
|
+
type?: string;
|
|
433
|
+
/**
|
|
434
|
+
* Set to true if this collection type is not allowed to be empty, for example
|
|
435
|
+
* cats.data.NonEmptyList. When true, ScalaPB will not generate `clearX` for the repeated
|
|
436
|
+
* field and not provide a default argument in the constructor.
|
|
437
|
+
*
|
|
438
|
+
* @generated from protobuf field: optional bool non_empty = 2
|
|
439
|
+
*/
|
|
440
|
+
nonEmpty?: boolean;
|
|
441
|
+
/**
|
|
442
|
+
* An Adapter is a Scala object available at runtime that provides certain static methods
|
|
443
|
+
* that can operate on this collection type.
|
|
444
|
+
*
|
|
445
|
+
* @generated from protobuf field: optional string adapter = 3
|
|
446
|
+
*/
|
|
447
|
+
adapter?: string;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* @generated from protobuf message scalapb.FieldOptions
|
|
451
|
+
*/
|
|
452
|
+
export interface FieldOptions {
|
|
453
|
+
/**
|
|
454
|
+
* @generated from protobuf field: optional string type = 1
|
|
455
|
+
*/
|
|
456
|
+
type?: string;
|
|
457
|
+
/**
|
|
458
|
+
* @generated from protobuf field: optional string scala_name = 2
|
|
459
|
+
*/
|
|
460
|
+
scalaName?: string;
|
|
461
|
+
/**
|
|
462
|
+
* Can be specified only if this field is repeated. If unspecified,
|
|
463
|
+
* it falls back to the file option named `collection_type`, which defaults
|
|
464
|
+
* to `scala.collection.Seq`.
|
|
465
|
+
*
|
|
466
|
+
* @generated from protobuf field: optional string collection_type = 3
|
|
467
|
+
*/
|
|
468
|
+
collectionType?: string;
|
|
469
|
+
/**
|
|
470
|
+
* @generated from protobuf field: optional scalapb.Collection collection = 8
|
|
471
|
+
*/
|
|
472
|
+
collection?: Collection;
|
|
473
|
+
/**
|
|
474
|
+
* If the field is a map, you can specify custom Scala types for the key
|
|
475
|
+
* or value.
|
|
476
|
+
*
|
|
477
|
+
* @generated from protobuf field: optional string key_type = 4
|
|
478
|
+
*/
|
|
479
|
+
keyType?: string;
|
|
480
|
+
/**
|
|
481
|
+
* @generated from protobuf field: optional string value_type = 5
|
|
482
|
+
*/
|
|
483
|
+
valueType?: string;
|
|
484
|
+
/**
|
|
485
|
+
* Custom annotations to add to the field.
|
|
486
|
+
*
|
|
487
|
+
* @generated from protobuf field: repeated string annotations = 6
|
|
488
|
+
*/
|
|
489
|
+
annotations: string[];
|
|
490
|
+
/**
|
|
491
|
+
* Can be specified only if this field is a map. If unspecified,
|
|
492
|
+
* it falls back to the file option named `map_type` which defaults to
|
|
493
|
+
* `scala.collection.immutable.Map`
|
|
494
|
+
*
|
|
495
|
+
* @generated from protobuf field: optional string map_type = 7
|
|
496
|
+
*/
|
|
497
|
+
mapType?: string;
|
|
498
|
+
/**
|
|
499
|
+
* If true, no default value will be generated for this field in the message
|
|
500
|
+
* constructor. If this field is set, it has the highest precedence and overrides the
|
|
501
|
+
* values at the message-level and file-level.
|
|
502
|
+
*
|
|
503
|
+
* @generated from protobuf field: optional bool no_default_value_in_constructor = 9
|
|
504
|
+
*/
|
|
505
|
+
noDefaultValueInConstructor?: boolean;
|
|
506
|
+
/**
|
|
507
|
+
* Do not box this value in Option[T]. If set, this overrides MessageOptions.no_box
|
|
508
|
+
*
|
|
509
|
+
* @generated from protobuf field: optional bool no_box = 30
|
|
510
|
+
*/
|
|
511
|
+
noBox?: boolean;
|
|
512
|
+
/**
|
|
513
|
+
* Like no_box it does not box a value in Option[T], but also fails parsing when a value
|
|
514
|
+
* is not provided. This enables to emulate required fields in proto3.
|
|
515
|
+
*
|
|
516
|
+
* @generated from protobuf field: optional bool required = 31
|
|
517
|
+
*/
|
|
518
|
+
required?: boolean;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* @generated from protobuf message scalapb.EnumOptions
|
|
522
|
+
*/
|
|
523
|
+
export interface EnumOptions {
|
|
524
|
+
/**
|
|
525
|
+
* Additional classes and traits to mix in to the base trait
|
|
526
|
+
*
|
|
527
|
+
* @generated from protobuf field: repeated string extends = 1
|
|
528
|
+
*/
|
|
529
|
+
extends: string[];
|
|
530
|
+
/**
|
|
531
|
+
* Additional classes and traits to mix in to the companion object.
|
|
532
|
+
*
|
|
533
|
+
* @generated from protobuf field: repeated string companion_extends = 2
|
|
534
|
+
*/
|
|
535
|
+
companionExtends: string[];
|
|
536
|
+
/**
|
|
537
|
+
* All instances of this enum will be converted to this type. An implicit TypeMapper
|
|
538
|
+
* must be present.
|
|
539
|
+
*
|
|
540
|
+
* @generated from protobuf field: optional string type = 3
|
|
541
|
+
*/
|
|
542
|
+
type?: string;
|
|
543
|
+
/**
|
|
544
|
+
* Custom annotations to add to the generated enum's base class.
|
|
545
|
+
*
|
|
546
|
+
* @generated from protobuf field: repeated string base_annotations = 4
|
|
547
|
+
*/
|
|
548
|
+
baseAnnotations: string[];
|
|
549
|
+
/**
|
|
550
|
+
* Custom annotations to add to the generated trait.
|
|
551
|
+
*
|
|
552
|
+
* @generated from protobuf field: repeated string recognized_annotations = 5
|
|
553
|
+
*/
|
|
554
|
+
recognizedAnnotations: string[];
|
|
555
|
+
/**
|
|
556
|
+
* Custom annotations to add to the generated Unrecognized case class.
|
|
557
|
+
*
|
|
558
|
+
* @generated from protobuf field: repeated string unrecognized_annotations = 6
|
|
559
|
+
*/
|
|
560
|
+
unrecognizedAnnotations: string[];
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* @generated from protobuf message scalapb.EnumValueOptions
|
|
564
|
+
*/
|
|
565
|
+
export interface EnumValueOptions {
|
|
566
|
+
/**
|
|
567
|
+
* Additional classes and traits to mix in to an individual enum value.
|
|
568
|
+
*
|
|
569
|
+
* @generated from protobuf field: repeated string extends = 1
|
|
570
|
+
*/
|
|
571
|
+
extends: string[];
|
|
572
|
+
/**
|
|
573
|
+
* Name in Scala to use for this enum value.
|
|
574
|
+
*
|
|
575
|
+
* @generated from protobuf field: optional string scala_name = 2
|
|
576
|
+
*/
|
|
577
|
+
scalaName?: string;
|
|
578
|
+
/**
|
|
579
|
+
* Custom annotations to add to the generated case object for this enum value.
|
|
580
|
+
*
|
|
581
|
+
* @generated from protobuf field: repeated string annotations = 3
|
|
582
|
+
*/
|
|
583
|
+
annotations: string[];
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* @generated from protobuf message scalapb.OneofOptions
|
|
587
|
+
*/
|
|
588
|
+
export interface OneofOptions {
|
|
589
|
+
/**
|
|
590
|
+
* Additional traits to mix in to a oneof.
|
|
591
|
+
*
|
|
592
|
+
* @generated from protobuf field: repeated string extends = 1
|
|
593
|
+
*/
|
|
594
|
+
extends: string[];
|
|
595
|
+
/**
|
|
596
|
+
* Name in Scala to use for this oneof field.
|
|
597
|
+
*
|
|
598
|
+
* @generated from protobuf field: optional string scala_name = 2
|
|
599
|
+
*/
|
|
600
|
+
scalaName?: string;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* @generated from protobuf message scalapb.FieldTransformation
|
|
604
|
+
*/
|
|
605
|
+
export interface FieldTransformation {
|
|
606
|
+
/**
|
|
607
|
+
* @generated from protobuf field: optional google.protobuf.FieldDescriptorProto when = 1
|
|
608
|
+
*/
|
|
609
|
+
when?: FieldDescriptorProto;
|
|
610
|
+
/**
|
|
611
|
+
* @generated from protobuf field: optional scalapb.MatchType match_type = 2 [default = CONTAINS]
|
|
612
|
+
*/
|
|
613
|
+
matchType?: MatchType;
|
|
614
|
+
/**
|
|
615
|
+
* @generated from protobuf field: optional google.protobuf.FieldOptions set = 3
|
|
616
|
+
*/
|
|
617
|
+
set?: FieldOptions$;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* @generated from protobuf message scalapb.PreprocessorOutput
|
|
621
|
+
*/
|
|
622
|
+
export interface PreprocessorOutput {
|
|
623
|
+
/**
|
|
624
|
+
* @generated from protobuf field: map<string, scalapb.ScalaPbOptions> options_by_file = 1
|
|
625
|
+
*/
|
|
626
|
+
optionsByFile: {
|
|
627
|
+
[key: string]: ScalaPbOptions;
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* @generated from protobuf enum scalapb.MatchType
|
|
632
|
+
*/
|
|
633
|
+
export declare enum MatchType {
|
|
634
|
+
/**
|
|
635
|
+
* @generated from protobuf enum value: CONTAINS = 0;
|
|
636
|
+
*/
|
|
637
|
+
CONTAINS = 0,
|
|
638
|
+
/**
|
|
639
|
+
* @generated from protobuf enum value: EXACT = 1;
|
|
640
|
+
*/
|
|
641
|
+
EXACT = 1,
|
|
642
|
+
/**
|
|
643
|
+
* @generated from protobuf enum value: PRESENCE = 2;
|
|
644
|
+
*/
|
|
645
|
+
PRESENCE = 2
|
|
646
|
+
}
|
|
647
|
+
declare class ScalaPbOptions$Type extends MessageType<ScalaPbOptions> {
|
|
648
|
+
constructor();
|
|
649
|
+
create(value?: PartialMessage<ScalaPbOptions>): ScalaPbOptions;
|
|
650
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScalaPbOptions): ScalaPbOptions;
|
|
651
|
+
internalBinaryWrite(message: ScalaPbOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* @generated MessageType for protobuf message scalapb.ScalaPbOptions
|
|
655
|
+
*/
|
|
656
|
+
export declare const ScalaPbOptions: ScalaPbOptions$Type;
|
|
657
|
+
declare class ScalaPbOptions_AuxMessageOptions$Type extends MessageType<ScalaPbOptions_AuxMessageOptions> {
|
|
658
|
+
constructor();
|
|
659
|
+
create(value?: PartialMessage<ScalaPbOptions_AuxMessageOptions>): ScalaPbOptions_AuxMessageOptions;
|
|
660
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScalaPbOptions_AuxMessageOptions): ScalaPbOptions_AuxMessageOptions;
|
|
661
|
+
internalBinaryWrite(message: ScalaPbOptions_AuxMessageOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* @generated MessageType for protobuf message scalapb.ScalaPbOptions.AuxMessageOptions
|
|
665
|
+
*/
|
|
666
|
+
export declare const ScalaPbOptions_AuxMessageOptions: ScalaPbOptions_AuxMessageOptions$Type;
|
|
667
|
+
declare class ScalaPbOptions_AuxFieldOptions$Type extends MessageType<ScalaPbOptions_AuxFieldOptions> {
|
|
668
|
+
constructor();
|
|
669
|
+
create(value?: PartialMessage<ScalaPbOptions_AuxFieldOptions>): ScalaPbOptions_AuxFieldOptions;
|
|
670
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScalaPbOptions_AuxFieldOptions): ScalaPbOptions_AuxFieldOptions;
|
|
671
|
+
internalBinaryWrite(message: ScalaPbOptions_AuxFieldOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* @generated MessageType for protobuf message scalapb.ScalaPbOptions.AuxFieldOptions
|
|
675
|
+
*/
|
|
676
|
+
export declare const ScalaPbOptions_AuxFieldOptions: ScalaPbOptions_AuxFieldOptions$Type;
|
|
677
|
+
declare class ScalaPbOptions_AuxEnumOptions$Type extends MessageType<ScalaPbOptions_AuxEnumOptions> {
|
|
678
|
+
constructor();
|
|
679
|
+
create(value?: PartialMessage<ScalaPbOptions_AuxEnumOptions>): ScalaPbOptions_AuxEnumOptions;
|
|
680
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScalaPbOptions_AuxEnumOptions): ScalaPbOptions_AuxEnumOptions;
|
|
681
|
+
internalBinaryWrite(message: ScalaPbOptions_AuxEnumOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* @generated MessageType for protobuf message scalapb.ScalaPbOptions.AuxEnumOptions
|
|
685
|
+
*/
|
|
686
|
+
export declare const ScalaPbOptions_AuxEnumOptions: ScalaPbOptions_AuxEnumOptions$Type;
|
|
687
|
+
declare class ScalaPbOptions_AuxEnumValueOptions$Type extends MessageType<ScalaPbOptions_AuxEnumValueOptions> {
|
|
688
|
+
constructor();
|
|
689
|
+
create(value?: PartialMessage<ScalaPbOptions_AuxEnumValueOptions>): ScalaPbOptions_AuxEnumValueOptions;
|
|
690
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScalaPbOptions_AuxEnumValueOptions): ScalaPbOptions_AuxEnumValueOptions;
|
|
691
|
+
internalBinaryWrite(message: ScalaPbOptions_AuxEnumValueOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* @generated MessageType for protobuf message scalapb.ScalaPbOptions.AuxEnumValueOptions
|
|
695
|
+
*/
|
|
696
|
+
export declare const ScalaPbOptions_AuxEnumValueOptions: ScalaPbOptions_AuxEnumValueOptions$Type;
|
|
697
|
+
declare class MessageOptions$Type extends MessageType<MessageOptions> {
|
|
698
|
+
constructor();
|
|
699
|
+
create(value?: PartialMessage<MessageOptions>): MessageOptions;
|
|
700
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MessageOptions): MessageOptions;
|
|
701
|
+
internalBinaryWrite(message: MessageOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* @generated MessageType for protobuf message scalapb.MessageOptions
|
|
705
|
+
*/
|
|
706
|
+
export declare const MessageOptions: MessageOptions$Type;
|
|
707
|
+
declare class Collection$Type extends MessageType<Collection> {
|
|
708
|
+
constructor();
|
|
709
|
+
create(value?: PartialMessage<Collection>): Collection;
|
|
710
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Collection): Collection;
|
|
711
|
+
internalBinaryWrite(message: Collection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* @generated MessageType for protobuf message scalapb.Collection
|
|
715
|
+
*/
|
|
716
|
+
export declare const Collection: Collection$Type;
|
|
717
|
+
declare class FieldOptions$Type extends MessageType<FieldOptions> {
|
|
718
|
+
constructor();
|
|
719
|
+
create(value?: PartialMessage<FieldOptions>): FieldOptions;
|
|
720
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions): FieldOptions;
|
|
721
|
+
internalBinaryWrite(message: FieldOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* @generated MessageType for protobuf message scalapb.FieldOptions
|
|
725
|
+
*/
|
|
726
|
+
export declare const FieldOptions: FieldOptions$Type;
|
|
727
|
+
declare class EnumOptions$Type extends MessageType<EnumOptions> {
|
|
728
|
+
constructor();
|
|
729
|
+
create(value?: PartialMessage<EnumOptions>): EnumOptions;
|
|
730
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumOptions): EnumOptions;
|
|
731
|
+
internalBinaryWrite(message: EnumOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* @generated MessageType for protobuf message scalapb.EnumOptions
|
|
735
|
+
*/
|
|
736
|
+
export declare const EnumOptions: EnumOptions$Type;
|
|
737
|
+
declare class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
|
|
738
|
+
constructor();
|
|
739
|
+
create(value?: PartialMessage<EnumValueOptions>): EnumValueOptions;
|
|
740
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumValueOptions): EnumValueOptions;
|
|
741
|
+
internalBinaryWrite(message: EnumValueOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* @generated MessageType for protobuf message scalapb.EnumValueOptions
|
|
745
|
+
*/
|
|
746
|
+
export declare const EnumValueOptions: EnumValueOptions$Type;
|
|
747
|
+
declare class OneofOptions$Type extends MessageType<OneofOptions> {
|
|
748
|
+
constructor();
|
|
749
|
+
create(value?: PartialMessage<OneofOptions>): OneofOptions;
|
|
750
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OneofOptions): OneofOptions;
|
|
751
|
+
internalBinaryWrite(message: OneofOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* @generated MessageType for protobuf message scalapb.OneofOptions
|
|
755
|
+
*/
|
|
756
|
+
export declare const OneofOptions: OneofOptions$Type;
|
|
757
|
+
declare class FieldTransformation$Type extends MessageType<FieldTransformation> {
|
|
758
|
+
constructor();
|
|
759
|
+
create(value?: PartialMessage<FieldTransformation>): FieldTransformation;
|
|
760
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldTransformation): FieldTransformation;
|
|
761
|
+
internalBinaryWrite(message: FieldTransformation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* @generated MessageType for protobuf message scalapb.FieldTransformation
|
|
765
|
+
*/
|
|
766
|
+
export declare const FieldTransformation: FieldTransformation$Type;
|
|
767
|
+
declare class PreprocessorOutput$Type extends MessageType<PreprocessorOutput> {
|
|
768
|
+
constructor();
|
|
769
|
+
create(value?: PartialMessage<PreprocessorOutput>): PreprocessorOutput;
|
|
770
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PreprocessorOutput): PreprocessorOutput;
|
|
771
|
+
private binaryReadMap1;
|
|
772
|
+
internalBinaryWrite(message: PreprocessorOutput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* @generated MessageType for protobuf message scalapb.PreprocessorOutput
|
|
776
|
+
*/
|
|
777
|
+
export declare const PreprocessorOutput: PreprocessorOutput$Type;
|
|
778
|
+
export {};
|
|
779
|
+
//# sourceMappingURL=scalapb.d.ts.map
|