Class WebDetection.Builder (3.39.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
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

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
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.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.v1.WebDetection.WebPage pages_with_matching_images = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.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.v1.WebDetection.WebImage partial_matching_images = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.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.v1.WebDetection.WebImage visually_similar_images = 6;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.WebDetection.WebImage>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.WebDetection.WebEntity>
Returns
TypeDescription
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
NameDescription
valueWebDetection.WebLabel
Returns
TypeDescription
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
NameDescription
builderForValueWebDetection.WebLabel.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebLabel
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebLabel.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueWebDetection.WebPage
Returns
TypeDescription
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
NameDescription
builderForValueWebDetection.WebPage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebPage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebPage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WebDetection.WebImage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WebDetection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueWebDetection.WebEntity
Returns
TypeDescription
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
NameDescription
builderForValueWebDetection.WebEntity.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebEntity
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebEntity.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WebDetection.WebEntity.Builder

build()

public WebDetection build()
Returns
TypeDescription
WebDetection

buildPartial()

public WebDetection buildPartial()
Returns
TypeDescription
WebDetection

clear()

public WebDetection.Builder clear()
Returns
TypeDescription
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
TypeDescription
WebDetection.Builder

clearField(Descriptors.FieldDescriptor field)

public WebDetection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
WebDetection.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public WebDetection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
WebDetection.Builder

clearVisuallySimilarImages()

public WebDetection.Builder clearVisuallySimilarImages()

The visually similar image results.

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

Returns
TypeDescription
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
TypeDescription
WebDetection.Builder

clone()

public WebDetection.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.vision.v1.WebDetection.WebLabelOrBuilder>

getDefaultInstanceForType()

public WebDetection getDefaultInstanceForType()
Returns
TypeDescription
WebDetection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getVisuallySimilarImagesCount()

public int getVisuallySimilarImagesCount()

The visually similar image results.

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

Returns
TypeDescription
int

getVisuallySimilarImagesList()

public List<WebDetection.WebImage> getVisuallySimilarImagesList()

The visually similar image results.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.vision.v1.WebDetection.WebEntityOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WebDetection other)

public WebDetection.Builder mergeFrom(WebDetection other)
Parameter
NameDescription
otherWebDetection
Returns
TypeDescription
WebDetection.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WebDetection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WebDetection.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WebDetection.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WebDetection.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebDetection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebLabel
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebLabel.Builder
Returns
TypeDescription
WebDetection.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WebDetection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebPage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebPage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
WebDetection.Builder

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

public WebDetection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WebDetection.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WebDetection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebImage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebImage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebDetection.WebEntity
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebDetection.WebEntity.Builder
Returns
TypeDescription
WebDetection.Builder