Class GrpcClientBuilder<C>


  • public class GrpcClientBuilder<C>
    extends Object
    A builder for GrpcClient.

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

    • Field Detail

      • __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 Detail

      • GrpcClientBuilder

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

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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
      • 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: