@viamrobotics/sdk 0.68.1 → 0.69.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/dist/api-version.d.ts +1 -1
- package/dist/components/arm/client.d.ts +1 -0
- package/dist/components/audio-in/client.d.ts +1 -0
- package/dist/components/audio-out/client.d.ts +1 -0
- package/dist/components/base/client.d.ts +1 -0
- package/dist/components/board/client.d.ts +1 -0
- package/dist/components/button/client.d.ts +1 -0
- package/dist/components/camera/client.d.ts +1 -0
- package/dist/components/encoder/client.d.ts +1 -0
- package/dist/components/gantry/client.d.ts +1 -0
- package/dist/components/generic/client.d.ts +1 -0
- package/dist/components/gripper/client.d.ts +1 -0
- package/dist/components/input-controller/client.d.ts +1 -0
- package/dist/components/motor/client.d.ts +1 -0
- package/dist/components/movement-sensor/client.d.ts +1 -0
- package/dist/components/pose-tracker/client.d.ts +1 -0
- package/dist/components/power-sensor/client.d.ts +1 -0
- package/dist/components/sensor/client.d.ts +1 -0
- package/dist/components/servo/client.d.ts +1 -0
- package/dist/components/switch/client.d.ts +1 -0
- package/dist/events.d.ts +3 -1
- package/dist/gen/app/build/v1/build_pb.d.ts +17 -1
- package/dist/gen/app/v1/app_connect.d.ts +68 -1
- package/dist/gen/app/v1/app_pb.d.ts +359 -0
- package/dist/gen/google/api/client_pb.d.ts +4 -0
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +35 -2
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +8 -8
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +20 -21
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +2 -2
- package/dist/gen/google/rpc/code_pb.d.ts +1 -1
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +11 -1
- package/dist/gen/google/rpc/error_details_pb.d.ts +5 -5
- package/dist/gen/google/rpc/status_pb.d.ts +1 -1
- package/dist/gen/google/type/calendar_period_pb.d.ts +1 -1
- package/dist/gen/google/type/color_pb.d.ts +9 -9
- package/dist/gen/google/type/date_pb.d.ts +11 -8
- package/dist/gen/google/type/datetime_pb.d.ts +17 -16
- package/dist/gen/google/type/dayofweek_pb.d.ts +1 -1
- package/dist/gen/google/type/decimal_pb.d.ts +11 -12
- package/dist/gen/google/type/expr_pb.d.ts +1 -1
- package/dist/gen/google/type/fraction_pb.d.ts +1 -1
- package/dist/gen/google/type/interval_pb.d.ts +1 -1
- package/dist/gen/google/type/latlng_pb.d.ts +4 -4
- package/dist/gen/google/type/localized_text_pb.d.ts +3 -2
- package/dist/gen/google/type/money_pb.d.ts +1 -1
- package/dist/gen/google/type/month_pb.d.ts +1 -1
- package/dist/gen/google/type/phone_number_pb.d.ts +20 -14
- package/dist/gen/google/type/postal_address_pb.d.ts +39 -38
- package/dist/gen/google/type/quaternion_pb.d.ts +4 -3
- package/dist/gen/google/type/timeofday_pb.d.ts +11 -7
- package/dist/gen/robot/v1/robot_pb.d.ts +0 -8
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +6622 -6095
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +68 -31
- package/dist/robot/robot.d.ts +2 -1
- package/dist/rpc/dial.d.ts +29 -0
- package/dist/services/data-manager/client.d.ts +1 -0
- package/dist/services/discovery/client.d.ts +1 -0
- package/dist/services/generic/client.d.ts +1 -0
- package/dist/services/motion/client.d.ts +1 -0
- package/dist/services/navigation/client.d.ts +1 -0
- package/dist/services/slam/client.d.ts +1 -0
- package/dist/services/video/client.d.ts +1 -0
- package/dist/services/vision/client.d.ts +1 -0
- package/dist/services/world-state-store/client.d.ts +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/utils.d.ts +4 -1
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -61,12 +61,12 @@ export declare class ParsedExpr extends Message<ParsedExpr> {
|
|
|
61
61
|
* Expressions are abstractly represented as a collection of identifiers,
|
|
62
62
|
* select statements, function calls, literals, and comprehensions. All
|
|
63
63
|
* operators with the exception of the '.' operator are modelled as function
|
|
64
|
-
* calls. This makes it easy to represent new operators
|
|
64
|
+
* calls. This makes it easy to represent new operators in the existing AST.
|
|
65
65
|
*
|
|
66
66
|
* All references within expressions must resolve to a
|
|
67
67
|
* [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an
|
|
68
68
|
* expression to be valid. A reference may either be a bare identifier `name` or
|
|
69
|
-
* a qualified identifier `google.api.name`. References may
|
|
69
|
+
* a qualified identifier `google.api.name`. References may refer to either a
|
|
70
70
|
* value or a function declaration.
|
|
71
71
|
*
|
|
72
72
|
* For example, the expression `google.api.name.startsWith('expr')` references
|
|
@@ -80,7 +80,7 @@ export declare class Expr extends Message<Expr> {
|
|
|
80
80
|
/**
|
|
81
81
|
* Required. An id assigned to this node by the parser which is unique in a
|
|
82
82
|
* given expression tree. This is used to associate type information and other
|
|
83
|
-
* attributes
|
|
83
|
+
* attributes with a node in the parse tree.
|
|
84
84
|
*
|
|
85
85
|
* @generated from field: int64 id = 2;
|
|
86
86
|
*/
|
|
@@ -255,7 +255,7 @@ export declare class Expr_Select extends Message<Expr_Select> {
|
|
|
255
255
|
*/
|
|
256
256
|
export declare class Expr_Call extends Message<Expr_Call> {
|
|
257
257
|
/**
|
|
258
|
-
* The target of
|
|
258
|
+
* The target of a method call-style expression. For example, `x` in
|
|
259
259
|
* `x.f()`.
|
|
260
260
|
*
|
|
261
261
|
* @generated from field: google.api.expr.v1alpha1.Expr target = 1;
|
|
@@ -294,7 +294,7 @@ export declare class Expr_Call extends Message<Expr_Call> {
|
|
|
294
294
|
/**
|
|
295
295
|
* A list creation expression.
|
|
296
296
|
*
|
|
297
|
-
* Lists may either be
|
|
297
|
+
* Lists may either be homogeneous, e.g. `[1, 2, 3]`, or heterogeneous, e.g.
|
|
298
298
|
* `dyn([1, 'hello', 2.0])`
|
|
299
299
|
*
|
|
300
300
|
* @generated from message google.api.expr.v1alpha1.Expr.CreateList
|
|
@@ -345,7 +345,7 @@ export declare class Expr_CreateList extends Message<Expr_CreateList> {
|
|
|
345
345
|
*/
|
|
346
346
|
export declare class Expr_CreateStruct extends Message<Expr_CreateStruct> {
|
|
347
347
|
/**
|
|
348
|
-
* The type name of the message to be created
|
|
348
|
+
* The type name of the message to be created; empty when creating map
|
|
349
349
|
* literals.
|
|
350
350
|
*
|
|
351
351
|
* @generated from field: string message_name = 1;
|
|
@@ -383,7 +383,7 @@ export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_E
|
|
|
383
383
|
/**
|
|
384
384
|
* Required. An id assigned to this node by the parser which is unique
|
|
385
385
|
* in a given expression tree. This is used to associate type
|
|
386
|
-
* information and other attributes
|
|
386
|
+
* information and other attributes with the node.
|
|
387
387
|
*
|
|
388
388
|
* @generated from field: int64 id = 1;
|
|
389
389
|
*/
|
|
@@ -469,7 +469,7 @@ export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_E
|
|
|
469
469
|
*
|
|
470
470
|
* The `has(m.x)` macro tests whether the property `x` is present in struct
|
|
471
471
|
* `m`. The semantics of this macro depend on the type of `m`. For proto2
|
|
472
|
-
* messages `has(m.x)` is defined as 'defined, but not set
|
|
472
|
+
* messages `has(m.x)` is defined as 'defined, but not set'. For proto3, the
|
|
473
473
|
* macro tests whether the property is set to its default. For map and struct
|
|
474
474
|
* types, the macro tests whether the property `x` is defined on `m`.
|
|
475
475
|
*
|
|
@@ -489,7 +489,7 @@ export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_E
|
|
|
489
489
|
*
|
|
490
490
|
* Comprehensions for the optional V2 macros which support map-to-map
|
|
491
491
|
* translation differ slightly from the standard environment macros in that
|
|
492
|
-
* they expose
|
|
492
|
+
* they expose the key or index in addition to the value for each list
|
|
493
493
|
* or map entry:
|
|
494
494
|
*
|
|
495
495
|
* ```
|
|
@@ -508,17 +508,16 @@ export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_E
|
|
|
508
508
|
export declare class Expr_Comprehension extends Message<Expr_Comprehension> {
|
|
509
509
|
/**
|
|
510
510
|
* The name of the first iteration variable.
|
|
511
|
-
*
|
|
512
|
-
*
|
|
511
|
+
* For the single iteration variable macros, when iter_range is a list, this
|
|
512
|
+
* variable is the list element and when the iter_range is a map, this
|
|
513
|
+
* variable is the map key.
|
|
513
514
|
*
|
|
514
515
|
* @generated from field: string iter_var = 1;
|
|
515
516
|
*/
|
|
516
517
|
iterVar: string;
|
|
517
518
|
|
|
518
519
|
/**
|
|
519
|
-
* The name of the second iteration variable
|
|
520
|
-
* When the iter_range is a list, this variable is the integer index.
|
|
521
|
-
* When the iter_range is a map, this variable is the map entry value.
|
|
520
|
+
* The name of the second iteration variable; empty if not set.
|
|
522
521
|
* This field is only set for comprehension v2 macros.
|
|
523
522
|
*
|
|
524
523
|
* @generated from field: string iter_var2 = 8;
|
|
@@ -594,7 +593,7 @@ export declare class Expr_Comprehension extends Message<Expr_Comprehension> {
|
|
|
594
593
|
*
|
|
595
594
|
* Named 'Constant' here for backwards compatibility.
|
|
596
595
|
*
|
|
597
|
-
* This is similar
|
|
596
|
+
* This is similar to the primitives supported in the well-known type
|
|
598
597
|
* `google.protobuf.Value`, but richer so it can represent CEL's full range of
|
|
599
598
|
* primitives.
|
|
600
599
|
*
|
|
@@ -673,7 +672,7 @@ export declare class Constant extends Message<Constant> {
|
|
|
673
672
|
/**
|
|
674
673
|
* protobuf.Duration value.
|
|
675
674
|
*
|
|
676
|
-
* Deprecated: duration is no longer considered a builtin
|
|
675
|
+
* Deprecated: duration is no longer considered a builtin CEL type.
|
|
677
676
|
*
|
|
678
677
|
* @generated from field: google.protobuf.Duration duration_value = 8 [deprecated = true];
|
|
679
678
|
* @deprecated
|
|
@@ -684,7 +683,7 @@ export declare class Constant extends Message<Constant> {
|
|
|
684
683
|
/**
|
|
685
684
|
* protobuf.Timestamp value.
|
|
686
685
|
*
|
|
687
|
-
* Deprecated: timestamp is no longer considered a builtin
|
|
686
|
+
* Deprecated: timestamp is no longer considered a builtin CEL type.
|
|
688
687
|
*
|
|
689
688
|
* @generated from field: google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
|
|
690
689
|
* @deprecated
|
|
@@ -738,7 +737,7 @@ export declare class SourceInfo extends Message<SourceInfo> {
|
|
|
738
737
|
*
|
|
739
738
|
* The line number of a given position is the index `i` where for a given
|
|
740
739
|
* `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
|
|
741
|
-
* column may be
|
|
740
|
+
* column may be derived from `id_positions[id] - line_offsets[i]`.
|
|
742
741
|
*
|
|
743
742
|
* @generated from field: repeated int32 line_offsets = 3;
|
|
744
743
|
*/
|
|
@@ -811,7 +810,7 @@ export declare class SourceInfo_Extension extends Message<SourceInfo_Extension>
|
|
|
811
810
|
* If set, the listed components must understand the extension for the
|
|
812
811
|
* expression to evaluate correctly.
|
|
813
812
|
*
|
|
814
|
-
* This field has set semantics
|
|
813
|
+
* This field has set semantics; repeated values should be deduplicated.
|
|
815
814
|
*
|
|
816
815
|
* @generated from field: repeated google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2;
|
|
817
816
|
*/
|
|
@@ -921,7 +920,7 @@ export declare class SourceInfo_Extension_Version extends Message<SourceInfo_Ext
|
|
|
921
920
|
*/
|
|
922
921
|
export declare class SourcePosition extends Message<SourcePosition> {
|
|
923
922
|
/**
|
|
924
|
-
* The
|
|
923
|
+
* The source location name (e.g. file name).
|
|
925
924
|
*
|
|
926
925
|
* @generated from field: string location = 1;
|
|
927
926
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -225,7 +225,7 @@ export declare class MapValue extends Message<MapValue> {
|
|
|
225
225
|
/**
|
|
226
226
|
* The set of map entries.
|
|
227
227
|
*
|
|
228
|
-
* CEL has fewer restrictions on keys, so a protobuf map
|
|
228
|
+
* CEL has fewer restrictions on keys, so a protobuf map representation
|
|
229
229
|
* cannot be used.
|
|
230
230
|
*
|
|
231
231
|
* @generated from field: repeated google.api.expr.v1alpha1.MapValue.Entry entries = 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -442,6 +442,16 @@ export declare class AttributeContext_Request extends Message<AttributeContext_R
|
|
|
442
442
|
*/
|
|
443
443
|
auth?: AttributeContext_Auth;
|
|
444
444
|
|
|
445
|
+
/**
|
|
446
|
+
* The values from Origin header from the HTTP request, such as
|
|
447
|
+
* "https://console.cloud.google.com". Modern browsers can only have one
|
|
448
|
+
* origin. Special browsers and/or HTTP clients may require multiple
|
|
449
|
+
* origins.
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: string origin = 14;
|
|
452
|
+
*/
|
|
453
|
+
origin: string;
|
|
454
|
+
|
|
445
455
|
constructor(data?: PartialMessage<AttributeContext_Request>);
|
|
446
456
|
|
|
447
457
|
static readonly runtime: typeof proto3;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -490,17 +490,17 @@ export declare class BadRequest_FieldViolation extends Message<BadRequest_FieldV
|
|
|
490
490
|
* In this example, in proto `field` could take one of the following values:
|
|
491
491
|
*
|
|
492
492
|
* * `full_name` for a violation in the `full_name` value
|
|
493
|
-
* * `email_addresses[
|
|
493
|
+
* * `email_addresses[0].email` for a violation in the `email` field of the
|
|
494
494
|
* first `email_addresses` message
|
|
495
|
-
* * `email_addresses[
|
|
495
|
+
* * `email_addresses[2].type[1]` for a violation in the second `type`
|
|
496
496
|
* value in the third `email_addresses` message.
|
|
497
497
|
*
|
|
498
498
|
* In JSON, the same values are represented as:
|
|
499
499
|
*
|
|
500
500
|
* * `fullName` for a violation in the `fullName` value
|
|
501
|
-
* * `emailAddresses[
|
|
501
|
+
* * `emailAddresses[0].email` for a violation in the `email` field of the
|
|
502
502
|
* first `emailAddresses` message
|
|
503
|
-
* * `emailAddresses[
|
|
503
|
+
* * `emailAddresses[2].type[1]` for a violation in the second `type`
|
|
504
504
|
* value in the third `emailAddresses` message.
|
|
505
505
|
*
|
|
506
506
|
* @generated from field: string field = 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -22,22 +22,22 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Represents a color in the RGBA color space. This representation is designed
|
|
25
|
-
* for simplicity of conversion to
|
|
25
|
+
* for simplicity of conversion to and from color representations in various
|
|
26
26
|
* languages over compactness. For example, the fields of this representation
|
|
27
27
|
* can be trivially provided to the constructor of `java.awt.Color` in Java; it
|
|
28
28
|
* can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
|
29
29
|
* method in iOS; and, with just a little work, it can be easily formatted into
|
|
30
30
|
* a CSS `rgba()` string in JavaScript.
|
|
31
31
|
*
|
|
32
|
-
* This reference page doesn't
|
|
33
|
-
* space
|
|
34
|
-
*
|
|
35
|
-
* DCI-P3, BT.2020
|
|
32
|
+
* This reference page doesn't have information about the absolute color
|
|
33
|
+
* space that should be used to interpret the RGB value—for example, sRGB,
|
|
34
|
+
* Adobe RGB,
|
|
35
|
+
* DCI-P3, and BT.2020. By default, applications should assume the sRGB color
|
|
36
36
|
* space.
|
|
37
37
|
*
|
|
38
|
-
* When color equality needs to be decided, implementations, unless
|
|
39
|
-
*
|
|
40
|
-
*
|
|
38
|
+
* When color equality needs to be decided, implementations, unless documented
|
|
39
|
+
* otherwise, treat two colors as equal if all their red, green, blue, and alpha
|
|
40
|
+
* values each differ by at most `1e-5`.
|
|
41
41
|
*
|
|
42
42
|
* Example (Java):
|
|
43
43
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -26,14 +26,17 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
26
26
|
* date is relative to the Gregorian Calendar. This can represent one of the
|
|
27
27
|
* following:
|
|
28
28
|
*
|
|
29
|
-
* * A full date, with non-zero year, month, and day values
|
|
30
|
-
* * A month and day
|
|
31
|
-
* * A year on its own, with zero month and day
|
|
32
|
-
* * A year and month
|
|
33
|
-
*
|
|
29
|
+
* * A full date, with non-zero year, month, and day values.
|
|
30
|
+
* * A month and day, with a zero year (for example, an anniversary).
|
|
31
|
+
* * A year on its own, with a zero month and a zero day.
|
|
32
|
+
* * A year and month, with a zero day (for example, a credit card expiration
|
|
33
|
+
* date).
|
|
34
34
|
*
|
|
35
|
-
* Related types
|
|
36
|
-
*
|
|
35
|
+
* Related types:
|
|
36
|
+
*
|
|
37
|
+
* * [google.type.TimeOfDay][google.type.TimeOfDay]
|
|
38
|
+
* * [google.type.DateTime][google.type.DateTime]
|
|
39
|
+
* * [google.protobuf.Timestamp][google.protobuf.Timestamp]
|
|
37
40
|
*
|
|
38
41
|
* @generated from message google.type.Date
|
|
39
42
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -34,8 +34,8 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
34
34
|
*
|
|
35
35
|
* The date is relative to the Proleptic Gregorian Calendar.
|
|
36
36
|
*
|
|
37
|
-
* If year
|
|
38
|
-
*
|
|
37
|
+
* If year, month, or day are 0, the DateTime is considered not to have a
|
|
38
|
+
* specific year, month, or day respectively.
|
|
39
39
|
*
|
|
40
40
|
* This type may also be used to represent a physical time if all the date and
|
|
41
41
|
* time fields are set and either case of the `time_offset` oneof is set.
|
|
@@ -58,47 +58,48 @@ export declare class DateTime extends Message<DateTime> {
|
|
|
58
58
|
year: number;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
|
|
62
|
+
* datetime without a month.
|
|
62
63
|
*
|
|
63
64
|
* @generated from field: int32 month = 2;
|
|
64
65
|
*/
|
|
65
66
|
month: number;
|
|
66
67
|
|
|
67
68
|
/**
|
|
68
|
-
*
|
|
69
|
-
* month.
|
|
69
|
+
* Optional. Day of month. Must be from 1 to 31 and valid for the year and
|
|
70
|
+
* month, or 0 if specifying a datetime without a day.
|
|
70
71
|
*
|
|
71
72
|
* @generated from field: int32 day = 3;
|
|
72
73
|
*/
|
|
73
74
|
day: number;
|
|
74
75
|
|
|
75
76
|
/**
|
|
76
|
-
*
|
|
77
|
-
* may choose to allow the value "24:00:00" for
|
|
78
|
-
* closing time.
|
|
77
|
+
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
|
|
78
|
+
* to 0 (midnight). An API may choose to allow the value "24:00:00" for
|
|
79
|
+
* scenarios like business closing time.
|
|
79
80
|
*
|
|
80
81
|
* @generated from field: int32 hours = 4;
|
|
81
82
|
*/
|
|
82
83
|
hours: number;
|
|
83
84
|
|
|
84
85
|
/**
|
|
85
|
-
*
|
|
86
|
+
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
|
|
86
87
|
*
|
|
87
88
|
* @generated from field: int32 minutes = 5;
|
|
88
89
|
*/
|
|
89
90
|
minutes: number;
|
|
90
91
|
|
|
91
92
|
/**
|
|
92
|
-
*
|
|
93
|
-
* API may allow the value 60 if it allows leap-seconds.
|
|
93
|
+
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
|
|
94
|
+
* defaults to 0. An API may allow the value 60 if it allows leap-seconds.
|
|
94
95
|
*
|
|
95
96
|
* @generated from field: int32 seconds = 6;
|
|
96
97
|
*/
|
|
97
98
|
seconds: number;
|
|
98
99
|
|
|
99
100
|
/**
|
|
100
|
-
*
|
|
101
|
-
* 999,999,999.
|
|
101
|
+
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to
|
|
102
|
+
* 999,999,999, defaults to 0.
|
|
102
103
|
*
|
|
103
104
|
* @generated from field: int32 nanos = 7;
|
|
104
105
|
*/
|
|
@@ -156,14 +157,14 @@ export declare class DateTime extends Message<DateTime> {
|
|
|
156
157
|
*/
|
|
157
158
|
export declare class TimeZone extends Message<TimeZone> {
|
|
158
159
|
/**
|
|
159
|
-
* IANA Time Zone Database time zone
|
|
160
|
+
* IANA Time Zone Database time zone. For example "America/New_York".
|
|
160
161
|
*
|
|
161
162
|
* @generated from field: string id = 1;
|
|
162
163
|
*/
|
|
163
164
|
id: string;
|
|
164
165
|
|
|
165
166
|
/**
|
|
166
|
-
* Optional. IANA Time Zone Database version number
|
|
167
|
+
* Optional. IANA Time Zone Database version number. For example "2019a".
|
|
167
168
|
*
|
|
168
169
|
* @generated from field: string version = 2;
|
|
169
170
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -22,12 +22,10 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* A representation of a decimal value, such as 2.5. Clients may convert values
|
|
25
|
-
* into language-native decimal formats, such as Java's
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* [
|
|
29
|
-
* https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html
|
|
30
|
-
* [decimal.Decimal]: https://docs.python.org/3/library/decimal.html
|
|
25
|
+
* into language-native decimal formats, such as Java's
|
|
26
|
+
* [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html)
|
|
27
|
+
* or Python's
|
|
28
|
+
* [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
|
|
31
29
|
*
|
|
32
30
|
* @generated from message google.type.Decimal
|
|
33
31
|
*/
|
|
@@ -38,7 +36,7 @@ export declare class Decimal extends Message<Decimal> {
|
|
|
38
36
|
* The string representation consists of an optional sign, `+` (`U+002B`)
|
|
39
37
|
* or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
|
|
40
38
|
* ("the integer"), optionally followed by a fraction, optionally followed
|
|
41
|
-
* by an exponent.
|
|
39
|
+
* by an exponent. An empty string **should** be interpreted as `0`.
|
|
42
40
|
*
|
|
43
41
|
* The fraction consists of a decimal point followed by zero or more decimal
|
|
44
42
|
* digits. The string must contain at least one digit in either the integer
|
|
@@ -52,12 +50,13 @@ export declare class Decimal extends Message<Decimal> {
|
|
|
52
50
|
*
|
|
53
51
|
* - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
|
|
54
52
|
* - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
|
|
55
|
-
* - Coercing the exponent character to
|
|
56
|
-
*
|
|
53
|
+
* - Coercing the exponent character to upper-case, with explicit sign
|
|
54
|
+
* (`2.5e8` -> `2.5E+8`).
|
|
55
|
+
* - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`).
|
|
57
56
|
*
|
|
58
57
|
* Services **may** perform additional normalization based on its own needs
|
|
59
58
|
* and the internal decimal implementation selected, such as shifting the
|
|
60
|
-
* decimal point and exponent value together (example: `2.
|
|
59
|
+
* decimal point and exponent value together (example: `2.5E-1` <-> `0.25`).
|
|
61
60
|
* Additionally, services **may** preserve trailing zeroes in the fraction
|
|
62
61
|
* to indicate increased precision, but are not required to do so.
|
|
63
62
|
*
|
|
@@ -69,7 +68,7 @@ export declare class Decimal extends Message<Decimal> {
|
|
|
69
68
|
* The ENBF grammar is:
|
|
70
69
|
*
|
|
71
70
|
* DecimalString =
|
|
72
|
-
* [Sign] Significand [Exponent];
|
|
71
|
+
* '' | [Sign] Significand [Exponent];
|
|
73
72
|
*
|
|
74
73
|
* Sign = '+' | '-';
|
|
75
74
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -23,9 +23,9 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
23
23
|
/**
|
|
24
24
|
* An object that represents a latitude/longitude pair. This is expressed as a
|
|
25
25
|
* pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
26
|
-
* specified otherwise, this must conform to the
|
|
27
|
-
* <a href="
|
|
28
|
-
* standard</a>. Values must be within normalized ranges.
|
|
26
|
+
* specified otherwise, this object must conform to the
|
|
27
|
+
* <a href="https://en.wikipedia.org/wiki/World_Geodetic_System#1984_version">
|
|
28
|
+
* WGS84 standard</a>. Values must be within normalized ranges.
|
|
29
29
|
*
|
|
30
30
|
* @generated from message google.type.LatLng
|
|
31
31
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -27,7 +27,8 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
27
27
|
*/
|
|
28
28
|
export declare class LocalizedText extends Message<LocalizedText> {
|
|
29
29
|
/**
|
|
30
|
-
* Localized string in the language corresponding to
|
|
30
|
+
* Localized string in the language corresponding to
|
|
31
|
+
* [language_code][google.type.LocalizedText.language_code] below.
|
|
31
32
|
*
|
|
32
33
|
* @generated from field: string text = 1;
|
|
33
34
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -37,13 +37,13 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
37
37
|
*
|
|
38
38
|
* For instance, in Java this would be:
|
|
39
39
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
40
|
+
* com.google.type.PhoneNumber wireProto =
|
|
41
|
+
* com.google.type.PhoneNumber.newBuilder().build();
|
|
42
|
+
* com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
|
|
43
|
+
* PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ");
|
|
44
|
+
* if (!wireProto.getExtension().isEmpty()) {
|
|
45
|
+
* phoneNumber.setExtension(wireProto.getExtension());
|
|
46
|
+
* }
|
|
47
47
|
*
|
|
48
48
|
* Reference(s):
|
|
49
49
|
* - https://github.com/google/libphonenumber
|
|
@@ -63,17 +63,22 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
|
|
|
63
63
|
* The phone number, represented as a leading plus sign ('+'), followed by a
|
|
64
64
|
* phone number that uses a relaxed ITU E.164 format consisting of the
|
|
65
65
|
* country calling code (1 to 3 digits) and the subscriber number, with no
|
|
66
|
-
* additional spaces or formatting
|
|
66
|
+
* additional spaces or formatting. For example:
|
|
67
|
+
*
|
|
67
68
|
* - correct: "+15552220123"
|
|
68
|
-
*
|
|
69
|
+
*
|
|
70
|
+
* - incorrect: "+1 (555) 222-01234 x123"
|
|
69
71
|
*
|
|
70
72
|
* The ITU E.164 format limits the latter to 12 digits, but in practice not
|
|
71
73
|
* all countries respect that, so we relax that restriction here.
|
|
72
74
|
* National-only numbers are not allowed.
|
|
73
75
|
*
|
|
74
76
|
* References:
|
|
77
|
+
*
|
|
75
78
|
* - https://www.itu.int/rec/T-REC-E.164-201011-I
|
|
79
|
+
*
|
|
76
80
|
* - https://en.wikipedia.org/wiki/E.164.
|
|
81
|
+
*
|
|
77
82
|
* - https://en.wikipedia.org/wiki/List_of_country_calling_codes
|
|
78
83
|
*
|
|
79
84
|
* @generated from field: string e164_number = 1;
|
|
@@ -85,7 +90,7 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
|
|
|
85
90
|
* A short code.
|
|
86
91
|
*
|
|
87
92
|
* Reference(s):
|
|
88
|
-
* - https://
|
|
93
|
+
* - https://wikipedia.org/wiki/Short_code
|
|
89
94
|
*
|
|
90
95
|
* @generated from field: google.type.PhoneNumber.ShortCode short_code = 2;
|
|
91
96
|
*/
|
|
@@ -127,12 +132,13 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
|
|
|
127
132
|
* An object representing a short code, which is a phone number that is
|
|
128
133
|
* typically much shorter than regular phone numbers and can be used to
|
|
129
134
|
* address messages in MMS and SMS systems, as well as for abbreviated dialing
|
|
130
|
-
* (
|
|
135
|
+
* (For example "Text 611 to see how many minutes you have remaining on your
|
|
136
|
+
* plan.").
|
|
131
137
|
*
|
|
132
138
|
* Short codes are restricted to a region and are not internationally
|
|
133
139
|
* dialable, which means the same short code can exist in different regions,
|
|
134
140
|
* with different usage and pricing, even if those regions share the same
|
|
135
|
-
* country calling code (
|
|
141
|
+
* country calling code (For example: US and CA).
|
|
136
142
|
*
|
|
137
143
|
* @generated from message google.type.PhoneNumber.ShortCode
|
|
138
144
|
*/
|
|
@@ -150,7 +156,7 @@ export declare class PhoneNumber_ShortCode extends Message<PhoneNumber_ShortCode
|
|
|
150
156
|
|
|
151
157
|
/**
|
|
152
158
|
* Required. The short code digits, without a leading plus ('+') or country
|
|
153
|
-
* calling code
|
|
159
|
+
* calling code. For example "611".
|
|
154
160
|
*
|
|
155
161
|
* @generated from field: string number = 2;
|
|
156
162
|
*/
|