publicstaticfinalclass WebDetection.WebPageextendsGeneratedMessageV3implementsWebDetection.WebPageOrBuilder
Metadata for web pages.
Protobuf type google.cloud.vision.v1.WebDetection.WebPage
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
FULL_MATCHING_IMAGES_FIELD_NUMBER
publicstaticfinalintFULL_MATCHING_IMAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PAGE_TITLE_FIELD_NUMBER
publicstaticfinalintPAGE_TITLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
publicstaticfinalintPARTIAL_MATCHING_IMAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SCORE_FIELD_NUMBER
publicstaticfinalintSCORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
URL_FIELD_NUMBER
publicstaticfinalintURL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticWebDetection.WebPagegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticWebDetection.WebPage.BuildernewBuilder()
newBuilder(WebDetection.WebPage prototype)
publicstaticWebDetection.WebPage.BuildernewBuilder(WebDetection.WebPageprototype)
parseDelimitedFrom(InputStream input)
publicstaticWebDetection.WebPageparseDelimitedFrom(InputStreaminput)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetection.WebPageparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticWebDetection.WebPageparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetection.WebPageparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticWebDetection.WebPageparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetection.WebPageparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
parseFrom(CodedInputStream input)
publicstaticWebDetection.WebPageparseFrom(CodedInputStreaminput)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetection.WebPageparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(InputStream input)
publicstaticWebDetection.WebPageparseFrom(InputStreaminput)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetection.WebPageparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticWebDetection.WebPageparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticWebDetection.WebPageparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<WebDetection.WebPage>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicWebDetection.WebPagegetDefaultInstanceForType()
getFullMatchingImages(int index)
publicWebDetection.WebImagegetFullMatchingImages(intindex)
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;
| Parameter |
| Name |
Description |
index |
int
|
getFullMatchingImagesCount()
publicintgetFullMatchingImagesCount()
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;
| Returns |
| Type |
Description |
int |
getFullMatchingImagesList()
publicList<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;
getFullMatchingImagesOrBuilder(int index)
publicWebDetection.WebImageOrBuildergetFullMatchingImagesOrBuilder(intindex)
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;
| Parameter |
| Name |
Description |
index |
int
|
getFullMatchingImagesOrBuilderList()
publicList<?extendsWebDetection.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;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder> |
getPageTitle()
publicStringgetPageTitle()
Title for the web page, may contain HTML markups.
string page_title = 3;
| Returns |
| Type |
Description |
String |
The pageTitle.
|
getPageTitleBytes()
publicByteStringgetPageTitleBytes()
Title for the web page, may contain HTML markups.
string page_title = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for pageTitle.
|
getParserForType()
publicParser<WebDetection.WebPage>getParserForType()
Overrides
getPartialMatchingImages(int index)
publicWebDetection.WebImagegetPartialMatchingImages(intindex)
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;
| Parameter |
| Name |
Description |
index |
int
|
getPartialMatchingImagesCount()
publicintgetPartialMatchingImagesCount()
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;
| Returns |
| Type |
Description |
int |
getPartialMatchingImagesList()
publicList<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;
getPartialMatchingImagesOrBuilder(int index)
publicWebDetection.WebImageOrBuildergetPartialMatchingImagesOrBuilder(intindex)
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;
| Parameter |
| Name |
Description |
index |
int
|
getPartialMatchingImagesOrBuilderList()
publicList<?extendsWebDetection.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;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder> |
getScore()
(Deprecated) Overall relevancy score for the web page.
float score = 2;
| Returns |
| Type |
Description |
float |
The score.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getUrl()
The result web page URL.
string url = 1;
| Returns |
| Type |
Description |
String |
The url.
|
getUrlBytes()
publicByteStringgetUrlBytes()
The result web page URL.
string url = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for url.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicWebDetection.WebPage.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedWebDetection.WebPage.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicWebDetection.WebPage.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides