@viamrobotics/sdk 0.56.0 → 0.58.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 (76) hide show
  1. package/README.md +0 -5
  2. package/dist/api-version.d.ts +1 -1
  3. package/dist/app/data-client.d.ts +21 -1
  4. package/dist/audio-common.d.ts +1 -1
  5. package/dist/events.d.ts +2 -1
  6. package/dist/gen/app/data/v1/data_connect.d.ts +12 -1
  7. package/dist/gen/app/data/v1/data_pb.d.ts +67 -0
  8. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +12 -1
  9. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +107 -0
  10. package/dist/gen/app/v1/app_pb.d.ts +65 -0
  11. package/dist/gen/app/v1/billing_pb.d.ts +10 -0
  12. package/dist/gen/app/v1/robot_pb.d.ts +7 -0
  13. package/dist/gen/common/v1/common_pb.d.ts +1 -1
  14. package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
  15. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +10 -1
  16. package/dist/gen/google/api/routing_pb.d.ts +508 -0
  17. package/dist/gen/google/iam/v1/iam_policy_connect.d.ts +102 -0
  18. package/dist/gen/google/iam/v1/iam_policy_pb.d.ts +179 -0
  19. package/dist/gen/google/iam/v1/options_pb.d.ts +67 -0
  20. package/dist/gen/google/iam/v1/policy_pb.d.ts +668 -0
  21. package/dist/gen/opentelemetry/proto/collector/logs/v1/logs_service_connect.d.ts +44 -0
  22. package/dist/gen/opentelemetry/proto/collector/logs/v1/logs_service_pb.d.ts +135 -0
  23. package/dist/gen/opentelemetry/proto/collector/metrics/v1/metrics_service_connect.d.ts +44 -0
  24. package/dist/gen/opentelemetry/proto/collector/metrics/v1/metrics_service_pb.d.ts +135 -0
  25. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +43 -0
  26. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +142 -0
  27. package/dist/gen/opentelemetry/proto/collector/trace/v1/trace_service_connect.d.ts +44 -0
  28. package/dist/gen/opentelemetry/proto/collector/trace/v1/trace_service_pb.d.ts +135 -0
  29. package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +322 -0
  30. package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +479 -0
  31. package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +1349 -0
  32. package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +890 -0
  33. package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +73 -0
  34. package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +683 -0
  35. package/dist/gen/robot/v1/robot_connect.d.ts +10 -1
  36. package/dist/gen/robot/v1/robot_pb.d.ts +83 -0
  37. package/dist/main.es.js +13572 -12946
  38. package/dist/main.umd.js +7 -7
  39. package/dist/robot/client.d.ts +33 -16
  40. package/dist/robot/robot.d.ts +19 -10
  41. package/dist/robot.d.ts +1 -1
  42. package/dist/services/motion/client.d.ts +1 -0
  43. package/dist/services/motion/motion.d.ts +1 -0
  44. package/package.json +11 -7
  45. package/dist/__fixtures__/credentials.d.ts +0 -5
  46. package/dist/__fixtures__/test-constants.d.ts +0 -4
  47. package/dist/__mocks__/transports.d.ts +0 -2
  48. package/dist/__mocks__/webrtc.d.ts +0 -2
  49. package/dist/app/app-client.spec.d.ts +0 -1
  50. package/dist/app/billing-client.spec.d.ts +0 -1
  51. package/dist/app/data-client.spec.d.ts +0 -1
  52. package/dist/app/ml-training-client.spec.d.ts +0 -1
  53. package/dist/app/provisioning-client.spec.d.ts +0 -1
  54. package/dist/app/viam-client.spec.d.ts +0 -1
  55. package/dist/components/audio-in/client.spec.d.ts +0 -1
  56. package/dist/components/audio-out/client.spec.d.ts +0 -1
  57. package/dist/components/board/client.spec.d.ts +0 -1
  58. package/dist/components/input-controller/client.spec.d.ts +0 -1
  59. package/dist/components/movement-sensor/client.spec.d.ts +0 -1
  60. package/dist/components/power-sensor/client.spec.d.ts +0 -1
  61. package/dist/extra/stream/client.spec.d.ts +0 -1
  62. package/dist/robot/__fixtures__/dial-configs.d.ts +0 -4
  63. package/dist/robot/__mocks__/robot-service.d.ts +0 -5
  64. package/dist/robot/__tests__/client.spec.d.ts +0 -1
  65. package/dist/robot/__tests__/grpc-connection-manager.spec.d.ts +0 -1
  66. package/dist/robot/__tests__/session-manager.spec.d.ts +0 -1
  67. package/dist/rpc/__fixtures__/dial-options.d.ts +0 -6
  68. package/dist/rpc/__fixtures__/dial-webrtc-options.d.ts +0 -8
  69. package/dist/rpc/__mocks__/signaling-exchanges.d.ts +0 -3
  70. package/dist/rpc/__tests__/dial.spec.d.ts +0 -1
  71. package/dist/services/discovery/client.spec.d.ts +0 -1
  72. package/dist/services/motion/client.spec.d.ts +0 -1
  73. package/dist/services/navigation/client.spec.d.ts +0 -1
  74. package/dist/services/slam/client.spec.d.ts +0 -1
  75. package/dist/services/vision/client.spec.d.ts +0 -1
  76. package/dist/services/world-state-store/client.spec.d.ts +0 -1
