public final BidiStreamingCallable<StreamingRawPredictRequest, StreamingRawPredictResponse>
      streamingRawPredictCallable() {
    return stub.streamingRawPredictCallable();
  }
Perform a streaming online prediction request through gRPC.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
  BidiStream<StreamingRawPredictRequest, StreamingRawPredictResponse> bidiStream =
      predictionServiceClient.streamingRawPredictCallable().call();
  StreamingRawPredictRequest request =
      StreamingRawPredictRequest.newBuilder()
          .setEndpoint(
              EndpointName.ofProjectLocationEndpointName(
                      "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
                  .toString())
          .setMethodName("methodName-723163380")
          .setInput(ByteString.EMPTY)
          .build();
  bidiStream.send(request);
  for (StreamingRawPredictResponse response : bidiStream) {
    // Do something when a response is received.
  }
}
}</pre>
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/PredictionServiceClient.java