@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2861") public static final class ClientStreamTracer.StreamInfo extends java.lang.Object
Note this class doesn't override equals()
and hashCode
, as is the case for
CallOptions
.
Modifier and Type | Class | Description |
---|---|---|
static class |
ClientStreamTracer.StreamInfo.Builder |
Builds
ClientStreamTracer.StreamInfo objects. |
Modifier and Type | Method | Description |
---|---|---|
CallOptions |
getCallOptions() |
Returns the effective CallOptions of the call.
|
Attributes |
getTransportAttrs() |
Returns the attributes of the transport that this stream was created on.
|
static ClientStreamTracer.StreamInfo.Builder |
newBuilder() |
Creates an empty Builder.
|
ClientStreamTracer.StreamInfo.Builder |
toBuilder() |
Converts this StreamInfo into a new Builder.
|
java.lang.String |
toString() |
@TransportAttr public Attributes getTransportAttrs()
public CallOptions getCallOptions()
public ClientStreamTracer.StreamInfo.Builder toBuilder()
public static ClientStreamTracer.StreamInfo.Builder newBuilder()
public java.lang.String toString()
toString
in class java.lang.Object