Class V1AnnotateParams.Field.Builder
-
- All Implemented Interfaces:
public final class V1AnnotateParams.Field.BuilderA builder for Field.
-
-
Method Summary
-
-
Method Detail
-
type
final V1AnnotateParams.Field.Builder type(V1AnnotateParams.Field.Type type)
Field data type
-
type
final V1AnnotateParams.Field.Builder type(JsonField<V1AnnotateParams.Field.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
value
final V1AnnotateParams.Field.Builder value(V1AnnotateParams.Field.Value value)
Value to populate
-
value
final V1AnnotateParams.Field.Builder value(JsonField<V1AnnotateParams.Field.Value> value)
Sets Builder.value to an arbitrary JSON value.
You should usually call Builder.value with a well-typed Value value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
value
final V1AnnotateParams.Field.Builder value(String string)
Alias for calling value with
Value.ofString(string).
-
value
final V1AnnotateParams.Field.Builder value(Double number)
Alias for calling value with
Value.ofNumber(number).
-
id
final V1AnnotateParams.Field.Builder id(String id)
Target field ID (for single field)
-
id
final V1AnnotateParams.Field.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.
-
group
final V1AnnotateParams.Field.Builder group(String group)
Target field group (for multiple fields with same tag)
-
group
final V1AnnotateParams.Field.Builder group(JsonField<String> group)
Sets Builder.group to an arbitrary JSON value.
You should usually call Builder.group with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
options
final V1AnnotateParams.Field.Builder options(V1AnnotateParams.Field.Options options)
Optional configuration (e.g., image dimensions)
-
options
final V1AnnotateParams.Field.Builder options(JsonField<V1AnnotateParams.Field.Options> options)
Sets Builder.options to an arbitrary JSON value.
You should usually call Builder.options with a well-typed Options value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1AnnotateParams.Field.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1AnnotateParams.Field.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1AnnotateParams.Field.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1AnnotateParams.Field.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1AnnotateParams.Field.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1AnnotateParams.Field build()
Returns an immutable instance of Field.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type() .value()
-
-
-
-