@finam/grpc-tradeapi 2.14.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.
Files changed (146) hide show
  1. package/README.md +41 -0
  2. package/google/api/annotations_pb.d.ts +34 -0
  3. package/google/api/annotations_pb.js +36 -0
  4. package/google/api/auth_pb.d.ts +382 -0
  5. package/google/api/auth_pb.js +68 -0
  6. package/google/api/backend_pb.d.ts +278 -0
  7. package/google/api/backend_pb.js +60 -0
  8. package/google/api/billing_pb.d.ts +112 -0
  9. package/google/api/billing_pb.js +40 -0
  10. package/google/api/client_pb.d.ts +906 -0
  11. package/google/api/client_pb.js +268 -0
  12. package/google/api/config_change_pb.d.ts +156 -0
  13. package/google/api/config_change_pb.js +55 -0
  14. package/google/api/consumer_pb.d.ts +151 -0
  15. package/google/api/consumer_pb.js +54 -0
  16. package/google/api/context_pb.d.ts +139 -0
  17. package/google/api/context_pb.js +40 -0
  18. package/google/api/control_pb.d.ts +61 -0
  19. package/google/api/control_pb.js +34 -0
  20. package/google/api/distribution_pb.d.ts +379 -0
  21. package/google/api/distribution_pb.js +76 -0
  22. package/google/api/documentation_pb.d.ts +249 -0
  23. package/google/api/documentation_pb.js +47 -0
  24. package/google/api/endpoint_pb.d.ts +98 -0
  25. package/google/api/endpoint_pb.js +33 -0
  26. package/google/api/error_reason_pb.d.ts +765 -0
  27. package/google/api/error_reason_pb.js +49 -0
  28. package/google/api/field_behavior_pb.d.ts +152 -0
  29. package/google/api/field_behavior_pb.js +65 -0
  30. package/google/api/field_info_pb.d.ts +171 -0
  31. package/google/api/field_info_pb.js +80 -0
  32. package/google/api/http_pb.d.ts +469 -0
  33. package/google/api/http_pb.js +47 -0
  34. package/google/api/httpbody_pb.d.ts +104 -0
  35. package/google/api/httpbody_pb.js +34 -0
  36. package/google/api/label_pb.d.ts +93 -0
  37. package/google/api/label_pb.js +47 -0
  38. package/google/api/launch_stage_pb.d.ts +115 -0
  39. package/google/api/launch_stage_pb.js +41 -0
  40. package/google/api/log_pb.d.ts +82 -0
  41. package/google/api/log_pb.js +34 -0
  42. package/google/api/logging_pb.d.ts +120 -0
  43. package/google/api/logging_pb.js +40 -0
  44. package/google/api/metric_pb.d.ts +474 -0
  45. package/google/api/metric_pb.js +94 -0
  46. package/google/api/monitored_resource_pb.d.ts +200 -0
  47. package/google/api/monitored_resource_pb.js +50 -0
  48. package/google/api/monitoring_pb.d.ts +146 -0
  49. package/google/api/monitoring_pb.js +40 -0
  50. package/google/api/policy_pb.d.ts +128 -0
  51. package/google/api/policy_pb.js +57 -0
  52. package/google/api/quota_pb.d.ts +273 -0
  53. package/google/api/quota_pb.js +47 -0
  54. package/google/api/resource_pb.d.ts +344 -0
  55. package/google/api/resource_pb.js +97 -0
  56. package/google/api/routing_pb.d.ts +497 -0
  57. package/google/api/routing_pb.js +49 -0
  58. package/google/api/service_pb.d.ts +305 -0
  59. package/google/api/service_pb.js +52 -0
  60. package/google/api/source_info_pb.d.ts +47 -0
  61. package/google/api/source_info_pb.js +34 -0
  62. package/google/api/system_parameter_pb.d.ts +153 -0
  63. package/google/api/system_parameter_pb.js +47 -0
  64. package/google/api/usage_pb.d.ts +143 -0
  65. package/google/api/usage_pb.js +40 -0
  66. package/google/api/visibility_pb.d.ts +158 -0
  67. package/google/api/visibility_pb.js +89 -0
  68. package/google/protobuf/any_pb.d.ts +182 -0
  69. package/google/protobuf/any_pb.js +49 -0
  70. package/google/protobuf/api_pb.d.ts +302 -0
  71. package/google/protobuf/api_pb.js +65 -0
  72. package/google/protobuf/descriptor_pb.d.ts +2511 -0
  73. package/google/protobuf/descriptor_pb.js +500 -0
  74. package/google/protobuf/duration_pb.d.ts +134 -0
  75. package/google/protobuf/duration_pb.js +49 -0
  76. package/google/protobuf/empty_pb.d.ts +63 -0
  77. package/google/protobuf/empty_pb.js +49 -0
  78. package/google/protobuf/field_mask_pb.d.ts +260 -0
  79. package/google/protobuf/field_mask_pb.js +49 -0
  80. package/google/protobuf/source_context_pb.d.ts +64 -0
  81. package/google/protobuf/source_context_pb.js +49 -0
  82. package/google/protobuf/struct_pb.d.ts +186 -0
  83. package/google/protobuf/struct_pb.js +80 -0
  84. package/google/protobuf/timestamp_pb.d.ts +163 -0
  85. package/google/protobuf/timestamp_pb.js +49 -0
  86. package/google/protobuf/type_pb.d.ts +532 -0
  87. package/google/protobuf/type_pb.js +121 -0
  88. package/google/protobuf/wrappers_pb.d.ts +250 -0
  89. package/google/protobuf/wrappers_pb.js +115 -0
  90. package/google/type/calendar_period_pb.d.ts +99 -0
  91. package/google/type/calendar_period_pb.js +42 -0
  92. package/google/type/color_pb.d.ts +200 -0
  93. package/google/type/color_pb.js +34 -0
  94. package/google/type/date_pb.d.ts +76 -0
  95. package/google/type/date_pb.js +33 -0
  96. package/google/type/datetime_pb.d.ts +175 -0
  97. package/google/type/datetime_pb.js +41 -0
  98. package/google/type/dayofweek_pb.d.ts +93 -0
  99. package/google/type/dayofweek_pb.js +40 -0
  100. package/google/type/decimal_pb.d.ts +111 -0
  101. package/google/type/decimal_pb.js +33 -0
  102. package/google/type/expr_pb.d.ts +102 -0
  103. package/google/type/expr_pb.js +33 -0
  104. package/google/type/fraction_pb.d.ts +54 -0
  105. package/google/type/fraction_pb.js +33 -0
  106. package/google/type/interval_pb.d.ts +65 -0
  107. package/google/type/interval_pb.js +34 -0
  108. package/google/type/latlng_pb.d.ts +57 -0
  109. package/google/type/latlng_pb.js +33 -0
  110. package/google/type/localized_text_pb.d.ts +56 -0
  111. package/google/type/localized_text_pb.js +33 -0
  112. package/google/type/money_pb.d.ts +66 -0
  113. package/google/type/money_pb.js +33 -0
  114. package/google/type/month_pb.d.ts +128 -0
  115. package/google/type/month_pb.js +40 -0
  116. package/google/type/phone_number_pb.d.ts +161 -0
  117. package/google/type/phone_number_pb.js +40 -0
  118. package/google/type/postal_address_pb.d.ts +190 -0
  119. package/google/type/postal_address_pb.js +33 -0
  120. package/google/type/quaternion_pb.d.ts +122 -0
  121. package/google/type/quaternion_pb.js +33 -0
  122. package/google/type/timeofday_pb.d.ts +72 -0
  123. package/google/type/timeofday_pb.js +33 -0
  124. package/grpc/gateway/protoc_gen_openapiv2/options/annotations_pb.d.ts +73 -0
  125. package/grpc/gateway/protoc_gen_openapiv2/options/annotations_pb.js +80 -0
  126. package/grpc/gateway/protoc_gen_openapiv2/options/openapiv2_pb.d.ts +1586 -0
  127. package/grpc/gateway/protoc_gen_openapiv2/options/openapiv2_pb.js +239 -0
  128. package/grpc/tradeapi/v1/accounts/accounts_service_pb.d.ts +671 -0
  129. package/grpc/tradeapi/v1/accounts/accounts_service_pb.js +126 -0
  130. package/grpc/tradeapi/v1/assets/assets_service_pb.d.ts +1318 -0
  131. package/grpc/tradeapi/v1/assets/assets_service_pb.js +279 -0
  132. package/grpc/tradeapi/v1/auth/auth_service_pb.d.ts +336 -0
  133. package/grpc/tradeapi/v1/auth/auth_service_pb.js +86 -0
  134. package/grpc/tradeapi/v1/marketdata/marketdata_service_pb.d.ts +1215 -0
  135. package/grpc/tradeapi/v1/marketdata/marketdata_service_pb.js +243 -0
  136. package/grpc/tradeapi/v1/metrics/usage_metrics_service_pb.d.ts +111 -0
  137. package/grpc/tradeapi/v1/metrics/usage_metrics_service_pb.js +46 -0
  138. package/grpc/tradeapi/v1/orders/orders_service_pb.d.ts +1256 -0
  139. package/grpc/tradeapi/v1/orders/orders_service_pb.js +242 -0
  140. package/grpc/tradeapi/v1/reports/reports_service_pb.d.ts +353 -0
  141. package/grpc/tradeapi/v1/reports/reports_service_pb.js +107 -0
  142. package/grpc/tradeapi/v1/side_pb.d.ts +44 -0
  143. package/grpc/tradeapi/v1/side_pb.js +26 -0
  144. package/grpc/tradeapi/v1/trade_pb.d.ts +91 -0
  145. package/grpc/tradeapi/v1/trade_pb.js +22 -0
  146. package/package.json +14 -0
