public interface FeatureOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and 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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getTypeValue()
The feature type.
.google.cloud.vision.v1.Feature.Type type = 1;Feature.Type getType()
The feature type.
.google.cloud.vision.v1.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;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;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;Copyright © 2023 Google LLC. All rights reserved.