Package com.google.genai.types
Class ControlReferenceConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ControlReferenceConfig
Configuration for a Control reference image.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for ControlReferenceConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for ControlReferenceConfig.abstract Optional<ControlReferenceType>
The type of control reference image to use.Defaults to False.static ControlReferenceConfig
Deserializes a JSON string to a ControlReferenceConfig object.abstract ControlReferenceConfig.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
ControlReferenceConfig
public ControlReferenceConfig()
-
-
Method Details
-
controlType
The type of control reference image to use. -
enableControlImageComputation
Defaults to False. When set to True, the control image will be computed by the model based on the control type. When set to False, the control image must be provided by the user. -
builder
Instantiates a builder for ControlReferenceConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ControlReferenceConfig object.
-