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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public int getWebEntitiesCount()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;
getWebEntitiesCount
in interface WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
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.v1.WebDetection.WebImage partial_matching_images = 3;
getPartialMatchingImagesCount
in interface WebDetectionOrBuilder
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.v1.WebDetection.WebImage partial_matching_images = 3;
getPartialMatchingImages
in interface WebDetectionOrBuilder
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.v1.WebDetection.WebImage partial_matching_images = 3;
getPartialMatchingImagesOrBuilder
in interface WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public int getVisuallySimilarImagesCount()
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;
getVisuallySimilarImagesCount
in interface WebDetectionOrBuilder
public WebDetection.WebImage getVisuallySimilarImages(int index)
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;
getVisuallySimilarImages
in interface WebDetectionOrBuilder
public WebDetection.WebImageOrBuilder getVisuallySimilarImagesOrBuilder(int index)
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;
getVisuallySimilarImagesOrBuilder
in interface WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public int getBestGuessLabelsCount()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;
getBestGuessLabelsCount
in interface WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public 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 WebDetectionOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static WebDetection parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WebDetection parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WebDetection parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WebDetection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WebDetection parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WebDetection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WebDetection parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static WebDetection parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WebDetection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static WebDetection parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WebDetection parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static WebDetection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public WebDetection.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static WebDetection.Builder newBuilder()
public static WebDetection.Builder newBuilder(WebDetection prototype)
public WebDetection.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected WebDetection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static WebDetection getDefaultInstance()
public static Parser<WebDetection> parser()
public Parser<WebDetection> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public WebDetection getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder