Class WebDetection.Builder (3.43.0)

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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.vision.v1.WebDetection.WebLabel>
Returns
Type Description
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.v1.WebDetection.WebImage full_matching_images = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1.WebDetection.WebImage>
Returns
Type Description
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.v1.WebDetection.WebPage pages_with_matching_images = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1.WebDetection.WebPage>
Returns
Type Description
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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1.WebDetection.WebImage>
Returns
Type Description
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.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1.WebDetection.WebImage>
Returns
Type Description
WebDetection.Builder

addAllWebEntities(Iterable<? extends WebDetection.WebEntity> values)

public WebDetection.Builder addAllWebEntities(Iterable<? extends WebDetection.WebEntity> values)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1.WebDetection.WebEntity>
Returns
Type Description
WebDetection.Builder

addBestGuessLabels(WebDetection.WebLabel value)

public WebDetection.Builder addBestGuessLabels(WebDetection.WebLabel value)

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
Name Description
value WebDetection.WebLabel
Returns
Type Description
WebDetection.Builder

addBestGuessLabels(WebDetection.WebLabel.Builder builderForValue)

public WebDetection.Builder addBestGuessLabels(WebDetection.WebLabel.Builder builderForValue)

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
Name Description
builderForValue WebDetection.WebLabel.Builder
Returns
Type Description
WebDetection.Builder

addBestGuessLabels(int index, WebDetection.WebLabel value)

public WebDetection.Builder addBestGuessLabels(int index, WebDetection.WebLabel value)

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;

Parameters
Name Description
index int
value WebDetection.WebLabel
Returns
Type Description
WebDetection.Builder

addBestGuessLabels(int index, WebDetection.WebLabel.Builder builderForValue)

public WebDetection.Builder addBestGuessLabels(int index, WebDetection.WebLabel.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue WebDetection.WebLabel.Builder
Returns
Type Description
WebDetection.Builder

addBestGuessLabelsBuilder()

public WebDetection.WebLabel.Builder addBestGuessLabelsBuilder()

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;

Returns
Type Description
WebDetection.WebLabel.Builder

addBestGuessLabelsBuilder(int index)

public WebDetection.WebLabel.Builder addBestGuessLabelsBuilder(int index)

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
Name Description
index int
Returns
Type Description
WebDetection.WebLabel.Builder

addFullMatchingImages(WebDetection.WebImage value)

public WebDetection.Builder addFullMatchingImages(WebDetection.WebImage value)

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

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

Parameter
Name Description
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

addFullMatchingImages(WebDetection.WebImage.Builder builderForValue)

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

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

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

Parameter
Name Description
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

addFullMatchingImages(int index, WebDetection.WebImage value)

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

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

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

Parameters
Name Description
index int
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

addFullMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)

public WebDetection.Builder addFullMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

addFullMatchingImagesBuilder()

public WebDetection.WebImage.Builder addFullMatchingImagesBuilder()

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

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

Returns
Type Description
WebDetection.WebImage.Builder

addFullMatchingImagesBuilder(int index)

public WebDetection.WebImage.Builder addFullMatchingImagesBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage.Builder

addPagesWithMatchingImages(WebDetection.WebPage value)

public WebDetection.Builder addPagesWithMatchingImages(WebDetection.WebPage value)

Web pages containing the matching images from the Internet.

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

Parameter
Name Description
value WebDetection.WebPage
Returns
Type Description
WebDetection.Builder

addPagesWithMatchingImages(WebDetection.WebPage.Builder builderForValue)

public WebDetection.Builder addPagesWithMatchingImages(WebDetection.WebPage.Builder builderForValue)

Web pages containing the matching images from the Internet.

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

Parameter
Name Description
builderForValue WebDetection.WebPage.Builder
Returns
Type Description
WebDetection.Builder

addPagesWithMatchingImages(int index, WebDetection.WebPage value)

public WebDetection.Builder addPagesWithMatchingImages(int index, WebDetection.WebPage value)

Web pages containing the matching images from the Internet.

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

Parameters
Name Description
index int
value WebDetection.WebPage
Returns
Type Description
WebDetection.Builder

addPagesWithMatchingImages(int index, WebDetection.WebPage.Builder builderForValue)

public WebDetection.Builder addPagesWithMatchingImages(int index, WebDetection.WebPage.Builder builderForValue)

Web pages containing the matching images from the Internet.

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

Parameters
Name Description
index int
builderForValue WebDetection.WebPage.Builder
Returns
Type Description
WebDetection.Builder

