public final class Browser extends GeneratedMessage implements BrowserOrBuilder
Information about an entry in the web browser's local history database.
Protobuf type google.backstory.Browser
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
BROWSER_TYPE_FIELD_NUMBER
public static final int BROWSER_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
BROWSER_VERSION_FIELD_NUMBER
public static final int BROWSER_VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
COOKIES_FIELD_NUMBER
public static final int COOKIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FIRST_BOOKMARKED_TIME_FIELD_NUMBER
public static final int FIRST_BOOKMARKED_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FIRST_VISIT_TIME_FIELD_NUMBER
public static final int FIRST_VISIT_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HIDDEN_FIELD_NUMBER
public static final int HIDDEN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INDEXED_CONTENT_FIELD_NUMBER
public static final int INDEXED_CONTENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAST_VISIT_TIME_FIELD_NUMBER
public static final int LAST_VISIT_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROFILE_FIELD_NUMBER
public static final int PROFILE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REQUEST_ORIGIN_URI_FIELD_NUMBER
public static final int REQUEST_ORIGIN_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPED_COUNT_FIELD_NUMBER
public static final int TYPED_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPED_FIELD_NUMBER
public static final int TYPED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VISIT_COUNT_CRITERIA_FIELD_NUMBER
public static final int VISIT_COUNT_CRITERIA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VISIT_COUNT_FIELD_NUMBER
public static final int VISIT_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VISIT_SOURCE_FIELD_NUMBER
public static final int VISIT_SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VISIT_TYPE_FIELD_NUMBER
public static final int VISIT_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Browser getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Browser.Builder newBuilder()
newBuilder(Browser prototype)
public static Browser.Builder newBuilder(Browser prototype)
| Parameter |
| Name |
Description |
prototype |
Browser
|
parseDelimitedFrom(InputStream input)
public static Browser parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Browser parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Browser parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Browser parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Browser parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Browser parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Browser parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Browser parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Browser parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Browser parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Browser parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Browser parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Browser> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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;
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
|
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;
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
|
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()
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.
|
getFirstBookmarkedTimeOrBuilder()
public TimestampOrBuilder getFirstBookmarkedTimeOrBuilder()
The timestamp indicating the first time the URL was bookmarked.
.google.protobuf.Timestamp first_bookmarked_time = 13;
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.
|
getFirstVisitTimeOrBuilder()
public TimestampOrBuilder getFirstVisitTimeOrBuilder()
The timestamp indicating the initial visit to the URL.
.google.protobuf.Timestamp first_visit_time = 3;
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.
|
getLastVisitTimeOrBuilder()
public TimestampOrBuilder getLastVisitTimeOrBuilder()
The timestamp indicating the most recent visit to the URL.
.google.protobuf.Timestamp last_visit_time = 4;
getParserForType()
public Parser<Browser> getParserForType()
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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;
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;
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Browser.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Browser.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Browser.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides