PredictResponse class final
Response message for
PredictionService.Predict.
- Inheritance
-
- Object
- ProtoMessage
- PredictResponse
Constructors
-
PredictResponse({List<
Value> predictions = const [], String deployedModelId = '', String model = '', String modelVersionId = '', String modelDisplayName = '', Value? metadata}) - PredictResponse.fromJson(Object? j)
-
factory
Properties
- deployedModelId → String
-
ID of the Endpoint's DeployedModel that served this prediction.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → Value?
-
Output only. Request-level metadata returned by the model. The metadata
type will be dependent upon the model implementation.
final
- model → String
-
Output only. The resource name of the Model which is deployed as the
DeployedModel that this prediction hits.
final
- modelDisplayName → String
-
Output only. The
google.cloud.aiplatform.v1beta1.Model.display_nameof the Model which is deployed as the DeployedModel that this prediction hits.final - modelVersionId → String
-
Output only. The version ID of the Model which is deployed as the
DeployedModel that this prediction hits.
final
-
predictions
→ List<
Value> -
The predictions that are the output of the predictions call.
The schema of any single prediction may be specified via Endpoint's
DeployedModels'
google.cloud.aiplatform.v1beta1.DeployedModel.modelgoogle.cloud.aiplatform.v1beta1.Model.predict_schemataprediction_schema_uri.final - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String