@viamrobotics/sdk 0.67.0 → 0.68.1

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 (52) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/app/data-client.d.ts +0 -5
  3. package/dist/gen/app/data/v1/data_pb.d.ts +5 -0
  4. package/dist/gen/app/v1/app_pb.d.ts +15 -0
  5. package/dist/gen/app/v1/end_user_pb.d.ts +7 -0
  6. package/dist/gen/common/v1/common_pb.d.ts +52 -0
  7. package/dist/gen/component/arm/v1/arm_connect.d.ts +12 -1
  8. package/dist/gen/component/audioin/v1/audioin_connect.d.ts +12 -1
  9. package/dist/gen/component/audioout/v1/audioout_connect.d.ts +12 -1
  10. package/dist/gen/component/base/v1/base_connect.d.ts +12 -1
  11. package/dist/gen/component/board/v1/board_connect.d.ts +12 -1
  12. package/dist/gen/component/button/v1/button_connect.d.ts +12 -1
  13. package/dist/gen/component/camera/v1/camera_connect.d.ts +13 -27
  14. package/dist/gen/component/camera/v1/camera_pb.d.ts +0 -150
  15. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +12 -1
  16. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +12 -1
  17. package/dist/gen/component/generic/v1/generic_connect.d.ts +12 -1
  18. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +12 -1
  19. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +12 -1
  20. package/dist/gen/component/motor/v1/motor_connect.d.ts +12 -1
  21. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +12 -1
  22. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +12 -1
  23. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +12 -1
  24. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +12 -1
  25. package/dist/gen/component/servo/v1/servo_connect.d.ts +12 -1
  26. package/dist/gen/component/switch/v1/switch_connect.d.ts +12 -1
  27. package/dist/gen/google/api/client_pb.d.ts +294 -53
  28. package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
  29. package/dist/gen/google/api/field_info_pb.d.ts +1 -1
  30. package/dist/gen/google/api/http_pb.d.ts +1 -1
  31. package/dist/gen/google/api/httpbody_pb.d.ts +1 -1
  32. package/dist/gen/google/api/launch_stage_pb.d.ts +1 -1
  33. package/dist/gen/google/api/resource_pb.d.ts +1 -1
  34. package/dist/gen/google/api/routing_pb.d.ts +8 -4
  35. package/dist/gen/google/api/visibility_pb.d.ts +1 -1
  36. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +12 -1
  37. package/dist/gen/service/discovery/v1/discovery_connect.d.ts +12 -1
  38. package/dist/gen/service/generic/v1/generic_connect.d.ts +12 -1
  39. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +12 -0
  40. package/dist/gen/service/motion/v1/motion_connect.d.ts +12 -1
  41. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +12 -1
  42. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +12 -1
  43. package/dist/gen/service/shell/v1/shell_connect.d.ts +12 -1
  44. package/dist/gen/service/slam/v1/slam_connect.d.ts +12 -1
  45. package/dist/gen/service/video/v1/video_connect.d.ts +12 -1
  46. package/dist/gen/service/vision/v1/vision_connect.d.ts +12 -1
  47. package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +12 -1
  48. package/dist/main.d.ts +1 -1
  49. package/dist/main.es.js +5457 -5191
  50. package/dist/main.umd.js +7 -7
  51. package/dist/robot/client.d.ts +135 -15
  52. package/package.json +1 -1
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetControlsRequest, GetControlsResponse, GetEventsRequest, GetEventsResponse, StreamEventsRequest, StreamEventsResponse, TriggerEventRequest, TriggerEventResponse } from "./input_controller_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * InputControllerService servicestains all input controller associated with a robot
@@ -71,6 +71,17 @@ export declare const InputControllerService: {
71
71
  readonly O: typeof DoCommandResponse,
72
72
  readonly kind: MethodKind.Unary,
73
73
  },
