@googlemaps/fleetengine 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/v1/fleetengine.proto +12 -7
- package/build/protos/google/maps/fleetengine/v1/header.proto +3 -1
- package/build/protos/google/maps/fleetengine/v1/traffic.proto +3 -1
- package/build/protos/google/maps/fleetengine/v1/trip_api.proto +3 -1
- package/build/protos/google/maps/fleetengine/v1/trips.proto +3 -1
- package/build/protos/google/maps/fleetengine/v1/vehicle_api.proto +3 -57
- package/build/protos/google/maps/fleetengine/v1/vehicles.proto +3 -1
- package/build/protos/protos.d.ts +0 -157
- package/build/protos/protos.js +0 -373
- package/build/protos/protos.json +17 -92
- package/build/src/v1/trip_service_client.d.ts +0 -1
- package/build/src/v1/vehicle_service_client.d.ts +0 -193
- package/build/src/v1/vehicle_service_client.js +1 -61
- package/build/src/v1/vehicle_service_client.js.map +1 -1
- package/build/src/v1/vehicle_service_client_config.json +0 -8
- 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-v0.1.0...fleetengine-v0.2.0) (2024-10-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add partner_model_tuning_spec to TuningJob ([#5721](https://github.com/googleapis/google-cloud-node/issues/5721)) ([cec22ab](https://github.com/googleapis/google-cloud-node/commit/cec22abd4f27d8acf3c7c1d87b2bd6873e505841))
|
|
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 Local Rides and Deliveries 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
|
|
@@ -316,4 +316,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
|
|
|
316
316
|
[projects]: https://console.cloud.google.com/project
|
|
317
317
|
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
|
318
318
|
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=fleetengine.googleapis.com
|
|
319
|
-
[auth]: https://cloud.google.com/docs/authentication/
|
|
319
|
+
[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.
|
|
@@ -29,9 +29,14 @@ option java_multiple_files = true;
|
|
|
29
29
|
option java_outer_classname = "FleetEngine";
|
|
30
30
|
option java_package = "google.maps.fleetengine.v1";
|
|
31
31
|
option objc_class_prefix = "CFE";
|
|
32
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\V1";
|
|
33
|
+
option ruby_package = "Google::Maps::FleetEngine::V1";
|
|
32
34
|
|
|
33
|
-
//
|
|
35
|
+
// Deprecated: TerminalPoints are no longer supported in Fleet Engine. Use
|
|
36
|
+
// `TerminalLocation.point` instead.
|
|
34
37
|
message TerminalPointId {
|
|
38
|
+
option deprecated = true;
|
|
39
|
+
|
|
35
40
|
// Deprecated.
|
|
36
41
|
oneof Id {
|
|
37
42
|
// Deprecated.
|
|
@@ -41,8 +46,8 @@ message TerminalPointId {
|
|
|
41
46
|
string generated_id = 3 [deprecated = true];
|
|
42
47
|
}
|
|
43
48
|
|
|
44
|
-
//
|
|
45
|
-
string value = 4;
|
|
49
|
+
// Deprecated.
|
|
50
|
+
string value = 4 [deprecated = true];
|
|
46
51
|
}
|
|
47
52
|
|
|
48
53
|
// Describes the location of a waypoint.
|
|
@@ -50,10 +55,10 @@ message TerminalLocation {
|
|
|
50
55
|
// Required. Denotes the location of a trip waypoint.
|
|
51
56
|
google.type.LatLng point = 1 [(google.api.field_behavior) = REQUIRED];
|
|
52
57
|
|
|
53
|
-
//
|
|
54
|
-
TerminalPointId terminal_point_id = 2;
|
|
58
|
+
// Deprecated: Specify the `point` field instead.
|
|
59
|
+
TerminalPointId terminal_point_id = 2 [deprecated = true];
|
|
55
60
|
|
|
56
|
-
// Deprecated.
|
|
61
|
+
// Deprecated: Specify the `point` field instead.
|
|
57
62
|
string access_point_id = 3 [deprecated = true];
|
|
58
63
|
|
|
59
64
|
// Deprecated.
|
|
@@ -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.
|
|
@@ -24,6 +24,8 @@ option java_multiple_files = true;
|
|
|
24
24
|
option java_outer_classname = "Headers";
|
|
25
25
|
option java_package = "google.maps.fleetengine.v1";
|
|
26
26
|
option objc_class_prefix = "CFE";
|
|
27
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\V1";
|
|
28
|
+
option ruby_package = "Google::Maps::FleetEngine::V1";
|
|
27
29
|
|
|
28
30
|
// A RequestHeader contains fields common to all Fleet Engine RPC requests.
|
|
29
31
|
message RequestHeader {
|
|
@@ -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,6 +22,8 @@ option java_multiple_files = true;
|
|
|
22
22
|
option java_outer_classname = "TrafficProto";
|
|
23
23
|
option java_package = "google.maps.fleetengine.v1";
|
|
24
24
|
option objc_class_prefix = "CFE";
|
|
25
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\V1";
|
|
26
|
+
option ruby_package = "Google::Maps::FleetEngine::V1";
|
|
25
27
|
|
|
26
28
|
// Traffic density indicator on a contiguous segment of a path. Given a path
|
|
27
29
|
// with points P_0, P_1, ... , P_N (zero-based index), the SpeedReadingInterval
|
|
@@ -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.
|
|
@@ -35,6 +35,8 @@ option java_multiple_files = true;
|
|
|
35
35
|
option java_outer_classname = "TripApi";
|
|
36
36
|
option java_package = "google.maps.fleetengine.v1";
|
|
37
37
|
option objc_class_prefix = "CFE";
|
|
38
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\V1";
|
|
39
|
+
option ruby_package = "Google::Maps::FleetEngine::V1";
|
|
38
40
|
|
|
39
41
|
// Trip management service.
|
|
40
42
|
service TripService {
|
|
@@ -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.
|
|
@@ -31,6 +31,8 @@ option java_multiple_files = true;
|
|
|
31
31
|
option java_outer_classname = "Trips";
|
|
32
32
|
option java_package = "google.maps.fleetengine.v1";
|
|
33
33
|
option objc_class_prefix = "CFE";
|
|
34
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\V1";
|
|
35
|
+
option ruby_package = "Google::Maps::FleetEngine::V1";
|
|
34
36
|
|
|
35
37
|
// Trip metadata.
|
|
36
38
|
message Trip {
|
|
@@ -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.
|
|
@@ -37,6 +37,8 @@ option java_multiple_files = true;
|
|
|
37
37
|
option java_outer_classname = "VehicleApi";
|
|
38
38
|
option java_package = "google.maps.fleetengine.v1";
|
|
39
39
|
option objc_class_prefix = "CFE";
|
|
40
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\V1";
|
|
41
|
+
option ruby_package = "Google::Maps::FleetEngine::V1";
|
|
40
42
|
|
|
41
43
|
// Vehicle management service.
|
|
42
44
|
service VehicleService {
|
|
@@ -128,23 +130,6 @@ service VehicleService {
|
|
|
128
130
|
};
|
|
129
131
|
}
|
|
130
132
|
|
|
131
|
-
// Deprecated: Use the `UpdateVehicle` method instead.
|
|
132
|
-
// UpdateVehicleLocation updates the location of the vehicle.
|
|
133
|
-
rpc UpdateVehicleLocation(UpdateVehicleLocationRequest)
|
|
134
|
-
returns (VehicleLocation) {
|
|
135
|
-
option deprecated = true;
|
|
136
|
-
option (google.api.http) = {
|
|
137
|
-
put: "/v1/{name=providers/*/vehicles/*}:updateLocation"
|
|
138
|
-
body: "*"
|
|
139
|
-
};
|
|
140
|
-
option (google.api.routing) = {
|
|
141
|
-
routing_parameters {
|
|
142
|
-
field: "name"
|
|
143
|
-
path_template: "{provider_id=providers/*}"
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
|
|
148
133
|
// Partially updates a vehicle's attributes.
|
|
149
134
|
// Only the attributes mentioned in the request will be updated, other
|
|
150
135
|
// attributes will NOT be altered. Note: this is different in `UpdateVehicle`,
|
|
@@ -191,22 +176,6 @@ service VehicleService {
|
|
|
191
176
|
}
|
|
192
177
|
};
|
|
193
178
|
}
|
|
194
|
-
|
|
195
|
-
// Deprecated: Use `SearchVehicles` instead.
|
|
196
|
-
rpc SearchFuzzedVehicles(SearchVehiclesRequest)
|
|
197
|
-
returns (SearchVehiclesResponse) {
|
|
198
|
-
option deprecated = true;
|
|
199
|
-
option (google.api.http) = {
|
|
200
|
-
post: "/v1/{parent=providers/*}/vehicles:searchFuzzed"
|
|
201
|
-
body: "*"
|
|
202
|
-
};
|
|
203
|
-
option (google.api.routing) = {
|
|
204
|
-
routing_parameters {
|
|
205
|
-
field: "parent"
|
|
206
|
-
path_template: "{provider_id=providers/*}"
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
179
|
}
|
|
211
180
|
|
|
212
181
|
// `CreateVehicle` request message.
|
|
@@ -327,29 +296,6 @@ message UpdateVehicleRequest {
|
|
|
327
296
|
[(google.api.field_behavior) = REQUIRED];
|
|
328
297
|
}
|
|
329
298
|
|
|
330
|
-
// `UpdateVehicleLocation` request message.
|
|
331
|
-
message UpdateVehicleLocationRequest {
|
|
332
|
-
option deprecated = true;
|
|
333
|
-
|
|
334
|
-
// The standard Fleet Engine request header.
|
|
335
|
-
RequestHeader header = 1;
|
|
336
|
-
|
|
337
|
-
// Required. Must be in the format
|
|
338
|
-
// `providers/{provider}/vehicles/{vehicle}`.
|
|
339
|
-
// The {provider} must be the Project ID (for example, `sample-cloud-project`)
|
|
340
|
-
// of the Google Cloud Project of which the service account making
|
|
341
|
-
// this call is a member.
|
|
342
|
-
string name = 3 [(google.api.field_behavior) = REQUIRED];
|
|
343
|
-
|
|
344
|
-
// Required. The vehicle's most recent location. The `location` and
|
|
345
|
-
// `update_time` subfields are required.
|
|
346
|
-
VehicleLocation current_location = 4 [(google.api.field_behavior) = REQUIRED];
|
|
347
|
-
|
|
348
|
-
// Set the vehicle's state to either `ONLINE` or `OFFLINE`.
|
|
349
|
-
// If set to `UNKNOWN_VEHICLE_STATE`, the vehicle's state will not be altered.
|
|
350
|
-
VehicleState current_state = 5;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
299
|
// `UpdateVehicleAttributes` request message.
|
|
354
300
|
message UpdateVehicleAttributesRequest {
|
|
355
301
|
// The standard Fleet Engine request header.
|
|
@@ -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.
|
|
@@ -28,6 +28,8 @@ option java_multiple_files = true;
|
|
|
28
28
|
option java_outer_classname = "Vehicles";
|
|
29
29
|
option java_package = "google.maps.fleetengine.v1";
|
|
30
30
|
option objc_class_prefix = "CFE";
|
|
31
|
+
option php_namespace = "Google\\Maps\\FleetEngine\\V1";
|
|
32
|
+
option ruby_package = "Google::Maps::FleetEngine::V1";
|
|
31
33
|
|
|
32
34
|
// Vehicle metadata.
|
|
33
35
|
message Vehicle {
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -2587,20 +2587,6 @@ export namespace maps {
|
|
|
2587
2587
|
*/
|
|
2588
2588
|
public updateVehicle(request: maps.fleetengine.v1.IUpdateVehicleRequest): Promise<maps.fleetengine.v1.Vehicle>;
|
|
2589
2589
|
|
|
2590
|
-
/**
|
|
2591
|
-
* Calls UpdateVehicleLocation.
|
|
2592
|
-
* @param request UpdateVehicleLocationRequest message or plain object
|
|
2593
|
-
* @param callback Node-style callback called with the error, if any, and VehicleLocation
|
|
2594
|
-
*/
|
|
2595
|
-
public updateVehicleLocation(request: maps.fleetengine.v1.IUpdateVehicleLocationRequest, callback: maps.fleetengine.v1.VehicleService.UpdateVehicleLocationCallback): void;
|
|
2596
|
-
|
|
2597
|
-
/**
|
|
2598
|
-
* Calls UpdateVehicleLocation.
|
|
2599
|
-
* @param request UpdateVehicleLocationRequest message or plain object
|
|
2600
|
-
* @returns Promise
|
|
2601
|
-
*/
|
|
2602
|
-
public updateVehicleLocation(request: maps.fleetengine.v1.IUpdateVehicleLocationRequest): Promise<maps.fleetengine.v1.VehicleLocation>;
|
|
2603
|
-
|
|
2604
2590
|
/**
|
|
2605
2591
|
* Calls UpdateVehicleAttributes.
|
|
2606
2592
|
* @param request UpdateVehicleAttributesRequest message or plain object
|
|
@@ -2642,20 +2628,6 @@ export namespace maps {
|
|
|
2642
2628
|
* @returns Promise
|
|
2643
2629
|
*/
|
|
2644
2630
|
public searchVehicles(request: maps.fleetengine.v1.ISearchVehiclesRequest): Promise<maps.fleetengine.v1.SearchVehiclesResponse>;
|
|
2645
|
-
|
|
2646
|
-
/**
|
|
2647
|
-
* Calls SearchFuzzedVehicles.
|
|
2648
|
-
* @param request SearchVehiclesRequest message or plain object
|
|
2649
|
-
* @param callback Node-style callback called with the error, if any, and SearchVehiclesResponse
|
|
2650
|
-
*/
|
|
2651
|
-
public searchFuzzedVehicles(request: maps.fleetengine.v1.ISearchVehiclesRequest, callback: maps.fleetengine.v1.VehicleService.SearchFuzzedVehiclesCallback): void;
|
|
2652
|
-
|
|
2653
|
-
/**
|
|
2654
|
-
* Calls SearchFuzzedVehicles.
|
|
2655
|
-
* @param request SearchVehiclesRequest message or plain object
|
|
2656
|
-
* @returns Promise
|
|
2657
|
-
*/
|
|
2658
|
-
public searchFuzzedVehicles(request: maps.fleetengine.v1.ISearchVehiclesRequest): Promise<maps.fleetengine.v1.SearchVehiclesResponse>;
|
|
2659
2631
|
}
|
|
2660
2632
|
|
|
2661
2633
|
namespace VehicleService {
|
|
@@ -2681,13 +2653,6 @@ export namespace maps {
|
|
|
2681
2653
|
*/
|
|
2682
2654
|
type UpdateVehicleCallback = (error: (Error|null), response?: maps.fleetengine.v1.Vehicle) => void;
|
|
2683
2655
|
|
|
2684
|
-
/**
|
|
2685
|
-
* Callback as used by {@link maps.fleetengine.v1.VehicleService|updateVehicleLocation}.
|
|
2686
|
-
* @param error Error, if any
|
|
2687
|
-
* @param [response] VehicleLocation
|
|
2688
|
-
*/
|
|
2689
|
-
type UpdateVehicleLocationCallback = (error: (Error|null), response?: maps.fleetengine.v1.VehicleLocation) => void;
|
|
2690
|
-
|
|
2691
2656
|
/**
|
|
2692
2657
|
* Callback as used by {@link maps.fleetengine.v1.VehicleService|updateVehicleAttributes}.
|
|
2693
2658
|
* @param error Error, if any
|
|
@@ -2708,13 +2673,6 @@ export namespace maps {
|
|
|
2708
2673
|
* @param [response] SearchVehiclesResponse
|
|
2709
2674
|
*/
|
|
2710
2675
|
type SearchVehiclesCallback = (error: (Error|null), response?: maps.fleetengine.v1.SearchVehiclesResponse) => void;
|
|
2711
|
-
|
|
2712
|
-
/**
|
|
2713
|
-
* Callback as used by {@link maps.fleetengine.v1.VehicleService|searchFuzzedVehicles}.
|
|
2714
|
-
* @param error Error, if any
|
|
2715
|
-
* @param [response] SearchVehiclesResponse
|
|
2716
|
-
*/
|
|
2717
|
-
type SearchFuzzedVehiclesCallback = (error: (Error|null), response?: maps.fleetengine.v1.SearchVehiclesResponse) => void;
|
|
2718
2676
|
}
|
|
2719
2677
|
|
|
2720
2678
|
/** Properties of a CreateVehicleRequest. */
|
|
@@ -3062,121 +3020,6 @@ export namespace maps {
|
|
|
3062
3020
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3063
3021
|
}
|
|
3064
3022
|
|
|
3065
|
-
/** Properties of an UpdateVehicleLocationRequest. */
|
|
3066
|
-
interface IUpdateVehicleLocationRequest {
|
|
3067
|
-
|
|
3068
|
-
/** UpdateVehicleLocationRequest header */
|
|
3069
|
-
header?: (maps.fleetengine.v1.IRequestHeader|null);
|
|
3070
|
-
|
|
3071
|
-
/** UpdateVehicleLocationRequest name */
|
|
3072
|
-
name?: (string|null);
|
|
3073
|
-
|
|
3074
|
-
/** UpdateVehicleLocationRequest currentLocation */
|
|
3075
|
-
currentLocation?: (maps.fleetengine.v1.IVehicleLocation|null);
|
|
3076
|
-
|
|
3077
|
-
/** UpdateVehicleLocationRequest currentState */
|
|
3078
|
-
currentState?: (maps.fleetengine.v1.VehicleState|keyof typeof maps.fleetengine.v1.VehicleState|null);
|
|
3079
|
-
}
|
|
3080
|
-
|
|
3081
|
-
/** Represents an UpdateVehicleLocationRequest. */
|
|
3082
|
-
class UpdateVehicleLocationRequest implements IUpdateVehicleLocationRequest {
|
|
3083
|
-
|
|
3084
|
-
/**
|
|
3085
|
-
* Constructs a new UpdateVehicleLocationRequest.
|
|
3086
|
-
* @param [properties] Properties to set
|
|
3087
|
-
*/
|
|
3088
|
-
constructor(properties?: maps.fleetengine.v1.IUpdateVehicleLocationRequest);
|
|
3089
|
-
|
|
3090
|
-
/** UpdateVehicleLocationRequest header. */
|
|
3091
|
-
public header?: (maps.fleetengine.v1.IRequestHeader|null);
|
|
3092
|
-
|
|
3093
|
-
/** UpdateVehicleLocationRequest name. */
|
|
3094
|
-
public name: string;
|
|
3095
|
-
|
|
3096
|
-
/** UpdateVehicleLocationRequest currentLocation. */
|
|
3097
|
-
public currentLocation?: (maps.fleetengine.v1.IVehicleLocation|null);
|
|
3098
|
-
|
|
3099
|
-
/** UpdateVehicleLocationRequest currentState. */
|
|
3100
|
-
public currentState: (maps.fleetengine.v1.VehicleState|keyof typeof maps.fleetengine.v1.VehicleState);
|
|
3101
|
-
|
|
3102
|
-
/**
|
|
3103
|
-
* Creates a new UpdateVehicleLocationRequest instance using the specified properties.
|
|
3104
|
-
* @param [properties] Properties to set
|
|
3105
|
-
* @returns UpdateVehicleLocationRequest instance
|
|
3106
|
-
*/
|
|
3107
|
-
public static create(properties?: maps.fleetengine.v1.IUpdateVehicleLocationRequest): maps.fleetengine.v1.UpdateVehicleLocationRequest;
|
|
3108
|
-
|
|
3109
|
-
/**
|
|
3110
|
-
* Encodes the specified UpdateVehicleLocationRequest message. Does not implicitly {@link maps.fleetengine.v1.UpdateVehicleLocationRequest.verify|verify} messages.
|
|
3111
|
-
* @param message UpdateVehicleLocationRequest message or plain object to encode
|
|
3112
|
-
* @param [writer] Writer to encode to
|
|
3113
|
-
* @returns Writer
|
|
3114
|
-
*/
|
|
3115
|
-
public static encode(message: maps.fleetengine.v1.IUpdateVehicleLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3116
|
-
|
|
3117
|
-
/**
|
|
3118
|
-
* Encodes the specified UpdateVehicleLocationRequest message, length delimited. Does not implicitly {@link maps.fleetengine.v1.UpdateVehicleLocationRequest.verify|verify} messages.
|
|
3119
|
-
* @param message UpdateVehicleLocationRequest message or plain object to encode
|
|
3120
|
-
* @param [writer] Writer to encode to
|
|
3121
|
-
* @returns Writer
|
|
3122
|
-
*/
|
|
3123
|
-
public static encodeDelimited(message: maps.fleetengine.v1.IUpdateVehicleLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3124
|
-
|
|
3125
|
-
/**
|
|
3126
|
-
* Decodes an UpdateVehicleLocationRequest message from the specified reader or buffer.
|
|
3127
|
-
* @param reader Reader or buffer to decode from
|
|
3128
|
-
* @param [length] Message length if known beforehand
|
|
3129
|
-
* @returns UpdateVehicleLocationRequest
|
|
3130
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3131
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3132
|
-
*/
|
|
3133
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): maps.fleetengine.v1.UpdateVehicleLocationRequest;
|
|
3134
|
-
|
|
3135
|
-
/**
|
|
3136
|
-
* Decodes an UpdateVehicleLocationRequest message from the specified reader or buffer, length delimited.
|
|
3137
|
-
* @param reader Reader or buffer to decode from
|
|
3138
|
-
* @returns UpdateVehicleLocationRequest
|
|
3139
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3140
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3141
|
-
*/
|
|
3142
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): maps.fleetengine.v1.UpdateVehicleLocationRequest;
|
|
3143
|
-
|
|
3144
|
-
/**
|
|
3145
|
-
* Verifies an UpdateVehicleLocationRequest message.
|
|
3146
|
-
* @param message Plain object to verify
|
|
3147
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3148
|
-
*/
|
|
3149
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
3150
|
-
|
|
3151
|
-
/**
|
|
3152
|
-
* Creates an UpdateVehicleLocationRequest message from a plain object. Also converts values to their respective internal types.
|
|
3153
|
-
* @param object Plain object
|
|
3154
|
-
* @returns UpdateVehicleLocationRequest
|
|
3155
|
-
*/
|
|
3156
|
-
public static fromObject(object: { [k: string]: any }): maps.fleetengine.v1.UpdateVehicleLocationRequest;
|
|
3157
|
-
|
|
3158
|
-
/**
|
|
3159
|
-
* Creates a plain object from an UpdateVehicleLocationRequest message. Also converts values to other types if specified.
|
|
3160
|
-
* @param message UpdateVehicleLocationRequest
|
|
3161
|
-
* @param [options] Conversion options
|
|
3162
|
-
* @returns Plain object
|
|
3163
|
-
*/
|
|
3164
|
-
public static toObject(message: maps.fleetengine.v1.UpdateVehicleLocationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3165
|
-
|
|
3166
|
-
/**
|
|
3167
|
-
* Converts this UpdateVehicleLocationRequest to JSON.
|
|
3168
|
-
* @returns JSON object
|
|
3169
|
-
*/
|
|
3170
|
-
public toJSON(): { [k: string]: any };
|
|
3171
|
-
|
|
3172
|
-
/**
|
|
3173
|
-
* Gets the default type url for UpdateVehicleLocationRequest
|
|
3174
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3175
|
-
* @returns The default type url
|
|
3176
|
-
*/
|
|
3177
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3178
|
-
}
|
|
3179
|
-
|
|
3180
3023
|
/** Properties of an UpdateVehicleAttributesRequest. */
|
|
3181
3024
|
interface IUpdateVehicleAttributesRequest {
|
|
3182
3025
|
|