addPagesWithMatchingImagesBuilder()

public WebDetection.WebPage.Builder addPagesWithMatchingImagesBuilder()

Web pages containing the matching images from the Internet.

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

Returns
Type Description
WebDetection.WebPage.Builder

addPagesWithMatchingImagesBuilder(int index)

public WebDetection.WebPage.Builder addPagesWithMatchingImagesBuilder(int index)

Web pages containing the matching images from the Internet.

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebPage.Builder

addPartialMatchingImages(WebDetection.WebImage value)

public WebDetection.Builder addPartialMatchingImages(WebDetection.WebImage value)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
Name Description
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

addPartialMatchingImages(WebDetection.WebImage.Builder builderForValue)

public WebDetection.Builder addPartialMatchingImages(WebDetection.WebImage.Builder builderForValue)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
Name Description
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

addPartialMatchingImages(int index, WebDetection.WebImage value)

public WebDetection.Builder addPartialMatchingImages(int index, WebDetection.WebImage value)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameters
Name Description
index int
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

addPartialMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)

public WebDetection.Builder addPartialMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameters
Name Description
index int
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

addPartialMatchingImagesBuilder()

public WebDetection.WebImage.Builder addPartialMatchingImagesBuilder()

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.v1.WebDetection.WebImage partial_matching_images = 3;

Returns
Type Description
WebDetection.WebImage.Builder

addPartialMatchingImagesBuilder(int index)

public WebDetection.WebImage.Builder addPartialMatchingImagesBuilder(int index)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WebDetection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebDetection.Builder
Overrides

addVisuallySimilarImages(WebDetection.WebImage value)

public WebDetection.Builder addVisuallySimilarImages(WebDetection.WebImage value)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
Name Description
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

addVisuallySimilarImages(WebDetection.WebImage.Builder builderForValue)

public WebDetection.Builder addVisuallySimilarImages(WebDetection.WebImage.Builder builderForValue)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
Name Description
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

addVisuallySimilarImages(int index, WebDetection.WebImage value)

public WebDetection.Builder addVisuallySimilarImages(int index, WebDetection.WebImage value)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameters
Name Description
index int
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

addVisuallySimilarImages(int index, WebDetection.WebImage.Builder builderForValue)

public WebDetection.Builder addVisuallySimilarImages(int index, WebDetection.WebImage.Builder builderForValue)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameters
Name Description
index int
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

addVisuallySimilarImagesBuilder()

public WebDetection.WebImage.Builder addVisuallySimilarImagesBuilder()

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Returns
Type Description
WebDetection.WebImage.Builder

addVisuallySimilarImagesBuilder(int index)

public WebDetection.WebImage.Builder addVisuallySimilarImagesBuilder(int index)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage.Builder

addWebEntities(WebDetection.WebEntity value)

public WebDetection.Builder addWebEntities(WebDetection.WebEntity value)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameter
Name Description
value WebDetection.WebEntity
Returns
Type Description
WebDetection.Builder

addWebEntities(WebDetection.WebEntity.Builder builderForValue)

public WebDetection.Builder addWebEntities(WebDetection.WebEntity.Builder builderForValue)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameter
Name Description
builderForValue WebDetection.WebEntity.Builder
Returns
Type Description
WebDetection.Builder

addWebEntities(int index, WebDetection.WebEntity value)

public WebDetection.Builder addWebEntities(int index, WebDetection.WebEntity value)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameters
Name Description
index int
value WebDetection.WebEntity
Returns
Type Description
WebDetection.Builder

addWebEntities(int index, WebDetection.WebEntity.Builder builderForValue)

public WebDetection.Builder addWebEntities(int index, WebDetection.WebEntity.Builder builderForValue)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameters
Name Description
index int
builderForValue WebDetection.WebEntity.Builder
Returns
Type Description
WebDetection.Builder

addWebEntitiesBuilder()

public WebDetection.WebEntity.Builder addWebEntitiesBuilder()

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Returns
Type Description
WebDetection.WebEntity.Builder

addWebEntitiesBuilder(int index)

public WebDetection.WebEntity.Builder addWebEntitiesBuilder(int index)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebEntity.Builder

build()

public WebDetection build()
Returns
Type Description
WebDetection

buildPartial()

public WebDetection buildPartial()
Returns
Type Description
WebDetection

clear()

public WebDetection.Builder clear()
Returns
Type Description
WebDetection.Builder
Overrides