74
+ /**
75
+ * GetStatus returns the status of the resource
76
+ *
77
+ * @generated from rpc viam.component.inputcontroller.v1.InputControllerService.GetStatus
78
+ */
79
+ readonly getStatus: {
80
+ readonly name: "GetStatus",
81
+ readonly I: typeof GetStatusRequest,
82
+ readonly O: typeof GetStatusResponse,
83
+ readonly kind: MethodKind.Unary,
84
+ },
74
85
  /**
75
86
  * GetGeometries returns the geometries of the component in their current configuration
76
87
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetPositionRequest, GetPositionResponse, GetPropertiesRequest, GetPropertiesResponse, GoForRequest, GoForResponse, GoToRequest, GoToResponse, IsMovingRequest, IsMovingResponse, IsPoweredRequest, IsPoweredResponse, ResetZeroPositionRequest, ResetZeroPositionResponse, SetPowerRequest, SetPowerResponse, SetRPMRequest, SetRPMResponse, StopRequest, StopResponse } from "./motor_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * A MotorService maintains all motors associated with a robot
@@ -146,6 +146,17 @@ export declare const MotorService: {
146
146
  readonly O: typeof DoCommandResponse,
147
147
  readonly kind: MethodKind.Unary,
148
148
  },
149
+ /**
150
+ * GetStatus returns the status of the resource
151
+ *
152
+ * @generated from rpc viam.component.motor.v1.MotorService.GetStatus
153
+ */
154
+ readonly getStatus: {
155
+ readonly name: "GetStatus",
156
+ readonly I: typeof GetStatusRequest,
157
+ readonly O: typeof GetStatusResponse,
158
+ readonly kind: MethodKind.Unary,
159
+ },
149
160
  /**
150
161
  * GetGeometries returns the geometries of the component in their current configuration
151
162
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetAccuracyRequest, GetAccuracyResponse, GetAngularVelocityRequest, GetAngularVelocityResponse, GetCompassHeadingRequest, GetCompassHeadingResponse, GetLinearAccelerationRequest, GetLinearAccelerationResponse, GetLinearVelocityRequest, GetLinearVelocityResponse, GetOrientationRequest, GetOrientationResponse, GetPositionRequest, GetPositionResponse, GetPropertiesRequest, GetPropertiesResponse } from "./movementsensor_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetReadingsRequest, GetReadingsResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetReadingsRequest, GetReadingsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * @generated from service viam.component.movementsensor.v1.MovementSensorService
@@ -94,6 +94,17 @@ export declare const MovementSensorService: {
94
94
  readonly O: typeof DoCommandResponse,
95
95
  readonly kind: MethodKind.Unary,
96
96
  },
97
+ /**
98
+ * GetStatus returns the status of the resource
99
+ *
100
+ * @generated from rpc viam.component.movementsensor.v1.MovementSensorService.GetStatus
101
+ */
102
+ readonly getStatus: {
103
+ readonly name: "GetStatus",
104
+ readonly I: typeof GetStatusRequest,
105
+ readonly O: typeof GetStatusResponse,
106
+ readonly kind: MethodKind.Unary,
107
+ },
97
108
  /**
98
109
  * GetGeometries returns the geometries of the component in their current configuration
99
110
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetPosesRequest, GetPosesResponse } from "./pose_tracker_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * A PoseTrackerService maintains all pose trackers associated with a robot
@@ -37,6 +37,17 @@ export declare const PoseTrackerService: {
37
37
  readonly O: typeof DoCommandResponse,
38
38
  readonly kind: MethodKind.Unary,
39
39
  },
40
+ /**
41
+ * GetStatus returns the status of the resource
42
+ *
43
+ * @generated from rpc viam.component.posetracker.v1.PoseTrackerService.GetStatus
44
+ */
45
+ readonly getStatus: {
46
+ readonly name: "GetStatus",
47
+ readonly I: typeof GetStatusRequest,
48
+ readonly O: typeof GetStatusResponse,
49
+ readonly kind: MethodKind.Unary,
50
+ },
40
51
  /**
41
52
  * GetGeometries returns the geometries of the component in their current configuration
42
53
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetCurrentRequest, GetCurrentResponse, GetPowerRequest, GetPowerResponse, GetVoltageRequest, GetVoltageResponse } from "./powersensor_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetReadingsRequest, GetReadingsResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetReadingsRequest, GetReadingsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * PowerSensorService services all power sensors associated with a robot
@@ -70,6 +70,17 @@ export declare const PowerSensorService: {
70
70
  readonly O: typeof DoCommandResponse,
71
71
  readonly kind: MethodKind.Unary,
72
72
  },
73
+ /**
74
+ * GetStatus returns the status of the resource
75
+ *
76
+ * @generated from rpc viam.component.powersensor.v1.PowerSensorService.GetStatus
77
+ */
78
+ readonly getStatus: {
79
+ readonly name: "GetStatus",
80
+ readonly I: typeof GetStatusRequest,
81
+ readonly O: typeof GetStatusResponse,
82
+ readonly kind: MethodKind.Unary,
83
+ },
73
84
  }
