public final class WebDetection extends com.google.protobuf.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.WebPage
Metadata for web pages.
|
static interface |
WebDetection.WebPageOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_MATCHING_IMAGES_FIELD_NUMBER |
static int |
PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER |
static int |
PARTIAL_MATCHING_IMAGES_FIELD_NUMBER |
static int |
WEB_ENTITIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static WebDetection |
getDefaultInstance() |
WebDetection |
getDefaultInstanceForType() |
static com.google.protobuf.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.
|
com.google.protobuf.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() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WebDetection.Builder |
newBuilder() |
static WebDetection.Builder |
newBuilder(WebDetection prototype) |
WebDetection.Builder |
newBuilderForType() |
protected WebDetection.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static WebDetection |
parseDelimitedFrom(java.io.InputStream input) |
static WebDetection |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(byte[] data) |
static WebDetection |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(java.nio.ByteBuffer data) |
static WebDetection |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(com.google.protobuf.ByteString data) |
static WebDetection |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WebDetection |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection |
parseFrom(java.io.InputStream input) |
static WebDetection |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WebDetection> |
parser() |
WebDetection.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.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. They're definite neardups and most often a copy of the query image with merely a size change.
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. They're definite neardups and most often a copy of the query image with merely a size change.
repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 2;getFullMatchingImagesOrBuilderList in interface WebDetectionOrBuilderpublic int getFullMatchingImagesCount()
Fully matching images from the Internet. They're definite neardups and most often a copy of the query image with merely a size change.
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. They're definite neardups and most often a copy of the query image with merely a size change.
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. They're definite neardups and most often a copy of the query image with merely a size change.
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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WebDetection parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WebDetection parseFrom(java.io.InputStream input, com.google.protobuf.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, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WebDetection parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WebDetection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic WebDetection.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WebDetection.Builder newBuilder()
public static WebDetection.Builder newBuilder(WebDetection prototype)
public WebDetection.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WebDetection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WebDetection getDefaultInstance()
public static com.google.protobuf.Parser<WebDetection> parser()
public com.google.protobuf.Parser<WebDetection> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WebDetection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder