Package com.google.genai.types
Class GetOperationParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class GetOperationParameters extends JsonSerializable
Parameters for the GET method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classGetOperationParameters.BuilderBuilder for GetOperationParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description GetOperationParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>operationName()The server-assigned name for the operation. abstract Optional<GetOperationConfig>config()Used to override the default configuration. static GetOperationParameters.Builderbuilder()Instantiates a builder for GetOperationParameters. abstract GetOperationParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static GetOperationParametersfromJson(String jsonString)Deserializes a JSON string to a GetOperationParameters 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.
-
config
abstract Optional<GetOperationConfig> config()
Used to override the default configuration.
-
builder
static GetOperationParameters.Builder builder()
Instantiates a builder for GetOperationParameters.
-
toBuilder
abstract GetOperationParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static GetOperationParameters fromJson(String jsonString)
Deserializes a JSON string to a GetOperationParameters object.
-
-
-
-