Package com.google.cloud.vision.v1
Class WebDetection
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.vision.v1.WebDetection
- All Implemented Interfaces:
WebDetectionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class WebDetection
extends com.google.protobuf.GeneratedMessage
implements WebDetectionOrBuilder
Relevant information for the image from the Internet.Protobuf type
google.cloud.vision.v1.WebDetection- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRelevant information for the image from the Internet.static final classEntity deduced from similar images on the Internet.static interfacestatic final classMetadata for online images.static interfacestatic final classLabel to provide extra metadata for the web detection.static interfacestatic final classMetadata for web pages.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBestGuessLabels(int index) The service's best guess as to the topic of the request image.intThe service's best guess as to the topic of the request image.The service's best guess as to the topic of the request image.getBestGuessLabelsOrBuilder(int index) The service's best guess as to the topic of the request image.List<? extends WebDetection.WebLabelOrBuilder>The service's best guess as to the topic of the request image.static WebDetectionstatic final com.google.protobuf.Descriptors.DescriptorgetFullMatchingImages(int index) Fully matching images from the Internet.intFully matching images from the Internet.Fully matching images from the Internet.getFullMatchingImagesOrBuilder(int index) Fully matching images from the Internet.List<? extends WebDetection.WebImageOrBuilder>Fully matching images from the Internet.getPagesWithMatchingImages(int index) Web pages containing the matching images from the Internet.intWeb pages containing the matching images from the Internet.Web pages containing the matching images from the Internet.getPagesWithMatchingImagesOrBuilder(int index) Web pages containing the matching images from the Internet.List<? extends WebDetection.WebPageOrBuilder>Web pages containing the matching images from the Internet.com.google.protobuf.Parser<WebDetection>getPartialMatchingImages(int index) Partial matching images from the Internet.intPartial matching images from the Internet.Partial matching images from the Internet.getPartialMatchingImagesOrBuilder(int index) Partial matching images from the Internet.List<? extends WebDetection.WebImageOrBuilder>Partial matching images from the Internet.intgetVisuallySimilarImages(int index) The visually similar image results.intThe visually similar image results.The visually similar image results.getVisuallySimilarImagesOrBuilder(int index) The visually similar image results.List<? extends WebDetection.WebImageOrBuilder>The visually similar image results.getWebEntities(int index) Deduced entities from similar images on the Internet.intDeduced entities from similar images on the Internet.Deduced entities from similar images on the Internet.getWebEntitiesOrBuilder(int index) Deduced entities from similar images on the Internet.List<? extends WebDetection.WebEntityOrBuilder>Deduced entities from similar images on the Internet.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic WebDetection.Builderstatic WebDetection.BuildernewBuilder(WebDetection prototype) protected WebDetection.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static WebDetectionparseDelimitedFrom(InputStream input) static WebDetectionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WebDetectionparseFrom(byte[] data) static WebDetectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WebDetectionparseFrom(com.google.protobuf.ByteString data) static WebDetectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WebDetectionparseFrom(com.google.protobuf.CodedInputStream input) static WebDetectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WebDetectionparseFrom(InputStream input) static WebDetectionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WebDetectionparseFrom(ByteBuffer data) static WebDetectionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WebDetection>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
WEB_ENTITIES_FIELD_NUMBER
public static final int WEB_ENTITIES_FIELD_NUMBER- See Also:
-
FULL_MATCHING_IMAGES_FIELD_NUMBER
public static final int FULL_MATCHING_IMAGES_FIELD_NUMBER- See Also:
-
PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
public static final int PARTIAL_MATCHING_IMAGES_FIELD_NUMBER- See Also:
-
PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER
public static final int PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER- See Also:
-
VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER
public static final int VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER- See Also:
-
BEST_GUESS_LABELS_FIELD_NUMBER
public static final int BEST_GUESS_LABELS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getWebEntitiesList
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;- Specified by:
getWebEntitiesListin interfaceWebDetectionOrBuilder
-
getWebEntitiesOrBuilderList
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;- Specified by:
getWebEntitiesOrBuilderListin interfaceWebDetectionOrBuilder
-
getWebEntitiesCount
public int getWebEntitiesCount()Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;- Specified by:
getWebEntitiesCountin interfaceWebDetectionOrBuilder
-
getWebEntities
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;- Specified by:
getWebEntitiesin interfaceWebDetectionOrBuilder
-
getWebEntitiesOrBuilder
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;- Specified by:
getWebEntitiesOrBuilderin interfaceWebDetectionOrBuilder
-
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;- Specified by:
getFullMatchingImagesListin interfaceWebDetectionOrBuilder
-
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;- Specified by:
getFullMatchingImagesOrBuilderListin interfaceWebDetectionOrBuilder
-
getFullMatchingImagesCount
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;- Specified by:
getFullMatchingImagesCountin interfaceWebDetectionOrBuilder
-
getFullMatchingImages
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;- Specified by:
getFullMatchingImagesin interfaceWebDetectionOrBuilder
-
getFullMatchingImagesOrBuilder
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;- Specified by:
getFullMatchingImagesOrBuilderin interfaceWebDetectionOrBuilder
-
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;- Specified by:
getPartialMatchingImagesListin interfaceWebDetectionOrBuilder
-
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;- Specified by:
getPartialMatchingImagesOrBuilderListin interfaceWebDetectionOrBuilder
-
getPartialMatchingImagesCount
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;- Specified by:
getPartialMatchingImagesCountin interfaceWebDetectionOrBuilder
-
getPartialMatchingImages
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;- Specified by:
getPartialMatchingImagesin interfaceWebDetectionOrBuilder
-
getPartialMatchingImagesOrBuilder
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;- Specified by:
getPartialMatchingImagesOrBuilderin interfaceWebDetectionOrBuilder
-
getPagesWithMatchingImagesList
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;- Specified by:
getPagesWithMatchingImagesListin interfaceWebDetectionOrBuilder
-
getPagesWithMatchingImagesOrBuilderList
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;- Specified by:
getPagesWithMatchingImagesOrBuilderListin interfaceWebDetectionOrBuilder
-
getPagesWithMatchingImagesCount
public int getPagesWithMatchingImagesCount()Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;- Specified by:
getPagesWithMatchingImagesCountin interfaceWebDetectionOrBuilder
-
getPagesWithMatchingImages
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;- Specified by:
getPagesWithMatchingImagesin interfaceWebDetectionOrBuilder
-
getPagesWithMatchingImagesOrBuilder
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;- Specified by:
getPagesWithMatchingImagesOrBuilderin interfaceWebDetectionOrBuilder
-
getVisuallySimilarImagesList
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;- Specified by:
getVisuallySimilarImagesListin interfaceWebDetectionOrBuilder
-
getVisuallySimilarImagesOrBuilderList
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;- Specified by:
getVisuallySimilarImagesOrBuilderListin interfaceWebDetectionOrBuilder
-
getVisuallySimilarImagesCount
public int getVisuallySimilarImagesCount()The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;- Specified by:
getVisuallySimilarImagesCountin interfaceWebDetectionOrBuilder
-
getVisuallySimilarImages
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;- Specified by:
getVisuallySimilarImagesin interfaceWebDetectionOrBuilder
-
getVisuallySimilarImagesOrBuilder
The visually similar image results.
repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6;- Specified by:
getVisuallySimilarImagesOrBuilderin interfaceWebDetectionOrBuilder
-
getBestGuessLabelsList
The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;- Specified by:
getBestGuessLabelsListin interfaceWebDetectionOrBuilder
-
getBestGuessLabelsOrBuilderList
The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;- Specified by:
getBestGuessLabelsOrBuilderListin interfaceWebDetectionOrBuilder
-
getBestGuessLabelsCount
public int getBestGuessLabelsCount()The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;- Specified by:
getBestGuessLabelsCountin interfaceWebDetectionOrBuilder
-
getBestGuessLabels
The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;- Specified by:
getBestGuessLabelsin interfaceWebDetectionOrBuilder
-
getBestGuessLabelsOrBuilder
The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;- Specified by:
getBestGuessLabelsOrBuilderin interfaceWebDetectionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WebDetection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebDetection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebDetection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebDetection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebDetection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebDetection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WebDetection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WebDetection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WebDetection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WebDetection.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-