Class Browser.Builder (0.3.0)

public static final class Browser.Builder extends GeneratedMessage.Builder<Browser.Builder> implements BrowserOrBuilder

Information about an entry in the web browser's local history database.

Protobuf type google.backstory.Browser

Implements

BrowserOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public Browser.Builder addAllCookies(Iterable<? extends Browser.Cookie> values)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameter
Name Description
values Iterable<? extends com.google.backstory.Browser.Cookie>
Returns
Type Description
Browser.Builder
public Browser.Builder addCookies(Browser.Cookie value)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameter
Name Description
value Browser.Cookie
Returns
Type Description
Browser.Builder
public Browser.Builder addCookies(Browser.Cookie.Builder builderForValue)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameter
Name Description
builderForValue Browser.Cookie.Builder
Returns
Type Description
Browser.Builder
public Browser.Builder addCookies(int index, Browser.Cookie value)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameters
Name Description
index int
value Browser.Cookie
Returns
Type Description
Browser.Builder
public Browser.Builder addCookies(int index, Browser.Cookie.Builder builderForValue)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameters
Name Description
index int
builderForValue Browser.Cookie.Builder
Returns
Type Description
Browser.Builder

addCookiesBuilder()

public Browser.Cookie.Builder addCookiesBuilder()

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Returns
Type Description
Browser.Cookie.Builder

addCookiesBuilder(int index)

public Browser.Cookie.Builder addCookiesBuilder(int index)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameter
Name Description
index int
Returns
Type Description
Browser.Cookie.Builder

build()

public Browser build()
Returns
Type Description
Browser

buildPartial()

public Browser buildPartial()
Returns
Type Description
Browser

clear()

public Browser.Builder clear()
Returns
Type Description
Browser.Builder
Overrides

clearBrowserType()

public Browser.Builder clearBrowserType()

The browser that recorded the history entry (e.g. "Chrome", "Firefox", "Safari", etc.).

.google.backstory.Browser.BrowserType browser_type = 1;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearBrowserVersion()

public Browser.Builder clearBrowserVersion()

The browser version.

string browser_version = 2;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearCookies()

public Browser.Builder clearCookies()

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Returns
Type Description
Browser.Builder

clearFirstBookmarkedTime()

public Browser.Builder clearFirstBookmarkedTime()

The timestamp indicating the first time the URL was bookmarked.

.google.protobuf.Timestamp first_bookmarked_time = 13;

Returns
Type Description
Browser.Builder

clearFirstVisitTime()

public Browser.Builder clearFirstVisitTime()

The timestamp indicating the initial visit to the URL.

.google.protobuf.Timestamp first_visit_time = 3;

Returns
Type Description
Browser.Builder

clearHidden()

public Browser.Builder clearHidden()

A boolean value indicating if the history entry is hidden.

bool hidden = 8;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearIndexedContent()

public Browser.Builder clearIndexedContent()

Represents the textual content of a web page. This field should be kept short. Large strings may affect latency and payload sizes.

string indexed_content = 12;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearLastVisitTime()

public Browser.Builder clearLastVisitTime()

The timestamp indicating the most recent visit to the URL.

.google.protobuf.Timestamp last_visit_time = 4;

Returns
Type Description
Browser.Builder

clearProfile()

public Browser.Builder clearProfile()

The browser profile associated with the history entry.

string profile = 5;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearRequestOriginUri()

public Browser.Builder clearRequestOriginUri()

Indicates the URI from which the current visit originated.

string request_origin_uri = 9;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearTyped()

public Browser.Builder clearTyped()

A boolean value indicating if the URL was typed by the user.

bool typed = 6;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearTypedCount()

public Browser.Builder clearTypedCount()

The number of times the URL was visited with this specific visit type and visit source.

int64 typed_count = 15;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearVisitCount()

public Browser.Builder clearVisitCount()

The total number of times the Url has been visited.

int64 visit_count = 10;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearVisitCountCriteria()

public Browser.Builder clearVisitCountCriteria()

Describes the criteria used to calculate the visit_count.

string visit_count_criteria = 11;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearVisitSource()

public Browser.Builder clearVisitSource()

The source of the visit.

.google.backstory.Browser.VisitSource visit_source = 16;

Returns
Type Description
Browser.Builder

This builder for chaining.

clearVisitType()

public Browser.Builder clearVisitType()

Describes the type of navigation or visit (e.g., direct, redirect, etc.).

.google.backstory.Browser.UrlVisitType visit_type = 7;

Returns
Type Description
Browser.Builder

This builder for chaining.

getBrowserType()

public Browser.BrowserType getBrowserType()

The browser that recorded the history entry (e.g. "Chrome", "Firefox", "Safari", etc.).

.google.backstory.Browser.BrowserType browser_type = 1;

Returns
Type Description
Browser.BrowserType

The browserType.

getBrowserTypeValue()

public int getBrowserTypeValue()

The browser that recorded the history entry (e.g. "Chrome", "Firefox", "Safari", etc.).

.google.backstory.Browser.BrowserType browser_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for browserType.

getBrowserVersion()

public String getBrowserVersion()

The browser version.

string browser_version = 2;

Returns
Type Description
String

The browserVersion.

getBrowserVersionBytes()

public ByteString getBrowserVersionBytes()

The browser version.

string browser_version = 2;

Returns
Type Description
ByteString

The bytes for browserVersion.

getCookies(int index)

public Browser.Cookie getCookies(int index)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameter
Name Description
index int
Returns
Type Description
Browser.Cookie

getCookiesBuilder(int index)

public Browser.Cookie.Builder getCookiesBuilder(int index)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameter
Name Description
index int
Returns
Type Description
Browser.Cookie.Builder

getCookiesBuilderList()

public List<Browser.Cookie.Builder> getCookiesBuilderList()

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Returns
Type Description
List<Builder>

getCookiesCount()

public int getCookiesCount()

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Returns
Type Description
int

getCookiesList()

public List<Browser.Cookie> getCookiesList()

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Returns
Type Description
List<Cookie>

getCookiesOrBuilder(int index)

public Browser.CookieOrBuilder getCookiesOrBuilder(int index)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameter
Name Description
index int
Returns
Type Description
Browser.CookieOrBuilder

getCookiesOrBuilderList()

public List<? extends Browser.CookieOrBuilder> getCookiesOrBuilderList()

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Returns
Type Description
List<? extends com.google.backstory.Browser.CookieOrBuilder>

getDefaultInstanceForType()

public Browser getDefaultInstanceForType()
Returns
Type Description
Browser

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFirstBookmarkedTime()

public Timestamp getFirstBookmarkedTime()

The timestamp indicating the first time the URL was bookmarked.

.google.protobuf.Timestamp first_bookmarked_time = 13;

Returns
Type Description
Timestamp

The firstBookmarkedTime.

getFirstBookmarkedTimeBuilder()

public Timestamp.Builder getFirstBookmarkedTimeBuilder()

The timestamp indicating the first time the URL was bookmarked.

.google.protobuf.Timestamp first_bookmarked_time = 13;

Returns
Type Description
Builder

getFirstBookmarkedTimeOrBuilder()

public TimestampOrBuilder getFirstBookmarkedTimeOrBuilder()

The timestamp indicating the first time the URL was bookmarked.

.google.protobuf.Timestamp first_bookmarked_time = 13;

Returns
Type Description
TimestampOrBuilder

getFirstVisitTime()

public Timestamp getFirstVisitTime()

The timestamp indicating the initial visit to the URL.

.google.protobuf.Timestamp first_visit_time = 3;

Returns
Type Description
Timestamp

The firstVisitTime.

getFirstVisitTimeBuilder()

public Timestamp.Builder getFirstVisitTimeBuilder()

The timestamp indicating the initial visit to the URL.

.google.protobuf.Timestamp first_visit_time = 3;

Returns
Type Description
Builder

getFirstVisitTimeOrBuilder()

public TimestampOrBuilder getFirstVisitTimeOrBuilder()

The timestamp indicating the initial visit to the URL.

.google.protobuf.Timestamp first_visit_time = 3;

Returns
Type Description
TimestampOrBuilder

getHidden()

public boolean getHidden()

A boolean value indicating if the history entry is hidden.

bool hidden = 8;

Returns
Type Description
boolean

The hidden.

getIndexedContent()

public String getIndexedContent()

Represents the textual content of a web page. This field should be kept short. Large strings may affect latency and payload sizes.

string indexed_content = 12;

