Class WebDetection.Builder (2.1.4)

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.v1p2beta1.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)

Best guess text labels for the request image.

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

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

addAllFullMatchingImages(Iterable<? extends WebDetection.WebImage> values)

public WebDetection.Builder addAllFullMatchingImages(Iterable<? extends WebDetection.WebImage> values)

Fully matching images from the Internet. Can include resized copies of the query image.

repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage full_matching_images = 2;

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

addAllPagesWithMatchingImages(Iterable<? extends WebDetection.WebPage> values)

public WebDetection.Builder addAllPagesWithMatchingImages(Iterable<? extends WebDetection.WebPage> values)

Web pages containing the matching images from the Internet.

repeated .google.cloud.vision.v1p2beta1.WebDetection.WebPage pages_with_matching_images = 4;

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

addAllPartialMatchingImages(Iterable<? extends WebDetection.WebImage> values)

public WebDetection.Builder addAllPartialMatchingImages(Iterable<? extends WebDetection.WebImage> values)

Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.

repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage partial_matching_images = 3;

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

addAllVisuallySimilarImages(Iterable<? extends WebDetection.WebImage> values)

public WebDetection.Builder addAllVisuallySimilarImages(Iterable<? extends WebDetection.WebImage> values)

The visually similar image results.

repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage visually_similar_image