Class TestEvaluateParams.Body.Builder
-
- All Implemented Interfaces:
public final class TestEvaluateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
endTimestamp
final TestEvaluateParams.Body.Builder endTimestamp(Long endTimestamp)
End timestamp in seconds (Unix epoch)
-
endTimestamp
final TestEvaluateParams.Body.Builder endTimestamp(JsonField<Long> endTimestamp)
Sets Builder.endTimestamp to an arbitrary JSON value.
You should usually call Builder.endTimestamp with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startTimestamp
final TestEvaluateParams.Body.Builder startTimestamp(Long startTimestamp)
Start timestamp in seconds (Unix epoch)
-
startTimestamp
final TestEvaluateParams.Body.Builder startTimestamp(JsonField<Long> startTimestamp)
Sets Builder.startTimestamp to an arbitrary JSON value.
You should usually call Builder.startTimestamp with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inferencePipelineId
final TestEvaluateParams.Body.Builder inferencePipelineId(String inferencePipelineId)
ID of the inference pipeline to evaluate. If not provided, all inference pipelines the test applies to will be evaluated.
-
inferencePipelineId
final TestEvaluateParams.Body.Builder inferencePipelineId(JsonField<String> inferencePipelineId)
Sets Builder.inferencePipelineId to an arbitrary JSON value.
You should usually call Builder.inferencePipelineId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
overwriteResults
final TestEvaluateParams.Body.Builder overwriteResults(Boolean overwriteResults)
Whether to overwrite existing test results
-
overwriteResults
final TestEvaluateParams.Body.Builder overwriteResults(JsonField<Boolean> overwriteResults)
Sets Builder.overwriteResults to an arbitrary JSON value.
You should usually call Builder.overwriteResults with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TestEvaluateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TestEvaluateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TestEvaluateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TestEvaluateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TestEvaluateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TestEvaluateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.endTimestamp() .startTimestamp()
-
-
-
-