publicfinalclass WebDetectionextendsGeneratedMessageV3implementsWebDetectionOrBuilder
Relevant information for the image from the Internet.
Protobuf type google.cloud.vision.v1.WebDetection
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BEST_GUESS_LABELS_FIELD_NUMBER
publicstaticfinalintBEST_GUESS_LABELS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
FULL_MATCHING_IMAGES_FIELD_NUMBER
publicstaticfinalintFULL_MATCHING_IMAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER
publicstaticfinalintPAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
publicstaticfinalintPARTIAL_MATCHING_IMAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER
publicstaticfinalintVISUALLY_SIMILAR_IMAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
WEB_ENTITIES_FIELD_NUMBER
publicstaticfinalintWEB_ENTITIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticWebDetectiongetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticWebDetection.BuildernewBuilder()
newBuilder(WebDetection prototype)
publicstaticWebDetection.BuildernewBuilder(WebDetectionprototype)
publicstaticWebDetectionparseDelimitedFrom(InputStreaminput)
publicstaticWebDetectionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticWebDetectionparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetectionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticWebDetectionparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetectionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticWebDetectionparseFrom(CodedInputStreaminput)
publicstaticWebDetectionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticWebDetectionparseFrom(InputStreaminput)
publicstaticWebDetectionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticWebDetectionparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetectionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<WebDetection>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBestGuessLabels(int index)
publicWebDetection.WebLabelgetBestGuessLabels(intindex)
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
|
getBestGuessLabelsCount()
publicintgetBestGuessLabelsCount()
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()
publicList<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;
getBestGuessLabelsOrBuilder(int index)
publicWebDetection.WebLabelOrBuildergetBestGuessLabelsOrBuilder(intindex)
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
|
getBestGuessLabelsOrBuilderList()
publicList<?extendsWebDetection.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()
publicWebDetectiongetDefaultInstanceForType()
getFullMatchingImages(int index)
publicWebDetection.WebImagegetFullMatchingImages(intindex)
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
|
getFullMatchingImagesCount()
publicintgetFullMatchingImagesCount()
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()
publicList<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;
getFullMatchingImagesOrBuilder(int index)
publicWebDetection.WebImageOrBuildergetFullMatchingImagesOrBuilder(intindex)
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
|
getFullMatchingImagesOrBuilderList()
publicList<?extendsWebDetection.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)
publicWebDetection.WebPagegetPagesWithMatchingImages(intindex)
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
|
getPagesWithMatchingImagesCount()
publicintgetPagesWithMatchingImagesCount()
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()
publicList<WebDetection.WebPage>getPagesWithMatchingImagesList()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;
getPagesWithMatchingImagesOrBuilder(int index)
publicWebDetection.WebPageOrBuildergetPagesWithMatchingImagesOrBuilder(intindex)
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
|
getPagesWithMatchingImagesOrBuilderList()
publicList<?extendsWebDetection.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> |
getParserForType()
publicParser<WebDetection>getParserForType()
Overrides
getPartialMatchingImages(int index)
publicWebDetection.WebImagegetPartialMatchingImages(intindex)
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
|
getPartialMatchingImagesCount()
publicintgetPartialMatchingImagesCount()
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()
publicList<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;
getPartialMatchingImagesOrBuilder(int index)
publicWebDetection.WebImageOrBuildergetPartialMatchingImagesOrBuilder(intindex)
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
|
getPartialMatchingImagesOrBuilderList()
publicList<?extendsWebDetection.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> |
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getVisuallySimilarImages(int index)
publicWebDetection.WebImagegetVisuallySimilarImages(intindex)
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;
| Parameter |
| Name |
Description |
index |
int
|
getVisuallySimilarImagesCount()
publicintgetVisuallySimilarImagesCount()
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;
| Returns |
| Type |
Description |
int |
getVisuallySimilarImagesList()
publicList<WebDetection.WebImage>getVisuallySimilarImagesList()
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;
getVisuallySimilarImagesOrBuilder(int index)
publicWebDetection.WebImageOrBuildergetVisuallySimilarImagesOrBuilder(intindex)
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;
| Parameter |
| Name |
Description |
index |
int
|
getVisuallySimilarImagesOrBuilderList()
publicList<?extendsWebDetection.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)
publicWebDetection.WebEntitygetWebEntities(intindex)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;
| Parameter |
| Name |
Description |
index |
int
|
getWebEntitiesCount()
publicintgetWebEntitiesCount()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;
| Returns |
| Type |
Description |
int |
getWebEntitiesList()
publicList<WebDetection.WebEntity>getWebEntitiesList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;
getWebEntitiesOrBuilder(int index)
publicWebDetection.WebEntityOrBuildergetWebEntitiesOrBuilder(intindex)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;
| Parameter |
| Name |
Description |
index |
int
|
getWebEntitiesOrBuilderList()
publicList<?extendsWebDetection.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> |
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicWebDetection.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedWebDetection.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicWebDetection.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides