public static final class AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder extends GeneratedMessageV3.Builder<AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder> implements AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder
Suggestions from recent search history.
Protobuf type
google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AdvancedCompleteQueryResponse.RecentSearchSuggestion build()
buildPartial()
public AdvancedCompleteQueryResponse.RecentSearchSuggestion buildPartial()
clear()
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRecentSearchTime()
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder clearRecentSearchTime()
The time when this recent rearch happened.
.google.protobuf.Timestamp recent_search_time = 2;
clearSuggestion()
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder clearSuggestion()
The suggestion for the query.
string suggestion = 1;
clone()
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder clone()
Overrides
getDefaultInstanceForType()
public AdvancedCompleteQueryResponse.RecentSearchSuggestion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRecentSearchTime()
public Timestamp getRecentSearchTime()
The time when this recent rearch happened.
.google.protobuf.Timestamp recent_search_time = 2;
Returns |
Type |
Description |
Timestamp |
The recentSearchTime.
|
getRecentSearchTimeBuilder()
public Timestamp.Builder getRecentSearchTimeBuilder()
The time when this recent rearch happened.
.google.protobuf.Timestamp recent_search_time = 2;
getRecentSearchTimeOrBuilder()
public TimestampOrBuilder getRecentSearchTimeOrBuilder()
The time when this recent rearch happened.
.google.protobuf.Timestamp recent_search_time = 2;
getSuggestion()
public String getSuggestion()
The suggestion for the query.
string suggestion = 1;
Returns |
Type |
Description |
String |
The suggestion.
|
getSuggestionBytes()
public ByteString getSuggestionBytes()
The suggestion for the query.
string suggestion = 1;
Returns |
Type |
Description |
ByteString |
The bytes for suggestion.
|
hasRecentSearchTime()
public boolean hasRecentSearchTime()
The time when this recent rearch happened.
.google.protobuf.Timestamp recent_search_time = 2;
Returns |
Type |
Description |
boolean |
Whether the recentSearchTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AdvancedCompleteQueryResponse.RecentSearchSuggestion other)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder mergeFrom(AdvancedCompleteQueryResponse.RecentSearchSuggestion other)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRecentSearchTime(Timestamp value)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder mergeRecentSearchTime(Timestamp value)
The time when this recent rearch happened.
.google.protobuf.Timestamp recent_search_time = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRecentSearchTime(Timestamp value)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder setRecentSearchTime(Timestamp value)
The time when this recent rearch happened.
.google.protobuf.Timestamp recent_search_time = 2;
setRecentSearchTime(Timestamp.Builder builderForValue)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder setRecentSearchTime(Timestamp.Builder builderForValue)
The time when this recent rearch happened.
.google.protobuf.Timestamp recent_search_time = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSuggestion(String value)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder setSuggestion(String value)
The suggestion for the query.
string suggestion = 1;
Parameter |
Name |
Description |
value |
String
The suggestion to set.
|
setSuggestionBytes(ByteString value)
public AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder setSuggestionBytes(ByteString value)
The suggestion for the query.
string suggestion = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for suggestion to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedCompleteQueryResponse.RecentSearchSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides