Class GrpcReflectionConfig.Builder
java.lang.Object
io.helidon.webserver.grpc.GrpcReflectionConfig.BuilderBase<GrpcReflectionConfig.Builder, GrpcReflectionConfig>
io.helidon.webserver.grpc.GrpcReflectionConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<GrpcReflectionConfig.Builder, GrpcReflectionConfig>, Builder<GrpcReflectionConfig.Builder, GrpcReflectionFeature>, ConfigBuilderSupport.ConfiguredBuilder<GrpcReflectionConfig.Builder, GrpcReflectionConfig>, Supplier<GrpcReflectionFeature>
- Enclosing interface:
GrpcReflectionConfig
public static class GrpcReflectionConfig.Builder
extends GrpcReflectionConfig.BuilderBase<GrpcReflectionConfig.Builder, GrpcReflectionConfig>
implements Builder<GrpcReflectionConfig.Builder, GrpcReflectionFeature>
Fluent API builder for
GrpcReflectionFeature.-
Nested Class Summary
Nested classes/interfaces inherited from class GrpcReflectionConfig.BuilderBase
GrpcReflectionConfig.BuilderBase.GrpcReflectionConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class GrpcReflectionConfig.BuilderBase
addSocket, addSockets, clearSockets, config, config, enabled, enabled, from, from, name, name, preBuildPrototype, sockets, sockets, toString, validatePrototypeModifier and TypeMethodDescriptionList of sockets to register this feature on.addSockets(Set<String> sockets) List of sockets to register this feature on.Clear all sockets.config()Configuration used to configure this instance.Update builder from configuration (node of this type).booleanenabled()This feature can be enabled.enabled(boolean enabled) This feature can be enabled.from(GrpcReflectionConfig prototype) Update this builder from an existing prototype instance.from(GrpcReflectionConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.name()Name of this instance.Name of this instance.protected voidHandles providers and decorators.sockets()List of sockets to register this feature on.List of sockets to register this feature on.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault GrpcReflectionFeatureget()default GrpcReflectionConfig.Builderidentity()Instance of this builder as the correct type.default GrpcReflectionConfig.Builderupdate(Consumer<GrpcReflectionConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault GrpcReflectionConfig.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<GrpcReflectionConfig.Builder, GrpcReflectionConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<GrpcReflectionConfig.Builder, GrpcReflectionFeature>- Returns:
- instance of the built type
-