Interface ExamplesOverrideOrBuilder (0.1.0)

publicinterface ExamplesOverrideOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getCrowdingCount()

publicabstractintgetCrowdingCount()

The number of neighbors to return that have the same crowding tag.

int32 crowding_count = 2;

Returns
Type Description
int

The crowdingCount.

getDataFormat()

publicabstractExamplesOverride.DataFormatgetDataFormat()

The format of the data being provided with each call.

.google.cloud.vertexai.v1beta1.ExamplesOverride.DataFormat data_format = 5;

Returns
Type Description
ExamplesOverride.DataFormat

The dataFormat.

getDataFormatValue()

publicabstractintgetDataFormatValue()

The format of the data being provided with each call.

.google.cloud.vertexai.v1beta1.ExamplesOverride.DataFormat data_format = 5;

Returns
Type Description
int

The enum numeric value on the wire for dataFormat.

getNeighborCount()

publicabstractintgetNeighborCount()

The number of neighbors to return.

int32 neighbor_count = 1;

Returns
Type Description
int

The neighborCount.

getRestrictions(int index)

publicabstractExamplesRestrictionsNamespacegetRestrictions(intindex)

Restrict the resulting nearest neighbors to respect these constraints.

repeated .google.cloud.vertexai.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;

Parameter
Name Description
index int
Returns
Type Description
ExamplesRestrictionsNamespace

getRestrictionsCount()

publicabstractintgetRestrictionsCount()

Restrict the resulting nearest neighbors to respect these constraints.

repeated .google.cloud.vertexai.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;

Returns
Type Description
int

getRestrictionsList()

publicabstractList<ExamplesRestrictionsNamespace>getRestrictionsList()

Restrict the resulting nearest neighbors to respect these constraints.

repeated .google.cloud.vertexai.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;

Returns
Type Description
List<ExamplesRestrictionsNamespace>

getRestrictionsOrBuilder(int index)

publicabstractExamplesRestrictionsNamespaceOrBuildergetRestrictionsOrBuilder(intindex)

Restrict the resulting nearest neighbors to respect these constraints.

repeated .google.cloud.vertexai.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;

Parameter
Name Description
index int
Returns
Type Description
ExamplesRestrictionsNamespaceOrBuilder

getRestrictionsOrBuilderList()

publicabstractList<?extendsExamplesRestrictionsNamespaceOrBuilder>getRestrictionsOrBuilderList()

Restrict the resulting nearest neighbors to respect these constraints.

repeated .google.cloud.vertexai.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;

Returns
Type Description
List<? extends com.google.cloud.vertexai.api.ExamplesRestrictionsNamespaceOrBuilder>

getReturnEmbeddings()

publicabstractbooleangetReturnEmbeddings()

If true, return the embeddings instead of neighbors.

bool return_embeddings = 4;

Returns
Type Description
boolean

The returnEmbeddings.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.