Interface GrpcClientBuilder<C>

    • Method Detail

      • with

        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

        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
      • withAddressResolver

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

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

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