public static final class BatchSearchDataObjectsRequest.Builder extends GeneratedMessageV3.Builder<BatchSearchDataObjectsRequest.Builder> implements BatchSearchDataObjectsRequestOrBuilder
A request to perform a batch of search operations.
Protobuf type google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest
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
addAllSearches(Iterable<? extends Search> values)
public BatchSearchDataObjectsRequest.Builder addAllSearches(Iterable<? extends Search> values)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.vectorsearch.v1beta.Search>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchSearchDataObjectsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSearches(Search value)
public BatchSearchDataObjectsRequest.Builder addSearches(Search value)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
Search
|
addSearches(Search.Builder builderForValue)
public BatchSearchDataObjectsRequest.Builder addSearches(Search.Builder builderForValue)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
addSearches(int index, Search value)
public BatchSearchDataObjectsRequest.Builder addSearches(int index, Search value)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters |
| Name |
Description |
index |
int
|
value |
Search
|
addSearches(int index, Search.Builder builderForValue)
public BatchSearchDataObjectsRequest.Builder addSearches(int index, Search.Builder builderForValue)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
addSearchesBuilder()
public Search.Builder addSearchesBuilder()
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
addSearchesBuilder(int index)
public Search.Builder addSearchesBuilder(int index)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
build()
public BatchSearchDataObjectsRequest build()
buildPartial()
public BatchSearchDataObjectsRequest buildPartial()
clear()
public BatchSearchDataObjectsRequest.Builder clear()
Overrides
clearCombine()
public BatchSearchDataObjectsRequest.Builder clearCombine()
Optional. Options for combining the results of the batch search operations.
.google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.CombineResultsOptions combine = 3 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public BatchSearchDataObjectsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchSearchDataObjectsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BatchSearchDataObjectsRequest.Builder clearParent()
Required. The resource name of the Collection for which to search.
Format: projects/{project}/locations/{location}/collections/{collection}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearSearches()
public BatchSearchDataObjectsRequest.Builder clearSearches()
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public BatchSearchDataObjectsRequest.Builder clone()
Overrides
getCombine()
public BatchSearchDataObjectsRequest.CombineResultsOptions getCombine()
Optional. Options for combining the results of the batch search operations.
.google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.CombineResultsOptions combine = 3 [(.google.api.field_behavior) = OPTIONAL];
getCombineBuilder()
public BatchSearchDataObjectsRequest.CombineResultsOptions.Builder getCombineBuilder()
Optional. Options for combining the results of the batch search operations.
.google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.CombineResultsOptions combine = 3 [(.google.api.field_behavior) = OPTIONAL];
getCombineOrBuilder()
public BatchSearchDataObjectsRequest.CombineResultsOptionsOrBuilder getCombineOrBuilder()
Optional. Options for combining the results of the batch search operations.
.google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.CombineResultsOptions combine = 3 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public BatchSearchDataObjectsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The resource name of the Collection for which to search.
Format: projects/{project}/locations/{location}/collections/{collection}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the Collection for which to search.
Format: projects/{project}/locations/{location}/collections/{collection}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
getSearches(int index)
public Search getSearches(int index)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Search |
|
getSearchesBuilder(int index)
public Search.Builder getSearchesBuilder(int index)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getSearchesBuilderList()
public List<Search.Builder> getSearchesBuilderList()
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
getSearchesCount()
public int getSearchesCount()
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
getSearchesList()
public List<Search> getSearchesList()
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
getSearchesOrBuilder(int index)
public SearchOrBuilder getSearchesOrBuilder(int index)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getSearchesOrBuilderList()
public List<? extends SearchOrBuilder> getSearchesOrBuilderList()
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vectorsearch.v1beta.SearchOrBuilder> |
|
hasCombine()
public boolean hasCombine()
Optional. Options for combining the results of the batch search operations.
.google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.CombineResultsOptions combine = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the combine field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCombine(BatchSearchDataObjectsRequest.CombineResultsOptions value)
public BatchSearchDataObjectsRequest.Builder mergeCombine(BatchSearchDataObjectsRequest.CombineResultsOptions value)
Optional. Options for combining the results of the batch search operations.
.google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.CombineResultsOptions combine = 3 [(.google.api.field_behavior) = OPTIONAL];
mergeFrom(BatchSearchDataObjectsRequest other)
public BatchSearchDataObjectsRequest.Builder mergeFrom(BatchSearchDataObjectsRequest other)
public BatchSearchDataObjectsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchSearchDataObjectsRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchSearchDataObjectsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSearches(int index)
public BatchSearchDataObjectsRequest.Builder removeSearches(int index)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
setCombine(BatchSearchDataObjectsRequest.CombineResultsOptions value)
public BatchSearchDataObjectsRequest.Builder setCombine(BatchSearchDataObjectsRequest.CombineResultsOptions value)
Optional. Options for combining the results of the batch search operations.
.google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.CombineResultsOptions combine = 3 [(.google.api.field_behavior) = OPTIONAL];
setCombine(BatchSearchDataObjectsRequest.CombineResultsOptions.Builder builderForValue)
public BatchSearchDataObjectsRequest.Builder setCombine(BatchSearchDataObjectsRequest.CombineResultsOptions.Builder builderForValue)
Optional. Options for combining the results of the batch search operations.
.google.cloud.vectorsearch.v1beta.BatchSearchDataObjectsRequest.CombineResultsOptions combine = 3 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public BatchSearchDataObjectsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public BatchSearchDataObjectsRequest.Builder setParent(String value)
Required. The resource name of the Collection for which to search.
Format: projects/{project}/locations/{location}/collections/{collection}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public BatchSearchDataObjectsRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Collection for which to search.
Format: projects/{project}/locations/{location}/collections/{collection}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchSearchDataObjectsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSearches(int index, Search value)
public BatchSearchDataObjectsRequest.Builder setSearches(int index, Search value)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters |
| Name |
Description |
index |
int
|
value |
Search
|
setSearches(int index, Search.Builder builderForValue)
public BatchSearchDataObjectsRequest.Builder setSearches(int index, Search.Builder builderForValue)
Required. A list of search requests to execute in parallel.
repeated .google.cloud.vectorsearch.v1beta.Search searches = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchSearchDataObjectsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides