public interface FeatureOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getMaxResults()
Maximum number of results of this type.
|
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.v1p4beta1.Feature.Type type = 1;
Feature.Type getType()
The feature type.
.google.cloud.vision.v1p4beta1.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;
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 © 2022 Google LLC. All rights reserved.