Package com.google.cloud.vision.v1
Interface FeatureOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Feature,Feature.Builder
@Generated
public interface FeatureOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeValue
int getTypeValue()The feature type.
.google.cloud.vision.v1.Feature.Type type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
Feature.Type getType()The feature type.
.google.cloud.vision.v1.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.
-