Class WebDetection.Builder (2.1.1)

public static final class WebDetection.Builder extends GeneratedMessageV3.Builder<WebDetection.Builder> implements WebDetectionOrBuilder

Relevant information for the image from the Internet.

Protobuf type google.cloud.vision.v1.WebDetection

Static Methods

getDescriptor()

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

Methods

addAllBestGuessLabels(Iterable<? extends WebDetection.WebLabel> values)

public WebDetection.Builder addAllBestGuessLabels(Iterable<? extends WebDetection.WebLabel> values)

The service's best guess as to the topic of the request image. Inferred from similar images on the open web.

repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.WebDetection.WebLabel>
Returns
TypeDescription
WebDetection.Builder