Package com.google.api.gax.httpjson
Class HttpJsonOperationSnapshot
- java.lang.Object
-
- com.google.api.gax.httpjson.HttpJsonOperationSnapshot
-
- All Implemented Interfaces:
com.google.api.gax.longrunning.OperationSnapshot
@BetaApi @InternalApi public class HttpJsonOperationSnapshot extends java.lang.Object implements com.google.api.gax.longrunning.OperationSnapshotImplementation of OperationSnapshot based on REST transport.Public for technical reasons. For internal use only.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpJsonOperationSnapshot.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpJsonOperationSnapshotcreate(com.google.longrunning.Operation operation)com.google.api.gax.rpc.StatusCodegetErrorCode()java.lang.StringgetErrorMessage()java.lang.ObjectgetMetadata()java.lang.StringgetName()java.lang.ObjectgetResponse()booleanisDone()static HttpJsonOperationSnapshot.BuildernewBuilder()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacecom.google.api.gax.longrunning.OperationSnapshot
-
getMetadata
public java.lang.Object getMetadata()
- Specified by:
getMetadatain interfacecom.google.api.gax.longrunning.OperationSnapshot
-
isDone
public boolean isDone()
- Specified by:
isDonein interfacecom.google.api.gax.longrunning.OperationSnapshot
-
getResponse
public java.lang.Object getResponse()
- Specified by:
getResponsein interfacecom.google.api.gax.longrunning.OperationSnapshot
-
getErrorCode
public com.google.api.gax.rpc.StatusCode getErrorCode()
- Specified by:
getErrorCodein interfacecom.google.api.gax.longrunning.OperationSnapshot
-
getErrorMessage
public java.lang.String getErrorMessage()
- Specified by:
getErrorMessagein interfacecom.google.api.gax.longrunning.OperationSnapshot
-
create
public static HttpJsonOperationSnapshot create(com.google.longrunning.Operation operation)
-
newBuilder
public static HttpJsonOperationSnapshot.Builder newBuilder()
-
-