public final class WebDetection extends GeneratedMessageV3 implements WebDetectionOrBuilder
Relevant information for the image from the Internet.Protobuf type
google.cloud.vision.v1p1beta1.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, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
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
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
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 List<WebDetection.WebEntity> getWebEntitiesList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebEntity web_entities = 1;
getWebEntitiesList
in interface WebDetectionOrBuilder
public List<? extends WebDetection.WebEntityOrBuilder> getWebEntitiesOrBuilderList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebEntity web_entities = 1;
getWebEntitiesOrBuilderList
in interface WebDetectionOrBuilder
public int getWebEntitiesCount()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p1beta1.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.v1p1beta1.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.v1p1beta1.WebDetection.WebEntity web_entities = 1;
getWebEntitiesOrBuilder
in interface WebDetectionOrBuilder
public List<WebDetection.WebImage> getFullMatchingImagesList()
Fully matching images from the Internet. Can include resized copies of the query image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage full_matching_images = 2;
getFullMatchingImagesList
in interface WebDetectionOrBuilder
public List<? extends WebDetection.WebImageOrBuilder> getFullMatchingImagesOrBuilderList()
Fully matching images from the Internet. Can include resized copies of the query image.
repeated .google.cloud.vision.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.WebDetection.WebImage full_matching_images = 2;
getFullMatchingImagesOrBuilder
in interface WebDetectionOrBuilder
public 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.v1p1beta1.WebDetection.WebImage partial_matching_images = 3;
getPartialMatchingImagesList
in interface WebDetectionOrBuilder
public 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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.WebDetection.WebImage partial_matching_images = 3;
getPartialMatchingImagesOrBuilder
in interface WebDetectionOrBuilder
public List<WebDetection.WebPage> getPagesWithMatchingImagesList()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebPage pages_with_matching_images = 4;
getPagesWithMatchingImagesList
in interface WebDetectionOrBuilder
public List<? extends WebDetection.WebPageOrBuilder> getPagesWithMatchingImagesOrBuilderList()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.WebDetection.WebPage pages_with_matching_images = 4;
getPagesWithMatchingImagesOrBuilder
in interface WebDetectionOrBuilder
public List<WebDetection.WebImage> getVisuallySimilarImagesList()
The visually similar image results.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage visually_similar_images = 6;
getVisuallySimilarImagesList
in interface WebDetectionOrBuilder
public List<? extends WebDetection.WebImageOrBuilder> getVisuallySimilarImagesOrBuilderList()
The visually similar image results.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage visually_similar_images = 6;
getVisuallySimilarImagesOrBuilderList
in interface WebDetectionOrBuilder
public int getVisuallySimilarImagesCount()
The visually similar image results.
repeated .google.cloud.vision.v1p1beta1.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.v1p1beta1.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.v1p1beta1.WebDetection.WebImage visually_similar_images = 6;
getVisuallySimilarImagesOrBuilder
in interface WebDetectionOrBuilder
public List<WebDetection.WebLabel> getBestGuessLabelsList()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebLabel best_guess_labels = 8;
getBestGuessLabelsList
in interface WebDetectionOrBuilder
public List<? extends WebDetection.WebLabelOrBuilder> getBestGuessLabelsOrBuilderList()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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 IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(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(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WebDetection parseFrom(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(InputStream input) throws IOException
IOException
public static WebDetection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WebDetection parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WebDetection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WebDetection parseFrom(CodedInputStream input) throws IOException
IOException
public static WebDetection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
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
Copyright © 2022 Google LLC. All rights reserved.