clearBestGuessLabels()

public WebDetection.Builder clearBestGuessLabels()

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;

Returns
Type Description
WebDetection.Builder

clearField(Descriptors.FieldDescriptor field)

public WebDetection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WebDetection.Builder
Overrides

clearFullMatchingImages()

public WebDetection.Builder clearFullMatchingImages()

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

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

Returns
Type Description
WebDetection.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public WebDetection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WebDetection.Builder
Overrides

clearPagesWithMatchingImages()

public WebDetection.Builder clearPagesWithMatchingImages()

Web pages containing the matching images from the Internet.

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

Returns
Type Description
WebDetection.Builder

clearPartialMatchingImages()

public WebDetection.Builder clearPartialMatchingImages()

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.v1.WebDetection.WebImage partial_matching_images = 3;

Returns
Type Description
WebDetection.Builder

clearVisuallySimilarImages()

public WebDetection.Builder clearVisuallySimilarImages()

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Returns
Type Description
WebDetection.Builder

clearWebEntities()

public WebDetection.Builder clearWebEntities()

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Returns
Type Description
WebDetection.Builder

clone()

public WebDetection.Builder clone()
Returns
Type Description
WebDetection.Builder
Overrides

getBestGuessLabels(int index)

public WebDetection.WebLabel getBestGuessLabels(int index)

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
Name Description
index int
Returns
Type Description
WebDetection.WebLabel

getBestGuessLabelsBuilder(int index)

public WebDetection.WebLabel.Builder getBestGuessLabelsBuilder(int index)

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
Name Description
index int
Returns
Type Description
WebDetection.WebLabel.Builder

getBestGuessLabelsBuilderList()

public List<WebDetection.WebLabel.Builder> getBestGuessLabelsBuilderList()

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;

Returns
Type Description
List<Builder>

getBestGuessLabelsCount()

public int getBestGuessLabelsCount()

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;

Returns
Type Description
int

getBestGuessLabelsList()

public List<WebDetection.WebLabel> getBestGuessLabelsList()

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;

Returns
Type Description
List<WebLabel>

getBestGuessLabelsOrBuilder(int index)

public WebDetection.WebLabelOrBuilder getBestGuessLabelsOrBuilder(int index)

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
Name Description
index int
Returns
Type Description
WebDetection.WebLabelOrBuilder

getBestGuessLabelsOrBuilderList()

public List<? extends WebDetection.WebLabelOrBuilder> getBestGuessLabelsOrBuilderList()

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;

Returns
Type Description
List<? extends com.google.cloud.vision.v1.WebDetection.WebLabelOrBuilder>

getDefaultInstanceForType()

public WebDetection getDefaultInstanceForType()
Returns
Type Description
WebDetection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFullMatchingImages(int index)

public WebDetection.WebImage getFullMatchingImages(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage

getFullMatchingImagesBuilder(int index)

public WebDetection.WebImage.Builder getFullMatchingImagesBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage.Builder

getFullMatchingImagesBuilderList()

public List<WebDetection.WebImage.Builder> getFullMatchingImagesBuilderList()

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

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

Returns
Type Description
List<Builder>

getFullMatchingImagesCount()

public int getFullMatchingImagesCount()

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

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

Returns
Type Description
int

getFullMatchingImagesList()

public List<WebDetection.WebImage> getFullMatchingImagesList()

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

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

Returns
Type Description
List<WebImage>

getFullMatchingImagesOrBuilder(int index)

public WebDetection.WebImageOrBuilder getFullMatchingImagesOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImageOrBuilder

getFullMatchingImagesOrBuilderList()

public List<? extends WebDetection.WebImageOrBuilder> getFullMatchingImagesOrBuilderList()

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

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

Returns
Type Description
List<? extends com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder>

getPagesWithMatchingImages(int index)

public WebDetection.WebPage getPagesWithMatchingImages(int index)

Web pages containing the matching images from the Internet.

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebPage

getPagesWithMatchingImagesBuilder(int index)

public WebDetection.WebPage.Builder getPagesWithMatchingImagesBuilder(int index)

Web pages containing the matching images from the Internet.

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebPage.Builder

getPagesWithMatchingImagesBuilderList()

public List<WebDetection.WebPage.Builder> getPagesWithMatchingImagesBuilderList()

Web pages containing the matching images from the Internet.

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

Returns
Type Description
List<Builder>

getPagesWithMatchingImagesCount()

public int getPagesWithMatchingImagesCount()

Web pages containing the matching images from the Internet.

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

Returns
Type Description
int

getPagesWithMatchingImagesList()

public List<WebDetection.WebPage> getPagesWithMatchingImagesList()

Web pages containing the matching images from the Internet.

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

Returns
Type Description
List<WebPage>

getPagesWithMatchingImagesOrBuilder(int index)

public WebDetection.WebPageOrBuilder getPagesWithMatchingImagesOrBuilder(int index)

Web pages containing the matching images from the Internet.

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebPageOrBuilder

getPagesWithMatchingImagesOrBuilderList()

public List<? extends WebDetection.WebPageOrBuilder> getPagesWithMatchingImagesOrBuilderList()

Web pages containing the matching images from the Internet.

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

Returns
Type Description
List<? extends com.google.cloud.vision.v1.WebDetection.WebPageOrBuilder>

getPartialMatchingImages(int index)

public WebDetection.WebImage getPartialMatchingImages(int index)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage

getPartialMatchingImagesBuilder(int index)

public WebDetection.WebImage.Builder getPartialMatchingImagesBuilder(int index)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage.Builder

getPartialMatchingImagesBuilderList()

public List<WebDetection.WebImage.Builder> getPartialMatchingImagesBuilderList()

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.v1.WebDetection.WebImage partial_matching_images = 3;

Returns
Type Description
List<Builder>

getPartialMatchingImagesCount()

public int getPartialMatchingImagesCount()

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.v1.WebDetection.WebImage partial_matching_images = 3;

Returns
Type Description
int

getPartialMatchingImagesList()

public List<WebDetection.WebImage> getPartialMatchingImagesList()

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.v1.WebDetection.WebImage partial_matching_images = 3;

Returns
Type Description
List<WebImage>

getPartialMatchingImagesOrBuilder(int index)

public WebDetection.WebImageOrBuilder getPartialMatchingImagesOrBuilder(int index)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImageOrBuilder

getPartialMatchingImagesOrBuilderList()

public List<? extends WebDetection.WebImageOrBuilder> getPartialMatchingImagesOrBuilderList()

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.v1.WebDetection.WebImage partial_matching_images = 3;

Returns
Type Description
List<? extends com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder>

getVisuallySimilarImages(int index)

public WebDetection.WebImage getVisuallySimilarImages(int index)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage

getVisuallySimilarImagesBuilder(int index)

public WebDetection.WebImage.Builder getVisuallySimilarImagesBuilder(int index)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImage.Builder

getVisuallySimilarImagesBuilderList()

public List<WebDetection.WebImage.Builder> getVisuallySimilarImagesBuilderList()

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Returns
Type Description
List<Builder>

getVisuallySimilarImagesCount()

public int getVisuallySimilarImagesCount()

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Returns
Type Description
int

getVisuallySimilarImagesList()

public List<WebDetection.WebImage> getVisuallySimilarImagesList()

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Returns
Type Description
List<WebImage>

getVisuallySimilarImagesOrBuilder(int index)

public WebDetection.WebImageOrBuilder getVisuallySimilarImagesOrBuilder(int index)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebImageOrBuilder

getVisuallySimilarImagesOrBuilderList()

public List<? extends WebDetection.WebImageOrBuilder> getVisuallySimilarImagesOrBuilderList()

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Returns
Type Description
List<? extends com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder>

getWebEntities(int index)

public WebDetection.WebEntity getWebEntities(int index)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebEntity

getWebEntitiesBuilder(int index)

public WebDetection.WebEntity.Builder getWebEntitiesBuilder(int index)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebEntity.Builder

getWebEntitiesBuilderList()

public List<WebDetection.WebEntity.Builder> getWebEntitiesBuilderList()

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Returns
Type Description
List<Builder>

getWebEntitiesCount()

public int getWebEntitiesCount()

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Returns
Type Description
int

getWebEntitiesList()

public List<WebDetection.WebEntity> getWebEntitiesList()

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Returns
Type Description
List<WebEntity>

getWebEntitiesOrBuilder(int index)

public WebDetection.WebEntityOrBuilder getWebEntitiesOrBuilder(int index)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.WebEntityOrBuilder

getWebEntitiesOrBuilderList()

public List<? extends WebDetection.WebEntityOrBuilder> getWebEntitiesOrBuilderList()

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Returns
Type Description
List<? extends com.google.cloud.vision.v1.WebDetection.WebEntityOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WebDetection other)

