Package com.google.genai.types
Class FileStatus.Builder
java.lang.Object
com.google.genai.types.FileStatus.Builder
- Enclosing class:
- FileStatus
Builder for FileStatus.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract FileStatusbuild()Clears the value of code field.Clears the value of details field.Clears the value of message field.abstract FileStatus.BuilderSetter for code.abstract FileStatus.BuilderSetter for details.Setter for details.abstract FileStatus.BuilderSetter for message.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
details
Setter for details.details: A list of messages that carry the error details. There is a common set of message types for APIs to use.
-
details
Setter for details.details: A list of messages that carry the error details. There is a common set of message types for APIs to use.
-
clearDetails
Clears the value of details field. -
message
Setter for message.message: A list of messages that carry the error details. There is a common set of message types for APIs to use.
-
clearMessage
Clears the value of message field. -
code
Setter for code.code: The status code. 0 for OK, 1 for CANCELLED
-
clearCode
Clears the value of code field. -
build
-