- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class IndexDatapoint.Builder extends GeneratedMessageV3.Builder<IndexDatapoint.Builder> implements IndexDatapointOrBuilder
A datapoint of Index.
Protobuf type google.cloud.aiplatform.v1.IndexDatapoint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IndexDatapoint.BuilderImplements
IndexDatapointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFeatureVector(Iterable<? extends Float> values)
public IndexDatapoint.Builder addAllFeatureVector(Iterable<? extends Float> values)
Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<? extends java.lang.Float> The featureVector to add. |
Type | Description |
IndexDatapoint.Builder | This builder for chaining. |
addAllRestricts(Iterable<? extends IndexDatapoint.Restriction> values)
public IndexDatapoint.Builder addAllRestricts(Iterable<? extends IndexDatapoint.Restriction> values)
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];
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction> |
Type | Description |
IndexDatapoint.Builder |
addFeatureVector(float value)
public IndexDatapoint.Builder addFeatureVector(float value)
Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | float The featureVector to add. |
Type | Description |
IndexDatapoint.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IndexDatapoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IndexDatapoint.Builder |
addRestricts(IndexDatapoint.Restriction value)
public IndexDatapoint.Builder addRestricts(IndexDatapoint.Restriction value)
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];
Name | Description |
value | IndexDatapoint.Restriction |
Type | Description |
IndexDatapoint.Builder |
addRestricts(IndexDatapoint.Restriction.Builder builderForValue)
public IndexDatapoint.Builder addRestricts(IndexDatapoint.Restriction.Builder builderForValue)
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];
Name | Description |
builderForValue | IndexDatapoint.Restriction.Builder |
Type | Description |
IndexDatapoint.Builder |
addRestricts(int index, IndexDatapoint.Restriction value)
public IndexDatapoint.Builder addRestricts(int index, IndexDatapoint.Restriction value)
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];
Name | Description |
index | int |
value | IndexDatapoint.Restriction |
Type | Description |
IndexDatapoint.Builder |
addRestricts(int index, IndexDatapoint.Restriction.Builder builderForValue)
public IndexDatapoint.Builder addRestricts(int index, IndexDatapoint.Restriction.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | IndexDatapoint.Restriction.Builder |
Type | Description |
IndexDatapoint.Builder |
addRestrictsBuilder()
public IndexDatapoint.Restriction.Builder addRestrictsBuilder()
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];
Type | Description |
IndexDatapoint.Restriction.Builder |
addRestrictsBuilder(int index)
public IndexDatapoint.Restriction.Builder addRestrictsBuilder(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];
Name | Description |
index | int |
Type | Description |
IndexDatapoint.Restriction.Builder |
build()
public IndexDatapoint build()
Type | Description |
IndexDatapoint |
buildPartial()
public IndexDatapoint buildPartial()
Type | Description |
IndexDatapoint |
clear()
public IndexDatapoint.Builder clear()
Type | Description |
IndexDatapoint.Builder |
clearCrowdingTag()
public IndexDatapoint.Builder clearCrowdingTag()
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];
Type | Description |
IndexDatapoint.Builder |
clearDatapointId()
public IndexDatapoint.Builder clearDatapointId()
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
IndexDatapoint.Builder | This builder for chaining. |
clearFeatureVector()
public IndexDatapoint.Builder clearFeatureVector()
Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
IndexDatapoint.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public IndexDatapoint.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
IndexDatapoint.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public IndexDatapoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
IndexDatapoint.Builder |
clearRestricts()
public IndexDatapoint.Builder clearRestricts()
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];
Type | Description |
IndexDatapoint.Builder |
clone()
public IndexDatapoint.Builder clone()
Type | Description |
IndexDatapoint.Builder |
getCrowdingTag()
public 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];
Type | Description |
IndexDatapoint.CrowdingTag | The crowdingTag. |
getCrowdingTagBuilder()
public IndexDatapoint.CrowdingTag.Builder getCrowdingTagBuilder()
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];
Type | Description |
IndexDatapoint.CrowdingTag.Builder |
getCrowdingTagOrBuilder()
public 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];
Type | Description |
IndexDatapoint.CrowdingTagOrBuilder |
getDatapointId()
public String getDatapointId()
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The datapointId. |
getDatapointIdBytes()
public ByteString getDatapointIdBytes()
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for datapointId. |
getDefaultInstanceForType()
public IndexDatapoint getDefaultInstanceForType()
Type | Description |
IndexDatapoint |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFeatureVector(int index)
public 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];
Name | Description |
index | int The index of the element to return. |
Type | Description |
float | The featureVector at the given index. |
getFeatureVectorCount()
public 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];
Type | Description |
int | The count of featureVector. |
getFeatureVectorList()
public 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];
Type | Description |
List<Float> | A list containing the featureVector. |
getRestricts(int index)
public 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];
Name | Description |
index | int |
Type | Description |
IndexDatapoint.Restriction |
getRestrictsBuilder(int index)
public IndexDatapoint.Restriction.Builder getRestrictsBuilder(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];
Name | Description |
index | int |
Type | Description |
IndexDatapoint.Restriction.Builder |
getRestrictsBuilderList()
public List<IndexDatapoint.Restriction.Builder> getRestrictsBuilderList()
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];
Type | Description |
List<Builder> |
getRestrictsCount()
public 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];
Type | Description |
int |
getRestrictsList()
public 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];
Type | Description |
List<Restriction> |
getRestrictsOrBuilder(int index)
public 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];
Name | Description |
index | int |
Type | Description |
IndexDatapoint.RestrictionOrBuilder |
getRestrictsOrBuilderList()
public 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];
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder> |
hasCrowdingTag()
public 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];
Type | Description |
boolean | Whether the crowdingTag field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCrowdingTag(IndexDatapoint.CrowdingTag value)
public IndexDatapoint.Builder mergeCrowdingTag(IndexDatapoint.CrowdingTag value)
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];
Name | Description |
value | IndexDatapoint.CrowdingTag |
Type | Description |
IndexDatapoint.Builder |
mergeFrom(IndexDatapoint other)
public IndexDatapoint.Builder mergeFrom(IndexDatapoint other)
Name | Description |
other | IndexDatapoint |
Type | Description |
IndexDatapoint.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IndexDatapoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
IndexDatapoint.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public IndexDatapoint.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
IndexDatapoint.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IndexDatapoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IndexDatapoint.Builder |
removeRestricts(int index)
public IndexDatapoint.Builder removeRestricts(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];
Name | Description |
index | int |
Type | Description |
IndexDatapoint.Builder |
setCrowdingTag(IndexDatapoint.CrowdingTag value)
public IndexDatapoint.Builder setCrowdingTag(IndexDatapoint.CrowdingTag value)
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];
Name | Description |
value | IndexDatapoint.CrowdingTag |
Type | Description |
IndexDatapoint.Builder |
setCrowdingTag(IndexDatapoint.CrowdingTag.Builder builderForValue)
public IndexDatapoint.Builder setCrowdingTag(IndexDatapoint.CrowdingTag.Builder builderForValue)
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];
Name | Description |
builderForValue | IndexDatapoint.CrowdingTag.Builder |
Type | Description |
IndexDatapoint.Builder |
setDatapointId(String value)
public IndexDatapoint.Builder setDatapointId(String value)
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The datapointId to set. |
Type | Description |
IndexDatapoint.Builder | This builder for chaining. |
setDatapointIdBytes(ByteString value)
public IndexDatapoint.Builder setDatapointIdBytes(ByteString value)
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for datapointId to set. |
Type | Description |
IndexDatapoint.Builder | This builder for chaining. |
setFeatureVector(int index, float value)
public IndexDatapoint.Builder setFeatureVector(int index, float value)
Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index to set the value at. |
value | float The featureVector to set. |
Type | Description |
IndexDatapoint.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public IndexDatapoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IndexDatapoint.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IndexDatapoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
IndexDatapoint.Builder |
setRestricts(int index, IndexDatapoint.Restriction value)
public IndexDatapoint.Builder setRestricts(int index, IndexDatapoint.Restriction value)
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];
Name | Description |
index | int |
value | IndexDatapoint.Restriction |
Type | Description |
IndexDatapoint.Builder |
setRestricts(int index, IndexDatapoint.Restriction.Builder builderForValue)
public IndexDatapoint.Builder setRestricts(int index, IndexDatapoint.Restriction.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | IndexDatapoint.Restriction.Builder |
Type | Description |
IndexDatapoint.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final IndexDatapoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IndexDatapoint.Builder |