Class GoogleSearchSuggestions (0.1.0)

public final class GoogleSearchSuggestions extends GeneratedMessage implements GoogleSearchSuggestionsOrBuilder

Search suggestions from Google Search Tool.

Protobuf type google.cloud.ces.v1.GoogleSearchSuggestions

Static Fields

HTMLS_FIELD_NUMBER

public static final int HTMLS_FIELD_NUMBER
Field Value
Type Description
int

WEB_SEARCH_QUERIES_FIELD_NUMBER

public static final int WEB_SEARCH_QUERIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GoogleSearchSuggestions getDefaultInstance()
Returns
Type Description
GoogleSearchSuggestions

getDescriptor()

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

newBuilder()

public static GoogleSearchSuggestions.Builder newBuilder()
Returns
Type Description
GoogleSearchSuggestions.Builder

newBuilder(GoogleSearchSuggestions prototype)

public static GoogleSearchSuggestions.Builder newBuilder(GoogleSearchSuggestions prototype)
Parameter
Name Description
prototype GoogleSearchSuggestions
Returns
Type Description
GoogleSearchSuggestions.Builder

parseDelimitedFrom(InputStream input)

public static GoogleSearchSuggestions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleSearchSuggestions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GoogleSearchSuggestions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GoogleSearchSuggestions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GoogleSearchSuggestions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GoogleSearchSuggestions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GoogleSearchSuggestions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleSearchSuggestions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GoogleSearchSuggestions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleSearchSuggestions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GoogleSearchSuggestions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GoogleSearchSuggestions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSearchSuggestions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GoogleSearchSuggestions> parser()
Returns
Type Description
Parser<GoogleSearchSuggestions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GoogleSearchSuggestions getDefaultInstanceForType()
Returns
Type Description
GoogleSearchSuggestions

getHtmls(int index)

public String getHtmls(int index)

Compliant HTML and CSS styling for search suggestions. The provided HTML and CSS automatically adapts to your device settings, displaying in either light or dark mode indicated by @media(prefers-color-scheme).

repeated string htmls = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The htmls at the given index.

getHtmlsBytes(int index)

public ByteString getHtmlsBytes(int index)

Compliant HTML and CSS styling for search suggestions. The provided HTML and CSS automatically adapts to your device settings, displaying in either light or dark mode indicated by @media(prefers-color-scheme).

repeated string htmls = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the htmls at the given index.

getHtmlsCount()

public int getHtmlsCount()

Compliant HTML and CSS styling for search suggestions. The provided HTML and CSS automatically adapts to your device settings, displaying in either light or dark mode indicated by @media(prefers-color-scheme).

repeated string htmls = 1;

Returns
Type Description
int

The count of htmls.

getHtmlsList()

public ProtocolStringList getHtmlsList()

Compliant HTML and CSS styling for search suggestions. The provided HTML and CSS automatically adapts to your device settings, displaying in either light or dark mode indicated by @media(prefers-color-scheme).

repeated string htmls = 1;

Returns
Type Description
ProtocolStringList

A list containing the htmls.

getParserForType()

public Parser<GoogleSearchSuggestions> getParserForType()
Returns
Type Description
Parser<GoogleSearchSuggestions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWebSearchQueries(int index)

public WebSearchQuery getWebSearchQueries(int index)

List of queries used to perform the google search along with the search result URIs forming the search suggestions.

repeated .google.cloud.ces.v1.WebSearchQuery web_search_queries = 2;

Parameter
Name Description
index int
Returns
Type Description
WebSearchQuery

getWebSearchQueriesCount()

public int getWebSearchQueriesCount()

List of queries used to perform the google search along with the search result URIs forming the search suggestions.

repeated .google.cloud.ces.v1.WebSearchQuery web_search_queries = 2;

Returns
Type Description
int

getWebSearchQueriesList()

public List<WebSearchQuery> getWebSearchQueriesList()

List of queries used to perform the google search along with the search result URIs forming the search suggestions.

repeated .google.cloud.ces.v1.WebSearchQuery web_search_queries = 2;

Returns
Type Description
List<WebSearchQuery>

getWebSearchQueriesOrBuilder(int index)

public WebSearchQueryOrBuilder getWebSearchQueriesOrBuilder(int index)

List of queries used to perform the google search along with the search result URIs forming the search suggestions.

repeated .google.cloud.ces.v1.WebSearchQuery web_search_queries = 2;

Parameter
Name Description
index int
Returns
Type Description
WebSearchQueryOrBuilder

getWebSearchQueriesOrBuilderList()

public List<? extends WebSearchQueryOrBuilder> getWebSearchQueriesOrBuilderList()

List of queries used to perform the google search along with the search result URIs forming the search suggestions.

repeated .google.cloud.ces.v1.WebSearchQuery web_search_queries = 2;

Returns
Type Description
List<? extends com.google.cloud.ces.v1.WebSearchQueryOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GoogleSearchSuggestions.Builder newBuilderForType()
Returns
Type Description
GoogleSearchSuggestions.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GoogleSearchSuggestions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GoogleSearchSuggestions.Builder
Overrides

toBuilder()

public GoogleSearchSuggestions.Builder toBuilder()
Returns
Type Description
GoogleSearchSuggestions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException