Package com.google.cloud.vision.v1
Class WebDetection.WebPage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WebDetection.WebPage.Builder>
com.google.cloud.vision.v1.WebDetection.WebPage.Builder
- All Implemented Interfaces:
WebDetection.WebPageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- WebDetection.WebPage
public static final class WebDetection.WebPage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WebDetection.WebPage.Builder>
implements WebDetection.WebPageOrBuilder
Metadata for web pages.Protobuf type
google.cloud.vision.v1.WebDetection.WebPage-
Method Summary
Modifier and TypeMethodDescriptionaddAllFullMatchingImages(Iterable<? extends WebDetection.WebImage> values) Fully matching images on the page.addAllPartialMatchingImages(Iterable<? extends WebDetection.WebImage> values) Partial matching images on the page.addFullMatchingImages(int index, WebDetection.WebImage value) Fully matching images on the page.addFullMatchingImages(int index, WebDetection.WebImage.Builder builderForValue) Fully matching images on the page.Fully matching images on the page.addFullMatchingImages(WebDetection.WebImage.Builder builderForValue) Fully matching images on the page.Fully matching images on the page.addFullMatchingImagesBuilder(int index) Fully matching images on the page.addPartialMatchingImages(int index, WebDetection.WebImage value) Partial matching images on the page.addPartialMatchingImages(int index, WebDetection.WebImage.Builder builderForValue) Partial matching images on the page.Partial matching images on the page.addPartialMatchingImages(WebDetection.WebImage.Builder builderForValue) Partial matching images on the page.Partial matching images on the page.addPartialMatchingImagesBuilder(int index) Partial matching images on the page.build()clear()Fully matching images on the page.Title for the web page, may contain HTML markups.Partial matching images on the page.(Deprecated) Overall relevancy score for the web page.clearUrl()The result web page URL.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFullMatchingImages(int index) Fully matching images on the page.getFullMatchingImagesBuilder(int index) Fully matching images on the page.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.getPartialMatchingImagesBuilder(int index) Partial matching images on the page.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(WebDetection.WebPage other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFullMatchingImages(int index) Fully matching images on the page.removePartialMatchingImages(int index) Partial matching images on the page.setFullMatchingImages(int index, WebDetection.WebImage value) Fully matching images on the page.setFullMatchingImages(int index, WebDetection.WebImage.Builder builderForValue) Fully matching images on the page.setPageTitle(String value) Title for the web page, may contain HTML markups.setPageTitleBytes(com.google.protobuf.ByteString value) Title for the web page, may contain HTML markups.setPartialMatchingImages(int index, WebDetection.WebImage value) Partial matching images on the page.setPartialMatchingImages(int index, WebDetection.WebImage.Builder builderForValue) Partial matching images on the page.setScore(float value) (Deprecated) Overall relevancy score for the web page.The result web page URL.setUrlBytes(com.google.protobuf.ByteString value) The result web page URL.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WebDetection.WebPage.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<WebDetection.WebPage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<WebDetection.WebPage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WebDetection.WebPage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WebDetection.WebPage.Builder>
-
mergeFrom
public WebDetection.WebPage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WebDetection.WebPage.Builder>- Throws:
IOException
-
getUrl
The result web page URL.
string url = 1;- Specified by:
getUrlin interfaceWebDetection.WebPageOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()The result web page URL.
string url = 1;- Specified by:
getUrlBytesin interfaceWebDetection.WebPageOrBuilder- Returns:
- The bytes for url.
-
setUrl
The result web page URL.
string url = 1;- Parameters:
value- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
The result web page URL.
string url = 1;- Returns:
- This builder for chaining.
-
setUrlBytes
The result web page URL.
string url = 1;- Parameters:
value- The bytes for url to set.- Returns:
- This builder for chaining.
-
getScore
public float getScore()(Deprecated) Overall relevancy score for the web page.
float score = 2;- Specified by:
getScorein interfaceWebDetection.WebPageOrBuilder- Returns:
- The score.
-
setScore
(Deprecated) Overall relevancy score for the web page.
float score = 2;- Parameters:
value- The score to set.- Returns:
- This builder for chaining.
-
clearScore
(Deprecated) Overall relevancy score for the web page.
float score = 2;- Returns:
- This builder for chaining.
-
getPageTitle
Title for the web page, may contain HTML markups.
string page_title = 3;- Specified by:
getPageTitlein interfaceWebDetection.WebPageOrBuilder- Returns:
- The pageTitle.
-
getPageTitleBytes
public com.google.protobuf.ByteString getPageTitleBytes()Title for the web page, may contain HTML markups.
string page_title = 3;- Specified by:
getPageTitleBytesin interfaceWebDetection.WebPageOrBuilder- Returns:
- The bytes for pageTitle.
-
setPageTitle
Title for the web page, may contain HTML markups.
string page_title = 3;- Parameters:
value- The pageTitle to set.- Returns:
- This builder for chaining.
-
clearPageTitle
Title for the web page, may contain HTML markups.
string page_title = 3;- Returns:
- This builder for chaining.
-
setPageTitleBytes
Title for the web page, may contain HTML markups.
string page_title = 3;- Parameters:
value- The bytes for pageTitle to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getFullMatchingImagesListin interfaceWebDetection.WebPageOrBuilder
-
getFullMatchingImagesCount
public 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;- Specified by:
getFullMatchingImagesCountin interfaceWebDetection.WebPageOrBuilder
-
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;- Specified by:
getFullMatchingImagesin interfaceWebDetection.WebPageOrBuilder
-
setFullMatchingImages
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; -
setFullMatchingImages
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.v1.WebDetection.WebImage full_matching_images = 4; -
addFullMatchingImages
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; -
addFullMatchingImages
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; -
addFullMatchingImages
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.v1.WebDetection.WebImage full_matching_images = 4; -
addFullMatchingImages
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.v1.WebDetection.WebImage full_matching_images = 4; -
addAllFullMatchingImages
public WebDetection.WebPage.Builder addAllFullMatchingImages(Iterable<? extends WebDetection.WebImage> values) 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; -
clearFullMatchingImages
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; -
removeFullMatchingImages
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; -
getFullMatchingImagesBuilder
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;- Specified by:
getFullMatchingImagesOrBuilderin interfaceWebDetection.WebPageOrBuilder
-
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;- Specified by:
getFullMatchingImagesOrBuilderListin interfaceWebDetection.WebPageOrBuilder
-
addFullMatchingImagesBuilder
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; -
addFullMatchingImagesBuilder
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; -
getFullMatchingImagesBuilderList
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
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;- Specified by:
getPartialMatchingImagesListin interfaceWebDetection.WebPageOrBuilder
-
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.v1.WebDetection.WebImage partial_matching_images = 5;- Specified by:
getPartialMatchingImagesCountin interfaceWebDetection.WebPageOrBuilder
-
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;- Specified by:
getPartialMatchingImagesin interfaceWebDetection.WebPageOrBuilder
-
setPartialMatchingImages
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.v1.WebDetection.WebImage partial_matching_images = 5; -
setPartialMatchingImages
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.v1.WebDetection.WebImage partial_matching_images = 5; -
addPartialMatchingImages
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; -
addPartialMatchingImages
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.v1.WebDetection.WebImage partial_matching_images = 5; -
addPartialMatchingImages
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.v1.WebDetection.WebImage partial_matching_images = 5; -
addPartialMatchingImages
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.v1.WebDetection.WebImage partial_matching_images = 5; -
addAllPartialMatchingImages
public WebDetection.WebPage.Builder addAllPartialMatchingImages(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.v1.WebDetection.WebImage partial_matching_images = 5; -
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.v1.WebDetection.WebImage partial_matching_images = 5; -
removePartialMatchingImages
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; -
getPartialMatchingImagesBuilder
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;- Specified by:
getPartialMatchingImagesOrBuilderin interfaceWebDetection.WebPageOrBuilder
-
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;- Specified by:
getPartialMatchingImagesOrBuilderListin interfaceWebDetection.WebPageOrBuilder
-
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.v1.WebDetection.WebImage partial_matching_images = 5; -
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.v1.WebDetection.WebImage partial_matching_images = 5; -
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.v1.WebDetection.WebImage partial_matching_images = 5;
-