Class BetaBrowserStateChangeDownloadFailed.Builder
-
- All Implemented Interfaces:
public final class BetaBrowserStateChangeDownloadFailed.BuilderA builder for BetaBrowserStateChangeDownloadFailed.
-
-
Method Summary
-
-
Method Detail
-
downloadId
final BetaBrowserStateChangeDownloadFailed.Builder downloadId(String downloadId)
The caller-assigned identifier for this download, stable across the state changes reporting it.
-
downloadId
final BetaBrowserStateChangeDownloadFailed.Builder downloadId(JsonField<String> downloadId)
Sets Builder.downloadId to an arbitrary JSON value.
You should usually call Builder.downloadId 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 BetaBrowserStateChangeDownloadFailed.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("download_failed")This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final BetaBrowserStateChangeDownloadFailed.Builder url(String url)
The final post-redirect URL the download was served from.
-
url
final BetaBrowserStateChangeDownloadFailed.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
error
final BetaBrowserStateChangeDownloadFailed.Builder error(String error)
The failure or cancellation detail, when known.
-
error
final BetaBrowserStateChangeDownloadFailed.Builder error(Optional<String> error)
Alias for calling Builder.error with
error.orElse(null).
-
error
final BetaBrowserStateChangeDownloadFailed.Builder error(JsonField<String> error)
Sets Builder.error to an arbitrary JSON value.
You should usually call Builder.error with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaBrowserStateChangeDownloadFailed.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaBrowserStateChangeDownloadFailed.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaBrowserStateChangeDownloadFailed.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaBrowserStateChangeDownloadFailed.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaBrowserStateChangeDownloadFailed.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaBrowserStateChangeDownloadFailed build()
Returns an immutable instance of BetaBrowserStateChangeDownloadFailed.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.downloadId() .url()
-
-
-
-