Class GrpcChannelDescriptor.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • port

        public GrpcChannelDescriptor.Builder port​(int port)
        Set the port that will be used to connect to the server.
        Parameters:
        port - the port that will be used to connect to the server
        Returns:
        this instance for fluent API
      • sslDescriptor

        public GrpcChannelDescriptor.Builder sslDescriptor​(GrpcSslDescriptor sslDescriptor)
        Set the GrpcSslDescriptor. If sslDescriptor is null or if the sslDescriptor.isEnabled() is false, then no TLS will be used.
        Parameters:
        sslDescriptor - the GrpcSslDescriptor
        Returns:
        this instance for fluent API