@@ -0,0 +1,135 @@
1
+ // Copyright 2019, OpenTelemetry Authors
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 v1.10.0
16
+ // @generated from file opentelemetry/proto/collector/trace/v1/trace_service.proto (package opentelemetry.proto.collector.trace.v1, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+ import type { ResourceSpans } from "../../../trace/v1/trace_pb.js";
23
+
24
+ /**
25
+ * @generated from message opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest
26
+ */
27
+ export declare class ExportTraceServiceRequest extends Message<ExportTraceServiceRequest> {
28
+ /**
29
+ * An array of ResourceSpans.
30
+ * For data coming from a single resource this array will typically contain one
31
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
32
+ * data from multiple origins typically batch the data before forwarding further and
33
+ * in that case this array will contain multiple elements.
34
+ *
35
+ * @generated from field: repeated opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
36
+ */
37
+ resourceSpans: ResourceSpans[];
38
+
39
+ constructor(data?: PartialMessage<ExportTraceServiceRequest>);
40
+
41
+ static readonly runtime: typeof proto3;
42
+ static readonly typeName = "opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest";
43
+ static readonly fields: FieldList;
44
+
45
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportTraceServiceRequest;
46
+
47
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportTraceServiceRequest;
48
+
49
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportTraceServiceRequest;
50
+
51
+ static equals(a: ExportTraceServiceRequest | PlainMessage<ExportTraceServiceRequest> | undefined, b: ExportTraceServiceRequest | PlainMessage<ExportTraceServiceRequest> | undefined): boolean;
52
+ }
53
+
54
+ /**
55
+ * @generated from message opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse
56
+ */
57
+ export declare class ExportTraceServiceResponse extends Message<ExportTraceServiceResponse> {
58
+ /**
59
+ * The details of a partially successful export request.
60
+ *
61
+ * If the request is only partially accepted
62
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
63
+ * the server MUST initialize the `partial_success` field and MUST
64
+ * set the `rejected_<signal>` with the number of items it rejected.
65
+ *
66
+ * Servers MAY also make use of the `partial_success` field to convey
67
+ * warnings/suggestions to senders even when the request was fully accepted.
68
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
69
+ * the `error_message` MUST be non-empty.
70
+ *
71
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
72
+ * `error_message` = "") is equivalent to it not being set/present. Senders
73
+ * SHOULD interpret it the same way as in the full success case.
74
+ *
75
+ * @generated from field: opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;
76
+ */
77
+ partialSuccess?: ExportTracePartialSuccess;
78
+
79
+ constructor(data?: PartialMessage<ExportTraceServiceResponse>);
80
+
81
+ static readonly runtime: typeof proto3;
82
+ static readonly typeName = "opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse";
83
+ static readonly fields: FieldList;
84
+
85
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportTraceServiceResponse;
86
+
87
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportTraceServiceResponse;
88
+
89
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportTraceServiceResponse;
90
+
91
+ static equals(a: ExportTraceServiceResponse | PlainMessage<ExportTraceServiceResponse> | undefined, b: ExportTraceServiceResponse | PlainMessage<ExportTraceServiceResponse> | undefined): boolean;
92
+ }
93
+
94
+ /**
95
+ * @generated from message opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess
96
+ */
97
+ export declare class ExportTracePartialSuccess extends Message<ExportTracePartialSuccess> {
98
+ /**
99
+ * The number of rejected spans.
100
+ *
101
+ * A `rejected_<signal>` field holding a `0` value indicates that the
102
+ * request was fully accepted.
103
+ *
104
+ * @generated from field: int64 rejected_spans = 1;
105
+ */
106
+ rejectedSpans: bigint;
107
+
108
+ /**
109
+ * A developer-facing human-readable message in English. It should be used
110
+ * either to explain why the server rejected parts of the data during a partial
111
+ * success or to convey warnings/suggestions during a full success. The message
112
+ * should offer guidance on how users can address such issues.
113
+ *
114
+ * error_message is an optional field. An error_message with an empty value
115
+ * is equivalent to it not being set.
116
+ *
117
+ * @generated from field: string error_message = 2;
118
+ */
119
+ errorMessage: string;
120
+
121
+ constructor(data?: PartialMessage<ExportTracePartialSuccess>);
122
+
123
+ static readonly runtime: typeof proto3;
124
+ static readonly typeName = "opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess";
125
+ static readonly fields: FieldList;
126
+
127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportTracePartialSuccess;
128
+
129
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportTracePartialSuccess;
130
+
131
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportTracePartialSuccess;
132
+
133
+ static equals(a: ExportTracePartialSuccess | PlainMessage<ExportTracePartialSuccess> | undefined, b: ExportTracePartialSuccess | PlainMessage<ExportTracePartialSuccess> | undefined): boolean;
134
+ }
135
+
@@ -0,0 +1,322 @@
1
+ // Copyright 2019, OpenTelemetry Authors
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 v1.10.0
16
+ // @generated from file opentelemetry/proto/common/v1/common.proto (package opentelemetry.proto.common.v1, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+
23
+ /**
24
+ * Represents any type of attribute value. AnyValue may contain a
25
+ * primitive value such as a string or integer or it may contain an arbitrary nested
26
+ * object containing arrays, key-value lists and primitives.
27
+ *
28
+ * @generated from message opentelemetry.proto.common.v1.AnyValue
29
+ */
30
+ export declare class AnyValue extends Message<AnyValue> {
31
+ /**
32
+ * The value is one of the listed fields. It is valid for all values to be unspecified
33
+ * in which case this AnyValue is considered to be "empty".
34
+ *
35
+ * @generated from oneof opentelemetry.proto.common.v1.AnyValue.value
36
+ */
37
+ value: {
38
+ /**
39
+ * @generated from field: string string_value = 1;
40
+ */
41
+ value: string;
42
+ case: "stringValue";
43
+ } | {
44
+ /**
45
+ * @generated from field: bool bool_value = 2;
46
+ */
47
+ value: boolean;
48
+ case: "boolValue";
49
+ } | {
50
+ /**
51
+ * @generated from field: int64 int_value = 3;
52
+ */
53
+ value: bigint;
54
+ case: "intValue";
55
+ } | {
56
+ /**
57
+ * @generated from field: double double_value = 4;
58
+ */
59
+ value: number;
60
+ case: "doubleValue";
61
+ } | {
62
+ /**
63
+ * @generated from field: opentelemetry.proto.common.v1.ArrayValue array_value = 5;
64
+ */
65
+ value: ArrayValue;
66
+ case: "arrayValue";
67
+ } | {
68
+ /**
69
+ * @generated from field: opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;
70
+ */
71
+ value: KeyValueList;
72
+ case: "kvlistValue";
73
+ } | {
74
+ /**
75
+ * @generated from field: bytes bytes_value = 7;
76
+ */
77
+ value: Uint8Array;
78
+ case: "bytesValue";
79
+ } | { case: undefined; value?: undefined };
80
+
81
+ constructor(data?: PartialMessage<AnyValue>);
82
+
83
+ static readonly runtime: typeof proto3;
84
+ static readonly typeName = "opentelemetry.proto.common.v1.AnyValue";
85
+ static readonly fields: FieldList;
86
+
87
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AnyValue;
88
+
89
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AnyValue;
90
+
91
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AnyValue;
92
+
93
+ static equals(a: AnyValue | PlainMessage<AnyValue> | undefined, b: AnyValue | PlainMessage<AnyValue> | undefined): boolean;
94
+ }
95
+
96
+ /**
97
+ * ArrayValue is a list of AnyValue messages. We need ArrayValue as a message
98
+ * since oneof in AnyValue does not allow repeated fields.
99
+ *
100
+ * @generated from message opentelemetry.proto.common.v1.ArrayValue
101
+ */
102
+ export declare class ArrayValue extends Message<ArrayValue> {
103
+ /**
104
+ * Array of values. The array may be empty (contain 0 elements).
105
+ *
106
+ * @generated from field: repeated opentelemetry.proto.common.v1.AnyValue values = 1;
107
+ */
108
+ values: AnyValue[];
109
+
110
+ constructor(data?: PartialMessage<ArrayValue>);
111
+
112
+ static readonly runtime: typeof proto3;
113
+ static readonly typeName = "opentelemetry.proto.common.v1.ArrayValue";
114
+ static readonly fields: FieldList;
115
+
116
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ArrayValue;
117
+
118
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ArrayValue;
119
+
120
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ArrayValue;
121
+
122
+ static equals(a: ArrayValue | PlainMessage<ArrayValue> | undefined, b: ArrayValue | PlainMessage<ArrayValue> | undefined): boolean;
123
+ }
124
+
125
+ /**
126
+ * KeyValueList is a list of KeyValue messages. We need KeyValueList as a message
127
+ * since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need
128
+ * a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to
129
+ * avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches
130
+ * are semantically equivalent.
131
+ *
132
+ * @generated from message opentelemetry.proto.common.v1.KeyValueList
133
+ */
134
+ export declare class KeyValueList extends Message<KeyValueList> {
135
+ /**
136
+ * A collection of key/value pairs of key-value pairs. The list may be empty (may
137
+ * contain 0 elements).
138
+ *
139
+ * The keys MUST be unique (it is not allowed to have more than one
140
+ * value with the same key).
141
+ * The behavior of software that receives duplicated keys can be unpredictable.
142
+ *
143
+ * @generated from field: repeated opentelemetry.proto.common.v1.KeyValue values = 1;
144
+ */
145
+ values: KeyValue[];
146
+
147
+ constructor(data?: PartialMessage<KeyValueList>);
148
+
149
+ static readonly runtime: typeof proto3;
150
+ static readonly typeName = "opentelemetry.proto.common.v1.KeyValueList";
151
+ static readonly fields: FieldList;
152
+
153
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyValueList;
154
+
155
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyValueList;
156
+
157
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyValueList;
158
+
159
+ static equals(a: KeyValueList | PlainMessage<KeyValueList> | undefined, b: KeyValueList | PlainMessage<KeyValueList> | undefined): boolean;
160
+ }
161
+
162
+ /**
163
+ * Represents a key-value pair that is used to store Span attributes, Link
164
+ * attributes, etc.
165
+ *
166
+ * @generated from message opentelemetry.proto.common.v1.KeyValue
167
+ */
168
+ export declare class KeyValue extends Message<KeyValue> {
169
+ /**
170
+ * The key name of the pair.
171
+ *
172
+ * @generated from field: string key = 1;
173
+ */
174
+ key: string;
175
+
176
+ /**
177
+ * The value of the pair.
178
+ *
179
+ * @generated from field: opentelemetry.proto.common.v1.AnyValue value = 2;
180
+ */
181
+ value?: AnyValue;
182
+
183
+ constructor(data?: PartialMessage<KeyValue>);
184
+
185
+ static readonly runtime: typeof proto3;
186
+ static readonly typeName = "opentelemetry.proto.common.v1.KeyValue";
187
+ static readonly fields: FieldList;
188
+
189
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyValue;
190
+
191
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyValue;
192
+
193
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyValue;
194
+
195
+ static equals(a: KeyValue | PlainMessage<KeyValue> | undefined, b: KeyValue | PlainMessage<KeyValue> | undefined): boolean;
196
+ }
197
+
198
+ /**
199
+ * InstrumentationScope is a message representing the instrumentation scope information
200
+ * such as the fully qualified name and version.
201
+ *
202
+ * @generated from message opentelemetry.proto.common.v1.InstrumentationScope
203
+ */
204
+ export declare class InstrumentationScope extends Message<InstrumentationScope> {
205
+ /**
206
+ * A name denoting the Instrumentation scope.
207
+ * An empty instrumentation scope name means the name is unknown.
208
+ *
209
+ * @generated from field: string name = 1;
210
+ */
211
+ name: string;
212
+
213
+ /**
214
+ * Defines the version of the instrumentation scope.
215
+ * An empty instrumentation scope version means the version is unknown.
216
+ *
217
+ * @generated from field: string version = 2;
218
+ */
219
+ version: string;
220
+
221
+ /**
222
+ * Additional attributes that describe the scope. [Optional].
223
+ * Attribute keys MUST be unique (it is not allowed to have more than one
224
+ * attribute with the same key).
225
+ * The behavior of software that receives duplicated keys can be unpredictable.
226
+ *
227
+ * @generated from field: repeated opentelemetry.proto.common.v1.KeyValue attributes = 3;
228
+ */
229
+ attributes: KeyValue[];
230
+
231
+ /**
232
+ * The number of attributes that were discarded. Attributes
233
+ * can be discarded because their keys are too long or because there are too many
234
+ * attributes. If this value is 0, then no attributes were dropped.
235
+ *
236
+ * @generated from field: uint32 dropped_attributes_count = 4;
237
+ */
238
+ droppedAttributesCount: number;
239
+
240
+ constructor(data?: PartialMessage<InstrumentationScope>);
241
+
242
+ static readonly runtime: typeof proto3;
243
+ static readonly typeName = "opentelemetry.proto.common.v1.InstrumentationScope";
244
+ static readonly fields: FieldList;
245
+
246
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InstrumentationScope;
247
+
248
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InstrumentationScope;
249
+
250
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InstrumentationScope;
251
+
252
+ static equals(a: InstrumentationScope | PlainMessage<InstrumentationScope> | undefined, b: InstrumentationScope | PlainMessage<InstrumentationScope> | undefined): boolean;
253
+ }
254
+
255
+ /**
256
+ * A reference to an Entity.
257
+ * Entity represents an object of interest associated with produced telemetry: e.g spans, metrics, profiles, or logs.
258
+ *
259
+ * Status: [Development]
260
+ *
261
+ * @generated from message opentelemetry.proto.common.v1.EntityRef
262
+ */
263
+ export declare class EntityRef extends Message<EntityRef> {
264
+ /**
265
+ * The Schema URL, if known. This is the identifier of the Schema that the entity data
266
+ * is recorded in. To learn more about Schema URL see
267
+ * https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
268
+ *
269
+ * This schema_url applies to the data in this message and to the Resource attributes
270
+ * referenced by id_keys and description_keys.
271
+ * TODO: discuss if we are happy with this somewhat complicated definition of what
272
+ * the schema_url applies to.
273
+ *
274
+ * This field obsoletes the schema_url field in ResourceMetrics/ResourceSpans/ResourceLogs.
275
+ *
276
+ * @generated from field: string schema_url = 1;
277
+ */
278
+ schemaUrl: string;
279
+
280
+ /**
281
+ * Defines the type of the entity. MUST not change during the lifetime of the entity.
282
+ * For example: "service" or "host". This field is required and MUST not be empty
283
+ * for valid entities.
284
+ *
285
+ * @generated from field: string type = 2;
286
+ */
287
+ type: string;
288
+
289
+ /**
290
+ * Attribute Keys that identify the entity.
291
+ * MUST not change during the lifetime of the entity. The Id must contain at least one attribute.
292
+ * These keys MUST exist in the containing {message}.attributes.
293
+ *
294
+ * @generated from field: repeated string id_keys = 3;
295
+ */
296
+ idKeys: string[];
297
+
298
+ /**
299
+ * Descriptive (non-identifying) attribute keys of the entity.
300
+ * MAY change over the lifetime of the entity. MAY be empty.
301
+ * These attribute keys are not part of entity's identity.
302
+ * These keys MUST exist in the containing {message}.attributes.
303
+ *
304
+ * @generated from field: repeated string description_keys = 4;
305
+ */
306
+ descriptionKeys: string[];
307
+
308
+ constructor(data?: PartialMessage<EntityRef>);
309
+
310
+ static readonly runtime: typeof proto3;
311
+ static readonly typeName = "opentelemetry.proto.common.v1.EntityRef";
312
+ static readonly fields: FieldList;
313
+
314
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EntityRef;
315
+
316
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EntityRef;
317
+
318
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EntityRef;
319
+
320
+ static equals(a: EntityRef | PlainMessage<EntityRef> | undefined, b: EntityRef | PlainMessage<EntityRef> | undefined): boolean;
321
+ }
322
+