Package com.google.genai.types
Class CustomMetadata.Builder
java.lang.Object
com.google.genai.types.CustomMetadata.Builder
- Enclosing class:
- CustomMetadata
Builder for CustomMetadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract CustomMetadatabuild()clearKey()Clears the value of key field.Clears the value of numericValue field.Clears the value of stringListValue field.Clears the value of stringValue field.abstract CustomMetadata.BuilderSetter for key.abstract CustomMetadata.BuildernumericValue(Float numericValue) Setter for numericValue.abstract CustomMetadata.BuilderstringListValue(StringList stringListValue) Setter for stringListValue.stringListValue(StringList.Builder stringListValueBuilder) Setter for stringListValue builder.abstract CustomMetadata.BuilderstringValue(String stringValue) Setter for stringValue.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Setter for key.key: Required. The key of the metadata to store.
-
clearKey
Clears the value of key field. -
numericValue
Setter for numericValue.numericValue: The numeric value of the metadata to store.
-
clearNumericValue
Clears the value of numericValue field. -
stringListValue
Setter for stringListValue.stringListValue: The StringList value of the metadata to store.
-
stringListValue
@CanIgnoreReturnValue public CustomMetadata.Builder stringListValue(StringList.Builder stringListValueBuilder) Setter for stringListValue builder.stringListValue: The StringList value of the metadata to store.
-
clearStringListValue
Clears the value of stringListValue field. -
stringValue
Setter for stringValue.stringValue: The string value of the metadata to store.
-
clearStringValue
Clears the value of stringValue field. -
build
-