Interface PresetsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Presets, Presets.Builder

@Generated public interface PresetsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries.
    int
    The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries.
    Preset option controlling parameters for speed-precision trade-off when querying for examples.
    int
    Preset option controlling parameters for speed-precision trade-off when querying for examples.
    boolean
    Preset option controlling parameters for speed-precision trade-off when querying for examples.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasQuery

      boolean hasQuery()
       Preset option controlling parameters for speed-precision trade-off when
       querying for examples. If omitted, defaults to `PRECISE`.
       
      optional .google.cloud.aiplatform.v1.Presets.Query query = 1;
      Returns:
      Whether the query field is set.
    • getQueryValue

      int getQueryValue()
       Preset option controlling parameters for speed-precision trade-off when
       querying for examples. If omitted, defaults to `PRECISE`.
       
      optional .google.cloud.aiplatform.v1.Presets.Query query = 1;
      Returns:
      The enum numeric value on the wire for query.
    • getQuery

      Presets.Query getQuery()
       Preset option controlling parameters for speed-precision trade-off when
       querying for examples. If omitted, defaults to `PRECISE`.
       
      optional .google.cloud.aiplatform.v1.Presets.Query query = 1;
      Returns:
      The query.
    • getModalityValue

      int getModalityValue()
       The modality of the uploaded model, which automatically configures the
       distance measurement and feature normalization for the underlying example
       index and queries. If your model does not precisely fit one of these types,
       it is okay to choose the closest type.
       
      .google.cloud.aiplatform.v1.Presets.Modality modality = 2;
      Returns:
      The enum numeric value on the wire for modality.
    • getModality

      Presets.Modality getModality()
       The modality of the uploaded model, which automatically configures the
       distance measurement and feature normalization for the underlying example
       index and queries. If your model does not precisely fit one of these types,
       it is okay to choose the closest type.
       
      .google.cloud.aiplatform.v1.Presets.Modality modality = 2;
      Returns:
      The modality.