@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") @InternalApi public class HttpJsonOperationSnapshot extends Object implements com.google.api.gax.longrunning.OperationSnapshot
Public for technical reasons. For internal use only.
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpJsonOperationSnapshot.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HttpJsonOperationSnapshot |
create(com.google.longrunning.Operation operation) |
com.google.api.gax.rpc.StatusCode |
getErrorCode() |
String |
getErrorMessage() |
Object |
getMetadata() |
String |
getName() |
Object |
getResponse() |
boolean |
isDone() |
static HttpJsonOperationSnapshot.Builder |
newBuilder() |
public String getName()
getName in interface com.google.api.gax.longrunning.OperationSnapshotpublic Object getMetadata()
getMetadata in interface com.google.api.gax.longrunning.OperationSnapshotpublic boolean isDone()
isDone in interface com.google.api.gax.longrunning.OperationSnapshotpublic Object getResponse()
getResponse in interface com.google.api.gax.longrunning.OperationSnapshotpublic com.google.api.gax.rpc.StatusCode getErrorCode()
getErrorCode in interface com.google.api.gax.longrunning.OperationSnapshotpublic String getErrorMessage()
getErrorMessage in interface com.google.api.gax.longrunning.OperationSnapshotpublic static HttpJsonOperationSnapshot create(com.google.longrunning.Operation operation)
public static HttpJsonOperationSnapshot.Builder newBuilder()