public interface FeatureOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getMaxResults()
Maximum number of results of this type.
|
java.lang.String |
getModel()
Model to use for the feature.
|
ByteString |
getModelBytes()
Model to use for the feature.
|
Feature.Type |
getType()
The feature type.
|
int |
getTypeValue()
The feature type.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getTypeValue()
The feature type.
.google.cloud.vision.v1p2beta1.Feature.Type type = 1;
Feature.Type getType()
The feature type.
.google.cloud.vision.v1p2beta1.Feature.Type type = 1;
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;
java.lang.String getModel()
Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 3;
ByteString getModelBytes()
Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 3;