io.vertx.grpc

## Class VertxChannelBuilder

- java.lang.Object
- - io.grpc.ManagedChannelBuilder<VertxChannelBuilder>
  - - io.vertx.grpc.VertxChannelBuilder

-     public class VertxChannelBuilder
      extends io.grpc.ManagedChannelBuilder<VertxChannelBuilder>

  Author:
    Julien Viet

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `io.grpc.ManagedChannel` | `build()`
    `VertxChannelBuilder` | `compressorRegistry(io.grpc.CompressorRegistry registry)`
    `VertxChannelBuilder` | `decompressorRegistry(io.grpc.DecompressorRegistry registry)`
    `VertxChannelBuilder` | `directExecutor()`
    `VertxChannelBuilder` | `executor(Executor executor)`
    `static VertxChannelBuilder` | `forAddress(Vertx vertx, SocketAddress address)`
    `static VertxChannelBuilder` | `forAddress(Vertx vertx, String host, int port)`
    `static VertxChannelBuilder` | `forTarget(Vertx vertx, String target)`
    `VertxChannelBuilder` | `idleTimeout(long value, TimeUnit unit)`
    `VertxChannelBuilder` | `intercept(io.grpc.ClientInterceptor... interceptors)`
    `VertxChannelBuilder` | `intercept(List<io.grpc.ClientInterceptor> interceptors)`
    `VertxChannelBuilder` | `loadBalancerFactory(io.grpc.LoadBalancer.Factory loadBalancerFactory)`
    `VertxChannelBuilder` | `maxInboundMessageSize(int max)`
    `VertxChannelBuilder` | `nameResolverFactory(io.grpc.NameResolver.Factory resolverFactory)`
    `VertxChannelBuilder` | `overrideAuthority(String authority)`
    `VertxChannelBuilder` | `usePlaintext(boolean skipNegotiation)`
    `VertxChannelBuilder` | `userAgent(String userAgent)`
    `VertxChannelBuilder` | `useSsl(Handler<ClientOptionsBase> handler)`

    - ### Methods inherited from class io.grpc.ManagedChannelBuilder

      `forAddress, forTarget`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### forTarget

          public static VertxChannelBuilder forTarget(Vertx vertx,
                                                      String target)

    - #### forAddress

          public static VertxChannelBuilder forAddress(Vertx vertx,
                                                       String host,
                                                       int port)

    - #### forAddress

          public static VertxChannelBuilder forAddress(Vertx vertx,
                                                       SocketAddress address)

    - #### directExecutor

          public VertxChannelBuilder directExecutor()

      Specified by:
        `directExecutor` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### executor

          public VertxChannelBuilder executor(Executor executor)

      Specified by:
        `executor` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### intercept

          public VertxChannelBuilder intercept(List<io.grpc.ClientInterceptor> interceptors)

      Specified by:
        `intercept` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### intercept

          public VertxChannelBuilder intercept(io.grpc.ClientInterceptor... interceptors)

      Specified by:
        `intercept` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### userAgent

          public VertxChannelBuilder userAgent(String userAgent)

      Specified by:
        `userAgent` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### overrideAuthority

          public VertxChannelBuilder overrideAuthority(String authority)

      Specified by:
        `overrideAuthority` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### usePlaintext

          public VertxChannelBuilder usePlaintext(boolean skipNegotiation)

      Specified by:
        `usePlaintext` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### nameResolverFactory

          public VertxChannelBuilder nameResolverFactory(io.grpc.NameResolver.Factory resolverFactory)

      Specified by:
        `nameResolverFactory` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### loadBalancerFactory

          public VertxChannelBuilder loadBalancerFactory(io.grpc.LoadBalancer.Factory loadBalancerFactory)

      Specified by:
        `loadBalancerFactory` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### decompressorRegistry

          public VertxChannelBuilder decompressorRegistry(io.grpc.DecompressorRegistry registry)

      Specified by:
        `decompressorRegistry` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### compressorRegistry

          public VertxChannelBuilder compressorRegistry(io.grpc.CompressorRegistry registry)

      Specified by:
        `compressorRegistry` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### idleTimeout

          public VertxChannelBuilder idleTimeout(long value,
                                                 TimeUnit unit)

      Specified by:
        `idleTimeout` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### maxInboundMessageSize

          public VertxChannelBuilder maxInboundMessageSize(int max)

      Overrides:
        `maxInboundMessageSize` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

    - #### useSsl

          public VertxChannelBuilder useSsl(Handler<ClientOptionsBase> handler)

    - #### build

          public io.grpc.ManagedChannel build()

      Specified by:
        `build` in class `io.grpc.ManagedChannelBuilder<VertxChannelBuilder>`

Copyright © 2017. All rights reserved.