/** Constructs an instance of SpeechClient with default settings. */ public static final SpeechClient create() throws IOException { return create(SpeechSettings.newBuilder().build()); }
@Before public void setUp() throws IOException { serviceHelper.reset(); channelProvider = serviceHelper.createChannelProvider(); SpeechSettings settings = SpeechSettings.newBuilder() .setTransportChannelProvider(channelProvider) .setCredentialsProvider(NoCredentialsProvider.create()) .build(); client = SpeechClient.create(settings); }