Class CompleteQueryResponse.RecentSearchResult (2.33.0)

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

Recent search of this user.

Protobuf type google.cloud.retail.v2alpha.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static CompleteQueryResponse.RecentSearchResult getDefaultInstance()
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CompleteQueryResponse.RecentSearchResult.Builder newBuilder()
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult.Builder

newBuilder(CompleteQueryResponse.RecentSearchResult prototype)

public static CompleteQueryResponse.RecentSearchResult.Builder newBuilder(CompleteQueryResponse.RecentSearchResult prototype)
Parameter
NameDescription
prototypeCompleteQueryResponse.RecentSearchResult
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult.Builder

parseDelimitedFrom(InputStream input)

public static CompleteQueryResponse.RecentSearchResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompleteQueryResponse.RecentSearchResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CompleteQueryResponse.RecentSearchResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompleteQueryResponse.RecentSearchResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompleteQueryResponse.RecentSearchResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompleteQueryResponse.RecentSearchResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompleteQueryResponse.RecentSearchResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompleteQueryResponse.RecentSearchResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CompleteQueryResponse.RecentSearchResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompleteQueryResponse.RecentSearchResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CompleteQueryResponse.RecentSearchResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompleteQueryResponse.RecentSearchResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CompleteQueryResponse.RecentSearchResult getDefaultInstanceForType()
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult

getParserForType()

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

getRecentSearch()

public String getRecentSearch()

The recent search query.

string recent_search = 1;

Returns
TypeDescription
String

The recentSearch.

getRecentSearchBytes()

public ByteString getRecentSearchBytes()

The recent search query.

string recent_search = 1;

Returns
TypeDescription
ByteString

The bytes for recentSearch.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CompleteQueryResponse.RecentSearchResult.Builder newBuilderForType()
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompleteQueryResponse.RecentSearchResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CompleteQueryResponse.RecentSearchResult.Builder toBuilder()
Returns
TypeDescription
CompleteQueryResponse.RecentSearchResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException