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 intgetMaxResults()Maximum number of results of this type.StringgetModel()Model to use for the feature.com.google.protobuf.ByteStringgetModelBytes()Model to use for the feature.Feature.TypegetType()The feature type.intgetTypeValue()The feature type.-
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.v1p2beta1.Feature.Type type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
Feature.Type getType()
The feature type.
.google.cloud.vision.v1p2beta1.Feature.Type type = 1;- Returns:
- The type.
-
getMaxResults
int getMaxResults()
Maximum number of results of this type. Does not apply to `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.
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.
-
-