74
85
  };
75
86
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetReadingsRequest, GetReadingsResponse } from "../../../common/v1/common_pb.js";
6
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetReadingsRequest, GetReadingsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -36,6 +36,17 @@ export declare const SensorService: {
36
36
  readonly O: typeof DoCommandResponse,
37
37
  readonly kind: MethodKind.Unary,
38
38
  },
39
+ /**
40
+ * GetStatus returns the status of the resource
41
+ *
42
+ * @generated from rpc viam.component.sensor.v1.SensorService.GetStatus
43
+ */
44
+ readonly getStatus: {
45
+ readonly name: "GetStatus",
46
+ readonly I: typeof GetStatusRequest,
47
+ readonly O: typeof GetStatusResponse,
48
+ readonly kind: MethodKind.Unary,
49
+ },
39
50
  /**
40
51
  * GetGeometries returns the geometries of the component in their current configuration
41
52
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetPositionRequest, GetPositionResponse, IsMovingRequest, IsMovingResponse, MoveRequest, MoveResponse, StopRequest, StopResponse } from "./servo_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * A ServoService maintains all servos associated with a robot
@@ -71,6 +71,17 @@ export declare const ServoService: {
71
71
  readonly O: typeof DoCommandResponse,
72
72
  readonly kind: MethodKind.Unary,
73
73
  },
74
+ /**
75
+ * GetStatus returns the status of the resource
76
+ *
77
+ * @generated from rpc viam.component.servo.v1.ServoService.GetStatus
78
+ */
79
+ readonly getStatus: {
80
+ readonly name: "GetStatus",
81
+ readonly I: typeof GetStatusRequest,
82
+ readonly O: typeof GetStatusResponse,
83
+ readonly kind: MethodKind.Unary,
84
+ },
74
85
  /**
75
86
  * GetGeometries returns the geometries of the component in their current configuration
76
87
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetNumberOfPositionsRequest, GetNumberOfPositionsResponse, GetPositionRequest, GetPositionResponse, SetPositionRequest, SetPositionResponse } from "./switch_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * A SwitchService services switches associated with a machine.
@@ -61,6 +61,17 @@ export declare const SwitchService: {
61
61
  readonly O: typeof DoCommandResponse,
62
62
  readonly kind: MethodKind.Unary,
63
63
  },
64
+ /**
65
+ * GetStatus returns the status of the resource
66
+ *
67
+ * @generated from rpc viam.component.switch.v1.SwitchService.GetStatus
68
+ */
69
+ readonly getStatus: {
70
+ readonly name: "GetStatus",
71
+ readonly I: typeof GetStatusRequest,
72
+ readonly O: typeof GetStatusResponse,
73
+ readonly kind: MethodKind.Unary,
74
+ },
64
75
  }
65
76
  };
66
77
 
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
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.
@@ -115,6 +115,41 @@ export declare enum ClientLibraryDestination {
115
115
  PACKAGE_MANAGER = 20,
116
116
  }
117
117
 
118
+ /**
119
+ * The behavior to take when the flow control limit is exceeded.
120
+ *
121
+ * @generated from enum google.api.FlowControlLimitExceededBehaviorProto
122
+ */
123
+ export declare enum FlowControlLimitExceededBehaviorProto {
124
+ /**
125
+ * Default behavior, system-defined.
126
+ *
127
+ * @generated from enum value: UNSET_BEHAVIOR = 0;
128
+ */
129
+ UNSET_BEHAVIOR = 0,
130
+
131
+ /**
132
+ * Stop operation, raise error.
133
+ *
134
+ * @generated from enum value: THROW_EXCEPTION = 1;
135
+ */
136
+ THROW_EXCEPTION = 1,
137
+
138
+ /**
139
+ * Pause operation until limit clears.
140
+ *
141
+ * @generated from enum value: BLOCK = 2;
142
+ */
143
+ BLOCK = 2,
144
+
145
+ /**
146
+ * Continue operation, disregard limit.
147
+ *
148
+ * @generated from enum value: IGNORE = 3;
149
+ */
150
+ IGNORE = 3,
151
+ }
152
+
118
153
  /**
119
154
  * Required information for every language.
120
155
  *
@@ -386,9 +421,10 @@ export declare class JavaSettings extends Message<JavaSettings> {
386
421
  *
387
422
  * Example of a YAML configuration::
388
423
  *
389
- * publishing:
390
- * java_settings:
391
- * library_package: com.google.cloud.pubsub.v1
424
+ * publishing:
425
+ * library_settings:
426
+ * java_settings:
427
+ * library_package: com.google.cloud.pubsub.v1
392
428
  *
393
429
  * @generated from field: string library_package = 1;
394
430
  */
