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