@googlemaps/fleetengine-delivery 0.1.0 → 0.2.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/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/build/protos/google/geo/type/viewport.proto +1 -1
- package/build/protos/google/maps/fleetengine/delivery/v1/common.proto +4 -2
- package/build/protos/google/maps/fleetengine/delivery/v1/delivery_api.proto +10 -75
- package/build/protos/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto +9 -9
- package/build/protos/google/maps/fleetengine/delivery/v1/header.proto +4 -2
- package/build/protos/google/maps/fleetengine/delivery/v1/task_tracking_info.proto +4 -2
- package/build/protos/google/maps/fleetengine/delivery/v1/tasks.proto +4 -2
- package/build/protos/protos.d.ts +1 -246
- package/build/protos/protos.js +1 -583
- package/build/protos/protos.json +6 -91
- package/build/src/index.js +1 -1
- package/build/src/v1/delivery_service_client.d.ts +10 -150
- package/build/src/v1/delivery_service_client.js +5 -181
- package/build/src/v1/delivery_service_client.js.map +1 -1
- package/build/src/v1/delivery_service_client_config.json +0 -5
- package/build/src/v1/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.0](https://github.com/googleapis/google-cloud-node/compare/fleetengine-delivery-v0.1.0...fleetengine-delivery-v0.2.0) (2025-01-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* [fleetengine-delivery] Promote network_configs field to v2 API ([#5944](https://github.com/googleapis/google-cloud-node/issues/5944)) ([8577586](https://github.com/googleapis/google-cloud-node/commit/8577586e4ba05fd9099d4b580a31a30985b0611f))
|
|
9
|
+
|
|
3
10
|
## 0.1.0 (2024-06-03)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
|
44
44
|
1. [Select or create a Cloud Platform project][projects].
|
|
45
45
|
1. [Enable billing for your project][billing].
|
|
46
46
|
1. [Enable the Last Mile Fleet Solution Delivery API API][enable_api].
|
|
47
|
-
1. [Set up authentication
|
|
47
|
+
1. [Set up authentication][auth] so you can access the
|
|
48
48
|
API from your local workstation.
|
|
49
49
|
|
|
50
50
|
### Installing the client library
|
|
@@ -223,4 +223,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
|
|
|
223
223
|
[projects]: https://console.cloud.google.com/project
|
|
224
224
|
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
|
225
225
|
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=fleetengine.googleapis.com
|
|
226
|
-
[auth]: https://cloud.google.com/docs/authentication/
|
|
226
|
+
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 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.
|
|
@@ -25,8 +25,10 @@ option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1";
|
|
|
25
25
|
option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb";
|
|
26
26
|
option java_multiple_files = true;
|
|
27
27
|
option java_outer_classname = "Common";
|
|
28
|
-
option java_package = "google.maps.fleetengine.delivery.v1";
|
|
28
|
+
option java_package = "com.google.maps.fleetengine.delivery.v1";
|
|
29
29
|
option objc_class_prefix = "CFED";
|
|
30
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\Delivery\\V1";
|
|
31
|
+
option ruby_package = "Google::Maps::FleetEngine::Delivery::V1";
|
|
30
32
|
|
|
31
33
|
// Describes a vehicle attribute as a key-value pair. The "key:value" string
|
|
32
34
|
// length cannot exceed 256 characters.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 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.
|
|
@@ -32,8 +32,10 @@ option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1";
|
|
|
32
32
|
option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb";
|
|
33
33
|
option java_multiple_files = true;
|
|
34
34
|
option java_outer_classname = "DeliveryApi";
|
|
35
|
-
option java_package = "google.maps.fleetengine.delivery.v1";
|
|
35
|
+
option java_package = "com.google.maps.fleetengine.delivery.v1";
|
|
36
36
|
option objc_class_prefix = "CFED";
|
|
37
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\Delivery\\V1";
|
|
38
|
+
option ruby_package = "Google::Maps::FleetEngine::Delivery::V1";
|
|
37
39
|
option (google.api.resource_definition) = {
|
|
38
40
|
type: "fleetengine.googleapis.com/Provider"
|
|
39
41
|
pattern: "providers/{provider}"
|
|
@@ -78,9 +80,9 @@ service DeliveryService {
|
|
|
78
80
|
|
|
79
81
|
// Writes updated `DeliveryVehicle` data to Fleet Engine, and assigns
|
|
80
82
|
// `Tasks` to the `DeliveryVehicle`. You cannot update the name of the
|
|
81
|
-
// `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments
|
|
82
|
-
//
|
|
83
|
-
//
|
|
83
|
+
// `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,
|
|
84
|
+
// but it must contain all of the `VehicleJourneySegment`s to be persisted on
|
|
85
|
+
// the `DeliveryVehicle`. The `task_id`s are retrieved from
|
|
84
86
|
// `remaining_vehicle_journey_segments`, and their corresponding `Tasks` are
|
|
85
87
|
// assigned to the `DeliveryVehicle` if they have not yet been assigned.
|
|
86
88
|
rpc UpdateDeliveryVehicle(UpdateDeliveryVehicleRequest)
|
|
@@ -142,21 +144,6 @@ service DeliveryService {
|
|
|
142
144
|
option (google.api.method_signature) = "name";
|
|
143
145
|
}
|
|
144
146
|
|
|
145
|
-
// Deprecated: Use `GetTaskTrackingInfo` instead.
|
|
146
|
-
rpc SearchTasks(SearchTasksRequest) returns (SearchTasksResponse) {
|
|
147
|
-
option deprecated = true;
|
|
148
|
-
option (google.api.http) = {
|
|
149
|
-
get: "/v1/{parent=providers/*}/tasks:search"
|
|
150
|
-
};
|
|
151
|
-
option (google.api.routing) = {
|
|
152
|
-
routing_parameters {
|
|
153
|
-
field: "parent"
|
|
154
|
-
path_template: "{provider_id=providers/*}"
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
option (google.api.method_signature) = "parent";
|
|
158
|
-
}
|
|
159
|
-
|
|
160
147
|
// Updates `Task` data.
|
|
161
148
|
rpc UpdateTask(UpdateTaskRequest) returns (Task) {
|
|
162
149
|
option (google.api.http) = {
|
|
@@ -240,6 +227,7 @@ message CreateDeliveryVehicleRequest {
|
|
|
240
227
|
// Required. The `DeliveryVehicle` entity to create. When creating a new
|
|
241
228
|
// delivery vehicle, you may set the following optional fields:
|
|
242
229
|
//
|
|
230
|
+
// * type
|
|
243
231
|
// * last_location
|
|
244
232
|
// * attributes
|
|
245
233
|
//
|
|
@@ -439,59 +427,6 @@ message GetTaskRequest {
|
|
|
439
427
|
];
|
|
440
428
|
}
|
|
441
429
|
|
|
442
|
-
// Deprecated: Issue `GetTaskTrackingInfoRequest`s to `GetTaskTrackingInfo`
|
|
443
|
-
// instead.
|
|
444
|
-
message SearchTasksRequest {
|
|
445
|
-
option deprecated = true;
|
|
446
|
-
|
|
447
|
-
// Optional. The standard Delivery API request header.
|
|
448
|
-
DeliveryRequestHeader header = 1 [(google.api.field_behavior) = OPTIONAL];
|
|
449
|
-
|
|
450
|
-
// Required. Must be in the format `providers/{provider}`.
|
|
451
|
-
// The provider must be the Google Cloud Project ID. For example,
|
|
452
|
-
// `sample-cloud-project`.
|
|
453
|
-
string parent = 3 [(google.api.field_behavior) = REQUIRED];
|
|
454
|
-
|
|
455
|
-
// Required. The identifier of the set of related Tasks being requested.
|
|
456
|
-
// Tracking IDs are subject to the following restrictions:
|
|
457
|
-
//
|
|
458
|
-
// * Must be a valid Unicode string.
|
|
459
|
-
// * Limited to a maximum length of 64 characters.
|
|
460
|
-
// * Normalized according to [Unicode Normalization Form C]
|
|
461
|
-
// (http://www.unicode.org/reports/tr15/).
|
|
462
|
-
// * May not contain any of the following ASCII characters: '/', ':', '?',
|
|
463
|
-
// ',', or '#'.
|
|
464
|
-
string tracking_id = 4 [(google.api.field_behavior) = REQUIRED];
|
|
465
|
-
|
|
466
|
-
// Optional. The maximum number of Tasks to return. The service may return
|
|
467
|
-
// fewer than this value. If you don't specify this value, then the server
|
|
468
|
-
// determines the number of results to return.
|
|
469
|
-
int32 page_size = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
470
|
-
|
|
471
|
-
// Optional. A page token, received from a previous `SearchTasks` call. You
|
|
472
|
-
// must provide this value to retrieve the subsequent page.
|
|
473
|
-
//
|
|
474
|
-
// When paginating, all other parameters provided to `SearchTasks` must match
|
|
475
|
-
// the call that provided the page token.
|
|
476
|
-
string page_token = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
// The `SearchTasks` response. It contains the set of Tasks that meet the search
|
|
480
|
-
// criteria in the `SearchTasksRequest`.
|
|
481
|
-
message SearchTasksResponse {
|
|
482
|
-
option deprecated = true;
|
|
483
|
-
|
|
484
|
-
// The set of Tasks for the requested `tracking_id`. A successful response can
|
|
485
|
-
// also be empty. An empty response indicates that no Tasks are associated
|
|
486
|
-
// with the supplied `tracking_id`.
|
|
487
|
-
repeated Task tasks = 1;
|
|
488
|
-
|
|
489
|
-
// Pass this token in the `SearchTasksRequest` to continue to
|
|
490
|
-
// list results. If all results have been returned, then this field is either
|
|
491
|
-
// an empty string, or it doesn't appear in the response.
|
|
492
|
-
string next_page_token = 2;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
430
|
// The `UpdateTask` request message.
|
|
496
431
|
message UpdateTaskRequest {
|
|
497
432
|
// Optional. The standard Delivery API request header.
|
|
@@ -554,8 +489,8 @@ message ListTasksRequest {
|
|
|
554
489
|
// Optional. A filter query to apply when listing Tasks. See
|
|
555
490
|
// http://aip.dev/160 for examples of filter syntax. If you don't specify a
|
|
556
491
|
// value, or if you filter on an empty string, then all Tasks are returned.
|
|
557
|
-
// For information about the Task properties that you can filter on, see [
|
|
558
|
-
//
|
|
492
|
+
// For information about the Task properties that you can filter on, see [List
|
|
493
|
+
// tasks](https://developers.google.com/maps/documentation/mobility/fleet-engine/journeys/tasks/find-tasks#filter_listed_tasks).
|
|
559
494
|
string filter = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
560
495
|
}
|
|
561
496
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 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,8 +27,10 @@ option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1";
|
|
|
27
27
|
option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb";
|
|
28
28
|
option java_multiple_files = true;
|
|
29
29
|
option java_outer_classname = "DeliveryVehicles";
|
|
30
|
-
option java_package = "google.maps.fleetengine.delivery.v1";
|
|
30
|
+
option java_package = "com.google.maps.fleetengine.delivery.v1";
|
|
31
31
|
option objc_class_prefix = "CFED";
|
|
32
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\Delivery\\V1";
|
|
33
|
+
option ruby_package = "Google::Maps::FleetEngine::Delivery::V1";
|
|
32
34
|
|
|
33
35
|
// The `DeliveryVehicle` message. A delivery vehicle transports shipments from a
|
|
34
36
|
// depot to a delivery location, and from a pickup location to the depot. In
|
|
@@ -215,9 +217,8 @@ message VehicleJourneySegment {
|
|
|
215
217
|
message VehicleStop {
|
|
216
218
|
// Additional information about the Task performed at this stop.
|
|
217
219
|
message TaskInfo {
|
|
218
|
-
// The Task ID. This field won't be populated in the response of
|
|
219
|
-
//
|
|
220
|
-
// restrictions:
|
|
220
|
+
// The Task ID. This field won't be populated in the response of a `GetTask`
|
|
221
|
+
// call. Task IDs are subject to the following restrictions:
|
|
221
222
|
//
|
|
222
223
|
// * Must be a valid Unicode string.
|
|
223
224
|
// * Limited to a maximum length of 64 characters.
|
|
@@ -255,15 +256,14 @@ message VehicleStop {
|
|
|
255
256
|
|
|
256
257
|
// Required. The location of the stop. Note that the locations in the `Task`s
|
|
257
258
|
// might not exactly match this location, but will be within a short distance
|
|
258
|
-
// of it. This field won't be populated in the response of
|
|
259
|
-
// or a `SearchTasks` call.
|
|
259
|
+
// of it. This field won't be populated in the response of a `GetTask` call.
|
|
260
260
|
LocationInfo planned_location = 1 [(google.api.field_behavior) = REQUIRED];
|
|
261
261
|
|
|
262
262
|
// The list of `Task`s to be performed at this stop. This field won't be
|
|
263
|
-
// populated in the response of
|
|
263
|
+
// populated in the response of a `GetTask` call.
|
|
264
264
|
repeated TaskInfo tasks = 2;
|
|
265
265
|
|
|
266
266
|
// The state of the `VehicleStop`. This field won't be populated in the
|
|
267
|
-
// response of
|
|
267
|
+
// response of a `GetTask` call.
|
|
268
268
|
State state = 3;
|
|
269
269
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 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,8 +22,10 @@ option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1";
|
|
|
22
22
|
option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb";
|
|
23
23
|
option java_multiple_files = true;
|
|
24
24
|
option java_outer_classname = "Headers";
|
|
25
|
-
option java_package = "google.maps.fleetengine.delivery.v1";
|
|
25
|
+
option java_package = "com.google.maps.fleetengine.delivery.v1";
|
|
26
26
|
option objc_class_prefix = "CFED";
|
|
27
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\Delivery\\V1";
|
|
28
|
+
option ruby_package = "Google::Maps::FleetEngine::Delivery::V1";
|
|
27
29
|
|
|
28
30
|
// A RequestHeader contains fields common to all Delivery RPC requests.
|
|
29
31
|
message DeliveryRequestHeader {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 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.
|
|
@@ -29,8 +29,10 @@ option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1";
|
|
|
29
29
|
option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb";
|
|
30
30
|
option java_multiple_files = true;
|
|
31
31
|
option java_outer_classname = "TaskTrackingInfoProto";
|
|
32
|
-
option java_package = "google.maps.fleetengine.delivery.v1";
|
|
32
|
+
option java_package = "com.google.maps.fleetengine.delivery.v1";
|
|
33
33
|
option objc_class_prefix = "CFED";
|
|
34
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\Delivery\\V1";
|
|
35
|
+
option ruby_package = "Google::Maps::FleetEngine::Delivery::V1";
|
|
34
36
|
|
|
35
37
|
// The `TaskTrackingInfo` message. The message contains task tracking
|
|
36
38
|
// information which will be used for display. If a tracking ID is associated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 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,8 +27,10 @@ option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1";
|
|
|
27
27
|
option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb";
|
|
28
28
|
option java_multiple_files = true;
|
|
29
29
|
option java_outer_classname = "Tasks";
|
|
30
|
-
option java_package = "google.maps.fleetengine.delivery.v1";
|
|
30
|
+
option java_package = "com.google.maps.fleetengine.delivery.v1";
|
|
31
31
|
option objc_class_prefix = "CFED";
|
|
32
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\Delivery\\V1";
|
|
33
|
+
option ruby_package = "Google::Maps::FleetEngine::Delivery::V1";
|
|
32
34
|
|
|
33
35
|
// A Task in the Delivery API represents a single action to track. In general,
|
|
34
36
|
// there is a distinction between shipment-related Tasks and break Tasks. A
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 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.
|
|
@@ -756,20 +756,6 @@ export namespace maps {
|
|
|
756
756
|
*/
|
|
757
757
|
public getTask(request: maps.fleetengine.delivery.v1.IGetTaskRequest): Promise<maps.fleetengine.delivery.v1.Task>;
|
|
758
758
|
|
|
759
|
-
/**
|
|
760
|
-
* Calls SearchTasks.
|
|
761
|
-
* @param request SearchTasksRequest message or plain object
|
|
762
|
-
* @param callback Node-style callback called with the error, if any, and SearchTasksResponse
|
|
763
|
-
*/
|
|
764
|
-
public searchTasks(request: maps.fleetengine.delivery.v1.ISearchTasksRequest, callback: maps.fleetengine.delivery.v1.DeliveryService.SearchTasksCallback): void;
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* Calls SearchTasks.
|
|
768
|
-
* @param request SearchTasksRequest message or plain object
|
|
769
|
-
* @returns Promise
|
|
770
|
-
*/
|
|
771
|
-
public searchTasks(request: maps.fleetengine.delivery.v1.ISearchTasksRequest): Promise<maps.fleetengine.delivery.v1.SearchTasksResponse>;
|
|
772
|
-
|
|
773
759
|
/**
|
|
774
760
|
* Calls UpdateTask.
|
|
775
761
|
* @param request UpdateTaskRequest message or plain object
|
|
@@ -871,13 +857,6 @@ export namespace maps {
|
|
|
871
857
|
*/
|
|
872
858
|
type GetTaskCallback = (error: (Error|null), response?: maps.fleetengine.delivery.v1.Task) => void;
|
|
873
859
|
|
|
874
|
-
/**
|
|
875
|
-
* Callback as used by {@link maps.fleetengine.delivery.v1.DeliveryService|searchTasks}.
|
|
876
|
-
* @param error Error, if any
|
|
877
|
-
* @param [response] SearchTasksResponse
|
|
878
|
-
*/
|
|
879
|
-
type SearchTasksCallback = (error: (Error|null), response?: maps.fleetengine.delivery.v1.SearchTasksResponse) => void;
|
|
880
|
-
|
|
881
860
|
/**
|
|
882
861
|
* Callback as used by {@link maps.fleetengine.delivery.v1.DeliveryService|updateTask}.
|
|
883
862
|
* @param error Error, if any
|
|
@@ -1894,230 +1873,6 @@ export namespace maps {
|
|
|
1894
1873
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1895
1874
|
}
|
|
1896
1875
|
|
|
1897
|
-
/** Properties of a SearchTasksRequest. */
|
|
1898
|
-
interface ISearchTasksRequest {
|
|
1899
|
-
|
|
1900
|
-
/** SearchTasksRequest header */
|
|
1901
|
-
header?: (maps.fleetengine.delivery.v1.IDeliveryRequestHeader|null);
|
|
1902
|
-
|
|
1903
|
-
/** SearchTasksRequest parent */
|
|
1904
|
-
parent?: (string|null);
|
|
1905
|
-
|
|
1906
|
-
/** SearchTasksRequest trackingId */
|
|
1907
|
-
trackingId?: (string|null);
|
|
1908
|
-
|
|
1909
|
-
/** SearchTasksRequest pageSize */
|
|
1910
|
-
pageSize?: (number|null);
|
|
1911
|
-
|
|
1912
|
-
/** SearchTasksRequest pageToken */
|
|
1913
|
-
pageToken?: (string|null);
|
|
1914
|
-
}
|
|
1915
|
-
|
|
1916
|
-
/** Represents a SearchTasksRequest. */
|
|
1917
|
-
class SearchTasksRequest implements ISearchTasksRequest {
|
|
1918
|
-
|
|
1919
|
-
/**
|
|
1920
|
-
* Constructs a new SearchTasksRequest.
|
|
1921
|
-
* @param [properties] Properties to set
|
|
1922
|
-
*/
|
|
1923
|
-
constructor(properties?: maps.fleetengine.delivery.v1.ISearchTasksRequest);
|
|
1924
|
-
|
|
1925
|
-
/** SearchTasksRequest header. */
|
|
1926
|
-
public header?: (maps.fleetengine.delivery.v1.IDeliveryRequestHeader|null);
|
|
1927
|
-
|
|
1928
|
-
/** SearchTasksRequest parent. */
|
|
1929
|
-
public parent: string;
|
|
1930
|
-
|
|
1931
|
-
/** SearchTasksRequest trackingId. */
|
|
1932
|
-
public trackingId: string;
|
|
1933
|
-
|
|
1934
|
-
/** SearchTasksRequest pageSize. */
|
|
1935
|
-
public pageSize: number;
|
|
1936
|
-
|
|
1937
|
-
/** SearchTasksRequest pageToken. */
|
|
1938
|
-
public pageToken: string;
|
|
1939
|
-
|
|
1940
|
-
/**
|
|
1941
|
-
* Creates a new SearchTasksRequest instance using the specified properties.
|
|
1942
|
-
* @param [properties] Properties to set
|
|
1943
|
-
* @returns SearchTasksRequest instance
|
|
1944
|
-
*/
|
|
1945
|
-
public static create(properties?: maps.fleetengine.delivery.v1.ISearchTasksRequest): maps.fleetengine.delivery.v1.SearchTasksRequest;
|
|
1946
|
-
|
|
1947
|
-
/**
|
|
1948
|
-
* Encodes the specified SearchTasksRequest message. Does not implicitly {@link maps.fleetengine.delivery.v1.SearchTasksRequest.verify|verify} messages.
|
|
1949
|
-
* @param message SearchTasksRequest message or plain object to encode
|
|
1950
|
-
* @param [writer] Writer to encode to
|
|
1951
|
-
* @returns Writer
|
|
1952
|
-
*/
|
|
1953
|
-
public static encode(message: maps.fleetengine.delivery.v1.ISearchTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1954
|
-
|
|
1955
|
-
/**
|
|
1956
|
-
* Encodes the specified SearchTasksRequest message, length delimited. Does not implicitly {@link maps.fleetengine.delivery.v1.SearchTasksRequest.verify|verify} messages.
|
|
1957
|
-
* @param message SearchTasksRequest message or plain object to encode
|
|
1958
|
-
* @param [writer] Writer to encode to
|
|
1959
|
-
* @returns Writer
|
|
1960
|
-
*/
|
|
1961
|
-
public static encodeDelimited(message: maps.fleetengine.delivery.v1.ISearchTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1962
|
-
|
|
1963
|
-
/**
|
|
1964
|
-
* Decodes a SearchTasksRequest message from the specified reader or buffer.
|
|
1965
|
-
* @param reader Reader or buffer to decode from
|
|
1966
|
-
* @param [length] Message length if known beforehand
|
|
1967
|
-
* @returns SearchTasksRequest
|
|
1968
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1969
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1970
|
-
*/
|
|
1971
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): maps.fleetengine.delivery.v1.SearchTasksRequest;
|
|
1972
|
-
|
|
1973
|
-
/**
|
|
1974
|
-
* Decodes a SearchTasksRequest message from the specified reader or buffer, length delimited.
|
|
1975
|
-
* @param reader Reader or buffer to decode from
|
|
1976
|
-
* @returns SearchTasksRequest
|
|
1977
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1978
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1979
|
-
*/
|
|
1980
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): maps.fleetengine.delivery.v1.SearchTasksRequest;
|
|
1981
|
-
|
|
1982
|
-
/**
|
|
1983
|
-
* Verifies a SearchTasksRequest message.
|
|
1984
|
-
* @param message Plain object to verify
|
|
1985
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1986
|
-
*/
|
|
1987
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1988
|
-
|
|
1989
|
-
/**
|
|
1990
|
-
* Creates a SearchTasksRequest message from a plain object. Also converts values to their respective internal types.
|
|
1991
|
-
* @param object Plain object
|
|
1992
|
-
* @returns SearchTasksRequest
|
|
1993
|
-
*/
|
|
1994
|
-
public static fromObject(object: { [k: string]: any }): maps.fleetengine.delivery.v1.SearchTasksRequest;
|
|
1995
|
-
|
|
1996
|
-
/**
|
|
1997
|
-
* Creates a plain object from a SearchTasksRequest message. Also converts values to other types if specified.
|
|
1998
|
-
* @param message SearchTasksRequest
|
|
1999
|
-
* @param [options] Conversion options
|
|
2000
|
-
* @returns Plain object
|
|
2001
|
-
*/
|
|
2002
|
-
public static toObject(message: maps.fleetengine.delivery.v1.SearchTasksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2003
|
-
|
|
2004
|
-
/**
|
|
2005
|
-
* Converts this SearchTasksRequest to JSON.
|
|
2006
|
-
* @returns JSON object
|
|
2007
|
-
*/
|
|
2008
|
-
public toJSON(): { [k: string]: any };
|
|
2009
|
-
|
|
2010
|
-
/**
|
|
2011
|
-
* Gets the default type url for SearchTasksRequest
|
|
2012
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2013
|
-
* @returns The default type url
|
|
2014
|
-
*/
|
|
2015
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
/** Properties of a SearchTasksResponse. */
|
|
2019
|
-
interface ISearchTasksResponse {
|
|
2020
|
-
|
|
2021
|
-
/** SearchTasksResponse tasks */
|
|
2022
|
-
tasks?: (maps.fleetengine.delivery.v1.ITask[]|null);
|
|
2023
|
-
|
|
2024
|
-
/** SearchTasksResponse nextPageToken */
|
|
2025
|
-
nextPageToken?: (string|null);
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
|
-
/** Represents a SearchTasksResponse. */
|
|
2029
|
-
class SearchTasksResponse implements ISearchTasksResponse {
|
|
2030
|
-
|
|
2031
|
-
/**
|
|
2032
|
-
* Constructs a new SearchTasksResponse.
|
|
2033
|
-
* @param [properties] Properties to set
|
|
2034
|
-
*/
|
|
2035
|
-
constructor(properties?: maps.fleetengine.delivery.v1.ISearchTasksResponse);
|
|
2036
|
-
|
|
2037
|
-
/** SearchTasksResponse tasks. */
|
|
2038
|
-
public tasks: maps.fleetengine.delivery.v1.ITask[];
|
|
2039
|
-
|
|
2040
|
-
/** SearchTasksResponse nextPageToken. */
|
|
2041
|
-
public nextPageToken: string;
|
|
2042
|
-
|
|
2043
|
-
/**
|
|
2044
|
-
* Creates a new SearchTasksResponse instance using the specified properties.
|
|
2045
|
-
* @param [properties] Properties to set
|
|
2046
|
-
* @returns SearchTasksResponse instance
|
|
2047
|
-
*/
|
|
2048
|
-
public static create(properties?: maps.fleetengine.delivery.v1.ISearchTasksResponse): maps.fleetengine.delivery.v1.SearchTasksResponse;
|
|
2049
|
-
|
|
2050
|
-
/**
|
|
2051
|
-
* Encodes the specified SearchTasksResponse message. Does not implicitly {@link maps.fleetengine.delivery.v1.SearchTasksResponse.verify|verify} messages.
|
|
2052
|
-
* @param message SearchTasksResponse message or plain object to encode
|
|
2053
|
-
* @param [writer] Writer to encode to
|
|
2054
|
-
* @returns Writer
|
|
2055
|
-
*/
|
|
2056
|
-
public static encode(message: maps.fleetengine.delivery.v1.ISearchTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2057
|
-
|
|
2058
|
-
/**
|
|
2059
|
-
* Encodes the specified SearchTasksResponse message, length delimited. Does not implicitly {@link maps.fleetengine.delivery.v1.SearchTasksResponse.verify|verify} messages.
|
|
2060
|
-
* @param message SearchTasksResponse message or plain object to encode
|
|
2061
|
-
* @param [writer] Writer to encode to
|
|
2062
|
-
* @returns Writer
|
|
2063
|
-
*/
|
|
2064
|
-
public static encodeDelimited(message: maps.fleetengine.delivery.v1.ISearchTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2065
|
-
|
|
2066
|
-
/**
|
|
2067
|
-
* Decodes a SearchTasksResponse message from the specified reader or buffer.
|
|
2068
|
-
* @param reader Reader or buffer to decode from
|
|
2069
|
-
* @param [length] Message length if known beforehand
|
|
2070
|
-
* @returns SearchTasksResponse
|
|
2071
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2072
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2073
|
-
*/
|
|
2074
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): maps.fleetengine.delivery.v1.SearchTasksResponse;
|
|
2075
|
-
|
|
2076
|
-
/**
|
|
2077
|
-
* Decodes a SearchTasksResponse message from the specified reader or buffer, length delimited.
|
|
2078
|
-
* @param reader Reader or buffer to decode from
|
|
2079
|
-
* @returns SearchTasksResponse
|
|
2080
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2081
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2082
|
-
*/
|
|
2083
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): maps.fleetengine.delivery.v1.SearchTasksResponse;
|
|
2084
|
-
|
|
2085
|
-
/**
|
|
2086
|
-
* Verifies a SearchTasksResponse message.
|
|
2087
|
-
* @param message Plain object to verify
|
|
2088
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
2089
|
-
*/
|
|
2090
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
2091
|
-
|
|
2092
|
-
/**
|
|
2093
|
-
* Creates a SearchTasksResponse message from a plain object. Also converts values to their respective internal types.
|
|
2094
|
-
* @param object Plain object
|
|
2095
|
-
* @returns SearchTasksResponse
|
|
2096
|
-
*/
|
|
2097
|
-
public static fromObject(object: { [k: string]: any }): maps.fleetengine.delivery.v1.SearchTasksResponse;
|
|
2098
|
-
|
|
2099
|
-
/**
|
|
2100
|
-
* Creates a plain object from a SearchTasksResponse message. Also converts values to other types if specified.
|
|
2101
|
-
* @param message SearchTasksResponse
|
|
2102
|
-
* @param [options] Conversion options
|
|
2103
|
-
* @returns Plain object
|
|
2104
|
-
*/
|
|
2105
|
-
public static toObject(message: maps.fleetengine.delivery.v1.SearchTasksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2106
|
-
|
|
2107
|
-
/**
|
|
2108
|
-
* Converts this SearchTasksResponse to JSON.
|
|
2109
|
-
* @returns JSON object
|
|
2110
|
-
*/
|
|
2111
|
-
public toJSON(): { [k: string]: any };
|
|
2112
|
-
|
|
2113
|
-
/**
|
|
2114
|
-
* Gets the default type url for SearchTasksResponse
|
|
2115
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2116
|
-
* @returns The default type url
|
|
2117
|
-
*/
|
|
2118
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
1876
|
/** Properties of an UpdateTaskRequest. */
|
|
2122
1877
|
interface IUpdateTaskRequest {
|
|
2123
1878
|
|