Package com.google.genai.types
Class CustomMetadata.Builder
-
- All Implemented Interfaces:
public abstract class CustomMetadata.BuilderBuilder for CustomMetadata.
-
-
Constructor Summary
Constructors Constructor Description CustomMetadata.Builder()
-
Method Summary
Modifier and Type Method Description abstract CustomMetadata.Builderkey(String key)Setter for key. CustomMetadata.BuilderclearKey()Clears the value of key field. abstract CustomMetadata.BuildernumericValue(Float numericValue)Setter for numericValue. CustomMetadata.BuilderclearNumericValue()Clears the value of numericValue field. abstract CustomMetadata.BuilderstringListValue(StringList stringListValue)Setter for stringListValue. CustomMetadata.BuilderstringListValue(StringList.Builder stringListValueBuilder)Setter for stringListValue builder. CustomMetadata.BuilderclearStringListValue()Clears the value of stringListValue field. abstract CustomMetadata.BuilderstringValue(String stringValue)Setter for stringValue. CustomMetadata.BuilderclearStringValue()Clears the value of stringValue field. abstract CustomMetadatabuild()-
-
Method Detail
-
key
abstract CustomMetadata.Builder key(String key)
Setter for key.
key: Required. The key of the metadata to store.
-
clearKey
@CanIgnoreReturnValue() CustomMetadata.Builder clearKey()
Clears the value of key field.
-
numericValue
abstract CustomMetadata.Builder numericValue(Float numericValue)
Setter for numericValue.
numericValue: The numeric value of the metadata to store.
-
clearNumericValue
@CanIgnoreReturnValue() CustomMetadata.Builder clearNumericValue()
Clears the value of numericValue field.
-
stringListValue
abstract CustomMetadata.Builder stringListValue(StringList stringListValue)
Setter for stringListValue.
stringListValue: The StringList value of the metadata to store.
-
stringListValue
@CanIgnoreReturnValue() CustomMetadata.Builder stringListValue(StringList.Builder stringListValueBuilder)
Setter for stringListValue builder.
stringListValue: The StringList value of the metadata to store.
-
clearStringListValue
@CanIgnoreReturnValue() CustomMetadata.Builder clearStringListValue()
Clears the value of stringListValue field.
-
stringValue
abstract CustomMetadata.Builder stringValue(String stringValue)
Setter for stringValue.
stringValue: The string value of the metadata to store.
-
clearStringValue
@CanIgnoreReturnValue() CustomMetadata.Builder clearStringValue()
Clears the value of stringValue field.
-
build
abstract CustomMetadata build()
-
-
-
-