Class CropHint (2.1.4)

public final class CropHint extends GeneratedMessageV3 implements CropHintOrBuilder

Single crop hint that is used to generate a new crop when serving an image.

Protobuf type google.cloud.vision.v1p1beta1.CropHint

Implements

CropHintOrBuilder

Static Fields

BOUNDING_POLY_FIELD_NUMBER

public static final int BOUNDING_POLY_FIELD_NUMBER
Field Value
TypeDescription
int

CONFIDENCE_FIELD_NUMBER

public static final int CONFIDENCE_FIELD_NUMBER
Field Value
TypeDescription
int

IMPORTANCE_FRACTION_FIELD_NUMBER

public static final int IMPORTANCE_FRACTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CropHint getDefaultInstance()
Returns
TypeDescription
CropHint

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CropHint.Builder newBuilder()
Returns
TypeDescription
CropHint.Builder

newBuilder(CropHint prototype)

public static CropHint.Builder newBuilder(CropHint prototype)
Parameter
NameDescription
prototype