public WebDetection.Builder mergeFrom(WebDetection other)
Parameter
Name Description
other WebDetection
Returns
Type Description
WebDetection.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WebDetection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebDetection.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WebDetection.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WebDetection.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebDetection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebDetection.Builder
Overrides

removeBestGuessLabels(int index)

public WebDetection.Builder removeBestGuessLabels(int index)

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
Name Description
index int
Returns
Type Description
WebDetection.Builder

removeFullMatchingImages(int index)

public WebDetection.Builder removeFullMatchingImages(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.Builder

removePagesWithMatchingImages(int index)

public WebDetection.Builder removePagesWithMatchingImages(int index)

Web pages containing the matching images from the Internet.

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

Parameter
Name Description
index int
Returns
Type Description
WebDetection.Builder

removePartialMatchingImages(int index)

public WebDetection.Builder removePartialMatchingImages(int index)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.Builder

removeVisuallySimilarImages(int index)

public WebDetection.Builder removeVisuallySimilarImages(int index)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.Builder

removeWebEntities(int index)

public WebDetection.Builder removeWebEntities(int index)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameter
Name Description
index int
Returns
Type Description
WebDetection.Builder

setBestGuessLabels(int index, WebDetection.WebLabel value)

public WebDetection.Builder setBestGuessLabels(int index, WebDetection.WebLabel value)

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;

Parameters
Name Description
index int
value WebDetection.WebLabel
Returns
Type Description
WebDetection.Builder

setBestGuessLabels(int index, WebDetection.WebLabel.Builder builderForValue)

public WebDetection.Builder setBestGuessLabels(int index, WebDetection.WebLabel.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue WebDetection.WebLabel.Builder
Returns
Type Description
WebDetection.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WebDetection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebDetection.Builder
Overrides

setFullMatchingImages(int index, WebDetection.WebImage value)

public WebDetection.Builder setFullMatchingImages(int index, WebDetection.WebImage value)

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

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

Parameters
Name Description
index int
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

setFullMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)

public WebDetection.Builder setFullMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

setPagesWithMatchingImages(int index, WebDetection.WebPage value)

public WebDetection.Builder setPagesWithMatchingImages(int index, WebDetection.WebPage value)

Web pages containing the matching images from the Internet.

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

Parameters
Name Description
index int
value WebDetection.WebPage
Returns
Type Description
WebDetection.Builder

setPagesWithMatchingImages(int index, WebDetection.WebPage.Builder builderForValue)

public WebDetection.Builder setPagesWithMatchingImages(int index, WebDetection.WebPage.Builder builderForValue)

Web pages containing the matching images from the Internet.

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

Parameters
Name Description
index int
builderForValue WebDetection.WebPage.Builder
Returns
Type Description
WebDetection.Builder

setPartialMatchingImages(int index, WebDetection.WebImage value)

public WebDetection.Builder setPartialMatchingImages(int index, WebDetection.WebImage value)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameters
Name Description
index int
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

setPartialMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)

public WebDetection.Builder setPartialMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)

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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameters
Name Description
index int
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WebDetection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WebDetection.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WebDetection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebDetection.Builder
Overrides

setVisuallySimilarImages(int index, WebDetection.WebImage value)

public WebDetection.Builder setVisuallySimilarImages(int index, WebDetection.WebImage value)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameters
Name Description
index int
value WebDetection.WebImage
Returns
Type Description
WebDetection.Builder

setVisuallySimilarImages(int index, WebDetection.WebImage.Builder builderForValue)

public WebDetection.Builder setVisuallySimilarImages(int index, WebDetection.WebImage.Builder builderForValue)

The visually similar image results.

repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;

Parameters
Name Description
index int
builderForValue WebDetection.WebImage.Builder
Returns
Type Description
WebDetection.Builder

setWebEntities(int index, WebDetection.WebEntity value)

public WebDetection.Builder setWebEntities(int index, WebDetection.WebEntity value)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameters
Name Description
index int
value WebDetection.WebEntity
Returns
Type Description
WebDetection.Builder

setWebEntities(int index, WebDetection.WebEntity.Builder builderForValue)

public WebDetection.Builder setWebEntities(int index, WebDetection.WebEntity.Builder builderForValue)

Deduced entities from similar images on the Internet.

repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameters
Name Description
index int
builderForValue WebDetection.WebEntity.Builder
Returns
Type Description
WebDetection.Builder