public static final class ClientStreamTracer.StreamInfo.Builder extends Object
ClientStreamTracer.StreamInfo
objects.Modifier and Type | Method and Description |
---|---|
ClientStreamTracer.StreamInfo |
build()
Builds a new StreamInfo.
|
ClientStreamTracer.StreamInfo.Builder |
setCallOptions(CallOptions callOptions)
Sets the effective CallOptions of the call.
|
ClientStreamTracer.StreamInfo.Builder |
setIsTransparentRetry(boolean isTransparentRetry)
Sets whether the stream is a transparent retry.
|
ClientStreamTracer.StreamInfo.Builder |
setPreviousAttempts(int previousAttempts)
Set the number of preceding attempts of the RPC.
|
ClientStreamTracer.StreamInfo.Builder |
setTransportAttrs(Attributes transportAttrs)
Deprecated.
Use
ClientStreamTracer.streamCreated(Attributes, Metadata) to handle
the transport Attributes instead. |
@Deprecated public ClientStreamTracer.StreamInfo.Builder setTransportAttrs(@Grpc.TransportAttr Attributes transportAttrs)
ClientStreamTracer.streamCreated(Attributes, Metadata)
to handle
the transport Attributes instead.public ClientStreamTracer.StreamInfo.Builder setCallOptions(CallOptions callOptions)
public ClientStreamTracer.StreamInfo.Builder setPreviousAttempts(int previousAttempts)
public ClientStreamTracer.StreamInfo.Builder setIsTransparentRetry(boolean isTransparentRetry)
public ClientStreamTracer.StreamInfo build()