Class BetaManagedAgentsModelRateLimitedError.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsModelRateLimitedError.BuilderA builder for BetaManagedAgentsModelRateLimitedError.
-
-
Method Summary
-
-
Method Detail
-
message
final BetaManagedAgentsModelRateLimitedError.Builder message(String message)
Human-readable error description.
-
message
final BetaManagedAgentsModelRateLimitedError.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(BetaManagedAgentsModelRateLimitedError.RetryStatus retryStatus)
What the client should do next.
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(JsonField<BetaManagedAgentsModelRateLimitedError.RetryStatus> retryStatus)
Sets Builder.retryStatus to an arbitrary JSON value.
You should usually call Builder.retryStatus with a well-typed RetryStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(BetaManagedAgentsRetryStatusRetrying retrying)
Alias for calling retryStatus with
RetryStatus.ofRetrying(retrying).
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(BetaManagedAgentsRetryStatusExhausted exhausted)
Alias for calling retryStatus with
RetryStatus.ofExhausted(exhausted).
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(BetaManagedAgentsRetryStatusTerminal terminal)
Alias for calling retryStatus with
RetryStatus.ofTerminal(terminal).
-
type
final BetaManagedAgentsModelRateLimitedError.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("model_rate_limited_error")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsModelRateLimitedError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsModelRateLimitedError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsModelRateLimitedError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsModelRateLimitedError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsModelRateLimitedError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsModelRateLimitedError build()
Returns an immutable instance of BetaManagedAgentsModelRateLimitedError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.message() .retryStatus()
-
-
-
-