Package com.google.genai.types
Class CreateFileConfig.Builder
java.lang.Object
com.google.genai.types.CreateFileConfig.Builder
- Enclosing class:
- CreateFileConfig
Builder for CreateFileConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract CreateFileConfigbuild()Clears the value of httpOptions field.Clears the value of shouldReturnHttpResponse field.abstract CreateFileConfig.BuilderhttpOptions(HttpOptions httpOptions) Setter for httpOptions.httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.abstract CreateFileConfig.BuildershouldReturnHttpResponse(boolean shouldReturnHttpResponse) Setter for shouldReturnHttpResponse.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpOptions
Setter for httpOptions.httpOptions: Used to override HTTP request options.
-
httpOptions
@CanIgnoreReturnValue public CreateFileConfig.Builder httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.httpOptions: Used to override HTTP request options.
-
clearHttpOptions
Clears the value of httpOptions field. -
shouldReturnHttpResponse
Setter for shouldReturnHttpResponse.shouldReturnHttpResponse: If true, the raw HTTP response will be returned in the 'sdk_http_response' field.
-
clearShouldReturnHttpResponse
Clears the value of shouldReturnHttpResponse field. -
build
-