Class CompleteQueryResponse.RecentSearchResult (2.47.0)

public static final class CompleteQueryResponse.RecentSearchResult extends GeneratedMessageV3 implements CompleteQueryResponse.RecentSearchResultOrBuilder

Recent search of this user.

Protobuf type google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CompleteQueryResponse.RecentSearchResult

Static Fields

RECENT_SEARCH_FIELD_NUMBER

public static final int RECENT_SEARCH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompleteQueryResponse.RecentSearchResult getDefaultInstance()
Returns
Type Description
CompleteQueryResponse.RecentSearchResult

getDescriptor()

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

newBuilder()

public static CompleteQueryResponse.RecentSearchResult.Builder newBuilder()
Returns
Type Description
CompleteQueryResponse.RecentSearchResult.Builder

newBuilder(CompleteQueryResponse.RecentSearchResult prototype)

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

parseDelimitedFrom(InputStream input)

public static CompleteQueryResponse.RecentSearchResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompleteQueryResponse.RecentSearchResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CompleteQueryResponse.RecentSearchResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompleteQueryResponse.RecentSearchResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CompleteQueryResponse.RecentSearchResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompleteQueryResponse.RecentSearchResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CompleteQueryResponse.RecentSearchResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompleteQueryResponse.RecentSearchResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CompleteQueryResponse.RecentSearchResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompleteQueryResponse.RecentSearchResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CompleteQueryResponse.RecentSearchResult> parser()
Returns
Type Description
Parser<RecentSearchResult>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CompleteQueryResponse.RecentSearchResult getDefaultInstanceForType()
Returns
Type Description
CompleteQueryResponse.RecentSearchResult

getParserForType()

public Parser<CompleteQueryResponse.RecentSearchResult> getParserForType()
Returns
Type Description
Parser<RecentSearchResult>
Overrides

getRecentSearch()

public String getRecentSearch()

The recent search query.

string recent_search = 1;

Returns
Type Description
String

The recentSearch.

getRecentSearchBytes()

public ByteString getRecentSearchBytes()

The recent search query.

string recent_search = 1;

Returns
Type Description
ByteString

The bytes for recentSearch.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CompleteQueryResponse.RecentSearchResult.Builder newBuilderForType()
Returns
Type Description
CompleteQueryResponse.RecentSearchResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompleteQueryResponse.RecentSearchResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompleteQueryResponse.RecentSearchResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CompleteQueryResponse.RecentSearchResult.Builder toBuilder()
Returns
Type Description
CompleteQueryResponse.RecentSearchResult.Builder

writeTo(CodedOutputStream output)

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