Class CropHintsAnnotation.Builder

public static final class CropHintsAnnotation.Builder extends GeneratedMessageV3.Builder<CropHintsAnnotation.Builder> implements CropHintsAnnotationOrBuilder

Set of crop hints that are used to generate new crops when serving images.

Protobuf type google.cloud.vision.v1p2beta1.CropHintsAnnotation

Static Methods

getDescriptor()

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

Methods

addAllCropHints(Iterable<? extends CropHint> values)

public CropHintsAnnotation.Builder addAllCropHints(Iterable<? extends CropHint> values)

Crop hint results.

repeated .google.cloud.vision.v1p2beta1.CropHint crop_hints = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p2beta1.CropHint>
Returns
TypeDescription
CropHintsAnnotation.Builder