@@ -0,0 +1,139 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/context.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+
22
+ /**
23
+ * Describes the file google/api/context.proto.
24
+ */
25
+ export declare const file_google_api_context: GenFile;
26
+
27
+ /**
28
+ * `Context` defines which contexts an API requests.
29
+ *
30
+ * Example:
31
+ *
32
+ * context:
33
+ * rules:
34
+ * - selector: "*"
35
+ * requested:
36
+ * - google.rpc.context.ProjectContext
37
+ * - google.rpc.context.OriginContext
38
+ *
39
+ * The above specifies that all methods in the API request
40
+ * `google.rpc.context.ProjectContext` and
41
+ * `google.rpc.context.OriginContext`.
42
+ *
43
+ * Available context types are defined in package
44
+ * `google.rpc.context`.
45
+ *
46
+ * This also provides mechanism to allowlist any protobuf message extension that
47
+ * can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
48
+ * “x-goog-ext-<extension_id>-jspb” format. For example, list any service
49
+ * specific protobuf types that can appear in grpc metadata as follows in your
50
+ * yaml file:
51
+ *
52
+ * Example:
53
+ *
54
+ * context:
55
+ * rules:
56
+ * - selector: "google.example.library.v1.LibraryService.CreateBook"
57
+ * allowed_request_extensions:
58
+ * - google.foo.v1.NewExtension
59
+ * allowed_response_extensions:
60
+ * - google.foo.v1.NewExtension
61
+ *
62
+ * You can also specify extension ID instead of fully qualified extension name
63
+ * here.
64
+ *
65
+ * @generated from message google.api.Context
66
+ */
67
+ export declare type Context = Message<"google.api.Context"> & {
68
+ /**
69
+ * A list of RPC context rules that apply to individual API methods.
70
+ *
71
+ * **NOTE:** All service configuration rules follow "last one wins" order.
72
+ *
73
+ * @generated from field: repeated google.api.ContextRule rules = 1;
74
+ */
75
+ rules: ContextRule[];
76
+ };
77
+
78
+ /**
79
+ * Describes the message google.api.Context.
80
+ * Use `create(ContextSchema)` to create a new message.
81
+ */
82
+ export declare const ContextSchema: GenMessage<Context>;
83
+
84
+ /**
85
+ * A context rule provides information about the context for an individual API
86
+ * element.
87
+ *
88
+ * @generated from message google.api.ContextRule
89
+ */
90
+ export declare type ContextRule = Message<"google.api.ContextRule"> & {
91
+ /**
92
+ * Selects the methods to which this rule applies.
93
+ *
94
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax
95
+ * details.
96
+ *
97
+ * @generated from field: string selector = 1;
98
+ */
99
+ selector: string;
100
+
101
+ /**
102
+ * A list of full type names of requested contexts, only the requested context
103
+ * will be made available to the backend.
104
+ *
105
+ * @generated from field: repeated string requested = 2;
106
+ */
107
+ requested: string[];
108
+
109
+ /**
110
+ * A list of full type names of provided contexts. It is used to support
111
+ * propagating HTTP headers and ETags from the response extension.
112
+ *
113
+ * @generated from field: repeated string provided = 3;
114
+ */
115
+ provided: string[];
116
+
117
+ /**
118
+ * A list of full type names or extension IDs of extensions allowed in grpc
119
+ * side channel from client to backend.
120
+ *
121
+ * @generated from field: repeated string allowed_request_extensions = 4;
122
+ */
123
+ allowedRequestExtensions: string[];
124
+
125
+ /**
126
+ * A list of full type names or extension IDs of extensions allowed in grpc
127
+ * side channel from backend to client.
128
+ *
129
+ * @generated from field: repeated string allowed_response_extensions = 5;
130
+ */
131
+ allowedResponseExtensions: string[];
132
+ };
133
+
134
+ /**
135
+ * Describes the message google.api.ContextRule.
136
+ * Use `create(ContextRuleSchema)` to create a new message.
137
+ */
138
+ export declare const ContextRuleSchema: GenMessage<ContextRule>;
139
+
@@ -0,0 +1,40 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/context.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
20
+
21
+ /**
22
+ * Describes the file google/api/context.proto.
23
+ */
24
+ export const file_google_api_context = /*@__PURE__*/
25
+ fileDesc("Chhnb29nbGUvYXBpL2NvbnRleHQucHJvdG8SCmdvb2dsZS5hcGkiMQoHQ29udGV4dBImCgVydWxlcxgBIAMoCzIXLmdvb2dsZS5hcGkuQ29udGV4dFJ1bGUijQEKC0NvbnRleHRSdWxlEhAKCHNlbGVjdG9yGAEgASgJEhEKCXJlcXVlc3RlZBgCIAMoCRIQCghwcm92aWRlZBgDIAMoCRIiChphbGxvd2VkX3JlcXVlc3RfZXh0ZW5zaW9ucxgEIAMoCRIjChthbGxvd2VkX3Jlc3BvbnNlX2V4dGVuc2lvbnMYBSADKAlCbgoOY29tLmdvb2dsZS5hcGlCDENvbnRleHRQcm90b1ABWkVnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29uZmlnO3NlcnZpY2Vjb25maWeiAgRHQVBJYgZwcm90bzM");
26
+
27
+ /**
28
+ * Describes the message google.api.Context.
29
+ * Use `create(ContextSchema)` to create a new message.
30
+ */
31
+ export const ContextSchema = /*@__PURE__*/
32
+ messageDesc(file_google_api_context, 0);
33
+
34
+ /**
35
+ * Describes the message google.api.ContextRule.
36
+ * Use `create(ContextRuleSchema)` to create a new message.
37
+ */
38
+ export const ContextRuleSchema = /*@__PURE__*/
39
+ messageDesc(file_google_api_context, 1);
40
+
@@ -0,0 +1,61 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/control.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+ import type { MethodPolicy } from "./policy_pb.js";
22
+
23
+ /**
24
+ * Describes the file google/api/control.proto.
25
+ */
26
+ export declare const file_google_api_control: GenFile;
27
+
28
+ /**
29
+ * Selects and configures the service controller used by the service.
30
+ *
31
+ * Example:
32
+ *
33
+ * control:
34
+ * environment: servicecontrol.googleapis.com
35
+ *
36
+ * @generated from message google.api.Control
37
+ */
38
+ export declare type Control = Message<"google.api.Control"> & {
39
+ /**
40
+ * The service controller environment to use. If empty, no control plane
41
+ * feature (like quota and billing) will be enabled. The recommended value for
42
+ * most services is servicecontrol.googleapis.com
43
+ *
44
+ * @generated from field: string environment = 1;
45
+ */
46
+ environment: string;
47
+
48
+ /**
49
+ * Defines policies applying to the API methods of the service.
50
+ *
51
+ * @generated from field: repeated google.api.MethodPolicy method_policies = 4;
52
+ */
53
+ methodPolicies: MethodPolicy[];
54
+ };
55
+
56
+ /**
57
+ * Describes the message google.api.Control.
58
+ * Use `create(ControlSchema)` to create a new message.
59
+ */
60
+ export declare const ControlSchema: GenMessage<Control>;
61
+
@@ -0,0 +1,34 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/control.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
20
+ import { file_google_api_policy } from "./policy_pb.js";
21
+
22
+ /**
23
+ * Describes the file google/api/control.proto.
24
+ */
25
+ export const file_google_api_control = /*@__PURE__*/
26
+ fileDesc("Chhnb29nbGUvYXBpL2NvbnRyb2wucHJvdG8SCmdvb2dsZS5hcGkiUQoHQ29udHJvbBITCgtlbnZpcm9ubWVudBgBIAEoCRIxCg9tZXRob2RfcG9saWNpZXMYBCADKAsyGC5nb29nbGUuYXBpLk1ldGhvZFBvbGljeUJuCg5jb20uZ29vZ2xlLmFwaUIMQ29udHJvbFByb3RvUAFaRWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3NlcnZpY2Vjb25maWc7c2VydmljZWNvbmZpZ6ICBEdBUEliBnByb3RvMw", [file_google_api_policy]);
27
+
28
+ /**
29
+ * Describes the message google.api.Control.
30
+ * Use `create(ControlSchema)` to create a new message.
31
+ */
32
+ export const ControlSchema = /*@__PURE__*/
33
+ messageDesc(file_google_api_control, 0);
34
+
@@ -0,0 +1,379 @@
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=js"
16
+ // @generated from file google/api/distribution.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+ import type { Any, Timestamp } from "@bufbuild/protobuf/wkt";
22
+
23
+ /**
24
+ * Describes the file google/api/distribution.proto.
25
+ */
26
+ export declare const file_google_api_distribution: GenFile;
27
+
28
+ /**
29
+ * `Distribution` contains summary statistics for a population of values. It
30
+ * optionally contains a histogram representing the distribution of those values
31
+ * across a set of buckets.
32
+ *
33
+ * The summary statistics are the count, mean, sum of the squared deviation from
34
+ * the mean, the minimum, and the maximum of the set of population of values.
35
+ * The histogram is based on a sequence of buckets and gives a count of values
36
+ * that fall into each bucket. The boundaries of the buckets are given either
37
+ * explicitly or by formulas for buckets of fixed or exponentially increasing
38
+ * widths.
39
+ *
40
+ * Although it is not forbidden, it is generally a bad idea to include
41
+ * non-finite values (infinities or NaNs) in the population of values, as this
42
+ * will render the `mean` and `sum_of_squared_deviation` fields meaningless.
43
+ *
44
+ * @generated from message google.api.Distribution
45
+ */
46
+ export declare type Distribution = Message<"google.api.Distribution"> & {
47
+ /**
48
+ * The number of values in the population. Must be non-negative. This value
49
+ * must equal the sum of the values in `bucket_counts` if a histogram is
50
+ * provided.
51
+ *
52
+ * @generated from field: int64 count = 1;
53
+ */
54
+ count: bigint;
55
+
56
+ /**
57
+ * The arithmetic mean of the values in the population. If `count` is zero
58
+ * then this field must be zero.
59
+ *
60
+ * @generated from field: double mean = 2;
61
+ */
62
+ mean: number;
63
+
64
+ /**
65
+ * The sum of squared deviations from the mean of the values in the
66
+ * population. For values x_i this is:
67
+ *
68
+ * Sum[i=1..n]((x_i - mean)^2)
69
+ *
70
+ * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
71
+ * describes Welford's method for accumulating this sum in one pass.
72
+ *
73
+ * If `count` is zero then this field must be zero.
74
+ *
75
+ * @generated from field: double sum_of_squared_deviation = 3;
76
+ */
77
+ sumOfSquaredDeviation: number;
78
+
79
+ /**
80
+ * If specified, contains the range of the population values. The field
81
+ * must not be present if the `count` is zero.
82
+ *
83
+ * @generated from field: google.api.Distribution.Range range = 4;
84
+ */
85
+ range?: Distribution_Range;
86
+
87
+ /**
88
+ * Defines the histogram bucket boundaries. If the distribution does not
89
+ * contain a histogram, then omit this field.
90
+ *
91
+ * @generated from field: google.api.Distribution.BucketOptions bucket_options = 6;
92
+ */
93
+ bucketOptions?: Distribution_BucketOptions;
94
+
95
+ /**
96
+ * The number of values in each bucket of the histogram, as described in
97
+ * `bucket_options`. If the distribution does not have a histogram, then omit
98
+ * this field. If there is a histogram, then the sum of the values in
99
+ * `bucket_counts` must equal the value in the `count` field of the
100
+ * distribution.
101
+ *
102
+ * If present, `bucket_counts` should contain N values, where N is the number
103
+ * of buckets specified in `bucket_options`. If you supply fewer than N
104
+ * values, the remaining values are assumed to be 0.
105
+ *
106
+ * The order of the values in `bucket_counts` follows the bucket numbering
107
+ * schemes described for the three bucket types. The first value must be the
108
+ * count for the underflow bucket (number 0). The next N-2 values are the
109
+ * counts for the finite buckets (number 1 through N-2). The N'th value in
110
+ * `bucket_counts` is the count for the overflow bucket (number N-1).
111
+ *
112
+ * @generated from field: repeated int64 bucket_counts = 7;
113
+ */
114
+ bucketCounts: bigint[];
115
+
116
+ /**
117
+ * Must be in increasing order of `value` field.
118
+ *
119
+ * @generated from field: repeated google.api.Distribution.Exemplar exemplars = 10;
120
+ */
121
+ exemplars: Distribution_Exemplar[];
122
+ };
123
+
124
+ /**
125
+ * Describes the message google.api.Distribution.
126
+ * Use `create(DistributionSchema)` to create a new message.
127
+ */
128
+ export declare const DistributionSchema: GenMessage<Distribution>;
129
+
130
+ /**
131
+ * The range of the population values.
132
+ *
133
+ * @generated from message google.api.Distribution.Range
134
+ */
135
+ export declare type Distribution_Range = Message<"google.api.Distribution.Range"> & {
136
+ /**
137
+ * The minimum of the population values.
138
+ *
139
+ * @generated from field: double min = 1;
140
+ */
141
+ min: number;
142
+
143
+ /**
144
+ * The maximum of the population values.
145
+ *
146
+ * @generated from field: double max = 2;
147
+ */
148
+ max: number;
149
+ };
150
+
151
+ /**
152
+ * Describes the message google.api.Distribution.Range.
153
+ * Use `create(Distribution_RangeSchema)` to create a new message.
154
+ */
155
+ export declare const Distribution_RangeSchema: GenMessage<Distribution_Range>;
156
+
157
+ /**
158
+ * `BucketOptions` describes the bucket boundaries used to create a histogram
159
+ * for the distribution. The buckets can be in a linear sequence, an
160
+ * exponential sequence, or each bucket can be specified explicitly.
161
+ * `BucketOptions` does not include the number of values in each bucket.
162
+ *
163
+ * A bucket has an inclusive lower bound and exclusive upper bound for the
164
+ * values that are counted for that bucket. The upper bound of a bucket must
165
+ * be strictly greater than the lower bound. The sequence of N buckets for a
166
+ * distribution consists of an underflow bucket (number 0), zero or more
167
+ * finite buckets (number 1 through N - 2) and an overflow bucket (number N -
168
+ * 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the
169
+ * same as the upper bound of bucket i - 1. The buckets span the whole range
170
+ * of finite values: lower bound of the underflow bucket is -infinity and the
171
+ * upper bound of the overflow bucket is +infinity. The finite buckets are
172
+ * so-called because both bounds are finite.
173
+ *
174
+ * @generated from message google.api.Distribution.BucketOptions
175
+ */
176
+ export declare type Distribution_BucketOptions = Message<"google.api.Distribution.BucketOptions"> & {
177
+ /**
178
+ * Exactly one of these three fields must be set.
179
+ *
180
+ * @generated from oneof google.api.Distribution.BucketOptions.options
181
+ */
182
+ options: {
183
+ /**
184
+ * The linear bucket.
185
+ *
186
+ * @generated from field: google.api.Distribution.BucketOptions.Linear linear_buckets = 1;
187
+ */
188
+ value: Distribution_BucketOptions_Linear;
189
+ case: "linearBuckets";
190
+ } | {
191
+ /**
192
+ * The exponential buckets.
193
+ *
194
+ * @generated from field: google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2;
195
+ */
196
+ value: Distribution_BucketOptions_Exponential;
197
+ case: "exponentialBuckets";
198
+ } | {
199
+ /**
200
+ * The explicit buckets.
201
+ *
202
+ * @generated from field: google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3;
203
+ */
204
+ value: Distribution_BucketOptions_Explicit;
205
+ case: "explicitBuckets";
206
+ } | { case: undefined; value?: undefined };
207
+ };
208
+
209
+ /**
210
+ * Describes the message google.api.Distribution.BucketOptions.
211
+ * Use `create(Distribution_BucketOptionsSchema)` to create a new message.
212
+ */
213
+ export declare const Distribution_BucketOptionsSchema: GenMessage<Distribution_BucketOptions>;
214
+
215
+ /**
216
+ * Specifies a linear sequence of buckets that all have the same width
217
+ * (except overflow and underflow). Each bucket represents a constant
218
+ * absolute uncertainty on the specific value in the bucket.
219
+ *
220
+ * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
221
+ * following boundaries:
222
+ *
223
+ * Upper bound (0 <= i < N-1): offset + (width * i).
224
+ *
225
+ * Lower bound (1 <= i < N): offset + (width * (i - 1)).
226
+ *
227
+ * @generated from message google.api.Distribution.BucketOptions.Linear
228
+ */
229
+ export declare type Distribution_BucketOptions_Linear = Message<"google.api.Distribution.BucketOptions.Linear"> & {
230
+ /**
231
+ * Must be greater than 0.
232
+ *
233
+ * @generated from field: int32 num_finite_buckets = 1;
234
+ */
235
+ numFiniteBuckets: number;
236
+
237
+ /**
238
+ * Must be greater than 0.
239
+ *
240
+ * @generated from field: double width = 2;
241
+ */
242
+ width: number;
243
+
244
+ /**
245
+ * Lower bound of the first bucket.
246
+ *
247
+ * @generated from field: double offset = 3;
248
+ */
249
+ offset: number;
250
+ };
251
+
252
+ /**
253
+ * Describes the message google.api.Distribution.BucketOptions.Linear.
254
+ * Use `create(Distribution_BucketOptions_LinearSchema)` to create a new message.
255
+ */
256
+ export declare const Distribution_BucketOptions_LinearSchema: GenMessage<Distribution_BucketOptions_Linear>;
257
+
258
+ /**
259
+ * Specifies an exponential sequence of buckets that have a width that is
260
+ * proportional to the value of the lower bound. Each bucket represents a
261
+ * constant relative uncertainty on a specific value in the bucket.
262
+ *
263
+ * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
264
+ * following boundaries:
265
+ *
266
+ * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
267
+ *
268
+ * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
269
+ *
270
+ * @generated from message google.api.Distribution.BucketOptions.Exponential
271
+ */
272
+ export declare type Distribution_BucketOptions_Exponential = Message<"google.api.Distribution.BucketOptions.Exponential"> & {
273
+ /**
274
+ * Must be greater than 0.
275
+ *
276
+ * @generated from field: int32 num_finite_buckets = 1;
277
+ */
278
+ numFiniteBuckets: number;
279
+
280
+ /**
281
+ * Must be greater than 1.
282
+ *
283
+ * @generated from field: double growth_factor = 2;
284
+ */
285
+ growthFactor: number;
286
+
287
+ /**
288
+ * Must be greater than 0.
289
+ *
290
+ * @generated from field: double scale = 3;
291
+ */
292
+ scale: number;
293
+ };
294
+
295
+ /**
296
+ * Describes the message google.api.Distribution.BucketOptions.Exponential.
297
+ * Use `create(Distribution_BucketOptions_ExponentialSchema)` to create a new message.
298
+ */
299
+ export declare const Distribution_BucketOptions_ExponentialSchema: GenMessage<Distribution_BucketOptions_Exponential>;
300
+
301
+ /**
302
+ * Specifies a set of buckets with arbitrary widths.
303
+ *
304
+ * There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
305
+ * boundaries:
306
+ *
307
+ * Upper bound (0 <= i < N-1): bounds[i]
308
+ * Lower bound (1 <= i < N); bounds[i - 1]
309
+ *
310
+ * The `bounds` field must contain at least one element. If `bounds` has
311
+ * only one element, then there are no finite buckets, and that single
312
+ * element is the common boundary of the overflow and underflow buckets.
313
+ *
314
+ * @generated from message google.api.Distribution.BucketOptions.Explicit
315
+ */
316
+ export declare type Distribution_BucketOptions_Explicit = Message<"google.api.Distribution.BucketOptions.Explicit"> & {
317
+ /**
318
+ * The values must be monotonically increasing.
319
+ *
320
+ * @generated from field: repeated double bounds = 1;
321
+ */
322
+ bounds: number[];
323
+ };
324
+
325
+ /**
326
+ * Describes the message google.api.Distribution.BucketOptions.Explicit.
327
+ * Use `create(Distribution_BucketOptions_ExplicitSchema)` to create a new message.
328
+ */
329
+ export declare const Distribution_BucketOptions_ExplicitSchema: GenMessage<Distribution_BucketOptions_Explicit>;
330
+
331
+ /**
332
+ * Exemplars are example points that may be used to annotate aggregated
333
+ * distribution values. They are metadata that gives information about a
334
+ * particular value added to a Distribution bucket, such as a trace ID that
335
+ * was active when a value was added. They may contain further information,
336
+ * such as a example values and timestamps, origin, etc.
337
+ *
338
+ * @generated from message google.api.Distribution.Exemplar
339
+ */
340
+ export declare type Distribution_Exemplar = Message<"google.api.Distribution.Exemplar"> & {
341
+ /**
342
+ * Value of the exemplar point. This value determines to which bucket the
343
+ * exemplar belongs.
344
+ *
345
+ * @generated from field: double value = 1;
346
+ */
347
+ value: number;
348
+
349
+ /**
350
+ * The observation (sampling) time of the above value.
351
+ *
352
+ * @generated from field: google.protobuf.Timestamp timestamp = 2;
353
+ */
354
+ timestamp?: Timestamp;
355
+
356
+ /**
357
+ * Contextual information about the example value. Examples are:
358
+ *
359
+ * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
360
+ *
361
+ * Literal string: type.googleapis.com/google.protobuf.StringValue
362
+ *
363
+ * Labels dropped during aggregation:
364
+ * type.googleapis.com/google.monitoring.v3.DroppedLabels
365
+ *
366
+ * There may be only a single attachment of any given message type in a
367
+ * single exemplar, and this is enforced by the system.
368
+ *
369
+ * @generated from field: repeated google.protobuf.Any attachments = 3;
370
+ */
371
+ attachments: Any[];
372
+ };
373
+
374
+ /**
375
+ * Describes the message google.api.Distribution.Exemplar.
376
+ * Use `create(Distribution_ExemplarSchema)` to create a new message.
377
+ */
378
+ export declare const Distribution_ExemplarSchema: GenMessage<Distribution_Exemplar>;
379
+