Interface FeatureOrBuilder (3.53.0)

public interface FeatureOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxResults()

public abstract 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
Type Description
int

The maxResults.

getModel()

public abstract 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
Type Description
String

The model.

getModelBytes()

public abstract 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
Type Description
ByteString

The bytes for model.

getType()

public abstract Feature.Type getType()

The feature type.

.google.cloud.vision.v1p4beta1.Feature.Type type = 1;

Returns
Type Description
Feature.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The feature type.

.google.cloud.vision.v1p4beta1.Feature.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.