public static final class BatchSearchDataObjectsResponse.Builder extends GeneratedMessage.Builder<BatchSearchDataObjectsResponse.Builder> implements BatchSearchDataObjectsResponseOrBuilder
A response from a batch search operation.
Protobuf type google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllResults(Iterable<? extends SearchDataObjectsResponse> values)
public BatchSearchDataObjectsResponse.Builder addAllResults(Iterable<? extends SearchDataObjectsResponse> values)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse>
|
addResults(SearchDataObjectsResponse value)
public BatchSearchDataObjectsResponse.Builder addResults(SearchDataObjectsResponse value)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addResults(SearchDataObjectsResponse.Builder builderForValue)
public BatchSearchDataObjectsResponse.Builder addResults(SearchDataObjectsResponse.Builder builderForValue)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addResults(int index, SearchDataObjectsResponse value)
public BatchSearchDataObjectsResponse.Builder addResults(int index, SearchDataObjectsResponse value)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addResults(int index, SearchDataObjectsResponse.Builder builderForValue)
public BatchSearchDataObjectsResponse.Builder addResults(int index, SearchDataObjectsResponse.Builder builderForValue)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addResultsBuilder()
public SearchDataObjectsResponse.Builder addResultsBuilder()
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addResultsBuilder(int index)
public SearchDataObjectsResponse.Builder addResultsBuilder(int index)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
build()
public BatchSearchDataObjectsResponse build()
buildPartial()
public BatchSearchDataObjectsResponse buildPartial()
clear()
public BatchSearchDataObjectsResponse.Builder clear()
Overrides
clearResults()
public BatchSearchDataObjectsResponse.Builder clearResults()
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public BatchSearchDataObjectsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getResults(int index)
public SearchDataObjectsResponse getResults(int index)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getResultsBuilder(int index)
public SearchDataObjectsResponse.Builder getResultsBuilder(int index)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getResultsBuilderList()
public List<SearchDataObjectsResponse.Builder> getResultsBuilderList()
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResultsCount()
public int getResultsCount()
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getResultsList()
public List<SearchDataObjectsResponse> getResultsList()
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResultsOrBuilder(int index)
public SearchDataObjectsResponseOrBuilder getResultsOrBuilder(int index)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getResultsOrBuilderList()
public List<? extends SearchDataObjectsResponseOrBuilder> getResultsOrBuilderList()
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vectorsearch.v1beta.SearchDataObjectsResponseOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchSearchDataObjectsResponse other)
public BatchSearchDataObjectsResponse.Builder mergeFrom(BatchSearchDataObjectsResponse other)
public BatchSearchDataObjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchSearchDataObjectsResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeResults(int index)
public BatchSearchDataObjectsResponse.Builder removeResults(int index)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
setResults(int index, SearchDataObjectsResponse value)
public BatchSearchDataObjectsResponse.Builder setResults(int index, SearchDataObjectsResponse value)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setResults(int index, SearchDataObjectsResponse.Builder builderForValue)
public BatchSearchDataObjectsResponse.Builder setResults(int index, SearchDataObjectsResponse.Builder builderForValue)
Output only. A list of search responses, one for each request in the batch.
If a ranker is used, a single ranked list of results is returned.
repeated .google.cloud.vectorsearch.v1beta.SearchDataObjectsResponse results = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];