public final class WebDetection extends GeneratedMessageV3 implements WebDetectionOrBuilder
Relevant information for the image from the Internet.Protobuf type
google.cloud.vision.v1.WebDetection| Modifier and Type | Class and Description |
|---|---|
static class |
WebDetection.Builder
Relevant information for the image from the Internet.
|
static class |
WebDetection.WebEntity
Entity deduced from similar images on the Internet.
|
static interface |
WebDetection.WebEntityOrBuilder |
static class |
WebDetection.WebImage
Metadata for online images.
|
static interface |
WebDetection.WebImageOrBuilder |
static class |
WebDetection.WebLabel
Label to provide extra metadata for the web detection.
|
static interface |
WebDetection.WebLabelOrBuilder |
static class |
WebDetection.WebPage
Metadata for web pages.
|
static interface |
WebDetection.WebPageOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BEST_GUESS_LABELS_FIELD_NUMBER |
static int |
FULL_MATCHING_IMAGES_FIELD_NUMBER |
static int |
PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER |
static int |
PARTIAL_MATCHING_IMAGES_FIELD_NUMBER |
static int |
VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER |
static int |
WEB_ENTITIES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
WebDetection.WebLabel |
getBestGuessLabels(int index)
Best guess text labels for the request image.
|
int |
getBestGuessLabelsCount()
Best guess text labels for the request image.
|
java.util.List<WebDetection.WebLabel> |
getBestGuessLabelsList()
Best guess text labels for the request image.
|
WebDetection.WebLabelOrBuilder |
getBestGuessLabelsOrBuilder(int index)
Best guess text labels for the request image.
|
java.util.List<? extends WebDetection.WebLabelOrBuilder> |
getBestGuessLabelsOrBuilderList()
Best guess text labels for the request image.
|
static WebDetection |
getDefaultInstance() |
WebDetection |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
WebDetection.WebImage |
getFullMatchingImages(int index)
Fully matching images from the Internet.
|
int |
getFullMatchingImagesCount()
Fully matching images from the Internet.
|
java.util.List<WebDetection.WebImage> |
getFullMatchingImagesList()
Fully matching images from the Internet.
|
WebDetection.WebImageOrBuilder |
getFullMatchingImagesOrBuilder(int index)
Fully matching images from the Internet.
|
java.util.List<? extends WebDetection.WebImageOrBuilder> |
getFullMatchingImagesOrBuilderList()
Fully matching images from the Internet.
|
WebDetection.WebPage |
getPagesWithMatchingImages(int index)
Web pages containing the matching images from the Internet.
|
int |
getPagesWithMatchingImagesCount()
Web pages containing the matching images from the Internet.
|
java.util.List<WebDetection.WebPage> |
getPagesWithMatchingImagesList()
Web pages containing the matching images from the Internet.
|
WebDetection.WebPageOrBuilder |
getPagesWithMatchingImagesOrBuilder(int index)
Web pages containing the matching images from the Internet.
|
java.util.List<? extends WebDetection.WebPageOrBuilder> |
getPagesWithMatchingImagesOrBuilderList()
Web pages containing the matching images from the Internet.
|
Parser<WebDetection> |
getParserForType() |
WebDetection.WebImage |
getPartialMatchingImages(int index)
Partial matching images from the Internet.
|
int |
getPartialMatchingImagesCount()
Partial matching images from the Internet.
|
java.util.List<WebDetection.WebImage> |
getPartialMatchingImagesList()
Partial matching images from the Internet.
|
WebDetection.WebImageOrBuilder |
getPartialMatchingImagesOrBuilder(int index)
Partial matching images from the Internet.
|
java.util.List<? extends WebDetection.WebImageOrBuilder> |
getPartialMatchingImagesOrBuilderList()
Partial matching images from the Internet.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
WebDetection.WebImage |
getVisuallySimilarImages(int index)
The visually similar image results.
|
int |
getVisuallySimilarImagesCount()
The visually similar image results.
|
java.util.List<WebDetection.WebImage> |
getVisuallySimilarImagesList()
The visually similar image results.
|
WebDetection.WebImageOrBuilder |
getVisuallySimilarImagesOrBuilder(int index)
The visually similar image results.
|
java.util.List<? extends WebDetection.WebImageOrBuilder> |
getVisuallySimilarImagesOrBuilderList()
The visually similar image results.
|
WebDetection.WebEntity |
getWebEntities(int index)
Deduced entities from similar images on the Internet.
|
int |
getWebEntitiesCount()
Deduced entities from similar images on the Internet.
|
java.util.List<WebDetection.WebEntity> |
getWebEntitiesList()
Deduced entities from similar images on the Internet.
|
WebDetection.WebEntityOrBuilder |
getWebEntitiesOrBuilder(int index)
Deduced entities from similar images on the Internet.
|
java.util.List<? extends WebDetection.WebEntityOrBuilder> |
getWebEntitiesOrBuilderList()
Deduced entities from similar images on the Internet.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WebDetection.Builder |
newBuilder() |
static WebDetection.Builder |
newBuilder(WebDetection prototype) |
WebDetection.Builder |
newBuilderForType() |
protected WebDetection.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static WebDetection |
parseDelimitedFrom(java.io.InputStream input) |
static WebDetection |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(byte[] data) |
static WebDetection |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(java.nio.ByteBuffer data) |
static WebDetection |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(ByteString data) |
static WebDetection |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(CodedInputStream input) |
static WebDetection |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(java.io.InputStream input) |
static WebDetection |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<WebDetection> |
parser() |
WebDetection.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int WEB_ENTITIES_FIELD_NUMBER
public static final int FULL_MATCHING_IMAGES_FIELD_NUMBER
public static final int PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
public static final int PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER
public static final int VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER
public static final int BEST_GUESS_LABELS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.util.List<WebDetection.WebEntity> getWebEntitiesList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;getWebEntitiesList in interface WebDetectionOrBuilderpublic java.util.List<? extends WebDetection.WebEntityOrBuilder> getWebEntitiesOrBuilderList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;getWebEntitiesOrBuilderList in interface WebDetectionOrBuilderpublic int getWebEntitiesCount()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;getWebEntitiesCount in interface WebDetectionOrBuilderpublic WebDetection.WebEntity getWebEntities(int index)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;getWebEntities in interface WebDetectionOrBuilderpublic WebDetection.WebEntityOrBuilder getWebEntitiesOrBuilder(int index)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;getWebEntitiesOrBuilder in interface WebDetectionOrBuilderpublic java.util.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;getFullMatchingImagesList in interface WebDetectionOrBuilderpublic java.util.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;getFullMatchingImagesOrBuilderList in interface WebDetectionOrBuilderpublic 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;getFullMatchingImagesCount in interface WebDetectionOrBuilderpublic 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;getFullMatchingImages in interface WebDetectionOrBuilderpublic 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;getFullMatchingImagesOrBuilder in interface WebDetectionOrBuilderpublic java.util.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;getPartialMatchingImagesList in interface WebDetectionOrBuilderpublic java.util.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;getPartialMatchingImagesOrBuilderList in interface WebDetectionOrBuilderpublic 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;getPartialMatchingImagesCount in interface WebDetectionOrBuilderpublic 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;getPartialMatchingImages in interface WebDetectionOrBuilderpublic 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;getPartialMatchingImagesOrBuilder in interface WebDetectionOrBuilderpublic java.util.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;getPagesWithMatchingImagesList in interface WebDetectionOrBuilderpublic java.util.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;getPagesWithMatchingImagesOrBuilderList in interface WebDetectionOrBuilderpublic int getPagesWithMatchingImagesCount()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;getPagesWithMatchingImagesCount in interface WebDetectionOrBuilderpublic 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;getPagesWithMatchingImages in interface WebDetectionOrBuilderpublic 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;getPagesWithMatchingImagesOrBuilder in interface WebDetectionOrBuilderpublic java.util.List<WebDetection.WebImage> getVisuallySimilarImagesList()
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;getVisuallySimilarImagesList in interface WebDetectionOrBuilderpublic java.util.List<? extends WebDetection.WebImageOrBuilder> getVisuallySimilarImagesOrBuilderList()
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;getVisuallySimilarImagesOrBuilderList in interface WebDetectionOrBuilderpublic int getVisuallySimilarImagesCount()
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;getVisuallySimilarImagesCount in interface WebDetectionOrBuilderpublic WebDetection.WebImage getVisuallySimilarImages(int index)
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;getVisuallySimilarImages in interface WebDetectionOrBuilderpublic WebDetection.WebImageOrBuilder getVisuallySimilarImagesOrBuilder(int index)
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;getVisuallySimilarImagesOrBuilder in interface WebDetectionOrBuilderpublic java.util.List<WebDetection.WebLabel> getBestGuessLabelsList()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;getBestGuessLabelsList in interface WebDetectionOrBuilderpublic java.util.List<? extends WebDetection.WebLabelOrBuilder> getBestGuessLabelsOrBuilderList()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;getBestGuessLabelsOrBuilderList in interface WebDetectionOrBuilderpublic int getBestGuessLabelsCount()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;getBestGuessLabelsCount in interface WebDetectionOrBuilderpublic WebDetection.WebLabel getBestGuessLabels(int index)
Best guess text labels for the request image.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;getBestGuessLabels in interface WebDetectionOrBuilderpublic WebDetection.WebLabelOrBuilder getBestGuessLabelsOrBuilder(int index)
Best guess text labels for the request image.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;getBestGuessLabelsOrBuilder in interface WebDetectionOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static WebDetection parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WebDetection parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WebDetection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WebDetection parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WebDetection parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WebDetection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic WebDetection.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static WebDetection.Builder newBuilder()
public static WebDetection.Builder newBuilder(WebDetection prototype)
public WebDetection.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected WebDetection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static WebDetection getDefaultInstance()
public static Parser<WebDetection> parser()
public Parser<WebDetection> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public WebDetection getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder