Interface FeatureOrBuilder (2.1.1)

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
TypeDescription
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".

string model = 3;

Returns
TypeDescription
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".

string model = 3;

Returns
TypeDescription
ByteString

The bytes for model.

getType()

public abstract Feature.Type getType()

The feature type.

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

Returns
TypeDescription
Feature.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The feature type.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.