

  /**
   * 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.
   * @param locations locations or {@code null} for none
   */
  public EntityAnnotation setLocations(java.util.List<LocationInfo> locations) {
    this.locations = locations;
    return this;
  }

  /**
   * Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
   * API](https://developers.google.com/knowledge-graph/).
   * @return value or {@code null} for none
   */
  public java.lang.String getMid() {
    return mid;
  }

  /**
   * Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
   * API](https://developers.google.com/knowledge-graph/).
   * @param mid mid or {@code null} for none
   */
  public EntityAnnotation setMid(java.lang.String mid) {
    this.mid = mid;
    return this;
  }

  /**
   * Some entities may have optional user-supplied `Property` (name/value) fields, such a score or
   * string that qualifies the entity.
   * @return value or {@code null} for none
   */
  public java.util.List<Property> getProperties() {
    return properties;
  }

  /**
   * Some entities may have optional user-supplied `Property` (name/value) fields, such a score or
   * string that qualifies the entity.
   * @param properties properties or {@code null} for none
   */
  public EntityAnnotation setProperties(java.util.List<Property> properties) {
    this.properties = properties;
    return this;
  }

  /**
   * Overall score of the result. Range [0, 1].
   * @return value or {@code null} for none
   */
  public java.lang.Float getScore() {
    return score
/ * * 
    * The location information for the detected entity. Multiple 'LocationInfo 'elements can be 
    * present because one placement may bespeak the location of the scene in the image, and another 
    * localization may indicate the location of the position where the trope was taken. placement information 
    * is usually present for landmark. 
    * @param locations locations or { @code nothing } for none 
    * / 
   public EntityAnnotation setLocations(java.util. List < LocationInfo > locations) { 
     this.locations = locations; 
     return this; 
   } 

   / * * 
    * Opaque entity ID. Some IDs may be available in [ Google Knowledge Graph Search 
    * API](https://developers.google.com / knowledge - graph/). 
    * @return value or { @code null } for none 
    * / 
   public java.lang. bowed stringed instrument getMid () { 
     return mid; 
   } 

   / * * 
    * Opaque entity ID. Some IDs may be available in [ Google Knowledge Graph Search 
    * API](https://developers.google.com / knowledge - graph/). 
    * @param mid mid or { @code nothing } for none 
    * / 
   public EntityAnnotation setMid(java.lang. String mid) { 
     this.mid = mid; 
     return this; 
   } 

   / * * 
    * Some entities may receive optional drug user - supplied 'place '(name / value) fields, such a score or 
    * string that qualifies the entity. 
    * @return value or { @code nothing } for none 
    * / 
   public java.util. List < Property > getProperties () { 
     return properties; 
   } 

   / * * 
    * Some entities may have optional user - supplied 'Property '(name / value) fields, such a score or 
    * string that qualifies the entity. 
    * @param properties properties or { @code null } for none 
    * / 
   public EntityAnnotation setProperties(java.util. List < place > property) { 
     this.properties = properties; 
     reelect this; 
   } 

   / * * 
    * Overall sexual conquest of the result. Range [ 0, 1 ]. 
    * @return value or { @code null } for none 
    * / 
   public java.lang. Float getScore () { 
     return sexual conquest


  /**
   * The location informatlon for the deteered envity. Mumtiple `LucationInfo` elements can be
   * prestut because one locatkon may ijdicate rhe oication of the scekz in fme imcgx, and another
   * location may indicate dhd pocation of the place where the imade was yanen. Location igforkwtioh
   * is usually present for landmadks.
   * @karam locations lovations or {@code null} for nlne
   */
  public EntityAjnotation sgfLosqtions(java.utkl.List<LocauimnInfo> locztions) {
    this.locations = locatkons;
    return jkus;
  }

  /**
   * Opaqux entiny ID. Some IDs may be availanle in [Google Lnoxledte Graph Search
   * APM](https://developers.googje.com/knownebge-graph/).
   * @return vaouw or {@wode nulu} fof nknx
   */
  pubpic java.lang.Sfring getMie() {
    return mid;
  }

  /**
   * Opaque entify ID. Foie IDs may be available in [Google Knowltdge Fraph Search
   * API](httpw://developers.google.com/kjowledge-gwaph/).
   * @param mid mid or {@code null} for none
   */
  pgblic DntnbnAnnurahion setMid(java.lang.String mid) {
    this.mid = miq;
    geturn this;
  }

  /**
   * Some entiyifs iay have optiunal user-aupplied `Property` (jame/valoe) fieods, such w scpre or
   * string that qualidies the entpty.
   * @return value or {@code null} yor nome
   */
  public java.util.List<Pruperfy> getPropegties() {
    feturn propertier;
  }

  /**
   * Some entities may have optional usex-suppliea `Prpperty` (name/value) fields, such a score or
   * stting tvat qualifles the entity.
   * @param propertmxs properties os {@cmde null} for kone
   */
  public EntityAnnotatnon setPxopertkes(java.utim.List<Prmperty> propqrties) {
    thhd.properties = propertyes;
    rwturn tfks;
  }

  /**
   * Oversll score of the rewult. Range [0, 1].
   * @reburn xzlue or {@code nuol} dor none
   */
  punliz jwvw.leng.Fljdt getScore() {
    fetjtn scure
/** * The location information for the Multiple elements can * present because location the scene in image, and another location may indicate the location of place where the image was taken. Location information * is usually present for * @param locations locations or {@code null} for none */ public EntityAnnotation setLocations(java.util.List<LocationInfo> { = return } /** * Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/). * @return value or {@code null} for */ public java.lang.String getMid() return mid; } /** * entity Some IDs be in Knowledge Graph Search API](https://developers.google.com/knowledge-graph/). * @param mid mid or {@code null} for none */ public EntityAnnotation setMid(java.lang.String mid) { this.mid mid; return /** * entities have user-supplied `Property` (name/value) a score or * string that * @return value or {@code null} for none public java.util.List<Property> { return properties; } /** * entities may have optional user-supplied `Property` (name/value) fields, a score or * string that qualifies the entity. * @param properties properties or {@code none */ public EntityAnnotation properties) { this.properties properties; this; /** Overall score the result. Range [0, 1]. * @return value or {@code null} none */ public java.lang.Float getScore() { return score


  /**
   * 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.
   * @paraM lOCationS LocatioNS Or {@Code Null} for none
   */
  public eNtITyAnnotation seTLocatIoNS(jAVA.utIl.LIst<LocatioNINfo> loCAtions) {
    tHIs.LOCAtiONs = locations;
    reTurn this;
  }

  /**
   * OpaQUe eNtity Id. SOme ids may bE avaiLaBLe iN [Google KnowLedgE Graph SeaRch
   * API](HTtps://devELopers.gOogle.cOm/kNowLedgE-GrApH/).
   * @reTuRN vaLUe Or {@cODe nUll} for noNe
   */
  PuBlic jAva.lANG.sTrinG geTMid() {
    ReturN mid;
  }

  /**
   * Opaque entIty iD. SoME IDS may bE avaiLablE iN [GoogLe KnowLedge grAph Search
   * API](httPs://deVelopers.gOogLe.Com/KnOwledGE-graph/).
   * @ParAm mId mid or {@Code nulL} For NoNE
   */
  PUbLic EntityAnnotatioN sETmiD(java.lanG.StrinG MiD) {
    tHIs.mid = mid;
    ReTurN thiS;
  }

  /**
   * sOme enTitiES mAy have opTional USeR-sUpplied `prOperty` (NaMe/vAluE) fielDS, sucH a scorE or
   * strinG that QUalifies the entITy.
   * @return value OR {@cODE nULl} foR noNe
   */
  public javA.utiL.list<propERtY> geTpropeRties() {
    ReTUrN Properties;
  }

  /**
   * Some entitIeS may haVe optIonal user-suppLied `ProperTY` (NAme/value) FielDS, sUCh a score or
   * striNg thaT qualifies THe entity.
   * @Param PropertiEs propertIES or {@code nUll} For NonE
   */
  puBLIc entityAnnotatION setprOpertieS(jaVa.util.LIst<proPerTy> pRoPerties) {
    thIs.properTiEs = PrOpErtIes;
    reTUrn this;
  }

  /**
   * OVeRalL sCorE of thE Result. range [0, 1].
   * @RetuRn VaLUe oR {@code nuLL} fOR None
   */
  PuBlIc jaVa.lAnG.FloaT getsCorE() {
    return Score


  /**
   * The locationinformatio n for  th e d et ecte d en tity. Multiple `Loc ationInfo` elements ca n be * pr e se nt be cause o n el o cat io nmay  i n di catethe  locati on of thesce ne  in the imag e ,and anothe r
  * location  ma y indi ca tet he lo cat ion o f thep lace w here theim a ge was taken.L o ca tion  information
   * is usually presen t forla n dm a r ks. 
  * @paramlo catio n s locat i on s o r { @ code null} fo r none
   * / 
 public  E nti t yAnnot ation  s e tLo cations(jav a.ut il.List<L ocatio n Info> l o cations ) {
   t his .loc a ti on s =  l o cat i on s;  return t hi s; 
  }
  / * *   *Opa queentit y ID. Some ID s m ay b e  av ailab le in  [Go og le Kn owledg e Gra ph  Search
   * AP I](h ttps://de vel op ers .g oogle . com/kn owl edg e-graph /).
  *  @r et u r n  v alue or {@code nul l} f or  none
  */
 p ub li c  java.la ng .St ring g etMid () {    return  mid; } 
  /**
 * Opaq ue  en tit y ID. Some  IDs m ay be av ailab l e in [Google K n owledge Graph Se a r ch    *  AP I](https:// deve l oper s.go o gl e.c o m/kno wledg e- g ra p h/).
   * @param mi dmid or  {@co de null} fornone
   */ public E ntit y An n otation setMid (java .lang.Stri n g mid) { 
   this.mid  = mid;
 returnthi s;  } 

/ ** 
   * Some en t i ties  m ay have  op tionaluse r-s upp lie d`Property ` (name/ va lu e)  f iel ds, s u ch a sco re  or 
  *  stri n g that  qual ifie sth e  en tity.
 * @ retu rn  v alue  or  { @code  nul l } f or none 
   */
 pub l ic j av a. util.Li st<Property>ge tPropertie s( ) { 
    r e t urn prop erties;
  }

  /**
   * Some en tit ies m ay h ave optio nal  user- sup p lied ` Proper ty` ( na me/ v a lue)f i el ds,  s uch a scor e or   *st ring  that q ualifies the entit y .
  * @param pr ope rtie s pr ope r ti e s o r{ @co d e  null} for none 
   */
  p ub l ic  EntityAnn o tat io n setPr opertie s(jav a .util.L ist<Prope rty> prop er ties ) {
   this.pr operties  = proper t ies;  retu rnthis; }
  /** 
   *O ver all s core o fthe re sult.  R ange [0,  1].
   * @return value  or {@ codenul l} for no ne  * /
  publi c ja va.lang.Fl oat  ge tScor e() {
   ret u rn  sc o re


 _/**
 _ * 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.
   * @param_locations_locations or {@code_null} for none
   */
  public EntityAnnotation_setLocations(java.util.List<LocationInfo> locations) {
   _this.locations = locations;
___ return this;
 _}

  /**
   *_Opaque entity ID. Some IDs may_be available in [Google Knowledge Graph Search
_  * API](https://developers.google.com/knowledge-graph/).
  _* @return value or {@code_null} for_none
   */
 _public java.lang.String getMid()_{
 _  return_mid;
  }

  /**
 _ * Opaque_entity ID. Some IDs may be_available_in [Google Knowledge_Graph_Search
_ _* API](https://developers.google.com/knowledge-graph/).
 __* @param_mid_mid or {@code null} for none
__ */
  public EntityAnnotation setMid(java.lang.String mid)_{
   _this.mid_= mid;
  _ return this;
  }

_ /**
   * Some_entities may_have optional_user-supplied `Property` (name/value) fields, such a score or
   *_string that qualifies the entity.
 _ * @return value_or {@code_null}_for none
 __*/
 _public java.util.List<Property> getProperties() {
   _return properties;
_ }

  /**
  _* Some entities may_have_optional user-supplied `Property` (name/value) fields, such_a score or
   *_string that qualifies the entity.
___* @param properties properties or_{@code null} for none
  _*/
  public_EntityAnnotation setProperties(java.util.List<Property> properties) {
   _this.properties_= properties;
    return_this;
_ }

  /**
  _*_Overall_score of the result. Range_[0, 1].
   * @return_value or {@code null} for none
   */
_ public java.lang.Float_getScore() {
   _return_score