Class WebDetection.WebPage.Builder (2.1.4)

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

Metadata for web pages.

Protobuf type google.cloud.vision.v1p2beta1.WebDetection.WebPage

Static Methods

getDescriptor()

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

Methods

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

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

Fully matching images on the page. Can include resized copies of the query image.

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

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

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

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

Partial matching images on the page. 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 = 5;

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

addFullMatchingImages(WebDetection.WebImage value)

public WebDetection.WebPage.Builder addFullMatchingImages(WebDetection.WebImage value)

Fully matching images on the page. Can include resized copies of the query image.

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

Parameter
NameDescription
valueWebDetection.WebImage
Returns
TypeDescription
WebDetection.WebPage.Builder

addFullMatchingImages(WebDetection.WebImage.Builder builderForValue)

public WebDetection.WebPage.Builder addFullMatchingImages(WebDetection.WebImage.Builder builderForValue)

Fully matching images on the page. Can include resized copies of the query image.

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

Parameter
NameDescription
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
WebDetection.WebPage.Builder

addFullMatchingImages(int index, WebDetection.WebImage value)

public WebDetection.WebPage.Builder addFullMatchingImages(int index, WebDetection.WebImage value)

Fully matching images on the page. Can include resized copies of the query image.

repeated .google.cloud.