public final class Status extends Object
This primarily wraps the protobuf Status.
| Modifier and Type | Class and Description |
|---|---|
static class |
Status.Code |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static Status |
fromProto(com.google.rpc.Status proto)
Wraps the given protobuf Status
|
Status.Code |
getCode()
Gets the typesafe code.
|
String |
getMessage()
Gets error message.
|
int |
hashCode() |
com.google.rpc.Status |
toProto()
Gets the underlying protobuf.
|
String |
toString() |
public static Status fromProto(com.google.rpc.Status proto)
public Status.Code getCode()
public String getMessage()
public com.google.rpc.Status toProto()
Copyright © 2021 Google LLC. All rights reserved.