@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.
|
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.
|
String |
toString() |
@Grpc.TransportAttr public Attributes getTransportAttrs()
public CallOptions getCallOptions()
public ClientStreamTracer.StreamInfo.Builder toBuilder()
public static ClientStreamTracer.StreamInfo.Builder newBuilder()