MCPcopy Index your code
hub / github.com/grpc/grpc-java / hasValue

Method hasValue

api/src/main/java/io/grpc/StatusOr.java:49–51  ·  view source on GitHub ↗

Returns whether there is a value.

()

Source from the content-addressed store, hash-verified

47
48 /** Returns whether there is a value. */
49 public boolean hasValue() {
50 return status == null;
51 }
52
53 /**
54 * Returns the value if set or throws exception if there is no value set. This method is meant

Callers 15

equalsMethod · 0.95
runMethod · 0.45
onResult2Method · 0.45
doResolveMethod · 0.45
onResultMethod · 0.45
getEagsOrThrowMethod · 0.45
clientBasicMetricsMethod · 0.45
recordAttemptMetricsMethod · 0.45
serverBasicMetricsMethod · 0.45

Calls

no outgoing calls