public static final class WebDetection.WebPage.Builder extends GeneratedMessageV3.Builder<WebDetection.WebPage.Builder> implements WebDetection.WebPageOrBuilder
Metadata for web pages.Protobuf type
google.cloud.vision.v1p1beta1.WebDetection.WebPage
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public WebDetection.WebPage build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public WebDetection.WebPage buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public WebDetection.WebPage.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder mergeFrom(WebDetection.WebPage other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public WebDetection.WebPage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<WebDetection.WebPage.Builder>
java.io.IOException
public java.lang.String getUrl()
The result web page URL.
string url = 1;
getUrl
in interface WebDetection.WebPageOrBuilder
public ByteString getUrlBytes()
The result web page URL.
string url = 1;
getUrlBytes
in interface WebDetection.WebPageOrBuilder
public WebDetection.WebPage.Builder setUrl(java.lang.String value)
The result web page URL.
string url = 1;
public WebDetection.WebPage.Builder clearUrl()
The result web page URL.
string url = 1;
public WebDetection.WebPage.Builder setUrlBytes(ByteString value)
The result web page URL.
string url = 1;
public float getScore()
(Deprecated) Overall relevancy score for the web page.
float score = 2;
getScore
in interface WebDetection.WebPageOrBuilder
public WebDetection.WebPage.Builder setScore(float value)
(Deprecated) Overall relevancy score for the web page.
float score = 2;
public WebDetection.WebPage.Builder clearScore()
(Deprecated) Overall relevancy score for the web page.
float score = 2;
public java.lang.String getPageTitle()
Title for the web page, may contain HTML markups.
string page_title = 3;
getPageTitle
in interface WebDetection.WebPageOrBuilder
public ByteString getPageTitleBytes()
Title for the web page, may contain HTML markups.
string page_title = 3;
getPageTitleBytes
in interface WebDetection.WebPageOrBuilder
public WebDetection.WebPage.Builder setPageTitle(java.lang.String value)
Title for the web page, may contain HTML markups.
string page_title = 3;
public WebDetection.WebPage.Builder clearPageTitle()
Title for the web page, may contain HTML markups.
string page_title = 3;
public WebDetection.WebPage.Builder setPageTitleBytes(ByteString value)
Title for the web page, may contain HTML markups.
string page_title = 3;
public java.util.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;
getFullMatchingImagesList
in interface WebDetection.WebPageOrBuilder
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;
getFullMatchingImagesCount
in interface WebDetection.WebPageOrBuilder
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;
getFullMatchingImages
in interface WebDetection.WebPageOrBuilder
public WebDetection.WebPage.Builder setFullMatchingImages(int index, WebDetection.WebImage value)
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;
public WebDetection.WebPage.Builder setFullMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)
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;
public WebDetection.WebPage.Builder addFullMatchingImages(WebDetection.WebImage value)
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;
public WebDetection.WebPage.Builder addFullMatchingImages(int index, WebDetection.WebImage value)
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;
public WebDetection.WebPage.Builder addFullMatchingImages(WebDetection.WebImage.Builder builderForValue)
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;
public WebDetection.WebPage.Builder addFullMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)
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;
public WebDetection.WebPage.Builder addAllFullMatchingImages(java.lang.Iterable<? extends WebDetection.WebImage> values)
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;
public WebDetection.WebPage.Builder clearFullMatchingImages()
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;
public WebDetection.WebPage.Builder removeFullMatchingImages(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;
public WebDetection.WebImage.Builder getFullMatchingImagesBuilder(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;
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;
getFullMatchingImagesOrBuilder
in interface WebDetection.WebPageOrBuilder
public java.util.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;
getFullMatchingImagesOrBuilderList
in interface WebDetection.WebPageOrBuilder
public WebDetection.WebImage.Builder addFullMatchingImagesBuilder()
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;
public WebDetection.WebImage.Builder addFullMatchingImagesBuilder(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;
public java.util.List<WebDetection.WebImage.Builder> getFullMatchingImagesBuilderList()
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;
public java.util.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;
getPartialMatchingImagesList
in interface WebDetection.WebPageOrBuilder
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;
getPartialMatchingImagesCount
in interface WebDetection.WebPageOrBuilder
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;
getPartialMatchingImages
in interface WebDetection.WebPageOrBuilder
public WebDetection.WebPage.Builder setPartialMatchingImages(int index, WebDetection.WebImage value)
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;
public WebDetection.WebPage.Builder setPartialMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)
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;
public WebDetection.WebPage.Builder addPartialMatchingImages(WebDetection.WebImage value)
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;
public WebDetection.WebPage.Builder addPartialMatchingImages(int index, WebDetection.WebImage value)
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;
public WebDetection.WebPage.Builder addPartialMatchingImages(WebDetection.WebImage.Builder builderForValue)
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;
public WebDetection.WebPage.Builder addPartialMatchingImages(int index, WebDetection.WebImage.Builder builderForValue)
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;
public WebDetection.WebPage.Builder addAllPartialMatchingImages(java.lang.Iterable<? extends WebDetection.WebImage> values)
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;
public WebDetection.WebPage.Builder clearPartialMatchingImages()
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;
public WebDetection.WebPage.Builder removePartialMatchingImages(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;
public WebDetection.WebImage.Builder getPartialMatchingImagesBuilder(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;
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;
getPartialMatchingImagesOrBuilder
in interface WebDetection.WebPageOrBuilder
public java.util.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;
getPartialMatchingImagesOrBuilderList
in interface WebDetection.WebPageOrBuilder
public WebDetection.WebImage.Builder addPartialMatchingImagesBuilder()
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;
public WebDetection.WebImage.Builder addPartialMatchingImagesBuilder(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;
public java.util.List<WebDetection.WebImage.Builder> getPartialMatchingImagesBuilderList()
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;
public final WebDetection.WebPage.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>
public final WebDetection.WebPage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<WebDetection.WebPage.Builder>