PredictRequest class final
Request message for
PredictionService.Predict.
- Inheritance
-
- Object
- ProtoMessage
- PredictRequest
Constructors
-
PredictRequest({required String model, required List<
Value> instances, Value? parameters}) -
PredictRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instances
→ List<
Value> -
Required. The instances that are the input to the prediction call.
final
- model → String
-
Required. The name of the model for prediction.
Format:
name=models/{model}.final - parameters → Value?
-
Optional. The parameters that govern the prediction call.
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