Package com.google.genai.types
Class FetchPredictOperationParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class FetchPredictOperationParameters extends JsonSerializable
Parameters for the fetchPredictOperation method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classFetchPredictOperationParameters.BuilderBuilder for FetchPredictOperationParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description FetchPredictOperationParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>operationName()The server-assigned name for the operation. abstract Optional<String>resourceName()abstract Optional<FetchPredictOperationConfig>config()Used to override the default configuration. static FetchPredictOperationParameters.Builderbuilder()Instantiates a builder for FetchPredictOperationParameters. abstract FetchPredictOperationParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static FetchPredictOperationParametersfromJson(String jsonString)Deserializes a JSON string to a FetchPredictOperationParameters object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
operationName
abstract Optional<String> operationName()
The server-assigned name for the operation.
-
resourceName
abstract Optional<String> resourceName()
-
config
abstract Optional<FetchPredictOperationConfig> config()
Used to override the default configuration.
-
builder
static FetchPredictOperationParameters.Builder builder()
Instantiates a builder for FetchPredictOperationParameters.
-
toBuilder
abstract FetchPredictOperationParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static FetchPredictOperationParameters fromJson(String jsonString)
Deserializes a JSON string to a FetchPredictOperationParameters object.
-
-
-
-