Class Status

java.lang.Object
com.google.cloud.bigtable.common.Status
All Implemented Interfaces:
Serializable

public final class Status extends Object implements Serializable
The `Status` type defines a logical error model. Each `Status` message contains an error code and a error message.

This primarily wraps the protobuf Status.

See Also:
  • Method Details

    • fromProto

      public static Status fromProto(com.google.rpc.Status proto)
      Wraps the given protobuf Status
    • getCode

      public Status.Code getCode()
      Gets the typesafe code.
    • getMessage

      public String getMessage()
      Gets error message.
    • toProto

      public com.google.rpc.Status toProto()
      Gets the underlying protobuf.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object