public static final class WebDetection.WebPage extends GeneratedMessageV3 implements WebDetection.WebPageOrBuilder
Metadata for web pages.
Protobuf type google.cloud.vision.v1p1beta1.WebDetection.WebPage
Static Fields
FULL_MATCHING_IMAGES_FIELD_NUMBER
public static final int FULL_MATCHING_IMAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PAGE_TITLE_FIELD_NUMBER
public static final int PAGE_TITLE_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 | |
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static WebDetection.WebPage getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WebDetection.WebPage.Builder newBuilder()
newBuilder(WebDetection.WebPage prototype)
public static WebDetection.WebPage.Builder newBuilder(WebDetection.WebPage prototype)
parseDelimitedFrom(InputStream input)
public static WebDetection.WebPage parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WebDetection.WebPage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WebDetection.WebPage parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WebDetection.WebPage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WebDetection.WebPage parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WebDetection.WebPage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static WebDetection.WebPage parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WebDetection.WebPage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static WebDetection.WebPage parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WebDetection.WebPage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WebDetection.WebPage parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WebDetection.WebPage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WebDetection.WebPage> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public WebDetection.WebPage getDefaultInstanceForType()
getFullMatchingImages(int index)
public WebDetection.WebImage getFullMatchingImages(int index)
Fully matching images on the page.
Can include resized copies of the query image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage full_matching_images = 4;
Parameter |
---|
Name | Description |
index | int
|
getFullMatchingImagesCount()
public int getFullMatchingImagesCount()
Fully matching images on the page.
Can include resized copies of the query image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage full_matching_images = 4;
Returns |
---|
Type | Description |
int | |
getFullMatchingImagesList()
public List<WebDetection.WebImage> getFullMatchingImagesList()
Fully matching images on the page.
Can include resized copies of the query image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage full_matching_images = 4;
getFullMatchingImagesOrBuilder(int index)
public WebDetection.WebImageOrBuilder getFullMatchingImagesOrBuilder(int index)
Fully matching images on the page.
Can include resized copies of the query image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage full_matching_images = 4;
Parameter |
---|
Name | Description |
index | int
|
getFullMatchingImagesOrBuilderList()
public List<? extends WebDetection.WebImageOrBuilder> getFullMatchingImagesOrBuilderList()
Fully matching images on the page.
Can include resized copies of the query image.
repeated .google.cloud.vision.v1p1beta1.WebDetection.WebImage full_matching_images = 4;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.WebDetection.WebImageOrBuilder> | |
getPageTitle()
public String getPageTitle()
Title for the web page, may contain HTML markups.
string page_title = 3;
Returns |
---|
Type | Description |
String | The pageTitle.
|
getPageTitleBytes()
public ByteString getPageTitleBytes()
Title for the web page, may contain HTML markups.
string page_title = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for pageTitle.
|
getParserForType()
public Parser<WebDetection.WebPage> getParserForType()
Overrides
getPartialMatchingImages(int index)
public WebDetection.WebImage getPartialMatchingImages(int index)
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.v1p1beta1.WebDetection.WebImage partial_matching_images = 5;
Parameter |
---|
Name | Description |
index | int
|
getPartialMatchingImagesCount()
public 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.v1p1beta1.WebDetection.WebImage partial_matching_images = 5;
Returns |
---|
Type | Description |
int | |
getPartialMatchingImagesList()
public 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.v1p1beta1.WebDetection.WebImage partial_matching_images = 5;
getPartialMatchingImagesOrBuilder(int index)
public WebDetection.WebImageOrBuilder getPartialMatchingImagesOrBuilder(int index)
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.v1p1beta1.WebDetection.WebImage partial_matching_images = 5;
Parameter |
---|
Name | Description |
index | int
|
getPartialMatchingImagesOrBuilderList()
public 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.v1p1beta1.WebDetection.WebImage partial_matching_images = 5;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1p1beta1.WebDetection.WebImageOrBuilder> | |
getScore()
(Deprecated) Overall relevancy score for the web page.
float score = 2;
Returns |
---|
Type | Description |
float | The score.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUrl()
The result web page URL.
string url = 1;
Returns |
---|
Type | Description |
String | The url.
|
getUrlBytes()
public ByteString getUrlBytes()
The result web page URL.
string url = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for url.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WebDetection.WebPage.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WebDetection.WebPage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WebDetection.WebPage.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides