public static final class WebDetection.WebPage extends com.google.protobuf.GeneratedMessageV3 implements WebDetection.WebPageOrBuilder
Metadata for web pages.Protobuf type
google.cloud.vision.v1.WebDetection.WebPage| Modifier and Type | Class and Description |
|---|---|
static class |
WebDetection.WebPage.Builder
Metadata for web pages.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_MATCHING_IMAGES_FIELD_NUMBER |
static int |
PAGE_TITLE_FIELD_NUMBER |
static int |
PARTIAL_MATCHING_IMAGES_FIELD_NUMBER |
static int |
SCORE_FIELD_NUMBER |
static int |
URL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static WebDetection.WebPage |
getDefaultInstance() |
WebDetection.WebPage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
WebDetection.WebImage |
getFullMatchingImages(int index)
Fully matching images on the page.
|
int |
getFullMatchingImagesCount()
Fully matching images on the page.
|
List<WebDetection.WebImage> |
getFullMatchingImagesList()
Fully matching images on the page.
|
WebDetection.WebImageOrBuilder |
getFullMatchingImagesOrBuilder(int index)
Fully matching images on the page.
|
List<? extends WebDetection.WebImageOrBuilder> |
getFullMatchingImagesOrBuilderList()
Fully matching images on the page.
|
String |
getPageTitle()
Title for the web page, may contain HTML markups.
|
com.google.protobuf.ByteString |
getPageTitleBytes()
Title for the web page, may contain HTML markups.
|
com.google.protobuf.Parser<WebDetection.WebPage> |
getParserForType() |
WebDetection.WebImage |
getPartialMatchingImages(int index)
Partial matching images on the page.
|
int |
getPartialMatchingImagesCount()
Partial matching images on the page.
|
List<WebDetection.WebImage> |
getPartialMatchingImagesList()
Partial matching images on the page.
|
WebDetection.WebImageOrBuilder |
getPartialMatchingImagesOrBuilder(int index)
Partial matching images on the page.
|
List<? extends WebDetection.WebImageOrBuilder> |
getPartialMatchingImagesOrBuilderList()
Partial matching images on the page.
|
float |
getScore()
(Deprecated) Overall relevancy score for the web page.
|
int |
getSerializedSize() |
String |
getUrl()
The result web page URL.
|
com.google.protobuf.ByteString |
getUrlBytes()
The result web page URL.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WebDetection.WebPage.Builder |
newBuilder() |
static WebDetection.WebPage.Builder |
newBuilder(WebDetection.WebPage prototype) |
WebDetection.WebPage.Builder |
newBuilderForType() |
protected WebDetection.WebPage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WebDetection.WebPage |
parseDelimitedFrom(InputStream input) |
static WebDetection.WebPage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection.WebPage |
parseFrom(byte[] data) |
static WebDetection.WebPage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection.WebPage |
parseFrom(ByteBuffer data) |
static WebDetection.WebPage |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection.WebPage |
parseFrom(com.google.protobuf.ByteString data) |
static WebDetection.WebPage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection.WebPage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WebDetection.WebPage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebDetection.WebPage |
parseFrom(InputStream input) |
static WebDetection.WebPage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WebDetection.WebPage> |
parser() |
WebDetection.WebPage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int URL_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
public static final int PAGE_TITLE_FIELD_NUMBER
public static final int FULL_MATCHING_IMAGES_FIELD_NUMBER
public static final int PARTIAL_MATCHING_IMAGES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getUrl()
The result web page URL.
string url = 1;getUrl in interface WebDetection.WebPageOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
The result web page URL.
string url = 1;getUrlBytes in interface WebDetection.WebPageOrBuilderpublic float getScore()
(Deprecated) Overall relevancy score for the web page.
float score = 2;getScore in interface WebDetection.WebPageOrBuilderpublic String getPageTitle()
Title for the web page, may contain HTML markups.
string page_title = 3;getPageTitle in interface WebDetection.WebPageOrBuilderpublic com.google.protobuf.ByteString getPageTitleBytes()
Title for the web page, may contain HTML markups.
string page_title = 3;getPageTitleBytes in interface WebDetection.WebPageOrBuilderpublic 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;getFullMatchingImagesList in interface WebDetection.WebPageOrBuilderpublic 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;getFullMatchingImagesOrBuilderList in interface WebDetection.WebPageOrBuilderpublic 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;getFullMatchingImagesCount in interface WebDetection.WebPageOrBuilderpublic WebDetection.WebImage getFullMatchingImages(int index)
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 in interface WebDetection.WebPageOrBuilderpublic WebDetection.WebImageOrBuilder getFullMatchingImagesOrBuilder(int index)
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 in interface WebDetection.WebPageOrBuilderpublic 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;
getPartialMatchingImagesList in interface WebDetection.WebPageOrBuilderpublic 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;
getPartialMatchingImagesOrBuilderList in interface WebDetection.WebPageOrBuilderpublic 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;
getPartialMatchingImagesCount in interface WebDetection.WebPageOrBuilderpublic 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.v1.WebDetection.WebImage partial_matching_images = 5;
getPartialMatchingImages in interface WebDetection.WebPageOrBuilderpublic 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.v1.WebDetection.WebImage partial_matching_images = 5;
getPartialMatchingImagesOrBuilder in interface WebDetection.WebPageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WebDetection.WebPage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection.WebPage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection.WebPage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection.WebPage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection.WebPage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection.WebPage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebDetection.WebPage parseFrom(InputStream input) throws IOException
IOExceptionpublic static WebDetection.WebPage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WebDetection.WebPage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WebDetection.WebPage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WebDetection.WebPage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WebDetection.WebPage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WebDetection.WebPage.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WebDetection.WebPage.Builder newBuilder()
public static WebDetection.WebPage.Builder newBuilder(WebDetection.WebPage prototype)
public WebDetection.WebPage.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WebDetection.WebPage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WebDetection.WebPage getDefaultInstance()
public static com.google.protobuf.Parser<WebDetection.WebPage> parser()
public com.google.protobuf.Parser<WebDetection.WebPage> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WebDetection.WebPage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.