Interface FeatureOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getMaxResults()
      Maximum number of results of this type.
      String getModel()
      Model to use for the feature.
      com.google.protobuf.ByteString getModelBytes()
      Model to use for the feature.
      Feature.Type getType()
      The feature type.
      int getTypeValue()
      The feature type.
      • 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

      • getTypeValue

        int getTypeValue()
         The feature type.
         
        .google.cloud.vision.v1p1beta1.Feature.Type type = 1;
        Returns:
        The enum numeric value on the wire for type.
      • getType

        Feature.Type getType()
         The feature type.
         
        .google.cloud.vision.v1p1beta1.Feature.Type type = 1;
        Returns:
        The type.
      • getMaxResults

        int getMaxResults()
         Maximum number of results of this type.
         
        int32 max_results = 2;
        Returns:
        The maxResults.
      • getModel

        String getModel()
         Model to use for the feature.
         Supported values: "builtin/stable" (the default if unset) and
         "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
         support "builtin/weekly" for the bleeding edge release updated weekly.
         
        string model = 3;
        Returns:
        The model.
      • getModelBytes

        com.google.protobuf.ByteString getModelBytes()
         Model to use for the feature.
         Supported values: "builtin/stable" (the default if unset) and
         "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
         support "builtin/weekly" for the bleeding edge release updated weekly.
         
        string model = 3;
        Returns:
        The bytes for model.