public static final class ReadIndexDatapointsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder> implements ReadIndexDatapointsRequestOrBuilder
The request message for [MatchService.ReadIndexDatapoints][google.cloud.aiplatform.v1beta1.MatchService.ReadIndexDatapoints].Protobuf type
google.cloud.aiplatform.v1beta1.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadIndexDatapointsRequest |
build() |
ReadIndexDatapointsRequest |
buildPartial() |
ReadIndexDatapointsRequest.Builder |
clear() |
ReadIndexDatapointsRequest.Builder |
clearDeployedIndexId()
The ID of the DeployedIndex that will serve the request.
|
ReadIndexDatapointsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReadIndexDatapointsRequest.Builder |
clearIds()
IDs of the datapoints to be searched for.
|
ReadIndexDatapointsRequest.Builder |
clearIndexEndpoint()
Required.
|
ReadIndexDatapointsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReadIndexDatapointsRequest.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
ReadIndexDatapointsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReadIndexDatapointsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder>public ReadIndexDatapointsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder>public 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.GeneratedMessageV3.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.public final ReadIndexDatapointsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder>public final ReadIndexDatapointsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadIndexDatapointsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.