@Test public void transportExecutor() { AndroidChannelBuilder.forTarget("target") .transportExecutor( new Executor() { @Override public void execute(Runnable r) {} }); }
@Deprecated public AndroidChannelBuilder transportExecutor(@Nullable Executor transportExecutor) { try { OKHTTP_CHANNEL_BUILDER_CLASS .getMethod("transportExecutor", Executor.class) .invoke(delegateBuilder, transportExecutor); return this; } catch (Exception e) { throw new RuntimeException("Failed to invoke transportExecutor on delegate builder", e); } }
AndroidChannelBuilder extends ForwardingChannelBuilder<AndroidChannelBuilder> { @Deprecated public AndroidChannelBuilder transportExecutor(@Nullable Executor transportExecutor) { try { OKHTTP_CHANNEL_BUILDER_CLASS .getMethod("transportExecutor", Executor.class) .invoke(delegateBuilder, transportExecutor); return this; } catch (Exception e) { throw new RuntimeException("Failed to invoke transportExecutor on delegate builder", e); } } }
AndroidChannelBuilder extends ForwardingChannelBuilder<AndroidChannelBuilder> { @Deprecated public AndroidChannelBuilder transportExecutor(@Nullable Executor transportExecutor) { try { OKHTTP_CHANNEL_BUILDER_CLASS .getMethod("transportExecutor", Executor.class) .invoke(delegateBuilder, transportExecutor); return this; } catch (Exception e) { throw new RuntimeException("Failed to invoke transportExecutor on delegate builder", e); } } private  AndroidChannelBuilder(String target); private  AndroidChannelBuilder(ManagedChannelBuilder<?> delegateBuilder); }
AndroidChannelBuilder extends ForwardingChannelBuilder<AndroidChannelBuilder> { @Deprecated public AndroidChannelBuilder transportExecutor(@Nullable Executor transportExecutor) { try { OKHTTP_CHANNEL_BUILDER_CLASS .getMethod("transportExecutor", Executor.class) .invoke(delegateBuilder, transportExecutor); return this; } catch (Exception e) { throw new RuntimeException("Failed to invoke transportExecutor on delegate builder", e); } } private  AndroidChannelBuilder(String target); private  AndroidChannelBuilder(ManagedChannelBuilder<?> delegateBuilder); static final AndroidChannelBuilder forTarget(String target); static AndroidChannelBuilder forAddress(String name, int port); static AndroidChannelBuilder fromBuilder(ManagedChannelBuilder<?> builder); AndroidChannelBuilder context(Context context); @Deprecated AndroidChannelBuilder transportExecutor(@Nullable Executor transportExecutor); @Deprecated AndroidChannelBuilder sslSocketFactory(SSLSocketFactory factory); @Deprecated AndroidChannelBuilder scheduledExecutorService(
      ScheduledExecutorService scheduledExecutorService); @Override ManagedChannel build(); }
AndroidChannelBuilder extends ForwardingChannelBuilder<AndroidChannelBuilder> { @Deprecated public AndroidChannelBuilder transportExecutor(@Nullable Executor transportExecutor) { try { OKHTTP_CHANNEL_BUILDER_CLASS .getMethod("transportExecutor", Executor.class) .invoke(delegateBuilder, transportExecutor); return this; } catch (Exception e) { throw new RuntimeException("Failed to invoke transportExecutor on delegate builder", e); } } private  AndroidChannelBuilder(String target); private  AndroidChannelBuilder(ManagedChannelBuilder<?> delegateBuilder); static final AndroidChannelBuilder forTarget(String target); static AndroidChannelBuilder forAddress(String name, int port); static AndroidChannelBuilder fromBuilder(ManagedChannelBuilder<?> builder); AndroidChannelBuilder context(Context context); @Deprecated AndroidChannelBuilder transportExecutor(@Nullable Executor transportExecutor); @Deprecated AndroidChannelBuilder sslSocketFactory(SSLSocketFactory factory); @Deprecated AndroidChannelBuilder scheduledExecutorService(
      ScheduledExecutorService scheduledExecutorService); @Override ManagedChannel build();  }