Returns
Type Description
String

The indexedContent.

getIndexedContentBytes()

public ByteString getIndexedContentBytes()

Represents the textual content of a web page. This field should be kept short. Large strings may affect latency and payload sizes.

string indexed_content = 12;

Returns
Type Description
ByteString

The bytes for indexedContent.

getLastVisitTime()

public Timestamp getLastVisitTime()

The timestamp indicating the most recent visit to the URL.

.google.protobuf.Timestamp last_visit_time = 4;

Returns
Type Description
Timestamp

The lastVisitTime.

getLastVisitTimeBuilder()

public Timestamp.Builder getLastVisitTimeBuilder()

The timestamp indicating the most recent visit to the URL.

.google.protobuf.Timestamp last_visit_time = 4;

Returns
Type Description
Builder

getLastVisitTimeOrBuilder()

public TimestampOrBuilder getLastVisitTimeOrBuilder()

The timestamp indicating the most recent visit to the URL.

.google.protobuf.Timestamp last_visit_time = 4;

Returns
Type Description
TimestampOrBuilder

getProfile()

public String getProfile()

The browser profile associated with the history entry.

string profile = 5;

Returns
Type Description
String

The profile.

getProfileBytes()

public ByteString getProfileBytes()

The browser profile associated with the history entry.

string profile = 5;

Returns
Type Description
ByteString

The bytes for profile.

getRequestOriginUri()

public String getRequestOriginUri()

Indicates the URI from which the current visit originated.

string request_origin_uri = 9;

Returns
Type Description
String

The requestOriginUri.

getRequestOriginUriBytes()

public ByteString getRequestOriginUriBytes()

Indicates the URI from which the current visit originated.

string request_origin_uri = 9;

Returns
Type Description
ByteString

The bytes for requestOriginUri.

getTyped()

public boolean getTyped()

A boolean value indicating if the URL was typed by the user.

bool typed = 6;

Returns
Type Description
boolean

The typed.

getTypedCount()

public long getTypedCount()

The number of times the URL was visited with this specific visit type and visit source.

int64 typed_count = 15;

Returns
Type Description
long

The typedCount.

getVisitCount()

public long getVisitCount()

The total number of times the Url has been visited.

int64 visit_count = 10;

Returns
Type Description
long

The visitCount.

getVisitCountCriteria()

public String getVisitCountCriteria()

Describes the criteria used to calculate the visit_count.

string visit_count_criteria = 11;

Returns
Type Description
String

The visitCountCriteria.

getVisitCountCriteriaBytes()

public ByteString getVisitCountCriteriaBytes()

Describes the criteria used to calculate the visit_count.

string visit_count_criteria = 11;

Returns
Type Description
ByteString

The bytes for visitCountCriteria.

getVisitSource()

public Browser.VisitSource getVisitSource()

The source of the visit.

.google.backstory.Browser.VisitSource visit_source = 16;

Returns
Type Description
Browser.VisitSource

The visitSource.

getVisitSourceValue()

public int getVisitSourceValue()

The source of the visit.

.google.backstory.Browser.VisitSource visit_source = 16;

Returns
Type Description
int

The enum numeric value on the wire for visitSource.

getVisitType()

public Browser.UrlVisitType getVisitType()

Describes the type of navigation or visit (e.g., direct, redirect, etc.).

.google.backstory.Browser.UrlVisitType visit_type = 7;

Returns
Type Description
Browser.UrlVisitType

The visitType.

getVisitTypeValue()

public int getVisitTypeValue()

Describes the type of navigation or visit (e.g., direct, redirect, etc.).

.google.backstory.Browser.UrlVisitType visit_type = 7;

Returns
Type Description
int

The enum numeric value on the wire for visitType.

hasFirstBookmarkedTime()

public boolean hasFirstBookmarkedTime()

The timestamp indicating the first time the URL was bookmarked.

.google.protobuf.Timestamp first_bookmarked_time = 13;

Returns
Type Description
boolean

Whether the firstBookmarkedTime field is set.

hasFirstVisitTime()

public boolean hasFirstVisitTime()

The timestamp indicating the initial visit to the URL.

.google.protobuf.Timestamp first_visit_time = 3;

Returns
Type Description
boolean

Whether the firstVisitTime field is set.

hasLastVisitTime()

