public interface ExamplesOverrideOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCrowdingCount()
public abstract int getCrowdingCount()
The number of neighbors to return that have the same crowding tag.
int32 crowding_count = 2;
Returns | |
---|---|
Type | Description |
int |
The crowdingCount. |
getDataFormat()
public abstract ExamplesOverride.DataFormat getDataFormat()
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()
public abstract int getDataFormatValue()
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()
public abstract int getNeighborCount()
The number of neighbors to return.
int32 neighbor_count = 1;
Returns | |
---|---|
Type | Description |
int |
The neighborCount. |
getRestrictions(int index)
public abstract ExamplesRestrictionsNamespace getRestrictions(int index)
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()
public abstract int getRestrictionsCount()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;
Returns | |
---|---|
Type | Description |
int |
getRestrictionsList()
public abstract List<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)
public abstract ExamplesRestrictionsNamespaceOrBuilder getRestrictionsOrBuilder(int index)
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()
public abstract List<? extends ExamplesRestrictionsNamespaceOrBuilder> 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()
public abstract boolean getReturnEmbeddings()
If true, return the embeddings instead of neighbors.
bool return_embeddings = 4;
Returns | |
---|---|
Type | Description |
boolean |
The returnEmbeddings. |