public UnaryCallSettings.Builder<DirectPredictRequest, DirectPredictResponse>
        directPredictSettings() {
      return getStubSettingsBuilder().directPredictSettings();
    }
Returns the builder for the settings used for calls to directPredict.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/PredictionServiceSettings.java