public static final class WebAnnotation.WebEntity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebEntity.Builder> implements WebAnnotation.WebEntityOrBuilder
Entity deduced from similar images on the Internet.Protobuf type
google.cloud.vision.v1.WebAnnotation.WebEntity| Modifier and Type | Method and Description |
|---|---|
WebAnnotation.WebEntity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
WebAnnotation.WebEntity |
build() |
WebAnnotation.WebEntity |
buildPartial() |
WebAnnotation.WebEntity.Builder |
clear() |
WebAnnotation.WebEntity.Builder |
clearDescription()
Canonical description of the entity, in English.
|
WebAnnotation.WebEntity.Builder |
clearEntityId()
Opaque entity ID.
|
WebAnnotation.WebEntity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WebAnnotation.WebEntity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WebAnnotation.WebEntity.Builder |
clearScore()
Overall relevancy score for the entity.
|
WebAnnotation.WebEntity.Builder |
clone() |
WebAnnotation.WebEntity |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Canonical description of the entity, in English.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Canonical description of the entity, in English.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getEntityId()
Opaque entity ID.
|
com.google.protobuf.ByteString |
getEntityIdBytes()
Opaque entity ID.
|
float |
getScore()
Overall relevancy score for the entity.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WebAnnotation.WebEntity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WebAnnotation.WebEntity.Builder |
mergeFrom(com.google.protobuf.Message other) |
WebAnnotation.WebEntity.Builder |
mergeFrom(WebAnnotation.WebEntity other) |
WebAnnotation.WebEntity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WebAnnotation.WebEntity.Builder |
setDescription(java.lang.String value)
Canonical description of the entity, in English.
|
WebAnnotation.WebEntity.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Canonical description of the entity, in English.
|
WebAnnotation.WebEntity.Builder |
setEntityId(java.lang.String value)
Opaque entity ID.
|
WebAnnotation.WebEntity.Builder |
setEntityIdBytes(com.google.protobuf.ByteString value)
Opaque entity ID.
|
WebAnnotation.WebEntity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
WebAnnotation.WebEntity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
WebAnnotation.WebEntity.Builder |
setScore(float value)
Overall relevancy score for the entity.
|
WebAnnotation.WebEntity.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.WebEntity.Builder>public WebAnnotation.WebEntity.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.WebEntity.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.WebEntity.Builder>public WebAnnotation.WebEntity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WebAnnotation.WebEntity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WebAnnotation.WebEntity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WebAnnotation.WebEntity.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.WebEntity.Builder>public WebAnnotation.WebEntity.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.WebEntity.Builder>public WebAnnotation.WebEntity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebEntity.Builder>public WebAnnotation.WebEntity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebEntity.Builder>public WebAnnotation.WebEntity.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.WebEntity.Builder>public WebAnnotation.WebEntity.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.WebEntity.Builder>public WebAnnotation.WebEntity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebAnnotation.WebEntity.Builder>public WebAnnotation.WebEntity.Builder mergeFrom(WebAnnotation.WebEntity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebEntity.Builder>public WebAnnotation.WebEntity.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.WebEntity.Builder>java.io.IOExceptionpublic java.lang.String getEntityId()
Opaque entity ID.
optional string entity_id = 1;getEntityId in interface WebAnnotation.WebEntityOrBuilderpublic com.google.protobuf.ByteString getEntityIdBytes()
Opaque entity ID.
optional string entity_id = 1;getEntityIdBytes in interface WebAnnotation.WebEntityOrBuilderpublic WebAnnotation.WebEntity.Builder setEntityId(java.lang.String value)
Opaque entity ID.
optional string entity_id = 1;public WebAnnotation.WebEntity.Builder clearEntityId()
Opaque entity ID.
optional string entity_id = 1;public WebAnnotation.WebEntity.Builder setEntityIdBytes(com.google.protobuf.ByteString value)
Opaque entity ID.
optional string entity_id = 1;public float getScore()
Overall relevancy score for the entity. Not normalized and not comparable across different image queries.
optional float score = 2;getScore in interface WebAnnotation.WebEntityOrBuilderpublic WebAnnotation.WebEntity.Builder setScore(float value)
Overall relevancy score for the entity. Not normalized and not comparable across different image queries.
optional float score = 2;public WebAnnotation.WebEntity.Builder clearScore()
Overall relevancy score for the entity. Not normalized and not comparable across different image queries.
optional float score = 2;public java.lang.String getDescription()
Canonical description of the entity, in English.
optional string description = 3;getDescription in interface WebAnnotation.WebEntityOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Canonical description of the entity, in English.
optional string description = 3;getDescriptionBytes in interface WebAnnotation.WebEntityOrBuilderpublic WebAnnotation.WebEntity.Builder setDescription(java.lang.String value)
Canonical description of the entity, in English.
optional string description = 3;public WebAnnotation.WebEntity.Builder clearDescription()
Canonical description of the entity, in English.
optional string description = 3;public WebAnnotation.WebEntity.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Canonical description of the entity, in English.
optional string description = 3;public final WebAnnotation.WebEntity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebEntity.Builder>public final WebAnnotation.WebEntity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WebAnnotation.WebEntity.Builder>