public final class WebDetection extends GeneratedMessageV3 implements WebDetectionOrBuilder
Relevant information for the image from the Internet.
Protobuf type google.cloud.vision.v1p1beta1.WebDetection
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
BEST_GUESS_LABELS_FIELD_NUMBER
public static final int BEST_GUESS_LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FULL_MATCHING_IMAGES_FIELD_NUMBER
public static final int FULL_MATCHING_IMAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER
public static final int PAGES_WITH_MATCHING_IMAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
public static final int PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER
public static final int VISUALLY_SIMILAR_IMAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WEB_ENTITIES_FIELD_NUMBER
public static final int WEB_ENTITIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static WebDetection getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WebDetection.Builder newBuilder()
newBuilder(WebDetection prototype)
public static WebDetection.Builder newBuilder(WebDetection prototype)
public static WebDetection parseDelimitedFrom(InputStream input)
public static WebDetection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WebDetection parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WebDetection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WebDetection parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WebDetection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WebDetection parseFrom(CodedInputStream input)
public static WebDetection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WebDetection parseFrom(InputStream input)
public static WebDetection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WebDetection parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WebDetection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WebDetection> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBestGuessLabels(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getBestGuessLabelsCount()
public int getBestGuessLabelsCount()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebLabel best_guess_labels = 8;
Returns |
---|
Type | Description |
int | |
getBestGuessLabelsList()
public List<WebDetection.WebLabel> getBestGuessLabelsList()
Best guess text labels for the request image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebLabel best_guess_labels = 8;
getBestGuessLabelsOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getBestGuessLabelsOrBuilderList()
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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.WebDetection.WebLabelOrBuilder> | |
getDefaultInstanceForType()
public WebDetection getDefaultInstanceForType()
getFullMatchingImages(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getFullMatchingImagesCount()
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;
Returns |
---|
Type | Description |
int | |
getFullMatchingImagesList()
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;
getFullMatchingImagesOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getFullMatchingImagesOrBuilderList()
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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.WebDetection.WebImageOrBuilder> | |
getPagesWithMatchingImages(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getPagesWithMatchingImagesCount()
public int getPagesWithMatchingImagesCount()
Web pages containing the matching images from the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebPage pages_with_matching_images = 4;
Returns |
---|
Type | Description |
int | |
getPagesWithMatchingImagesList()
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;
getPagesWithMatchingImagesOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getPagesWithMatchingImagesOrBuilderList()
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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.WebDetection.WebPageOrBuilder> | |
getParserForType()
public Parser<WebDetection> getParserForType()
Overrides
getPartialMatchingImages(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
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.v1p1beta1.WebDetection.WebImage partial_matching_images = 3;
Returns |
---|
Type | Description |
int | |
getPartialMatchingImagesList()
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;
getPartialMatchingImagesOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getPartialMatchingImagesOrBuilderList()
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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.WebDetection.WebImageOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getVisuallySimilarImages(int index)
public WebDetection.WebImage getVisuallySimilarImages(int index)
The visually similar image results.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage visually_similar_images = 6;
Parameter |
---|
Name | Description |
index | int
|
getVisuallySimilarImagesCount()
public int getVisuallySimilarImagesCount()
The visually similar image results.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage visually_similar_images = 6;
Returns |
---|
Type | Description |
int | |
getVisuallySimilarImagesList()
public List<WebDetection.WebImage> getVisuallySimilarImagesList()
The visually similar image results.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage visually_similar_images = 6;
getVisuallySimilarImagesOrBuilder(int index)
public WebDetection.WebImageOrBuilder getVisuallySimilarImagesOrBuilder(int index)
The visually similar image results.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage visually_similar_images = 6;
Parameter |
---|
Name | Description |
index | int
|
getVisuallySimilarImagesOrBuilderList()
public List<? extends WebDetection.WebImageOrBuilder> getVisuallySimilarImagesOrBuilderList()
The visually similar image results.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage visually_similar_images = 6;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.WebDetection.WebImageOrBuilder> | |
getWebEntities(int index)
public WebDetection.WebEntity getWebEntities(int index)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebEntity web_entities = 1;
Parameter |
---|
Name | Description |
index | int
|
getWebEntitiesCount()
public int getWebEntitiesCount()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebEntity web_entities = 1;
Returns |
---|
Type | Description |
int | |
getWebEntitiesList()
public List<WebDetection.WebEntity> getWebEntitiesList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebEntity web_entities = 1;
getWebEntitiesOrBuilder(int index)
public WebDetection.WebEntityOrBuilder getWebEntitiesOrBuilder(int index)
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebEntity web_entities = 1;
Parameter |
---|
Name | Description |
index | int
|
getWebEntitiesOrBuilderList()
public List<? extends WebDetection.WebEntityOrBuilder> getWebEntitiesOrBuilderList()
Deduced entities from similar images on the Internet.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebEntity web_entities = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.WebDetection.WebEntityOrBuilder> | |
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WebDetection.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WebDetection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WebDetection.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides