Package com.google.cloud.aiplatform.v1
Interface ExamplesOverrideOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExamplesOverride
,ExamplesOverride.Builder
public interface ExamplesOverrideOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCrowdingCount()
The number of neighbors to return that have the same crowding tag.ExamplesOverride.DataFormat
getDataFormat()
The format of the data being provided with each call.int
getDataFormatValue()
The format of the data being provided with each call.int
getNeighborCount()
The number of neighbors to return.ExamplesRestrictionsNamespace
getRestrictions(int index)
Restrict the resulting nearest neighbors to respect these constraints.int
getRestrictionsCount()
Restrict the resulting nearest neighbors to respect these constraints.List<ExamplesRestrictionsNamespace>
getRestrictionsList()
Restrict the resulting nearest neighbors to respect these constraints.ExamplesRestrictionsNamespaceOrBuilder
getRestrictionsOrBuilder(int index)
Restrict the resulting nearest neighbors to respect these constraints.List<? extends ExamplesRestrictionsNamespaceOrBuilder>
getRestrictionsOrBuilderList()
Restrict the resulting nearest neighbors to respect these constraints.boolean
getReturnEmbeddings()
If true, return the embeddings instead of neighbors.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNeighborCount
int getNeighborCount()
The number of neighbors to return.
int32 neighbor_count = 1;
- Returns:
- The neighborCount.
-
getCrowdingCount
int getCrowdingCount()
The number of neighbors to return that have the same crowding tag.
int32 crowding_count = 2;
- Returns:
- The crowdingCount.
-
getRestrictionsList
List<ExamplesRestrictionsNamespace> getRestrictionsList()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
-
getRestrictions
ExamplesRestrictionsNamespace getRestrictions(int index)
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
-
getRestrictionsCount
int getRestrictionsCount()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
-
getRestrictionsOrBuilderList
List<? extends ExamplesRestrictionsNamespaceOrBuilder> getRestrictionsOrBuilderList()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
-
getRestrictionsOrBuilder
ExamplesRestrictionsNamespaceOrBuilder getRestrictionsOrBuilder(int index)
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
-
getReturnEmbeddings
boolean getReturnEmbeddings()
If true, return the embeddings instead of neighbors.
bool return_embeddings = 4;
- Returns:
- The returnEmbeddings.
-
getDataFormatValue
int getDataFormatValue()
The format of the data being provided with each call.
.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat data_format = 5;
- Returns:
- The enum numeric value on the wire for dataFormat.
-
getDataFormat
ExamplesOverride.DataFormat getDataFormat()
The format of the data being provided with each call.
.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat data_format = 5;
- Returns:
- The dataFormat.
-
-