public static final class TraceFlags.Builder extends Object
TraceFlags.| Modifier and Type | Method and Description |
|---|---|
TraceFlags |
build()
Builds and returns a
TraceFlags with the desired options. |
TraceFlags.Builder |
setIsSampled(boolean isSampled)
Sets the sampling bit in the options.
|
public TraceFlags.Builder setIsSampled(boolean isSampled)
isSampled - the sampling bit.public TraceFlags build()
TraceFlags with the desired options.TraceFlags with the desired options.