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