Send feedback
Class AnswerQueryRequest.SearchSpec.SearchResultList.Builder (0.43.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.43.0 keyboard_arrow_down
public static final class AnswerQueryRequest . SearchSpec . SearchResultList . Builder extends GeneratedMessageV3 . Builder<AnswerQueryRequest . SearchSpec . SearchResultList . Builder > implements AnswerQueryRequest . SearchSpec . SearchResultListOrBuilder
Search result list.
Protobuf type
google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList
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
addAllSearchResults(Iterable<? extends AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult> values)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder addAllSearchResults ( Iterable <? extends AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult > values )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSearchResults(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult value)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder addSearchResults ( AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult value )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
addSearchResults(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder builderForValue)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder addSearchResults ( AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . Builder builderForValue )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
addSearchResults(int index, AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult value)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder addSearchResults ( int index , AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult value )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
addSearchResults(int index, AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder builderForValue)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder addSearchResults ( int index , AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . Builder builderForValue )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
addSearchResultsBuilder()
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . Builder addSearchResultsBuilder ()
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
addSearchResultsBuilder(int index)
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . Builder addSearchResultsBuilder ( int index )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Parameter
Name
Description
index
int
build()
public AnswerQueryRequest . SearchSpec . SearchResultList build ()
buildPartial()
public AnswerQueryRequest . SearchSpec . SearchResultList buildPartial ()
clear()
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSearchResults()
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder clearSearchResults ()
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
clone()
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder clone ()
Overrides
getDefaultInstanceForType()
public AnswerQueryRequest . SearchSpec . SearchResultList getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSearchResults(int index)
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult getSearchResults ( int index )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Parameter
Name
Description
index
int
getSearchResultsBuilder(int index)
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . Builder getSearchResultsBuilder ( int index )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Parameter
Name
Description
index
int
getSearchResultsBuilderList()
public List<AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . Builder > getSearchResultsBuilderList ()
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
getSearchResultsCount()
public int getSearchResultsCount ()
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Returns
Type
Description
int
getSearchResultsList()
public List<AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult > getSearchResultsList ()
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
getSearchResultsOrBuilder(int index)
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResultOrBuilder getSearchResultsOrBuilder ( int index )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Parameter
Name
Description
index
int
getSearchResultsOrBuilderList()
public List <? extends AnswerQueryRequest . SearchSpec . SearchResultList . SearchResultOrBuilder > getSearchResultsOrBuilderList ()
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Returns
Type
Description
List <? extends com.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResultOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AnswerQueryRequest.SearchSpec.SearchResultList other)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder mergeFrom ( AnswerQueryRequest . SearchSpec . SearchResultList other )
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest . SearchSpec . SearchResultList . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeSearchResults(int index)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder removeSearchResults ( int index )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSearchResults(int index, AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult value)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder setSearchResults ( int index , AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult value )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
setSearchResults(int index, AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder builderForValue)
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder setSearchResults ( int index , AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . Builder builderForValue )
Search results.
repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest . SearchSpec . SearchResultList . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]