public final class WebAnnotation extends com.google.protobuf.GeneratedMessageV3 implements WebAnnotationOrBuilder
Relevant information for the image from the Internet.Protobuf type
google.cloud.vision.v1.WebAnnotation| Modifier and Type | Class and Description |
|---|---|
static class |
WebAnnotation.Builder
Relevant information for the image from the Internet.
|
static class |
WebAnnotation.WebEntity
Entity deduced from similar images on the Internet.
|
static interface |
WebAnnotation.WebEntityOrBuilder |
static class |
WebAnnotation.WebImage
Metadata for online images.
|
static interface |
WebAnnotation.WebImageOrBuilder |
static class |
WebAnnotation.WebPage
Metadata for web pages.
|
static interface |
WebAnnotation.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 WebAnnotation |
getDefaultInstance() |
WebAnnotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
WebAnnotation.WebImage |
getFullMatchingImages(int index)
Fully matching images from the Internet.
|
int |
getFullMatchingImagesCount()
Fully matching images from the Internet.
|
java.util.List<WebAnnotation.WebImage> |
getFullMatchingImagesList()
Fully matching images from the Internet.
|
WebAnnotation.WebImageOrBuilder |
getFullMatchingImagesOrBuilder(int index)
Fully matching images from the Internet.
|
java.util.List<? extends WebAnnotation.WebImageOrBuilder> |
getFullMatchingImagesOrBuilderList()
Fully matching images from the Internet.
|
WebAnnotation.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<WebAnnotation.WebPage> |
getPagesWithMatchingImagesList()
Web pages containing the matching images from the Internet.
|
WebAnnotation.WebPageOrBuilder |
getPagesWithMatchingImagesOrBuilder(int index)
Web pages containing the matching images from the Internet.
|
java.util.List<? extends WebAnnotation.WebPageOrBuilder> |
getPagesWithMatchingImagesOrBuilderList()
Web pages containing the matching images from the Internet.
|
com.google.protobuf.Parser<WebAnnotation> |
getParserForType() |
WebAnnotation.WebImage |
getPartialMatchingImages(int index)
Partial matching images from the Internet.
|
int |
getPartialMatchingImagesCount()
Partial matching images from the Internet.
|
java.util.List<WebAnnotation.WebImage> |
getPartialMatchingImagesList()
Partial matching images from the Internet.
|
WebAnnotation.WebImageOrBuilder |
getPartialMatchingImagesOrBuilder(int index)
Partial matching images from the Internet.
|
java.util.List<? extends WebAnnotation.WebImageOrBuilder> |
getPartialMatchingImagesOrBuilderList()
Partial matching images from the Internet.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
WebAnnotation.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<WebAnnotation.WebEntity> |
getWebEntitiesList()
Deduced entities from similar images on the Internet.
|
WebAnnotation.WebEntityOrBuilder |
getWebEntitiesOrBuilder(int index)
Deduced entities from similar images on the Internet.
|
java.util.List<? extends WebAnnotation.WebEntityOrBuilder> |
getWebEntitiesOrBuilderList()
Deduced entities from similar images on the Internet.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WebAnnotation.Builder |
newBuilder() |
static WebAnnotation.Builder |
newBuilder(WebAnnotation prototype) |
WebAnnotation.Builder |
newBuilderForType() |
protected WebAnnotation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static WebAnnotation |
parseDelimitedFrom(java.io.InputStream input) |
static WebAnnotation |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebAnnotation |
parseFrom(byte[] data) |
static WebAnnotation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebAnnotation |
parseFrom(com.google.protobuf.ByteString data) |
static WebAnnotation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebAnnotation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WebAnnotation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebAnnotation |
parseFrom(java.io.InputStream input) |
static WebAnnotation |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WebAnnotation> |
parser() |
WebAnnotation.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, 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<WebAnnotation.WebEntity> getWebEntitiesList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebEntity web_entities = 1;getWebEntitiesList in interface WebAnnotationOrBuilderpublic java.util.List<? extends WebAnnotation.WebEntityOrBuilder> getWebEntitiesOrBuilderList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebEntity web_entities = 1;getWebEntitiesOrBuilderList in interface WebAnnotationOrBuilderpublic int getWebEntitiesCount()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebEntity web_entities = 1;getWebEntitiesCount in interface WebAnnotationOrBuilderpublic WebAnnotation.WebEntity getWebEntities(int index)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebEntity web_entities = 1;getWebEntities in interface WebAnnotationOrBuilderpublic WebAnnotation.WebEntityOrBuilder getWebEntitiesOrBuilder(int index)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebEntity web_entities = 1;getWebEntitiesOrBuilder in interface WebAnnotationOrBuilderpublic java.util.List<WebAnnotation.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.WebAnnotation.WebImage full_matching_images = 2;getFullMatchingImagesList in interface WebAnnotationOrBuilderpublic java.util.List<? extends WebAnnotation.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.WebAnnotation.WebImage full_matching_images = 2;getFullMatchingImagesOrBuilderList in interface WebAnnotationOrBuilderpublic 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.WebAnnotation.WebImage full_matching_images = 2;getFullMatchingImagesCount in interface WebAnnotationOrBuilderpublic WebAnnotation.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.WebAnnotation.WebImage full_matching_images = 2;getFullMatchingImages in interface WebAnnotationOrBuilderpublic WebAnnotation.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.WebAnnotation.WebImage full_matching_images = 2;getFullMatchingImagesOrBuilder in interface WebAnnotationOrBuilderpublic java.util.List<WebAnnotation.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.WebAnnotation.WebImage partial_matching_images = 3;getPartialMatchingImagesList in interface WebAnnotationOrBuilderpublic java.util.List<? extends WebAnnotation.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.WebAnnotation.WebImage partial_matching_images = 3;getPartialMatchingImagesOrBuilderList in interface WebAnnotationOrBuilderpublic 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.WebAnnotation.WebImage partial_matching_images = 3;getPartialMatchingImagesCount in interface WebAnnotationOrBuilderpublic WebAnnotation.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.WebAnnotation.WebImage partial_matching_images = 3;getPartialMatchingImages in interface WebAnnotationOrBuilderpublic WebAnnotation.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.WebAnnotation.WebImage partial_matching_images = 3;getPartialMatchingImagesOrBuilder in interface WebAnnotationOrBuilderpublic java.util.List<WebAnnotation.WebPage> getPagesWithMatchingImagesList()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebPage pages_with_matching_images = 4;getPagesWithMatchingImagesList in interface WebAnnotationOrBuilderpublic java.util.List<? extends WebAnnotation.WebPageOrBuilder> getPagesWithMatchingImagesOrBuilderList()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebPage pages_with_matching_images = 4;getPagesWithMatchingImagesOrBuilderList in interface WebAnnotationOrBuilderpublic int getPagesWithMatchingImagesCount()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebPage pages_with_matching_images = 4;getPagesWithMatchingImagesCount in interface WebAnnotationOrBuilderpublic WebAnnotation.WebPage getPagesWithMatchingImages(int index)
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebPage pages_with_matching_images = 4;getPagesWithMatchingImages in interface WebAnnotationOrBuilderpublic WebAnnotation.WebPageOrBuilder getPagesWithMatchingImagesOrBuilder(int index)
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebAnnotation.WebPage pages_with_matching_images = 4;getPagesWithMatchingImagesOrBuilder in interface WebAnnotationOrBuilderpublic 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 WebAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebAnnotation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WebAnnotation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WebAnnotation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WebAnnotation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WebAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WebAnnotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic WebAnnotation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WebAnnotation.Builder newBuilder()
public static WebAnnotation.Builder newBuilder(WebAnnotation prototype)
public WebAnnotation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WebAnnotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WebAnnotation getDefaultInstance()
public static com.google.protobuf.Parser<WebAnnotation> parser()
public com.google.protobuf.Parser<WebAnnotation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WebAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder