UpdateDeliveryTaskRequest
Stay organized with collections
Save and categorize content based on your preferences.
UpdateDeliveryTaskRequest contains the values that may be modified for an existing
task.
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public UpdateDeliveryTaskRequest ()
Public Methods
Returns new default Builder instance.
public abstract String getTaskId ()
Returns the unique identifier for this task for this provider.
public abstract int getTaskOutcome ()
Returns the outcome of the closed task.
public abstract Long getTaskOutcomeTimestamp ()
Returns the timestamp in milliseconds for when the task outcome was set.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eUpdateDeliveryTaskRequest\u003c/code\u003e is used to modify existing delivery tasks.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to set the task outcome and outcome timestamp.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eBuilder\u003c/code\u003e class is used to create instances of \u003ccode\u003eUpdateDeliveryTaskRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetTaskId\u003c/code\u003e method returns the unique identifier for a task.\u003c/p\u003e\n"]]],[],null,["# UpdateDeliveryTaskRequest\n\npublic abstract class **UpdateDeliveryTaskRequest** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nUpdateDeliveryTaskRequest contains the values that may be modified for an existing\ntask. \n\n### Nested Class Summary\n\n|-------|---|---|----------------------------------------------|\n| class | [UpdateDeliveryTaskRequest.Builder](/maps/documentation/mobility/driver-sdk/scheduled/reference/driver_6/android/reference/com/google/android/libraries/mapsplatform/transportation/driver/api/delivery/data/UpdateDeliveryTaskRequest.Builder) || Builder class for UpdateDeliveryTaskRequest. |\n\n### Public Constructor Summary\n\n|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [UpdateDeliveryTaskRequest](/maps/documentation/mobility/driver-sdk/scheduled/reference/driver_6/android/reference/com/google/android/libraries/mapsplatform/transportation/driver/api/delivery/data/UpdateDeliveryTaskRequest#UpdateDeliveryTaskRequest())() |\n\n### Public Method Summary\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [UpdateDeliveryTaskRequest.Builder](/maps/documentation/mobility/driver-sdk/scheduled/reference/driver_6/android/reference/com/google/android/libraries/mapsplatform/transportation/driver/api/delivery/data/UpdateDeliveryTaskRequest.Builder) | [builder](/maps/documentation/mobility/driver-sdk/scheduled/reference/driver_6/android/reference/com/google/android/libraries/mapsplatform/transportation/driver/api/delivery/data/UpdateDeliveryTaskRequest#builder(java.lang.String))([String](//developer.android.com/reference/java/lang/String.html) taskId) Returns new default Builder instance. |\n| abstract [String](//developer.android.com/reference/java/lang/String.html) | [getTaskId](/maps/documentation/mobility/driver-sdk/scheduled/reference/driver_6/android/reference/com/google/android/libraries/mapsplatform/transportation/driver/api/delivery/data/UpdateDeliveryTaskRequest#getTaskId())() Returns the unique identifier for this task for this provider. |\n| abstract int | [getTaskOutcome](/maps/documentation/mobility/driver-sdk/scheduled/reference/driver_6/android/reference/com/google/android/libraries/mapsplatform/transportation/driver/api/delivery/data/UpdateDeliveryTaskRequest#getTaskOutcome())() Returns the outcome of the closed task. |\n| abstract [Long](//developer.android.com/reference/java/lang/Long.html) | [getTaskOutcomeTimestamp](/maps/documentation/mobility/driver-sdk/scheduled/reference/driver_6/android/reference/com/google/android/libraries/mapsplatform/transportation/driver/api/delivery/data/UpdateDeliveryTaskRequest#getTaskOutcomeTimestamp())() Returns the timestamp in milliseconds for when the task outcome was set. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public **UpdateDeliveryTaskRequest** ()\n\nPublic Methods\n--------------\n\n#### public static [UpdateDeliveryTaskRequest.Builder](/maps/documentation/mobility/driver-sdk/scheduled/reference/driver_6/android/reference/com/google/android/libraries/mapsplatform/transportation/driver/api/delivery/data/UpdateDeliveryTaskRequest.Builder) **builder** ([String](//developer.android.com/reference/java/lang/String.html) taskId)\n\nReturns new default Builder instance. \n\n#### public abstract [String](//developer.android.com/reference/java/lang/String.html) **getTaskId** ()\n\nReturns the unique identifier for this task for this provider. \n\n#### public abstract int **getTaskOutcome** ()\n\nReturns the outcome of the closed task. \n\n#### public abstract [Long](//developer.android.com/reference/java/lang/Long.html) **getTaskOutcomeTimestamp** ()\n\nReturns the timestamp in milliseconds for when the task outcome was set."]]