public static final class FindNeighborsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<FindNeighborsResponse.Builder> implements FindNeighborsResponseOrBuilder
The response message for [MatchService.FindNeighbors][google.cloud.aiplatform.v1.MatchService.FindNeighbors].Protobuf type
google.cloud.aiplatform.v1.FindNeighborsResponseaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FindNeighborsResponse.Builder>public FindNeighborsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<FindNeighborsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FindNeighborsResponse.Builder>public FindNeighborsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FindNeighborsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FindNeighborsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FindNeighborsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FindNeighborsResponse.Builder>public FindNeighborsResponse.Builder mergeFrom(FindNeighborsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<FindNeighborsResponse.Builder>public FindNeighborsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FindNeighborsResponse.Builder>IOExceptionpublic List<FindNeighborsResponse.NearestNeighbors> getNearestNeighborsList()
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
getNearestNeighborsList in interface FindNeighborsResponseOrBuilderpublic int getNearestNeighborsCount()
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
getNearestNeighborsCount in interface FindNeighborsResponseOrBuilderpublic FindNeighborsResponse.NearestNeighbors getNearestNeighbors(int index)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
getNearestNeighbors in interface FindNeighborsResponseOrBuilderpublic FindNeighborsResponse.Builder setNearestNeighbors(int index, FindNeighborsResponse.NearestNeighbors value)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.Builder setNearestNeighbors(int index, FindNeighborsResponse.NearestNeighbors.Builder builderForValue)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.Builder addNearestNeighbors(FindNeighborsResponse.NearestNeighbors value)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.Builder addNearestNeighbors(int index, FindNeighborsResponse.NearestNeighbors value)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.Builder addNearestNeighbors(FindNeighborsResponse.NearestNeighbors.Builder builderForValue)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.Builder addNearestNeighbors(int index, FindNeighborsResponse.NearestNeighbors.Builder builderForValue)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.Builder addAllNearestNeighbors(Iterable<? extends FindNeighborsResponse.NearestNeighbors> values)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.Builder clearNearestNeighbors()
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.Builder removeNearestNeighbors(int index)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.NearestNeighbors.Builder getNearestNeighborsBuilder(int index)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.NearestNeighborsOrBuilder getNearestNeighborsOrBuilder(int index)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
getNearestNeighborsOrBuilder in interface FindNeighborsResponseOrBuilderpublic List<? extends FindNeighborsResponse.NearestNeighborsOrBuilder> getNearestNeighborsOrBuilderList()
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
getNearestNeighborsOrBuilderList in interface FindNeighborsResponseOrBuilderpublic FindNeighborsResponse.NearestNeighbors.Builder addNearestNeighborsBuilder()
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public FindNeighborsResponse.NearestNeighbors.Builder addNearestNeighborsBuilder(int index)
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
public List<FindNeighborsResponse.NearestNeighbors.Builder> getNearestNeighborsBuilderList()
The nearest neighbors of the query datapoints.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;
Copyright © 2026 Google LLC. All rights reserved.