Class GrpcClientBuilder<C>

java.lang.Object
io.vertx.reactivex.grpc.client.GrpcClientBuilder<C>
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class GrpcClientBuilder<C> extends Object implements io.vertx.lang.rx.RxDelegate
A builder for GrpcClient.

NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<GrpcClientBuilder> __TYPE_ARG
    • __typeArg_0

      public final io.vertx.lang.rx.TypeArg<C> __typeArg_0
  • Constructor Details

    • GrpcClientBuilder

      public GrpcClientBuilder(GrpcClientBuilder delegate)
    • GrpcClientBuilder

      public GrpcClientBuilder(Object delegate, io.vertx.lang.rx.TypeArg<C> typeArg_0)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDelegate

      public GrpcClientBuilder getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • with

      public GrpcClientBuilder<C> with(GrpcClientOptions options)
      Configure the client options.
      Parameters:
      options - the client options
      Returns:
      a reference to this, so the API can be used fluently
    • with

      public GrpcClientBuilder<C> with(HttpClientOptions transportOptions)
      Configure the client HTTP transport options.
      Parameters:
      transportOptions - the client transport options
      Returns:
      a reference to this, so the API can be used fluently
    • with

      public GrpcClientBuilder<C> with(HttpClientConfig transportConfig)
      Configure the client HTTP transport options.
      Parameters:
      transportConfig - the client transport options
      Returns:
      a reference to this, so the API can be used fluently
    • with

      public GrpcClientBuilder<C> with(ClientSSLOptions sslOptions)
      Configure the client HTTP transport options.
      Parameters:
      sslOptions - the client transport options
      Returns:
      a reference to this, so the API can be used fluently
    • build

      public C build()
      Build and return the client.
      Returns:
      the client as configured by this builder
    • withAddressResolver

      public GrpcClientBuilder<C> withAddressResolver(AddressResolver resolver)
      Configure the client to use a specific address resolver.
      Parameters:
      resolver - the address resolver
      Returns:
    • withLoadBalancer

      public GrpcClientBuilder<C> withLoadBalancer(LoadBalancer loadBalancer)
      Configure the client to use a load balancer.
      Parameters:
      loadBalancer - the load balancer
      Returns:
    • newInstance

      public static <C> GrpcClientBuilder<C> newInstance(GrpcClientBuilder arg)
    • newInstance

      public static <C> GrpcClientBuilder<C> newInstance(GrpcClientBuilder arg, io.vertx.lang.rx.TypeArg<C> __typeArg_C)