Class WatchPredictResponse.Builder
-
- All Implemented Interfaces:
public final class WatchPredictResponse.Builder
A builder for WatchPredictResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final WatchPredictResponse.Builder id(String id)
The prediction identifier.
-
id
final WatchPredictResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
prediction
final WatchPredictResponse.Builder prediction(WatchPredictResponse.Prediction prediction)
The prediction outcome.
-
prediction
final WatchPredictResponse.Builder prediction(JsonField<WatchPredictResponse.Prediction> prediction)
Sets Builder.prediction to an arbitrary JSON value.
You should usually call Builder.prediction with a well-typed Prediction value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
requestId
final WatchPredictResponse.Builder requestId(String requestId)
A string that identifies this specific request. Report it back to us to help us diagnose your issues.
-
requestId
final WatchPredictResponse.Builder requestId(JsonField<String> requestId)
Sets Builder.requestId to an arbitrary JSON value.
You should usually call Builder.requestId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WatchPredictResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WatchPredictResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WatchPredictResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WatchPredictResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WatchPredictResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WatchPredictResponse build()
Returns an immutable instance of WatchPredictResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .prediction() .requestId()
-
-
-
-