Class PredictionServiceGrpc.PredictionServiceBlockingStub

    • Method Detail

      • rawPredict

        public com.google.api.HttpBody rawPredict​(RawPredictRequest request)
         Perform an online prediction with an arbitrary HTTP payload.
         The response includes the following HTTP headers:
         * `X-Vertex-AI-Endpoint-Id`: ID of the
         [Endpoint][google.cloud.aiplatform.v1beta1.Endpoint] that served this
         prediction.
         * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's
         [DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel] that served
         this prediction.
         
      • explain

        public ExplainResponse explain​(ExplainRequest request)
         Perform an online explanation.
         If
         [deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id]
         is specified, the corresponding DeployModel must have
         [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec]
         populated. If
         [deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id]
         is not specified, all DeployedModels must have
         [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec]
         populated.