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.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
addSearchResultsBuilder()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder addSearchResultsBuilder()
Search results.
repeated .google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
getSearchResultsCount()
public int getSearchResultsCount()
Search results.
repeated .google.cloud.discoveryengine.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
getSearchResultsOrBuilder(int index)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResultOrBuilder getSearchResultsOrBuilder(int index)
Search results.
repeated .google.cloud.discoveryengine.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest.SearchSpec.SearchResultList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides