Class BrowserStateTabEntry.Builder
-
- All Implemented Interfaces:
public final class BrowserStateTabEntry.BuilderA builder for BrowserStateTabEntry.
-
-
Method Summary
-
-
Method Detail
-
tabId
final BrowserStateTabEntry.Builder tabId(String tabId)
The caller-assigned identifier for this tab, unique within the inventory.
-
tabId
final BrowserStateTabEntry.Builder tabId(JsonField<String> tabId)
Sets Builder.tabId to an arbitrary JSON value.
You should usually call Builder.tabId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final BrowserStateTabEntry.Builder title(String title)
The title of the page the tab is showing. May be empty.
-
title
final BrowserStateTabEntry.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final BrowserStateTabEntry.Builder url(String url)
The URL of the page the tab is showing. May be empty.
-
url
final BrowserStateTabEntry.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.
-
active
final BrowserStateTabEntry.Builder active(Boolean active)
Whether this tab is the active tab after this call. Whenever
tabsis non-empty, exactly one entry is markedactive: true.
-
active
final BrowserStateTabEntry.Builder active(JsonField<Boolean> active)
Sets Builder.active to an arbitrary JSON value.
You should usually call Builder.active with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BrowserStateTabEntry.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BrowserStateTabEntry.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BrowserStateTabEntry.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BrowserStateTabEntry.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BrowserStateTabEntry.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BrowserStateTabEntry build()
Returns an immutable instance of BrowserStateTabEntry.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.tabId() .title() .url()
-
-
-
-