public boolean hasLastVisitTime()

The timestamp indicating the most recent visit to the URL.

.google.protobuf.Timestamp last_visit_time = 4;

Returns
Type Description
boolean

Whether the lastVisitTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFirstBookmarkedTime(Timestamp value)

public Browser.Builder mergeFirstBookmarkedTime(Timestamp value)

The timestamp indicating the first time the URL was bookmarked.

.google.protobuf.Timestamp first_bookmarked_time = 13;

Parameter
Name Description
value Timestamp
Returns
Type Description
Browser.Builder

mergeFirstVisitTime(Timestamp value)

public Browser.Builder mergeFirstVisitTime(Timestamp value)

The timestamp indicating the initial visit to the URL.

.google.protobuf.Timestamp first_visit_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Browser.Builder

mergeFrom(Browser other)

public Browser.Builder mergeFrom(Browser other)
Parameter
Name Description
other Browser
Returns
Type Description
Browser.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Browser.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Browser.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Browser.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Browser.Builder
Overrides

mergeLastVisitTime(Timestamp value)

public Browser.Builder mergeLastVisitTime(Timestamp value)

The timestamp indicating the most recent visit to the URL.

.google.protobuf.Timestamp last_visit_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Browser.Builder

removeCookies(int index)

public Browser.Builder removeCookies(int index)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameter
Name Description
index int
Returns
Type Description
Browser.Builder

setBrowserType(Browser.BrowserType value)

public Browser.Builder setBrowserType(Browser.BrowserType value)

The browser that recorded the history entry (e.g. "Chrome", "Firefox", "Safari", etc.).

.google.backstory.Browser.BrowserType browser_type = 1;

Parameter
Name Description
value Browser.BrowserType

The browserType to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setBrowserTypeValue(int value)

public Browser.Builder setBrowserTypeValue(int value)

The browser that recorded the history entry (e.g. "Chrome", "Firefox", "Safari", etc.).

.google.backstory.Browser.BrowserType browser_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for browserType to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setBrowserVersion(String value)

public Browser.Builder setBrowserVersion(String value)

The browser version.

string browser_version = 2;

Parameter
Name Description
value String

The browserVersion to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setBrowserVersionBytes(ByteString value)

public Browser.Builder setBrowserVersionBytes(ByteString value)

The browser version.

string browser_version = 2;

Parameter
Name Description
value ByteString

The bytes for browserVersion to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

public Browser.Builder setCookies(int index, Browser.Cookie value)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameters
Name Description
index int
value Browser.Cookie
Returns
Type Description
Browser.Builder
public Browser.Builder setCookies(int index, Browser.Cookie.Builder builderForValue)

Information about the cookies.

repeated .google.backstory.Browser.Cookie cookies = 14;

Parameters
Name Description
index int
builderForValue Browser.Cookie.Builder
Returns
Type Description
Browser.Builder

setFirstBookmarkedTime(Timestamp value)

public Browser.Builder setFirstBookmarkedTime(Timestamp value)

The timestamp indicating the first time the URL was bookmarked.

.google.protobuf.Timestamp first_bookmarked_time = 13;

Parameter
Name Description
value Timestamp
Returns
Type Description
Browser.Builder

setFirstBookmarkedTime(Timestamp.Builder builderForValue)

public Browser.Builder setFirstBookmarkedTime(Timestamp.Builder builderForValue)

The timestamp indicating the first time the URL was bookmarked.

.google.protobuf.Timestamp first_bookmarked_time = 13;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Browser.Builder

setFirstVisitTime(Timestamp value)

public Browser.Builder setFirstVisitTime(Timestamp value)

The timestamp indicating the initial visit to the URL.

.google.protobuf.Timestamp first_visit_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Browser.Builder

setFirstVisitTime(Timestamp.Builder builderForValue)

public Browser.Builder setFirstVisitTime(Timestamp.Builder builderForValue)

The timestamp indicating the initial visit to the URL.

.google.protobuf.Timestamp first_visit_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Browser.Builder

setHidden(boolean value)

public Browser.Builder setHidden(boolean value)

A boolean value indicating if the history entry is hidden.

bool hidden = 8;

Parameter
Name Description
value boolean

The hidden to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setIndexedContent(String value)

public Browser.Builder setIndexedContent(String value)

