public abstract class TripUpdateError extends Object
Contains metadata of a failed trip update.
Nested Class Summary
class | TripUpdateError.Builder | Builds
TripUpdateError instance. |
Constant Summary
long | DEFAULT_EVENT_DURATION | If update event duration wasn't recorded,
0 will be returned when calling
getDurationMillis() . |
Public Constructor Summary
Public Method Summary
static TripUpdateError.Builder |
builder()
|
abstract long |
getDurationMillis()
Gets elapsed time from the start of the update event to the error.
|
abstract String |
getMessage()
Gets error message.
|
abstract Status.Code |
getStatusCode()
Gets gRPC call status code.
|
abstract TripUpdateError.Builder |
Inherited Method Summary
Constants
public static final long DEFAULT_EVENT_DURATION
If update event duration wasn't recorded, 0
will be returned when
calling
getDurationMillis()
.
Constant Value: 0
Public Constructors
public TripUpdateError ()
Public Methods
public static TripUpdateError.Builder builder ()
public abstract long getDurationMillis ()
Gets elapsed time from the start of the update event to the error.
public abstract String getMessage ()
Gets error message.
public abstract Status.Code getStatusCode ()
Gets gRPC call status code.