Class RealtimeMcpProtocolError.Builder
-
- All Implemented Interfaces:
public final class RealtimeMcpProtocolError.Builder
A builder for RealtimeMcpProtocolError.
-
-
Method Summary
-
-
Method Detail
-
code
final RealtimeMcpProtocolError.Builder code(Long code)
-
code
final RealtimeMcpProtocolError.Builder code(JsonField<Long> code)
Sets Builder.code to an arbitrary JSON value.
You should usually call Builder.code with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
message
final RealtimeMcpProtocolError.Builder message(String message)
-
message
final RealtimeMcpProtocolError.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.
-
type
final RealtimeMcpProtocolError.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("protocol_error")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RealtimeMcpProtocolError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RealtimeMcpProtocolError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RealtimeMcpProtocolError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RealtimeMcpProtocolError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RealtimeMcpProtocolError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RealtimeMcpProtocolError build()
Returns an immutable instance of RealtimeMcpProtocolError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.code() .message()
-
-
-
-