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