@viamrobotics/sdk 0.68.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.
- package/dist/api-version.d.ts +1 -1
- package/dist/gen/app/v1/app_pb.d.ts +15 -0
- package/dist/gen/common/v1/common_pb.d.ts +52 -0
- package/dist/gen/component/arm/v1/arm_connect.d.ts +12 -1
- package/dist/gen/component/audioin/v1/audioin_connect.d.ts +12 -1
- package/dist/gen/component/audioout/v1/audioout_connect.d.ts +12 -1
- package/dist/gen/component/base/v1/base_connect.d.ts +12 -1
- package/dist/gen/component/board/v1/board_connect.d.ts +12 -1
- package/dist/gen/component/button/v1/button_connect.d.ts +12 -1
- package/dist/gen/component/camera/v1/camera_connect.d.ts +13 -27
- package/dist/gen/component/camera/v1/camera_pb.d.ts +0 -150
- package/dist/gen/component/encoder/v1/encoder_connect.d.ts +12 -1
- package/dist/gen/component/gantry/v1/gantry_connect.d.ts +12 -1
- package/dist/gen/component/generic/v1/generic_connect.d.ts +12 -1
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +12 -1
- package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +12 -1
- package/dist/gen/component/motor/v1/motor_connect.d.ts +12 -1
- package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +12 -1
- package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +12 -1
- package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +12 -1
- package/dist/gen/component/sensor/v1/sensor_connect.d.ts +12 -1
- package/dist/gen/component/servo/v1/servo_connect.d.ts +12 -1
- package/dist/gen/component/switch/v1/switch_connect.d.ts +12 -1
- package/dist/gen/google/api/client_pb.d.ts +294 -53
- package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
- package/dist/gen/google/api/field_info_pb.d.ts +1 -1
- package/dist/gen/google/api/http_pb.d.ts +1 -1
- package/dist/gen/google/api/httpbody_pb.d.ts +1 -1
- package/dist/gen/google/api/launch_stage_pb.d.ts +1 -1
- package/dist/gen/google/api/resource_pb.d.ts +1 -1
- package/dist/gen/google/api/routing_pb.d.ts +8 -4
- package/dist/gen/google/api/visibility_pb.d.ts +1 -1
- package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +12 -1
- package/dist/gen/service/discovery/v1/discovery_connect.d.ts +12 -1
- package/dist/gen/service/generic/v1/generic_connect.d.ts +12 -1
- package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +12 -0
- package/dist/gen/service/motion/v1/motion_connect.d.ts +12 -1
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +12 -1
- package/dist/gen/service/sensors/v1/sensors_connect.d.ts +12 -1
- package/dist/gen/service/shell/v1/shell_connect.d.ts +12 -1
- package/dist/gen/service/slam/v1/slam_connect.d.ts +12 -1
- package/dist/gen/service/video/v1/video_connect.d.ts +12 -1
- package/dist/gen/service/vision/v1/vision_connect.d.ts +12 -1
- package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +12 -1
- package/dist/main.es.js +5382 -5156
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +135 -15
- package/package.json +1 -1
|
@@ -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
|
|
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
|
-
*
|
|
390
|
-
*
|
|
391
|
-
*
|
|
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
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
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
|
-
*
|
|
736
|
-
*
|
|
737
|
-
*
|
|
738
|
-
*
|
|
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
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
774
|
-
*
|
|
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
|
-
*
|
|
788
|
-
*
|
|
789
|
-
*
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
*
|
|
793
|
-
*
|
|
794
|
-
*
|
|
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
|
-
*
|
|
808
|
-
*
|
|
809
|
-
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
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
|
-
*
|
|
948
|
-
*
|
|
949
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
980
|
-
*
|
|
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
|
-
*
|
|
994
|
-
*
|
|
995
|
-
*
|
|
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
|
-
*
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
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
|
-
*
|
|
1027
|
-
*
|
|
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
|
*/
|