Represents the textual content of a web page. This field should be kept short. Large strings may affect latency and payload sizes.

string indexed_content = 12;

Parameter
Name Description
value String

The indexedContent to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setIndexedContentBytes(ByteString value)

public Browser.Builder setIndexedContentBytes(ByteString value)

Represents the textual content of a web page. This field should be kept short. Large strings may affect latency and payload sizes.

string indexed_content = 12;

Parameter
Name Description
value ByteString

The bytes for indexedContent to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setLastVisitTime(Timestamp value)

public Browser.Builder setLastVisitTime(Timestamp value)

The timestamp indicating the most recent visit to the URL.

.google.protobuf.Timestamp last_visit_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Browser.Builder

setLastVisitTime(Timestamp.Builder builderForValue)

public Browser.Builder setLastVisitTime(Timestamp.Builder builderForValue)

The timestamp indicating the most recent visit to the URL.

.google.protobuf.Timestamp last_visit_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Browser.Builder

setProfile(String value)

public Browser.Builder setProfile(String value)

The browser profile associated with the history entry.

string profile = 5;

Parameter
Name Description
value String

The profile to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setProfileBytes(ByteString value)

public Browser.Builder setProfileBytes(ByteString value)

The browser profile associated with the history entry.

string profile = 5;

Parameter
Name Description
value ByteString

The bytes for profile to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setRequestOriginUri(String value)

public Browser.Builder setRequestOriginUri(String value)

Indicates the URI from which the current visit originated.

string request_origin_uri = 9;

Parameter
Name Description
value String

The requestOriginUri to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setRequestOriginUriBytes(ByteString value)

public Browser.Builder setRequestOriginUriBytes(ByteString value)

Indicates the URI from which the current visit originated.

string request_origin_uri = 9;

Parameter
Name Description
value ByteString

The bytes for requestOriginUri to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setTyped(boolean value)

public Browser.Builder setTyped(boolean value)

A boolean value indicating if the URL was typed by the user.

bool typed = 6;

Parameter
Name Description
value boolean

The typed to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setTypedCount(long value)

public Browser.Builder setTypedCount(long value)

The number of times the URL was visited with this specific visit type and visit source.

int64 typed_count = 15;

Parameter
Name Description
value long

The typedCount to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setVisitCount(long value)

public Browser.Builder setVisitCount(long value)

The total number of times the Url has been visited.

int64 visit_count = 10;

Parameter
Name Description
value long

The visitCount to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setVisitCountCriteria(String value)

public Browser.Builder setVisitCountCriteria(String value)

Describes the criteria used to calculate the visit_count.

string visit_count_criteria = 11;

Parameter
Name Description
value String

The visitCountCriteria to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setVisitCountCriteriaBytes(ByteString value)

public Browser.Builder setVisitCountCriteriaBytes(ByteString value)

Describes the criteria used to calculate the visit_count.

string visit_count_criteria = 11;

Parameter
Name Description
value ByteString

The bytes for visitCountCriteria to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setVisitSource(Browser.VisitSource value)

public Browser.Builder setVisitSource(Browser.VisitSource value)

The source of the visit.

.google.backstory.Browser.VisitSource visit_source = 16;

Parameter
Name Description
value Browser.VisitSource

The visitSource to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setVisitSourceValue(int value)

public Browser.Builder setVisitSourceValue(int value)

The source of the visit.

.google.backstory.Browser.VisitSource visit_source = 16;

Parameter
Name Description
value int

The enum numeric value on the wire for visitSource to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setVisitType(Browser.UrlVisitType value)

public Browser.Builder setVisitType(Browser.UrlVisitType value)

Describes the type of navigation or visit (e.g., direct, redirect, etc.).

.google.backstory.Browser.UrlVisitType visit_type = 7;

Parameter
Name Description
value Browser.UrlVisitType

The visitType to set.

Returns
Type Description
Browser.Builder

This builder for chaining.

setVisitTypeValue(int value)

public Browser.Builder setVisitTypeValue(int value)

Describes the type of navigation or visit (e.g., direct, redirect, etc.).

.google.backstory.Browser.UrlVisitType visit_type = 7;

Parameter
Name Description
value int

The enum numeric value on the wire for visitType to set.

Returns
Type Description
Browser.Builder

This builder for chaining.