Package com.google.cloud.vision.v1
Interface WebDetection.WebPageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WebDetection.WebPage,WebDetection.WebPage.Builder
- Enclosing class:
- WebDetection
public static interface WebDetection.WebPageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFullMatchingImages(int index) Fully matching images on the page.intFully matching images on the page.Fully matching images on the page.getFullMatchingImagesOrBuilder(int index) Fully matching images on the page.List<? extends WebDetection.WebImageOrBuilder>Fully matching images on the page.Title for the web page, may contain HTML markups.com.google.protobuf.ByteStringTitle for the web page, may contain HTML markups.getPartialMatchingImages(int index) Partial matching images on the page.intPartial matching images on the page.Partial matching images on the page.getPartialMatchingImagesOrBuilder(int index) Partial matching images on the page.List<? extends WebDetection.WebImageOrBuilder>Partial matching images on the page.floatgetScore()(Deprecated) Overall relevancy score for the web page.getUrl()The result web page URL.com.google.protobuf.ByteStringThe result web page URL.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUrl
String getUrl()The result web page URL.
string url = 1;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()The result web page URL.
string url = 1;- Returns:
- The bytes for url.
-
getScore
float getScore()(Deprecated) Overall relevancy score for the web page.
float score = 2;- Returns:
- The score.
-
getPageTitle
String getPageTitle()Title for the web page, may contain HTML markups.
string page_title = 3;- Returns:
- The pageTitle.
-
getPageTitleBytes
com.google.protobuf.ByteString getPageTitleBytes()Title for the web page, may contain HTML markups.
string page_title = 3;- Returns:
- The bytes for pageTitle.
-
getFullMatchingImagesList
List<WebDetection.WebImage> getFullMatchingImagesList()Fully matching images on the page. Can include resized copies of the query image.
repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 4; -
getFullMatchingImages
Fully matching images on the page. Can include resized copies of the query image.
repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 4; -
getFullMatchingImagesCount
int getFullMatchingImagesCount()Fully matching images on the page. Can include resized copies of the query image.
repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 4; -
getFullMatchingImagesOrBuilderList
List<? extends WebDetection.WebImageOrBuilder> getFullMatchingImagesOrBuilderList()Fully matching images on the page. Can include resized copies of the query image.
repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 4; -
getFullMatchingImagesOrBuilder
Fully matching images on the page. Can include resized copies of the query image.
repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 4; -
getPartialMatchingImagesList
List<WebDetection.WebImage> getPartialMatchingImagesList()Partial matching images on the page. 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 = 5; -
getPartialMatchingImages
Partial matching images on the page. 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 = 5; -
getPartialMatchingImagesCount
int getPartialMatchingImagesCount()Partial matching images on the page. 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 = 5; -
getPartialMatchingImagesOrBuilderList
List<? extends WebDetection.WebImageOrBuilder> getPartialMatchingImagesOrBuilderList()Partial matching images on the page. 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 = 5; -
getPartialMatchingImagesOrBuilder
Partial matching images on the page. 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 = 5;
-