- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
GrpcTracingConfig.BuilderBase.GrpcTracingConfigImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Fluent API builder forGrpcTracingConfig
.static class
GrpcTracingConfig.BuilderBase<BUILDER extends GrpcTracingConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends GrpcTracingConfig> Fluent API builder base forGrpcTracingConfig
. -
Method Summary
Modifier and TypeMethodDescriptionstatic GrpcTracingConfig.Builder
builder()
Create a new fluent API builder to customize configuration.static GrpcTracingConfig.Builder
builder
(GrpcTracingConfig instance) Create a new fluent API builder from an existing instance.static GrpcTracingConfig
create()
Create a new instance with default values.static GrpcTracingConfig
Create a new instance from configuration.boolean
enabled()
A flag indicating if tracing is enabled.Operation name constructor.boolean
A flag indicating streaming logging.Set of attributes to trace.boolean
verbose()
A flag indicating verbose logging.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance
- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
enabled
boolean enabled()A flag indicating if tracing is enabled. -
verbose
boolean verbose()A flag indicating verbose logging. -
streaming
boolean streaming()A flag indicating streaming logging. -
operationNameConstructor
Optional<GrpcTracingName> operationNameConstructor()Operation name constructor.- Returns:
- the tracing name
-
tracedAttributes
Set<ServerRequestAttribute> tracedAttributes()Set of attributes to trace.- Returns:
- set of attributes to trace
-