Class 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.OperationSnapshot
    Implementation of OperationSnapshot based on REST transport.

    Public for technical reasons. For internal use only.

    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.google.api.gax.longrunning.OperationSnapshot
      • getMetadata

        public java.lang.Object getMetadata()
        Specified by:
        getMetadata in interface com.google.api.gax.longrunning.OperationSnapshot
      • isDone

        public boolean isDone()
        Specified by:
        isDone in interface com.google.api.gax.longrunning.OperationSnapshot
      • getResponse

        public java.lang.Object getResponse()
        Specified by:
        getResponse in interface com.google.api.gax.longrunning.OperationSnapshot
      • getErrorCode

        public com.google.api.gax.rpc.StatusCode getErrorCode()
        Specified by:
        getErrorCode in interface com.google.api.gax.longrunning.OperationSnapshot
      • getErrorMessage

        public java.lang.String getErrorMessage()
        Specified by:
        getErrorMessage in interface com.google.api.gax.longrunning.OperationSnapshot