Class GrpcConfig.Builder

All Implemented Interfaces:
Prototype.Builder<GrpcConfig.Builder, GrpcConfig>, Builder<GrpcConfig.Builder, GrpcConfig>, ConfigBuilderSupport.ConfiguredBuilder<GrpcConfig.Builder, GrpcConfig>, Supplier<GrpcConfig>
Enclosing interface:
GrpcConfig

public static class GrpcConfig.Builder extends GrpcConfig.BuilderBase<GrpcConfig.Builder, GrpcConfig> implements Builder<GrpcConfig.Builder, GrpcConfig>
Fluent API builder for GrpcConfig.
  • Method Details

    • buildPrototype

      public GrpcConfig 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:
      buildPrototype in interface Prototype.Builder<GrpcConfig.Builder, GrpcConfig>
      Returns:
      an instance of the setup object created from this builder
    • build

      public GrpcConfig 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:
      build in interface Builder<GrpcConfig.Builder, GrpcConfig>
      Returns:
      instance of the built type