public static final class ReadIndexDatapointsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReadIndexDatapointsRequest.Builder> implements ReadIndexDatapointsRequestOrBuilder
The request message for [MatchService.ReadIndexDatapoints][google.cloud.aiplatform.v1.MatchService.ReadIndexDatapoints].Protobuf type
google.cloud.aiplatform.v1.ReadIndexDatapointsRequest| Modifier and Type | Method and Description |
|---|---|
ReadIndexDatapointsRequest.Builder |
addAllIds(Iterable<String> values)
IDs of the datapoints to be searched for.
|
ReadIndexDatapointsRequest.Builder |
addIds(String value)
IDs of the datapoints to be searched for.
|
ReadIndexDatapointsRequest.Builder |
addIdsBytes(com.google.protobuf.ByteString value)
IDs of the datapoints to be searched for.
|
ReadIndexDatapointsRequest |
build() |
ReadIndexDatapointsRequest |
buildPartial() |
ReadIndexDatapointsRequest.Builder |
clear() |
ReadIndexDatapointsRequest.Builder |
clearDeployedIndexId()
The ID of the DeployedIndex that will serve the request.
|
ReadIndexDatapointsRequest.Builder |
clearIds()
IDs of the datapoints to be searched for.
|
ReadIndexDatapointsRequest.Builder |
clearIndexEndpoint()
Required.
|
ReadIndexDatapointsRequest |
getDefaultInstanceForType() |
String |
getDeployedIndexId()
The ID of the DeployedIndex that will serve the request.
|
com.google.protobuf.ByteString |
getDeployedIndexIdBytes()
The ID of the DeployedIndex that will serve the request.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIds(int index)
IDs of the datapoints to be searched for.
|
com.google.protobuf.ByteString |
getIdsBytes(int index)
IDs of the datapoints to be searched for.
|
int |
getIdsCount()
IDs of the datapoints to be searched for.
|
com.google.protobuf.ProtocolStringList |
getIdsList()
IDs of the datapoints to be searched for.
|
String |
getIndexEndpoint()
Required.
|
com.google.protobuf.ByteString |
getIndexEndpointBytes()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReadIndexDatapointsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReadIndexDatapointsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReadIndexDatapointsRequest.Builder |
mergeFrom(ReadIndexDatapointsRequest other) |
ReadIndexDatapointsRequest.Builder |
setDeployedIndexId(String value)
The ID of the DeployedIndex that will serve the request.
|
ReadIndexDatapointsRequest.Builder |
setDeployedIndexIdBytes(com.google.protobuf.ByteString value)
The ID of the DeployedIndex that will serve the request.
|
ReadIndexDatapointsRequest.Builder |
setIds(int index,
String value)
IDs of the datapoints to be searched for.
|
ReadIndexDatapointsRequest.Builder |
setIndexEndpoint(String value)
Required.
|
ReadIndexDatapointsRequest.Builder |
setIndexEndpointBytes(com.google.protobuf.ByteString value)
Required.
|
addRepeatedField, 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<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ReadIndexDatapointsRequest.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<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReadIndexDatapointsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReadIndexDatapointsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReadIndexDatapointsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest.Builder mergeFrom(ReadIndexDatapointsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest.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<ReadIndexDatapointsRequest.Builder>IOExceptionpublic String getIndexEndpoint()
Required. The name of the index endpoint.
Format:
`projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getIndexEndpoint in interface ReadIndexDatapointsRequestOrBuilderpublic com.google.protobuf.ByteString getIndexEndpointBytes()
Required. The name of the index endpoint.
Format:
`projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getIndexEndpointBytes in interface ReadIndexDatapointsRequestOrBuilderpublic ReadIndexDatapointsRequest.Builder setIndexEndpoint(String value)
Required. The name of the index endpoint.
Format:
`projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The indexEndpoint to set.public ReadIndexDatapointsRequest.Builder clearIndexEndpoint()
Required. The name of the index endpoint.
Format:
`projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ReadIndexDatapointsRequest.Builder setIndexEndpointBytes(com.google.protobuf.ByteString value)
Required. The name of the index endpoint.
Format:
`projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for indexEndpoint to set.public String getDeployedIndexId()
The ID of the DeployedIndex that will serve the request.
string deployed_index_id = 2;getDeployedIndexId in interface ReadIndexDatapointsRequestOrBuilderpublic com.google.protobuf.ByteString getDeployedIndexIdBytes()
The ID of the DeployedIndex that will serve the request.
string deployed_index_id = 2;getDeployedIndexIdBytes in interface ReadIndexDatapointsRequestOrBuilderpublic ReadIndexDatapointsRequest.Builder setDeployedIndexId(String value)
The ID of the DeployedIndex that will serve the request.
string deployed_index_id = 2;value - The deployedIndexId to set.public ReadIndexDatapointsRequest.Builder clearDeployedIndexId()
The ID of the DeployedIndex that will serve the request.
string deployed_index_id = 2;public ReadIndexDatapointsRequest.Builder setDeployedIndexIdBytes(com.google.protobuf.ByteString value)
The ID of the DeployedIndex that will serve the request.
string deployed_index_id = 2;value - The bytes for deployedIndexId to set.public com.google.protobuf.ProtocolStringList getIdsList()
IDs of the datapoints to be searched for.
repeated string ids = 3;getIdsList in interface ReadIndexDatapointsRequestOrBuilderpublic int getIdsCount()
IDs of the datapoints to be searched for.
repeated string ids = 3;getIdsCount in interface ReadIndexDatapointsRequestOrBuilderpublic String getIds(int index)
IDs of the datapoints to be searched for.
repeated string ids = 3;getIds in interface ReadIndexDatapointsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIdsBytes(int index)
IDs of the datapoints to be searched for.
repeated string ids = 3;getIdsBytes in interface ReadIndexDatapointsRequestOrBuilderindex - The index of the value to return.public ReadIndexDatapointsRequest.Builder setIds(int index, String value)
IDs of the datapoints to be searched for.
repeated string ids = 3;index - The index to set the value at.value - The ids to set.public ReadIndexDatapointsRequest.Builder addIds(String value)
IDs of the datapoints to be searched for.
repeated string ids = 3;value - The ids to add.public ReadIndexDatapointsRequest.Builder addAllIds(Iterable<String> values)
IDs of the datapoints to be searched for.
repeated string ids = 3;values - The ids to add.public ReadIndexDatapointsRequest.Builder clearIds()
IDs of the datapoints to be searched for.
repeated string ids = 3;public ReadIndexDatapointsRequest.Builder addIdsBytes(com.google.protobuf.ByteString value)
IDs of the datapoints to be searched for.
repeated string ids = 3;value - The bytes of the ids to add.Copyright © 2026 Google LLC. All rights reserved.