public interface IndexDatapointOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
IndexDatapoint.CrowdingTag |
getCrowdingTag()
Optional.
|
IndexDatapoint.CrowdingTagOrBuilder |
getCrowdingTagOrBuilder()
Optional.
|
String |
getDatapointId()
Required.
|
com.google.protobuf.ByteString |
getDatapointIdBytes()
Required.
|
float |
getFeatureVector(int index)
Required.
|
int |
getFeatureVectorCount()
Required.
|
List<Float> |
getFeatureVectorList()
Required.
|
IndexDatapoint.Restriction |
getRestricts(int index)
Optional.
|
int |
getRestrictsCount()
Optional.
|
List<IndexDatapoint.Restriction> |
getRestrictsList()
Optional.
|
IndexDatapoint.RestrictionOrBuilder |
getRestrictsOrBuilder(int index)
Optional.
|
List<? extends IndexDatapoint.RestrictionOrBuilder> |
getRestrictsOrBuilderList()
Optional.
|
boolean |
hasCrowdingTag()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getDatapointId()
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDatapointIdBytes()
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];List<Float> getFeatureVectorList()
Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];int getFeatureVectorCount()
Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];float getFeatureVector(int index)
Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];index - The index of the element to return.List<IndexDatapoint.Restriction> getRestrictsList()
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
IndexDatapoint.Restriction getRestricts(int index)
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
int getRestrictsCount()
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
List<? extends IndexDatapoint.RestrictionOrBuilder> getRestrictsOrBuilderList()
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
IndexDatapoint.RestrictionOrBuilder getRestrictsOrBuilder(int index)
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
boolean hasCrowdingTag()
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];
IndexDatapoint.CrowdingTag getCrowdingTag()
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];
IndexDatapoint.CrowdingTagOrBuilder getCrowdingTagOrBuilder()
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2023 Google LLC. All rights reserved.