| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_131-google-v7) on Thu Apr 19 15:02:38 PDT 2018 --> |
| <title>EntityAnnotationOrBuilder (java API)</title> |
| <meta name="date" content="2018-04-19"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="EntityAnnotationOrBuilder (java API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotation.Builder.html" title="class in com.google.cloud.vision.v1p2beta1"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../com/google/cloud/vision/v1p2beta1/FaceAnnotation.html" title="class in com.google.cloud.vision.v1p2beta1"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html" target="_top">Frames</a></li> |
| <li><a href="EntityAnnotationOrBuilder.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">com.google.cloud.vision.v1p2beta1</div> |
| <h2 title="Interface EntityAnnotationOrBuilder" class="title">Interface EntityAnnotationOrBuilder</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageLiteOrBuilder.html?is-external=true" title="class or interface in com.google.protobuf">MessageLiteOrBuilder</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true" title="class or interface in com.google.protobuf">MessageOrBuilder</a></dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotation.html" title="class in com.google.cloud.vision.v1p2beta1">EntityAnnotation</a>, <a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotation.Builder.html" title="class in com.google.cloud.vision.v1p2beta1">EntityAnnotation.Builder</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">EntityAnnotationOrBuilder</span> |
| extends <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true" title="class or interface in com.google.protobuf">MessageOrBuilder</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../com/google/cloud/vision/v1p2beta1/BoundingPoly.html" title="class in com.google.cloud.vision.v1p2beta1">BoundingPoly</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getBoundingPoly--">getBoundingPoly</a></span>()</code> |
| <div class="block"> |
| Image region to which this entity belongs.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../com/google/cloud/vision/v1p2beta1/BoundingPolyOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">BoundingPolyOrBuilder</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getBoundingPolyOrBuilder--">getBoundingPolyOrBuilder</a></span>()</code> |
| <div class="block"> |
| Image region to which this entity belongs.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>float</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getConfidence--">getConfidence</a></span>()</code> |
| <div class="block"> |
| **Deprecated.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getDescription--">getDescription</a></span>()</code> |
| <div class="block"> |
| Entity textual description, expressed in its `locale` language.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/ByteString.html?is-external=true" title="class or interface in com.google.protobuf">ByteString</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getDescriptionBytes--">getDescriptionBytes</a></span>()</code> |
| <div class="block"> |
| Entity textual description, expressed in its `locale` language.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getLocale--">getLocale</a></span>()</code> |
| <div class="block"> |
| The language code for the locale in which the entity textual |
| `description` is expressed.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/ByteString.html?is-external=true" title="class or interface in com.google.protobuf">ByteString</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getLocaleBytes--">getLocaleBytes</a></span>()</code> |
| <div class="block"> |
| The language code for the locale in which the entity textual |
| `description` is expressed.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../com/google/cloud/vision/v1p2beta1/LocationInfo.html" title="class in com.google.cloud.vision.v1p2beta1">LocationInfo</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getLocations-int-">getLocations</a></span>(int index)</code> |
| <div class="block"> |
| The location information for the detected entity.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getLocationsCount--">getLocationsCount</a></span>()</code> |
| <div class="block"> |
| The location information for the detected entity.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../../../../com/google/cloud/vision/v1p2beta1/LocationInfo.html" title="class in com.google.cloud.vision.v1p2beta1">LocationInfo</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getLocationsList--">getLocationsList</a></span>()</code> |
| <div class="block"> |
| The location information for the detected entity.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../com/google/cloud/vision/v1p2beta1/LocationInfoOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">LocationInfoOrBuilder</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getLocationsOrBuilder-int-">getLocationsOrBuilder</a></span>(int index)</code> |
| <div class="block"> |
| The location information for the detected entity.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<? extends <a href="../../../../../com/google/cloud/vision/v1p2beta1/LocationInfoOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">LocationInfoOrBuilder</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getLocationsOrBuilderList--">getLocationsOrBuilderList</a></span>()</code> |
| <div class="block"> |
| The location information for the detected entity.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getMid--">getMid</a></span>()</code> |
| <div class="block"> |
| Opaque entity ID.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/ByteString.html?is-external=true" title="class or interface in com.google.protobuf">ByteString</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getMidBytes--">getMidBytes</a></span>()</code> |
| <div class="block"> |
| Opaque entity ID.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../com/google/cloud/vision/v1p2beta1/Property.html" title="class in com.google.cloud.vision.v1p2beta1">Property</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getProperties-int-">getProperties</a></span>(int index)</code> |
| <div class="block"> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getPropertiesCount--">getPropertiesCount</a></span>()</code> |
| <div class="block"> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../../../../com/google/cloud/vision/v1p2beta1/Property.html" title="class in com.google.cloud.vision.v1p2beta1">Property</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getPropertiesList--">getPropertiesList</a></span>()</code> |
| <div class="block"> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../com/google/cloud/vision/v1p2beta1/PropertyOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">PropertyOrBuilder</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getPropertiesOrBuilder-int-">getPropertiesOrBuilder</a></span>(int index)</code> |
| <div class="block"> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>java.util.List<? extends <a href="../../../../../com/google/cloud/vision/v1p2beta1/PropertyOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">PropertyOrBuilder</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getPropertiesOrBuilderList--">getPropertiesOrBuilderList</a></span>()</code> |
| <div class="block"> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>float</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getScore--">getScore</a></span>()</code> |
| <div class="block"> |
| Overall score of the result.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>float</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#getTopicality--">getTopicality</a></span>()</code> |
| <div class="block"> |
| The relevancy of the ICA (Image Content Annotation) label to the |
| image.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html#hasBoundingPoly--">hasBoundingPoly</a></span>()</code> |
| <div class="block"> |
| Image region to which this entity belongs.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.com.google.protobuf.MessageOrBuilder"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface com.google.protobuf.<a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true" title="class or interface in com.google.protobuf">MessageOrBuilder</a></h3> |
| <code><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#findInitializationErrors--" title="class or interface in com.google.protobuf">findInitializationErrors</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getAllFields--" title="class or interface in com.google.protobuf">getAllFields</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getDefaultInstanceForType--" title="class or interface in com.google.protobuf">getDefaultInstanceForType</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getDescriptorForType--" title="class or interface in com.google.protobuf">getDescriptorForType</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getField-com.google.protobuf.Descriptors.FieldDescriptor-" title="class or interface in com.google.protobuf">getField</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getInitializationErrorString--" title="class or interface in com.google.protobuf">getInitializationErrorString</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getOneofFieldDescriptor-com.google.protobuf.Descriptors.OneofDescriptor-" title="class or interface in com.google.protobuf">getOneofFieldDescriptor</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getRepeatedField-com.google.protobuf.Descriptors.FieldDescriptor-int-" title="class or interface in com.google.protobuf">getRepeatedField</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getRepeatedFieldCount-com.google.protobuf.Descriptors.FieldDescriptor-" title="class or interface in com.google.protobuf">getRepeatedFieldCount</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#getUnknownFields--" title="class or interface in com.google.protobuf">getUnknownFields</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#hasField-com.google.protobuf.Descriptors.FieldDescriptor-" title="class or interface in com.google.protobuf">hasField</a>, <a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageOrBuilder.html?is-external=true#hasOneof-com.google.protobuf.Descriptors.OneofDescriptor-" title="class or interface in com.google.protobuf">hasOneof</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.com.google.protobuf.MessageLiteOrBuilder"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface com.google.protobuf.<a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageLiteOrBuilder.html?is-external=true" title="class or interface in com.google.protobuf">MessageLiteOrBuilder</a></h3> |
| <code><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/MessageLiteOrBuilder.html?is-external=true#isInitialized--" title="class or interface in com.google.protobuf">isInitialized</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getMid--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMid</h4> |
| <pre>java.lang.String getMid()</pre> |
| <div class="block"><pre> |
| Opaque entity ID. Some IDs may be available in |
| [Google Knowledge Graph Search |
| API](https://developers.google.com/knowledge-graph/). |
| </pre> |
| |
| <code>string mid = 1;</code></div> |
| </li> |
| </ul> |
| <a name="getMidBytes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMidBytes</h4> |
| <pre><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/ByteString.html?is-external=true" title="class or interface in com.google.protobuf">ByteString</a> getMidBytes()</pre> |
| <div class="block"><pre> |
| Opaque entity ID. Some IDs may be available in |
| [Google Knowledge Graph Search |
| API](https://developers.google.com/knowledge-graph/). |
| </pre> |
| |
| <code>string mid = 1;</code></div> |
| </li> |
| </ul> |
| <a name="getLocale--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocale</h4> |
| <pre>java.lang.String getLocale()</pre> |
| <div class="block"><pre> |
| The language code for the locale in which the entity textual |
| `description` is expressed. |
| </pre> |
| |
| <code>string locale = 2;</code></div> |
| </li> |
| </ul> |
| <a name="getLocaleBytes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocaleBytes</h4> |
| <pre><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/ByteString.html?is-external=true" title="class or interface in com.google.protobuf">ByteString</a> getLocaleBytes()</pre> |
| <div class="block"><pre> |
| The language code for the locale in which the entity textual |
| `description` is expressed. |
| </pre> |
| |
| <code>string locale = 2;</code></div> |
| </li> |
| </ul> |
| <a name="getDescription--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDescription</h4> |
| <pre>java.lang.String getDescription()</pre> |
| <div class="block"><pre> |
| Entity textual description, expressed in its `locale` language. |
| </pre> |
| |
| <code>string description = 3;</code></div> |
| </li> |
| </ul> |
| <a name="getDescriptionBytes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDescriptionBytes</h4> |
| <pre><a href="https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/ByteString.html?is-external=true" title="class or interface in com.google.protobuf">ByteString</a> getDescriptionBytes()</pre> |
| <div class="block"><pre> |
| Entity textual description, expressed in its `locale` language. |
| </pre> |
| |
| <code>string description = 3;</code></div> |
| </li> |
| </ul> |
| <a name="getScore--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScore</h4> |
| <pre>float getScore()</pre> |
| <div class="block"><pre> |
| Overall score of the result. Range [0, 1]. |
| </pre> |
| |
| <code>float score = 4;</code></div> |
| </li> |
| </ul> |
| <a name="getConfidence--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConfidence</h4> |
| <pre>float getConfidence()</pre> |
| <div class="block"><pre> |
| **Deprecated. Use `score` instead.** |
| The accuracy of the entity detection in an image. |
| For example, for an image in which the "Eiffel Tower" entity is detected, |
| this field represents the confidence that there is a tower in the query |
| image. Range [0, 1]. |
| </pre> |
| |
| <code>float confidence = 5;</code></div> |
| </li> |
| </ul> |
| <a name="getTopicality--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTopicality</h4> |
| <pre>float getTopicality()</pre> |
| <div class="block"><pre> |
| The relevancy of the ICA (Image Content Annotation) label to the |
| image. For example, the relevancy of "tower" is likely higher to an image |
| containing the detected "Eiffel Tower" than to an image containing a |
| detected distant towering building, even though the confidence that |
| there is a tower in each image may be the same. Range [0, 1]. |
| </pre> |
| |
| <code>float topicality = 6;</code></div> |
| </li> |
| </ul> |
| <a name="hasBoundingPoly--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasBoundingPoly</h4> |
| <pre>boolean hasBoundingPoly()</pre> |
| <div class="block"><pre> |
| Image region to which this entity belongs. Not produced |
| for `LABEL_DETECTION` features. |
| </pre> |
| |
| <code>.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 7;</code></div> |
| </li> |
| </ul> |
| <a name="getBoundingPoly--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBoundingPoly</h4> |
| <pre><a href="../../../../../com/google/cloud/vision/v1p2beta1/BoundingPoly.html" title="class in com.google.cloud.vision.v1p2beta1">BoundingPoly</a> getBoundingPoly()</pre> |
| <div class="block"><pre> |
| Image region to which this entity belongs. Not produced |
| for `LABEL_DETECTION` features. |
| </pre> |
| |
| <code>.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 7;</code></div> |
| </li> |
| </ul> |
| <a name="getBoundingPolyOrBuilder--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBoundingPolyOrBuilder</h4> |
| <pre><a href="../../../../../com/google/cloud/vision/v1p2beta1/BoundingPolyOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">BoundingPolyOrBuilder</a> getBoundingPolyOrBuilder()</pre> |
| <div class="block"><pre> |
| Image region to which this entity belongs. Not produced |
| for `LABEL_DETECTION` features. |
| </pre> |
| |
| <code>.google.cloud.vision.v1p2beta1.BoundingPoly bounding_poly = 7;</code></div> |
| </li> |
| </ul> |
| <a name="getLocationsList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocationsList</h4> |
| <pre>java.util.List<<a href="../../../../../com/google/cloud/vision/v1p2beta1/LocationInfo.html" title="class in com.google.cloud.vision.v1p2beta1">LocationInfo</a>> getLocationsList()</pre> |
| <div class="block"><pre> |
| The location information for the detected entity. Multiple |
| `LocationInfo` elements can be present because one location may |
| indicate the location of the scene in the image, and another location |
| may indicate the location of the place where the image was taken. |
| Location information is usually present for landmarks. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.LocationInfo locations = 8;</code></div> |
| </li> |
| </ul> |
| <a name="getLocations-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocations</h4> |
| <pre><a href="../../../../../com/google/cloud/vision/v1p2beta1/LocationInfo.html" title="class in com.google.cloud.vision.v1p2beta1">LocationInfo</a> getLocations(int index)</pre> |
| <div class="block"><pre> |
| The location information for the detected entity. Multiple |
| `LocationInfo` elements can be present because one location may |
| indicate the location of the scene in the image, and another location |
| may indicate the location of the place where the image was taken. |
| Location information is usually present for landmarks. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.LocationInfo locations = 8;</code></div> |
| </li> |
| </ul> |
| <a name="getLocationsCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocationsCount</h4> |
| <pre>int getLocationsCount()</pre> |
| <div class="block"><pre> |
| The location information for the detected entity. Multiple |
| `LocationInfo` elements can be present because one location may |
| indicate the location of the scene in the image, and another location |
| may indicate the location of the place where the image was taken. |
| Location information is usually present for landmarks. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.LocationInfo locations = 8;</code></div> |
| </li> |
| </ul> |
| <a name="getLocationsOrBuilderList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocationsOrBuilderList</h4> |
| <pre>java.util.List<? extends <a href="../../../../../com/google/cloud/vision/v1p2beta1/LocationInfoOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">LocationInfoOrBuilder</a>> getLocationsOrBuilderList()</pre> |
| <div class="block"><pre> |
| The location information for the detected entity. Multiple |
| `LocationInfo` elements can be present because one location may |
| indicate the location of the scene in the image, and another location |
| may indicate the location of the place where the image was taken. |
| Location information is usually present for landmarks. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.LocationInfo locations = 8;</code></div> |
| </li> |
| </ul> |
| <a name="getLocationsOrBuilder-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocationsOrBuilder</h4> |
| <pre><a href="../../../../../com/google/cloud/vision/v1p2beta1/LocationInfoOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">LocationInfoOrBuilder</a> getLocationsOrBuilder(int index)</pre> |
| <div class="block"><pre> |
| The location information for the detected entity. Multiple |
| `LocationInfo` elements can be present because one location may |
| indicate the location of the scene in the image, and another location |
| may indicate the location of the place where the image was taken. |
| Location information is usually present for landmarks. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.LocationInfo locations = 8;</code></div> |
| </li> |
| </ul> |
| <a name="getPropertiesList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPropertiesList</h4> |
| <pre>java.util.List<<a href="../../../../../com/google/cloud/vision/v1p2beta1/Property.html" title="class in com.google.cloud.vision.v1p2beta1">Property</a>> getPropertiesList()</pre> |
| <div class="block"><pre> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.Property properties = 9;</code></div> |
| </li> |
| </ul> |
| <a name="getProperties-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProperties</h4> |
| <pre><a href="../../../../../com/google/cloud/vision/v1p2beta1/Property.html" title="class in com.google.cloud.vision.v1p2beta1">Property</a> getProperties(int index)</pre> |
| <div class="block"><pre> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.Property properties = 9;</code></div> |
| </li> |
| </ul> |
| <a name="getPropertiesCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPropertiesCount</h4> |
| <pre>int getPropertiesCount()</pre> |
| <div class="block"><pre> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.Property properties = 9;</code></div> |
| </li> |
| </ul> |
| <a name="getPropertiesOrBuilderList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPropertiesOrBuilderList</h4> |
| <pre>java.util.List<? extends <a href="../../../../../com/google/cloud/vision/v1p2beta1/PropertyOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">PropertyOrBuilder</a>> getPropertiesOrBuilderList()</pre> |
| <div class="block"><pre> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.Property properties = 9;</code></div> |
| </li> |
| </ul> |
| <a name="getPropertiesOrBuilder-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getPropertiesOrBuilder</h4> |
| <pre><a href="../../../../../com/google/cloud/vision/v1p2beta1/PropertyOrBuilder.html" title="interface in com.google.cloud.vision.v1p2beta1">PropertyOrBuilder</a> getPropertiesOrBuilder(int index)</pre> |
| <div class="block"><pre> |
| Some entities may have optional user-supplied `Property` (name/value) |
| fields, such a score or string that qualifies the entity. |
| </pre> |
| |
| <code>repeated .google.cloud.vision.v1p2beta1.Property properties = 9;</code></div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../com/google/cloud/vision/v1p2beta1/EntityAnnotation.Builder.html" title="class in com.google.cloud.vision.v1p2beta1"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../com/google/cloud/vision/v1p2beta1/FaceAnnotation.html" title="class in com.google.cloud.vision.v1p2beta1"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?com/google/cloud/vision/v1p2beta1/EntityAnnotationOrBuilder.html" target="_top">Frames</a></li> |
| <li><a href="EntityAnnotationOrBuilder.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |