| Package | Description | 
|---|---|
| com.google.api.services.drive.model | 
| Modifier and Type | Method and Description | 
|---|---|
Status | 
Status.clone()  | 
Status | 
Operation.getError()
The error result of the operation in case of failure or cancellation. 
 | 
Status | 
Status.set(String fieldName,
   Object value)  | 
Status | 
Status.setCode(Integer code)
The status code, which should be an enum value of google.rpc.Code. 
 | 
Status | 
Status.setDetails(List<Map<String,Object>> details)
A list of messages that carry the error details. 
 | 
Status | 
Status.setMessage(String message)
A developer-facing error message, which should be in English. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Operation | 
Operation.setError(Status error)
The error result of the operation in case of failure or cancellation. 
 | 
Copyright © 2011–2025 Google. All rights reserved.