public final class AnalyzeEntitiesResponse
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 |
---|
AnalyzeEntitiesResponse() |
Modifier and Type | Method and Description |
---|---|
AnalyzeEntitiesResponse |
clone() |
List<Entity> |
getEntities()
The union of all the candidate entities that the entity_mentions in this response could link
to.
|
List<EntityMention> |
getEntityMentions()
The `entity_mentions` field contains all the annotated medical entities that were mentioned in
the provided document.
|
String |
getFhirBundle()
The FHIR bundle ([`R4`](http://hl7.org/fhir/R4/bundle.html)) that includes all the entities,
the entity mentions, and the relationships in JSON format.
|
List<EntityMentionRelationship> |
getRelationships()
relationships contains all the binary relationships that were identified between entity
mentions within the provided document.
|
AnalyzeEntitiesResponse |
set(String fieldName,
Object value) |
AnalyzeEntitiesResponse |
setEntities(List<Entity> entities)
The union of all the candidate entities that the entity_mentions in this response could link
to.
|
AnalyzeEntitiesResponse |
setEntityMentions(List<EntityMention> entityMentions)
The `entity_mentions` field contains all the annotated medical entities that were mentioned in
the provided document.
|
AnalyzeEntitiesResponse |
setFhirBundle(String fhirBundle)
The FHIR bundle ([`R4`](http://hl7.org/fhir/R4/bundle.html)) that includes all the entities,
the entity mentions, and the relationships in JSON format.
|
AnalyzeEntitiesResponse |
setRelationships(List<EntityMentionRelationship> relationships)
relationships contains all the binary relationships that were identified between entity
mentions within the provided document.
|
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<Entity> getEntities()
null
for nonepublic AnalyzeEntitiesResponse setEntities(List<Entity> entities)
entities
- entities or null
for nonepublic List<EntityMention> getEntityMentions()
null
for nonepublic AnalyzeEntitiesResponse setEntityMentions(List<EntityMention> entityMentions)
entityMentions
- entityMentions or null
for nonepublic String getFhirBundle()
null
for nonepublic AnalyzeEntitiesResponse setFhirBundle(String fhirBundle)
fhirBundle
- fhirBundle or null
for nonepublic List<EntityMentionRelationship> getRelationships()
null
for nonepublic AnalyzeEntitiesResponse setRelationships(List<EntityMentionRelationship> relationships)
relationships
- relationships or null
for nonepublic AnalyzeEntitiesResponse set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AnalyzeEntitiesResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.