Package io.grpc
Class ClientStreamTracer.StreamInfo.Builder
- java.lang.Object
-
- io.grpc.ClientStreamTracer.StreamInfo.Builder
-
- Enclosing class:
- ClientStreamTracer.StreamInfo
public static final class ClientStreamTracer.StreamInfo.Builder extends java.lang.ObjectBuildsClientStreamTracer.StreamInfoobjects.- Since:
- 1.21.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientStreamTracer.StreamInfobuild()Builds a new StreamInfo.ClientStreamTracer.StreamInfo.BuildersetCallOptions(CallOptions callOptions)Sets the effective CallOptions of the call.ClientStreamTracer.StreamInfo.BuildersetTransportAttrs(Attributes transportAttrs)Sets the attributes of the transport that this stream was created on.
-
-
-
Method Detail
-
setTransportAttrs
@TransportAttr public ClientStreamTracer.StreamInfo.Builder setTransportAttrs(Attributes transportAttrs)
Sets the attributes of the transport that this stream was created on. This field is optional.
-
setCallOptions
public ClientStreamTracer.StreamInfo.Builder setCallOptions(CallOptions callOptions)
Sets the effective CallOptions of the call. This field is optional.
-
build
public ClientStreamTracer.StreamInfo build()
Builds a new StreamInfo.
-
-