public final class TextConfig
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 |
---|
TextConfig() |
Modifier and Type | Method and Description |
---|---|
TextConfig |
clone() |
List<InfoTypeTransformation> |
getAdditionalTransformations()
Additional transformations to apply to the detected data, overriding `profile`.
|
List<String> |
getExcludeInfoTypes()
InfoTypes to skip transforming, overriding `profile`.
|
String |
getProfileType()
Base profile type for text transformation.
|
List<InfoTypeTransformation> |
getTransformations()
The transformations to apply to the detected data.
|
TextConfig |
set(String fieldName,
Object value) |
TextConfig |
setAdditionalTransformations(List<InfoTypeTransformation> additionalTransformations)
Additional transformations to apply to the detected data, overriding `profile`.
|
TextConfig |
setExcludeInfoTypes(List<String> excludeInfoTypes)
InfoTypes to skip transforming, overriding `profile`.
|
TextConfig |
setProfileType(String profileType)
Base profile type for text transformation.
|
TextConfig |
setTransformations(List<InfoTypeTransformation> transformations)
The transformations to apply to the detected data.
|
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<InfoTypeTransformation> getAdditionalTransformations()
null
for nonepublic TextConfig setAdditionalTransformations(List<InfoTypeTransformation> additionalTransformations)
additionalTransformations
- additionalTransformations or null
for nonepublic List<String> getExcludeInfoTypes()
null
for nonepublic TextConfig setExcludeInfoTypes(List<String> excludeInfoTypes)
excludeInfoTypes
- excludeInfoTypes or null
for nonepublic String getProfileType()
null
for nonepublic TextConfig setProfileType(String profileType)
profileType
- profileType or null
for nonepublic List<InfoTypeTransformation> getTransformations()
null
for nonepublic TextConfig setTransformations(List<InfoTypeTransformation> transformations)
transformations
- transformations or null
for nonepublic TextConfig set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TextConfig clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.