Class TestEvaluateResponse.Task.Builder
-
- All Implemented Interfaces:
public final class TestEvaluateResponse.Task.BuilderA builder for Task.
-
-
Method Summary
-
-
Method Detail
-
pipelineId
final TestEvaluateResponse.Task.Builder pipelineId(String pipelineId)
ID of the inference pipeline this task is for
-
pipelineId
final TestEvaluateResponse.Task.Builder pipelineId(JsonField<String> pipelineId)
Sets Builder.pipelineId to an arbitrary JSON value.
You should usually call Builder.pipelineId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
taskResultId
final TestEvaluateResponse.Task.Builder taskResultId(String taskResultId)
ID of the background task
-
taskResultId
final TestEvaluateResponse.Task.Builder taskResultId(JsonField<String> taskResultId)
Sets Builder.taskResultId to an arbitrary JSON value.
You should usually call Builder.taskResultId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
taskResultUrl
final TestEvaluateResponse.Task.Builder taskResultUrl(String taskResultUrl)
URL to check the status of this background task
-
taskResultUrl
final TestEvaluateResponse.Task.Builder taskResultUrl(JsonField<String> taskResultUrl)
Sets Builder.taskResultUrl to an arbitrary JSON value.
You should usually call Builder.taskResultUrl 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 TestEvaluateResponse.Task.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TestEvaluateResponse.Task.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TestEvaluateResponse.Task.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TestEvaluateResponse.Task.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TestEvaluateResponse.Task.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TestEvaluateResponse.Task build()
Returns an immutable instance of Task.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.pipelineId() .taskResultId() .taskResultUrl()
-
-
-
-