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.v1p4beta1.CropHintsAnnotation

Methods

addAllCropHints(Iterable<? extends CropHint> values)

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

Crop hint results.

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

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

addCropHints(CropHint value)

public CropHintsAnnotation.Builder addCropHints(CropHint value)

Crop hint results.

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

Parameter
NameDescription
valueCropHint
R