Interface ExamplesOverrideOrBuilder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface ExamplesOverrideOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
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. |