public final class EntityMention
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Healthcare API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
EntityMention() |
Modifier and Type | Method and Description |
---|---|
EntityMention |
clone() |
List<Feature> |
getAdditionalInfo()
Additional information about the entity mention.
|
Feature |
getCertaintyAssessment()
The certainty assessment of the entity mention.
|
Double |
getConfidence()
The model's confidence in this entity mention annotation.
|
List<LinkedEntity> |
getLinkedEntities()
linked_entities are candidate ontological concepts that this entity mention may refer to.
|
String |
getMentionId()
mention_id uniquely identifies each entity mention in a single response.
|
Feature |
getSubject()
The subject this entity mention relates to.
|
Feature |
getTemporalAssessment()
How this entity mention relates to the subject temporally.
|
TextSpan |
getText()
text is the location of the entity mention in the document.
|
String |
getType()
The semantic type of the entity: UNKNOWN_ENTITY_TYPE, ALONE, ANATOMICAL_STRUCTURE,
ASSISTED_LIVING, BF_RESULT, BM_RESULT, BM_UNIT, BM_VALUE, BODY_FUNCTION, BODY_MEASUREMENT,
COMPLIANT, DOESNOT_FOLLOWUP, FAMILY, FOLLOWSUP, LABORATORY_DATA, LAB_RESULT, LAB_UNIT,
LAB_VALUE, MEDICAL_DEVICE, MEDICINE, MED_DOSE, MED_DURATION, MED_FORM, MED_FREQUENCY,
MED_ROUTE, MED_STATUS, MED_STRENGTH, MED_TOTALDOSE, MED_UNIT, NON_COMPLIANT,
OTHER_LIVINGSTATUS, PROBLEM, PROCEDURE, PROCEDURE_RESULT, PROC_METHOD,
REASON_FOR_NONCOMPLIANCE, SEVERITY, SUBSTANCE_ABUSE, UNCLEAR_FOLLOWUP.
|
EntityMention |
set(String fieldName,
Object value) |
EntityMention |
setAdditionalInfo(List<Feature> additionalInfo)
Additional information about the entity mention.
|
EntityMention |
setCertaintyAssessment(Feature certaintyAssessment)
The certainty assessment of the entity mention.
|
EntityMention |
setConfidence(Double confidence)
The model's confidence in this entity mention annotation.
|
EntityMention |
setLinkedEntities(List<LinkedEntity> linkedEntities)
linked_entities are candidate ontological concepts that this entity mention may refer to.
|
EntityMention |
setMentionId(String mentionId)
mention_id uniquely identifies each entity mention in a single response.
|
EntityMention |
setSubject(Feature subject)
The subject this entity mention relates to.
|
EntityMention |
setTemporalAssessment(Feature temporalAssessment)
How this entity mention relates to the subject temporally.
|
EntityMention |
setText(TextSpan text)
text is the location of the entity mention in the document.
|
EntityMention |
setType(String type)
The semantic type of the entity: UNKNOWN_ENTITY_TYPE, ALONE, ANATOMICAL_STRUCTURE,
ASSISTED_LIVING, BF_RESULT, BM_RESULT, BM_UNIT, BM_VALUE, BODY_FUNCTION, BODY_MEASUREMENT,
COMPLIANT, DOESNOT_FOLLOWUP, FAMILY, FOLLOWSUP, LABORATORY_DATA, LAB_RESULT, LAB_UNIT,
LAB_VALUE, MEDICAL_DEVICE, MEDICINE, MED_DOSE, MED_DURATION, MED_FORM, MED_FREQUENCY,
MED_ROUTE, MED_STATUS, MED_STRENGTH, MED_TOTALDOSE, MED_UNIT, NON_COMPLIANT,
OTHER_LIVINGSTATUS, PROBLEM, PROCEDURE, PROCEDURE_RESULT, PROC_METHOD,
REASON_FOR_NONCOMPLIANCE, SEVERITY, SUBSTANCE_ABUSE, UNCLEAR_FOLLOWUP.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<Feature> getAdditionalInfo()
null
for nonepublic EntityMention setAdditionalInfo(List<Feature> additionalInfo)
additionalInfo
- additionalInfo or null
for nonepublic Feature getCertaintyAssessment()
null
for nonepublic EntityMention setCertaintyAssessment(Feature certaintyAssessment)
certaintyAssessment
- certaintyAssessment or null
for nonepublic Double getConfidence()
null
for nonepublic EntityMention setConfidence(Double confidence)
confidence
- confidence or null
for nonepublic List<LinkedEntity> getLinkedEntities()
null
for nonepublic EntityMention setLinkedEntities(List<LinkedEntity> linkedEntities)
linkedEntities
- linkedEntities or null
for nonepublic String getMentionId()
null
for nonepublic EntityMention setMentionId(String mentionId)
mentionId
- mentionId or null
for nonepublic Feature getSubject()
null
for nonepublic EntityMention setSubject(Feature subject)
subject
- subject or null
for nonepublic Feature getTemporalAssessment()
null
for nonepublic EntityMention setTemporalAssessment(Feature temporalAssessment)
temporalAssessment
- temporalAssessment or null
for nonepublic TextSpan getText()
null
for nonepublic EntityMention setText(TextSpan text)
text
- text or null
for nonepublic String getType()
null
for nonepublic EntityMention setType(String type)
type
- type or null
for nonepublic EntityMention set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public EntityMention clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.