@@ -404,11 +440,11 @@ export declare class JavaSettings extends Message<JavaSettings> {
404
440
  *
405
441
  * Example of a YAML configuration::
406
442
  *
407
- * publishing:
408
- * java_settings:
409
- * service_class_names:
410
- * - google.pubsub.v1.Publisher: TopicAdmin
411
- * - google.pubsub.v1.Subscriber: SubscriptionAdmin
443
+ * publishing:
444
+ * java_settings:
445
+ * service_class_names:
446
+ * - google.pubsub.v1.Publisher: TopicAdmin
447
+ * - google.pubsub.v1.Subscriber: SubscriptionAdmin
412
448
  *
413
449
  * @generated from field: map<string, string> service_class_names = 2;
414
450
  */
@@ -477,6 +513,24 @@ export declare class PhpSettings extends Message<PhpSettings> {
477
513
  */
478
514
  common?: CommonLanguageSettings;
479
515
 
516
+ /**
517
+ * The package name to use in Php. Clobbers the php_namespace option
518
+ * set in the protobuf. This should be used **only** by APIs
519
+ * who have already set the language_settings.php.package_name" field
520
+ * in gapic.yaml. API teams should use the protobuf php_namespace option
521
+ * where possible.
522
+ *
523
+ * Example of a YAML configuration::
524
+ *
525
+ * publishing:
526
+ * library_settings:
527
+ * php_settings:
528
+ * library_package: Google\Cloud\PubSub\V1
529
+ *
530
+ * @generated from field: string library_package = 2;
531
+ */
532
+ libraryPackage: string;
533
+
480
534
  constructor(data?: PartialMessage<PhpSettings>);
481
535
 
482
536
  static readonly runtime: typeof proto3;
@@ -732,10 +786,12 @@ export declare class GoSettings extends Message<GoSettings> {
732
786
  * service names and values are the name to be used for the service client
733
787
  * and call options.
734
788
  *
735
- * publishing:
736
- * go_settings:
737
- * renamed_services:
738
- * Publisher: TopicAdmin
789
+ * Example:
790
+ *
791
+ * publishing:
792
+ * go_settings:
793
+ * renamed_services:
794
+ * Publisher: TopicAdmin
739
795
  *
740
796
  * @generated from field: map<string, string> renamed_services = 2;
741
797
  */
@@ -768,10 +824,10 @@ export declare class MethodSettings extends Message<MethodSettings> {
768
824
  *
769
825
  * Example:
770
826
  *
771
- * publishing:
772
- * method_settings:
773
- * - selector: google.storage.control.v2.StorageControl.CreateFolder
774
- * # method settings for CreateFolder...
827
+ * publishing:
828
+ * method_settings:
829
+ * - selector: google.storage.control.v2.StorageControl.CreateFolder
830
+ * # method settings for CreateFolder...
775
831
  *
776
832
  * @generated from field: string selector = 1;
777
833
  */
@@ -784,14 +840,14 @@ export declare class MethodSettings extends Message<MethodSettings> {
784
840
  *
785
841
  * Example of a YAML configuration::
786
842
  *
787
- * publishing:
788
- * method_settings:
789
- * - selector: google.cloud.speech.v2.Speech.BatchRecognize
790
- * long_running:
791
- * initial_poll_delay: 60s # 1 minute
792
- * poll_delay_multiplier: 1.5
793
- * max_poll_delay: 360s # 6 minutes
794
- * total_poll_timeout: 54000s # 90 minutes
843
+ * publishing:
844
+ * method_settings:
845
+ * - selector: google.cloud.speech.v2.Speech.BatchRecognize
846
+ * long_running:
847
+ * initial_poll_delay: 60s # 1 minute
848
+ * poll_delay_multiplier: 1.5
849
+ * max_poll_delay: 360s # 6 minutes
850
+ * total_poll_timeout: 54000s # 90 minutes
795
851
  *
796
852
  * @generated from field: google.api.MethodSettings.LongRunning long_running = 2;
797
853
  */
@@ -804,16 +860,33 @@ export declare class MethodSettings extends Message<MethodSettings> {
804
860
  *
805
861
  * Example of a YAML configuration:
806
862
  *
807
- * publishing:
808
- * method_settings:
809
- * - selector: google.example.v1.ExampleService.CreateExample
810
- * auto_populated_fields:
811
- * - request_id
863
+ * publishing:
864
+ * method_settings:
865
+ * - selector: google.example.v1.ExampleService.CreateExample
866
+ * auto_populated_fields:
867
+ * - request_id
812
868
  *
813
869
  * @generated from field: repeated string auto_populated_fields = 3;
814
870
  */
815
871
  autoPopulatedFields: string[];
816
872
 
873
+ /**
874
+ * Batching configuration for an API method in client libraries.
875
+ *
876
+ * Example of a YAML configuration:
877
+ *
878
+ * publishing:
879
+ * method_settings:
880
+ * - selector: google.example.v1.ExampleService.BatchCreateExample
881
+ * batching:
882
+ * element_count_threshold: 1000
883
+ * request_byte_threshold: 100000000
884
+ * delay_threshold_millis: 10
885
+ *
886
+ * @generated from field: google.api.BatchingConfigProto batching = 4;
887
+ */
888
+ batching?: BatchingConfigProto;
889
+
817
890
  constructor(data?: PartialMessage<MethodSettings>);
818
891
 
819
892
  static readonly runtime: typeof proto3;
@@ -929,6 +1002,174 @@ export declare class SelectiveGapicGeneration extends Message<SelectiveGapicGene
929
1002
  static equals(a: SelectiveGapicGeneration | PlainMessage<SelectiveGapicGeneration> | undefined, b: SelectiveGapicGeneration | PlainMessage<SelectiveGapicGeneration> | undefined): boolean;
930
1003
  }
931
1004
 
1005
+ /**
1006
+ * `BatchingConfigProto` defines the batching configuration for an API method.
1007
+ *
1008
+ * @generated from message google.api.BatchingConfigProto
1009
+ */
1010
+ export declare class BatchingConfigProto extends Message<BatchingConfigProto> {
1011
+ /**
1012
+ * The thresholds which trigger a batched request to be sent.
1013
+ *
1014
+ * @generated from field: google.api.BatchingSettingsProto thresholds = 1;
1015
+ */
1016
+ thresholds?: BatchingSettingsProto;
1017
+
1018
+ /**
1019
+ * The request and response fields used in batching.
1020
+ *
1021
+ * @generated from field: google.api.BatchingDescriptorProto batch_descriptor = 2;
1022
+ */
1023
+ batchDescriptor?: BatchingDescriptorProto;
1024
+
1025
+ constructor(data?: PartialMessage<BatchingConfigProto>);
1026
+
1027
+ static readonly runtime: typeof proto3;
1028
+ static readonly typeName = "google.api.BatchingConfigProto";
1029
+ static readonly fields: FieldList;
1030
+
1031
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BatchingConfigProto;
1032
+
1033
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BatchingConfigProto;
1034
+
1035
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BatchingConfigProto;
1036
+
1037
+ static equals(a: BatchingConfigProto | PlainMessage<BatchingConfigProto> | undefined, b: BatchingConfigProto | PlainMessage<BatchingConfigProto> | undefined): boolean;
1038
+ }
1039
+
1040
+ /**
1041
+ * `BatchingSettingsProto` specifies a set of batching thresholds, each of
1042
+ * which acts as a trigger to send a batch of messages as a request. At least
1043
+ * one threshold must be positive nonzero.
1044
+ *
1045
+ * @generated from message google.api.BatchingSettingsProto
1046
+ */
1047
+ export declare class BatchingSettingsProto extends Message<BatchingSettingsProto> {
1048
+ /**
1049
+ * The number of elements of a field collected into a batch which, if
1050
+ * exceeded, causes the batch to be sent.
1051
+ *
1052
+ * @generated from field: int32 element_count_threshold = 1;
1053
+ */
1054
+ elementCountThreshold: number;
1055
+
1056
+ /**
1057
+ * The aggregated size of the batched field which, if exceeded, causes the
1058
+ * batch to be sent. This size is computed by aggregating the sizes of the
1059
+ * request field to be batched, not of the entire request message.
1060
+ *
1061
+ * @generated from field: int64 request_byte_threshold = 2;
1062
+ */
1063
+ requestByteThreshold: bigint;
1064
+
1065
+ /**
1066
+ * The duration after which a batch should be sent, starting from the addition
1067
+ * of the first message to that batch.
1068
+ *
1069
+ * @generated from field: google.protobuf.Duration delay_threshold = 3;
1070
+ */
1071
+ delayThreshold?: Duration;
1072
+
1073
+ /**
1074
+ * The maximum number of elements collected in a batch that could be accepted
1075
+ * by server.
1076
+ *
1077
+ * @generated from field: int32 element_count_limit = 4;
1078
+ */
1079
+ elementCountLimit: number;
1080
+
1081
+ /**
1082
+ * The maximum size of the request that could be accepted by server.
1083
+ *
1084
+ * @generated from field: int32 request_byte_limit = 5;
1085
+ */
1086
+ requestByteLimit: number;
1087
+
1088
+ /**
1089
+ * The maximum number of elements allowed by flow control.
1090
+ *
1091
+ * @generated from field: int32 flow_control_element_limit = 6;
1092
+ */
1093
+ flowControlElementLimit: number;
1094
+
1095
+ /**
1096
+ * The maximum size of data allowed by flow control.
1097
+ *
1098
+ * @generated from field: int32 flow_control_byte_limit = 7;
1099
+ */
1100
+ flowControlByteLimit: number;
1101
+
1102
+ /**
1103
+ * The behavior to take when the flow control limit is exceeded.
1104
+ *
1105
+ * @generated from field: google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;
1106
+ */
1107
+ flowControlLimitExceededBehavior: FlowControlLimitExceededBehaviorProto;
1108
+
1109
+ constructor(data?: PartialMessage<BatchingSettingsProto>);
1110
+
1111
+ static readonly runtime: typeof proto3;
1112
+ static readonly typeName = "google.api.BatchingSettingsProto";
1113
+ static readonly fields: FieldList;
1114
+
1115
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BatchingSettingsProto;
1116
+
1117
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BatchingSettingsProto;
1118
+
1119
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BatchingSettingsProto;
1120
+
1121
+ static equals(a: BatchingSettingsProto | PlainMessage<BatchingSettingsProto> | undefined, b: BatchingSettingsProto | PlainMessage<BatchingSettingsProto> | undefined): boolean;
1122
+ }
1123
+
1124
+ /**
1125
+ * `BatchingDescriptorProto` specifies the fields of the request message to be
1126
+ * used for batching, and, optionally, the fields of the response message to be
1127
+ * used for demultiplexing.
1128
+ *
1129
+ * @generated from message google.api.BatchingDescriptorProto
1130
+ */
1131
+ export declare class BatchingDescriptorProto extends Message<BatchingDescriptorProto> {
1132
+ /**
1133
+ * The repeated field in the request message to be aggregated by batching.
1134
+ *
1135
+ * @generated from field: string batched_field = 1;
1136
+ */
1137
+ batchedField: string;
1138
+
1139
+ /**
1140
+ * A list of the fields in the request message. Two requests will be batched
1141
+ * together only if the values of every field specified in
1142
+ * `request_discriminator_fields` is equal between the two requests.
1143
+ *
1144
+ * @generated from field: repeated string discriminator_fields = 2;
1145
+ */
1146
+ discriminatorFields: string[];
1147
+
1148
+ /**
1149
+ * Optional. When present, indicates the field in the response message to be
1150
+ * used to demultiplex the response into multiple response messages, in
1151
+ * correspondence with the multiple request messages originally batched
1152
+ * together.
1153
+ *
1154
+ * @generated from field: string subresponse_field = 3;
1155
+ */
1156
+ subresponseField: string;
1157
+
1158
+ constructor(data?: PartialMessage<BatchingDescriptorProto>);
1159
+
1160
+ static readonly runtime: typeof proto3;
1161
+ static readonly typeName = "google.api.BatchingDescriptorProto";
1162
+ static readonly fields: FieldList;
1163
+
1164
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BatchingDescriptorProto;
1165
+
1166
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BatchingDescriptorProto;
1167
+
1168
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BatchingDescriptorProto;
1169
+
1170
+ static equals(a: BatchingDescriptorProto | PlainMessage<BatchingDescriptorProto> | undefined, b: BatchingDescriptorProto | PlainMessage<BatchingDescriptorProto> | undefined): boolean;
1171
+ }
1172
+
932
1173
  /**
933
1174
  * A definition of a client library method signature.
934
1175
  *
@@ -944,15 +1185,15 @@ export declare class SelectiveGapicGeneration extends Message<SelectiveGapicGene
944
1185
  *
945
1186
  * For example, the proto RPC and annotation:
946
1187
  *
947
- * rpc CreateSubscription(CreateSubscriptionRequest)
948
- * returns (Subscription) {
949
- * option (google.api.method_signature) = "name,topic";
950
- * }
1188
+ * rpc CreateSubscription(CreateSubscriptionRequest)
1189
+ * returns (Subscription) {
1190
+ * option (google.api.method_signature) = "name,topic";
1191
+ * }
951
1192
  *
952
1193
  * Would add the following Java overload (in addition to the method accepting
953
1194
  * the request object):
954
1195
  *
955
- * public final Subscription createSubscription(String name, String topic)
1196
+ * public final Subscription createSubscription(String name, String topic)
956
1197
  *
957
1198
  * The following backwards-compatibility guidelines apply:
958
1199
  *
@@ -976,10 +1217,10 @@ export declare const method_signature: Extension<MethodOptions, string[]>;
976
1217
  *
977
1218
  * Example:
978
1219
  *
979
- * service Foo {
980
- * option (google.api.default_host) = "foo.googleapi.com";
981
- * ...
982
- * }
1220
+ * service Foo {
1221
+ * option (google.api.default_host) = "foo.googleapi.com";
1222
+ * ...
1223
+ * }
983
1224
  *
984
1225
  * @generated from extension: string default_host = 1049;
985
1226
  */
@@ -990,22 +1231,22 @@ export declare const default_host: Extension<ServiceOptions, string>;
990
1231
  *
991
1232
  * Example:
992
1233
  *
993
- * service Foo {
994
- * option (google.api.oauth_scopes) = \
995
- * "https://www.googleapis.com/auth/cloud-platform";
996
- * ...
997
- * }
1234
+ * service Foo {
1235
+ * option (google.api.oauth_scopes) = \
1236
+ * "https://www.googleapis.com/auth/cloud-platform";
1237
+ * ...
1238
+ * }
998
1239
  *
999
1240
  * If there is more than one scope, use a comma-separated string:
1000
1241
  *
1001
1242
  * Example:
1002
1243
  *
1003
- * service Foo {
1004
- * option (google.api.oauth_scopes) = \
1005
- * "https://www.googleapis.com/auth/cloud-platform,"
1006
- * "https://www.googleapis.com/auth/monitoring";
1007
- * ...
1008
- * }
1244
+ * service Foo {
1245
+ * option (google.api.oauth_scopes) = \
1246
+ * "https://www.googleapis.com/auth/cloud-platform,"
1247
+ * "https://www.googleapis.com/auth/monitoring";
1248
+ * ...
1249
+ * }
1009
1250
  *
1010
1251
  * @generated from extension: string oauth_scopes = 1050;
1011
1252
  */
@@ -1023,9 +1264,9 @@ export declare const oauth_scopes: Extension<ServiceOptions, string>;
1023
1264
  *
1024
1265
  * Example:
1025
1266
  *
1026
- * service Foo {
1027
- * option (google.api.api_version) = "v1_20230821_preview";
1028
- * }
1267
+ * service Foo {
1268
+ * option (google.api.api_version) = "v1_20230821_preview";
1269
+ * }
1029
1270
  *
1030
1271
  * @generated from extension: string api_version = 525000001;
1031
1272
  */
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
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.