public static final class WebAnnotation.WebPage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder> implements WebAnnotation.WebPageOrBuilder
Metadata for web pages.Protobuf type
google.cloud.vision.v1.WebAnnotation.WebPage| Modifier and Type | Method and Description |
|---|---|
WebAnnotation.WebPage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
WebAnnotation.WebPage |
build() |
WebAnnotation.WebPage |
buildPartial() |
WebAnnotation.WebPage.Builder |
clear() |
WebAnnotation.WebPage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WebAnnotation.WebPage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WebAnnotation.WebPage.Builder |
clearScore()
Overall relevancy score for the web page.
|
WebAnnotation.WebPage.Builder |
clearUrl()
The result web page URL.
|
WebAnnotation.WebPage.Builder |
clone() |
WebAnnotation.WebPage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getScore()
Overall relevancy score for the web page.
|
java.lang.String |
getUrl()
The result web page URL.
|
com.google.protobuf.ByteString |
getUrlBytes()
The result web page URL.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WebAnnotation.WebPage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WebAnnotation.WebPage.Builder |
mergeFrom(com.google.protobuf.Message other) |
WebAnnotation.WebPage.Builder |
mergeFrom(WebAnnotation.WebPage other) |
WebAnnotation.WebPage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WebAnnotation.WebPage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
WebAnnotation.WebPage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
WebAnnotation.WebPage.Builder |
setScore(float value)
Overall relevancy score for the web page.
|
WebAnnotation.WebPage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WebAnnotation.WebPage.Builder |
setUrl(java.lang.String value)
The result web page URL.
|
WebAnnotation.WebPage.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
The result web page URL.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WebAnnotation.WebPage build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WebAnnotation.WebPage buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WebAnnotation.WebPage.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder mergeFrom(WebAnnotation.WebPage other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public WebAnnotation.WebPage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebAnnotation.WebPage.Builder>java.io.IOExceptionpublic java.lang.String getUrl()
The result web page URL.
optional string url = 1;getUrl in interface WebAnnotation.WebPageOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
The result web page URL.
optional string url = 1;getUrlBytes in interface WebAnnotation.WebPageOrBuilderpublic WebAnnotation.WebPage.Builder setUrl(java.lang.String value)
The result web page URL.
optional string url = 1;public WebAnnotation.WebPage.Builder clearUrl()
The result web page URL.
optional string url = 1;public WebAnnotation.WebPage.Builder setUrlBytes(com.google.protobuf.ByteString value)
The result web page URL.
optional string url = 1;public float getScore()
Overall relevancy score for the web page. Not normalized and not comparable across different image queries.
optional float score = 2;getScore in interface WebAnnotation.WebPageOrBuilderpublic WebAnnotation.WebPage.Builder setScore(float value)
Overall relevancy score for the web page. Not normalized and not comparable across different image queries.
optional float score = 2;public WebAnnotation.WebPage.Builder clearScore()
Overall relevancy score for the web page. Not normalized and not comparable across different image queries.
optional float score = 2;public final WebAnnotation.WebPage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>public final WebAnnotation.WebPage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebPage.Builder>