@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/2861") public static final class ClientStreamTracer.StreamInfo extends Object
Note this class doesn't override equals()
and hashCode
, as is the case for
CallOptions
.
Modifier and Type | Class and Description |
---|---|
static class |
ClientStreamTracer.StreamInfo.Builder
Builds
ClientStreamTracer.StreamInfo objects. |
Modifier and Type | Method and Description |
---|---|
CallOptions |
getCallOptions()
Returns the effective CallOptions of the call.
|
int |
getPreviousAttempts()
Returns the number of preceding attempts for the RPC.
|
boolean |
isTransparentRetry()
Whether the stream is a transparent retry.
|
static ClientStreamTracer.StreamInfo.Builder |
newBuilder()
Creates an empty Builder.
|
ClientStreamTracer.StreamInfo.Builder |
toBuilder()
Converts this StreamInfo into a new Builder.
|
String |
toString() |
public CallOptions getCallOptions()
public int getPreviousAttempts()
public boolean isTransparentRetry()
public ClientStreamTracer.StreamInfo.Builder toBuilder()
public static ClientStreamTracer.StreamInfo.Builder newBuilder()