public final class WebDetection extends GeneratedMessageV3 implements WebDetectionOrBuilder
Relevant information for the image from the Internet.
Protobuf type google.cloud.vision.v1p2beta1.WebDetection
Static Fields
BEST_GUESS_LABELS_FIELD_NUMBER
public static final int BEST_GUESS_LABELS_FIELD_NUMBER
Field Value
FULL_MATCHING_IMAGES_FIELD_NUMBER
public static final int FULL_MATCHING_IMAGES_FIELD_NUMBER
Field Value
PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER
public static final int PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER
Field Value
PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
public static final int PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
Field Value
VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER
public static final int VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER
Field Value
WEB_ENTITIES_FIELD_NUMBER
public static final int WEB_ENTITIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static WebDetection getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static WebDetection.Builder newBuilder()
Returns
newBuilder(WebDetection prototype)
public static WebDetection.Builder newBuilder(WebDetection prototype)
Parameter
Returns
public static WebDetection parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WebDetection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static WebDetection parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WebDetection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static WebDetection parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WebDetection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WebDetection parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WebDetection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WebDetection parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WebDetection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static WebDetection parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WebDetection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<WebDetection> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBestGuessLabels(int index)
public WebDetection.WebLabel getBestGuessLabels(int index)
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebLabel best_guess_labels = 8;
Parameter
Returns
getBestGuessLabelsCount()
public int getBestGuessLabelsCount()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebLabel best_guess_labels = 8;
Returns
getBestGuessLabelsList()
public List<WebDetection.WebLabel> getBestGuessLabelsList()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebLabel best_guess_labels = 8;
Returns
getBestGuessLabelsOrBuilder(int index)
public WebDetection.WebLabelOrBuilder getBestGuessLabelsOrBuilder(int index)
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebLabel best_guess_labels = 8;
Parameter
Returns
getBestGuessLabelsOrBuilderList()
public List<? extends WebDetection.WebLabelOrBuilder> getBestGuessLabelsOrBuilderList()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebLabel best_guess_labels = 8;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p2beta1.WebDetection.WebLabelOrBuilder> | |
getDefaultInstanceForType()
public WebDetection getDefaultInstanceForType()
Returns
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.v1p2beta1.WebDetection.WebImage full_matching_images = 2;
Parameter
Returns
getFullMatchingImagesCount()
public int getFullMatchingImagesCount()
Fully matching images from the Internet.
Can include resized copies of the query image.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage full_matching_images = 2;
Returns
getFullMatchingImagesList()
public List<WebDetection.WebImage> getFullMatchingImagesList()
Fully matching images from the Internet.
Can include resized copies of the query image.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage full_matching_images = 2;
Returns
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.v1p2beta1.WebDetection.WebImage full_matching_images = 2;
Parameter
Returns
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.v1p2beta1.WebDetection.WebImage full_matching_images = 2;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p2beta1.WebDetection.WebImageOrBuilder> | |
getPagesWithMatchingImages(int index)
public WebDetection.WebPage getPagesWithMatchingImages(int index)
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebPage pages_with_matching_images = 4;
Parameter
Returns
getPagesWithMatchingImagesCount()
public int getPagesWithMatchingImagesCount()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebPage pages_with_matching_images = 4;
Returns
getPagesWithMatchingImagesList()
public List<WebDetection.WebPage> getPagesWithMatchingImagesList()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebPage pages_with_matching_images = 4;
Returns
getPagesWithMatchingImagesOrBuilder(int index)
public WebDetection.WebPageOrBuilder getPagesWithMatchingImagesOrBuilder(int index)
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebPage pages_with_matching_images = 4;
Parameter
Returns
getPagesWithMatchingImagesOrBuilderList()
public List<? extends WebDetection.WebPageOrBuilder> getPagesWithMatchingImagesOrBuilderList()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebPage pages_with_matching_images = 4;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p2beta1.WebDetection.WebPageOrBuilder> | |
getParserForType()
public Parser<WebDetection> getParserForType()
Returns
Overrides
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.v1p2beta1.WebDetection.WebImage partial_matching_images = 3;
Parameter
Returns
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.v1p2beta1.WebDetection.WebImage partial_matching_images = 3;
Returns
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.v1p2beta1.WebDetection.WebImage partial_matching_images = 3;
Returns
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.v1p2beta1.WebDetection.WebImage partial_matching_images = 3;
Parameter
Returns
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.v1p2beta1.WebDetection.WebImage partial_matching_images = 3;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p2beta1.WebDetection.WebImageOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVisuallySimilarImages(int index)
public WebDetection.WebImage getVisuallySimilarImages(int index)
The visually similar image results.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage visually_similar_images = 6;
Parameter
Returns
getVisuallySimilarImagesCount()
public int getVisuallySimilarImagesCount()
The visually similar image results.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage visually_similar_images = 6;
Returns
getVisuallySimilarImagesList()
public List<WebDetection.WebImage> getVisuallySimilarImagesList()
The visually similar image results.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage visually_similar_images = 6;
Returns
getVisuallySimilarImagesOrBuilder(int index)
public WebDetection.WebImageOrBuilder getVisuallySimilarImagesOrBuilder(int index)
The visually similar image results.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage visually_similar_images = 6;
Parameter
Returns
getVisuallySimilarImagesOrBuilderList()
public List<? extends WebDetection.WebImageOrBuilder> getVisuallySimilarImagesOrBuilderList()
The visually similar image results.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebImage visually_similar_images = 6;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p2beta1.WebDetection.WebImageOrBuilder> | |
getWebEntities(int index)
public WebDetection.WebEntity getWebEntities(int index)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebEntity web_entities = 1;
Parameter
Returns
getWebEntitiesCount()
public int getWebEntitiesCount()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebEntity web_entities = 1;
Returns
getWebEntitiesList()
public List<WebDetection.WebEntity> getWebEntitiesList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebEntity web_entities = 1;
Returns
getWebEntitiesOrBuilder(int index)
public WebDetection.WebEntityOrBuilder getWebEntitiesOrBuilder(int index)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebEntity web_entities = 1;
Parameter
Returns
getWebEntitiesOrBuilderList()
public List<? extends WebDetection.WebEntityOrBuilder> getWebEntitiesOrBuilderList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p2beta1.WebDetection.WebEntity web_entities = 1;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p2beta1.WebDetection.WebEntityOrBuilder> | |
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public WebDetection.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WebDetection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public WebDetection.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions