Skip to content

Commit

Permalink
docs: clarify comment on update_time
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 458304215
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 30, 2022
1 parent 523fdaf commit 917762b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions google/maps/fleetengine/delivery/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ message DeliveryVehicleLocation {
// Accuracy of `speed` in meters/second.
google.protobuf.DoubleValue speed_accuracy = 7;

// The time when `location` was reported by the sensor.
// The time when `location` was reported by the sensor according to the
// sensor's clock.
google.protobuf.Timestamp update_time = 4;

// Output only. The time when the server received the location information.
Expand Down Expand Up @@ -117,8 +118,7 @@ message DeliveryVehicleLocation {
// Input only. Accuracy of `raw_location` as a radius, in meters.
google.protobuf.DoubleValue raw_location_accuracy = 25 [(google.api.field_behavior) = INPUT_ONLY];

// Input only. Supplemental location provided by the integrating app, such as the location
// provided by Fused Location Provider.
// Input only. Supplemental location provided by the integrating app.
google.type.LatLng supplemental_location = 18 [(google.api.field_behavior) = INPUT_ONLY];

// Input only. Timestamp associated with the supplemental location.
Expand Down
6 changes: 3 additions & 3 deletions google/maps/fleetengine/v1/fleetengine.proto
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ message VehicleLocation {
// Accuracy of `speed` in meters/second.
google.protobuf.DoubleValue speed_accuracy = 7;

// The time when `location` was reported by the sensor.
// The time when `location` was reported by the sensor according to the
// sensor's clock.
google.protobuf.Timestamp update_time = 4;

// Output only. The time when the server received the location information.
Expand Down Expand Up @@ -251,8 +252,7 @@ message VehicleLocation {
// Input only. Accuracy of `raw_location` as a radius, in meters.
google.protobuf.DoubleValue raw_location_accuracy = 25 [(google.api.field_behavior) = INPUT_ONLY];

// Input only. Supplemental location provided by the integrating app, such as the location
// provided by Fused Location Provider.
// Input only. Supplemental location provided by the integrating app.
google.type.LatLng supplemental_location = 18 [(google.api.field_behavior) = INPUT_ONLY];

// Input only. Timestamp associated with the supplemental location.
Expand Down
11 changes: 5 additions & 6 deletions google/maps/fleetengine/v1/trips.proto
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,11 @@ message Trip {
// Trip.intermediate_destinations is not changed.
google.protobuf.Timestamp intermediate_destinations_version = 25;

// When `TripStatus` is `ENROUTE_TO_INTERMEDIATE_DESTINATION`, a number between
// [0..N-1] indicating which intermediate destination the vehicle will cross
// next.
// When `TripStatus` is `ARRIVED_AT_INTERMEDIATE_DESTINATION`, a number
// between [0..N-1] indicating which intermediate destination the vehicle is
// at. The provider sets this value. If there are no
// When `TripStatus` is `ENROUTE_TO_INTERMEDIATE_DESTINATION`, a number
// between [0..N-1] indicating which intermediate destination the vehicle will
// cross next. When `TripStatus` is `ARRIVED_AT_INTERMEDIATE_DESTINATION`, a
// number between [0..N-1] indicating which intermediate destination the
// vehicle is at. The provider sets this value. If there are no
// `intermediate_destinations`, this field is ignored.
int32 intermediate_destination_index = 15;

Expand Down

0 comments on commit 917762b

Please sign in to comment.