Interface PresetsOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      int getModalityValue()
      The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries.
      Presets.Query getQuery()
      Preset option controlling parameters for speed-precision trade-off when querying for examples.
      int getQueryValue()
      Preset option controlling parameters for speed-precision trade-off when querying for examples.
      boolean hasQuery()
      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 Detail

      • 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.Presets.Modality modality = 2;
        Returns:
        The modality.