Skip to content

Commit

Permalink
feat: A new field past_locations is added to message `.maps.fleeten…
Browse files Browse the repository at this point in the history
…gine.delivery.v1.DeliveryVehicle`

feat: A new field `past_locations` is added to message `.maps.fleetengine.v1.Vehicle`

docs: Updated documentation for field `task` in message `.maps.fleetengine.delivery.v1.CreateTaskRequest` to clarify certain fields can be optionally set.
PiperOrigin-RevId: 731478697

Source-Link: googleapis/googleapis@cdb9d3b

Source-Link: googleapis/googleapis-gen@f22d67a
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuTWFwcy5GbGVldEVuZ2luZS5EZWxpdmVyeS5WMS8uT3dsQm90LnlhbWwiLCJoIjoiZjIyZDY3YTI0ZjVmN2Q1NmMzZDA4OWNhNzk3MjdjM2JhNGVhYjA2ZiJ9
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed Feb 27, 2025
1 parent be87d8a commit a7863c7
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2380,6 +2380,12 @@ public string TaskId {
/// * `planned_location` (optional for `UNAVAILABLE` tasks)
/// * `task_duration`
///
/// The following fields can be optionally set:
///
/// * `target_time_window`
/// * `task_tracking_view_config`
/// * `attributes`
///
/// Note: The Task's `name` field is ignored. All other Task fields must not be
/// set; otherwise, an error is returned.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,12 @@ public virtual Task CreateTask(CreateTaskRequest request, gaxgrpc::CallSettings
/// * `planned_location` (optional for `UNAVAILABLE` tasks)
/// * `task_duration`
///
/// The following fields can be optionally set:
///
/// * `target_time_window`
/// * `task_tracking_view_config`
/// * `attributes`
///
/// Note: The Task's `name` field is ignored. All other Task fields must not be
/// set; otherwise, an error is returned.
/// </param>
Expand Down Expand Up @@ -891,6 +897,12 @@ public virtual Task CreateTask(string parent, Task task, string taskId, gaxgrpc:
/// * `planned_location` (optional for `UNAVAILABLE` tasks)
/// * `task_duration`
///
/// The following fields can be optionally set:
///
/// * `target_time_window`
/// * `task_tracking_view_config`
/// * `attributes`
///
/// Note: The Task's `name` field is ignored. All other Task fields must not be
/// set; otherwise, an error is returned.
/// </param>
Expand Down Expand Up @@ -935,6 +947,12 @@ public virtual Task CreateTask(string parent, Task task, string taskId, gaxgrpc:
/// * `planned_location` (optional for `UNAVAILABLE` tasks)
/// * `task_duration`
///
/// The following fields can be optionally set:
///
/// * `target_time_window`
/// * `task_tracking_view_config`
/// * `attributes`
///
/// Note: The Task's `name` field is ignored. All other Task fields must not be
/// set; otherwise, an error is returned.
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,53 +30,55 @@ static DeliveryVehiclesReflection() {
"aS9yZXNvdXJjZS5wcm90bxowZ29vZ2xlL21hcHMvZmxlZXRlbmdpbmUvZGVs",
"aXZlcnkvdjEvY29tbW9uLnByb3RvGh5nb29nbGUvcHJvdG9idWYvZHVyYXRp",
"b24ucHJvdG8aHmdvb2dsZS9wcm90b2J1Zi93cmFwcGVycy5wcm90bxoYZ29v",
"Z2xlL3R5cGUvbGF0bG5nLnByb3RvIvEGCg9EZWxpdmVyeVZlaGljbGUSDAoE",
"Z2xlL3R5cGUvbGF0bG5nLnByb3RvIsUHCg9EZWxpdmVyeVZlaGljbGUSDAoE",
"bmFtZRgBIAEoCRJMCg1sYXN0X2xvY2F0aW9uGAIgASgLMjUubWFwcy5mbGVl",
"dGVuZ2luZS5kZWxpdmVyeS52MS5EZWxpdmVyeVZlaGljbGVMb2NhdGlvbhJY",
"ChFuYXZpZ2F0aW9uX3N0YXR1cxgDIAEoDjI9Lm1hcHMuZmxlZXRlbmdpbmUu",
"ZGVsaXZlcnkudjEuRGVsaXZlcnlWZWhpY2xlTmF2aWdhdGlvblN0YXR1cxId",
"ChVjdXJyZW50X3JvdXRlX3NlZ21lbnQYBCABKAwSPAofY3VycmVudF9yb3V0",
"ZV9zZWdtZW50X2VuZF9wb2ludBgFIAEoCzITLmdvb2dsZS50eXBlLkxhdExu",
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bmUuZGVs",
"aXZlcnkudjEuVmVoaWNsZVN0b3AuU3RhdGUanQEKCFRhc2tJbmZvEg8KB3Rh",
"c2tfaWQYASABKAkSNQoNdGFza19kdXJhdGlvbhgCIAEoCzIZLmdvb2dsZS5w",
"cm90b2J1Zi5EdXJhdGlvbkID4EEDEkkKEnRhcmdldF90aW1lX3dpbmRvdxgD",
"IAEoCzIoLm1hcHMuZmxlZXRlbmdpbmUuZGVsaXZlcnkudjEuVGltZVdpbmRv",
"d0ID4EEDIkEKBVN0YXRlEhUKEVNUQVRFX1VOU1BFQ0lGSUVEEAASBwoDTkVX",
"EAESCwoHRU5ST1VURRACEgsKB0FSUklWRUQQA0KFAgonY29tLmdvb2dsZS5t",
"YXBzLmZsZWV0ZW5naW5lLmRlbGl2ZXJ5LnYxQhBEZWxpdmVyeVZlaGljbGVz",
"UAFaSWNsb3VkLmdvb2dsZS5jb20vZ28vbWFwcy9mbGVldGVuZ2luZS9kZWxp",
"dmVyeS9hcGl2MS9kZWxpdmVyeXBiO2RlbGl2ZXJ5cGKiAgRDRkVEqgIjR29v",
"Z2xlLk1hcHMuRmxlZXRFbmdpbmUuRGVsaXZlcnkuVjHKAiNHb29nbGVcTWFw",
"c1xGbGVldEVuZ2luZVxEZWxpdmVyeVxWMeoCJ0dvb2dsZTo6TWFwczo6Rmxl",
"ZXRFbmdpbmU6OkRlbGl2ZXJ5OjpWMWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Maps.FleetEngine.Delivery.V1.CommonReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, global::Google.Type.LatlngReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicle), global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicle.Parser, new[]{ "Name", "LastLocation", "NavigationStatus", "CurrentRouteSegment", "CurrentRouteSegmentEndPoint", "RemainingDistanceMeters", "RemainingDuration", "RemainingVehicleJourneySegments", "Attributes", "Type" }, null, new[]{ typeof(global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicle.Types.DeliveryVehicleType) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicle), global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicle.Parser, new[]{ "Name", "LastLocation", "PastLocations", "NavigationStatus", "CurrentRouteSegment", "CurrentRouteSegmentEndPoint", "RemainingDistanceMeters", "RemainingDuration", "RemainingVehicleJourneySegments", "Attributes", "Type" }, null, new[]{ typeof(global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicle.Types.DeliveryVehicleType) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Maps.FleetEngine.Delivery.V1.LocationInfo), global::Google.Maps.FleetEngine.Delivery.V1.LocationInfo.Parser, new[]{ "Point" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Maps.FleetEngine.Delivery.V1.VehicleJourneySegment), global::Google.Maps.FleetEngine.Delivery.V1.VehicleJourneySegment.Parser, new[]{ "Stop", "DrivingDistanceMeters", "DrivingDuration", "Path" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Maps.FleetEngine.Delivery.V1.VehicleStop), global::Google.Maps.FleetEngine.Delivery.V1.VehicleStop.Parser, new[]{ "PlannedLocation", "Tasks", "State" }, null, new[]{ typeof(global::Google.Maps.FleetEngine.Delivery.V1.VehicleStop.Types.State) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Maps.FleetEngine.Delivery.V1.VehicleStop.Types.TaskInfo), global::Google.Maps.FleetEngine.Delivery.V1.VehicleStop.Types.TaskInfo.Parser, new[]{ "TaskId", "TaskDuration", "TargetTimeWindow" }, null, null, null, null)})
Expand Down Expand Up @@ -134,6 +136,7 @@ public DeliveryVehicle() {
public DeliveryVehicle(DeliveryVehicle other) : this() {
name_ = other.name_;
lastLocation_ = other.lastLocation_ != null ? other.lastLocation_.Clone() : null;
pastLocations_ = other.pastLocations_.Clone();
navigationStatus_ = other.navigationStatus_;
currentRouteSegment_ = other.currentRouteSegment_;
currentRouteSegmentEndPoint_ = other.currentRouteSegmentEndPoint_ != null ? other.currentRouteSegmentEndPoint_.Clone() : null;
Expand Down Expand Up @@ -182,6 +185,24 @@ public string Name {
}
}

/// <summary>Field number for the "past_locations" field.</summary>
public const int PastLocationsFieldNumber = 12;
private static readonly pb::FieldCodec<global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleLocation> _repeated_pastLocations_codec
= pb::FieldCodec.ForMessage(98, global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleLocation.Parser);
private readonly pbc::RepeatedField<global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleLocation> pastLocations_ = new pbc::RepeatedField<global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleLocation>();
/// <summary>
/// Input only. Locations where this Delivery Vehicle has been in the past that
/// haven't yet been reported to Fleet Engine. This is used in
/// `UpdateDeliveryVehicleRequest` to record locations which were previously
/// unable to be sent to the server. Typically this happens when the Delivery
/// Vehicle does not have internet connectivity.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleLocation> PastLocations {
get { return pastLocations_; }
}

/// <summary>Field number for the "navigation_status" field.</summary>
public const int NavigationStatusFieldNumber = 3;
private global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleNavigationStatus navigationStatus_ = global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleNavigationStatus.UnknownNavigationStatus;
Expand Down Expand Up @@ -377,6 +398,7 @@ public bool Equals(DeliveryVehicle other) {
}
if (Name != other.Name) return false;
if (!object.Equals(LastLocation, other.LastLocation)) return false;
if(!pastLocations_.Equals(other.pastLocations_)) return false;
if (NavigationStatus != other.NavigationStatus) return false;
if (CurrentRouteSegment != other.CurrentRouteSegment) return false;
if (!object.Equals(CurrentRouteSegmentEndPoint, other.CurrentRouteSegmentEndPoint)) return false;
Expand All @@ -394,6 +416,7 @@ public override int GetHashCode() {
int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (lastLocation_ != null) hash ^= LastLocation.GetHashCode();
hash ^= pastLocations_.GetHashCode();
if (NavigationStatus != global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleNavigationStatus.UnknownNavigationStatus) hash ^= NavigationStatus.GetHashCode();
if (CurrentRouteSegment.Length != 0) hash ^= CurrentRouteSegment.GetHashCode();
if (currentRouteSegmentEndPoint_ != null) hash ^= CurrentRouteSegmentEndPoint.GetHashCode();
Expand Down Expand Up @@ -453,6 +476,7 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(80);
output.WriteEnum((int) Type);
}
pastLocations_.WriteTo(output, _repeated_pastLocations_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
Expand Down Expand Up @@ -496,6 +520,7 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(80);
output.WriteEnum((int) Type);
}
pastLocations_.WriteTo(ref output, _repeated_pastLocations_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
Expand All @@ -512,6 +537,7 @@ public int CalculateSize() {
if (lastLocation_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LastLocation);
}
size += pastLocations_.CalculateSize(_repeated_pastLocations_codec);
if (NavigationStatus != global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleNavigationStatus.UnknownNavigationStatus) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NavigationStatus);
}
Expand Down Expand Up @@ -553,6 +579,7 @@ public void MergeFrom(DeliveryVehicle other) {
}
LastLocation.MergeFrom(other.LastLocation);
}
pastLocations_.Add(other.pastLocations_);
if (other.NavigationStatus != global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicleNavigationStatus.UnknownNavigationStatus) {
NavigationStatus = other.NavigationStatus;
}
Expand Down Expand Up @@ -648,6 +675,10 @@ public void MergeFrom(pb::CodedInputStream input) {
Type = (global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicle.Types.DeliveryVehicleType) input.ReadEnum();
break;
}
case 98: {
pastLocations_.AddEntriesFrom(input, _repeated_pastLocations_codec);
break;
}
}
}
#endif
Expand Down Expand Up @@ -715,6 +746,10 @@ public void MergeFrom(pb::CodedInputStream input) {
Type = (global::Google.Maps.FleetEngine.Delivery.V1.DeliveryVehicle.Types.DeliveryVehicleType) input.ReadEnum();
break;
}
case 98: {
pastLocations_.AddEntriesFrom(ref input, _repeated_pastLocations_codec);
break;
}
}
}
}
Expand Down

0 comments on commit a7863c7

Please sign in to comment.