Home
last modified time | relevance | path

Searched refs:entityTypes (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/java/src/com/android/textclassifier/common/logging/
DTextClassifierEvent.java152 @Nullable private final String[] entityTypes; field in TextClassifierEvent
165 entityTypes = builder.entityTypes; in TextClassifierEvent()
195 return entityTypes; in getEntityTypes()
269 out.append(", mEntityTypes=").append(Arrays.toString(entityTypes)); in toString()
298 private String[] entityTypes = new String[0]; field in TextClassifierEvent.Builder
330 public T setEntityTypes(String... entityTypes) { in setEntityTypes() argument
331 Preconditions.checkNotNull(entityTypes); in setEntityTypes()
332 this.entityTypes = new String[entityTypes.length]; in setEntityTypes()
333 System.arraycopy(entityTypes, 0, this.entityTypes, 0, entityTypes.length); in setEntityTypes()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DAnnotatorModel.java947 private final String[] entityTypes; field in AnnotatorModel.AnnotationOptions
965 @Nullable Collection<String> entityTypes, in AnnotationOptions() argument
981 this.entityTypes = entityTypes == null ? new String[0] : entityTypes.toArray(new String[0]); in AnnotationOptions()
1001 @Nullable private Collection<String> entityTypes; field in AnnotatorModel.AnnotationOptions.Builder
1034 public Builder setEntityTypes(Collection<String> entityTypes) { in setEntityTypes() argument
1035 this.entityTypes = entityTypes; in setEntityTypes()
1100 entityTypes, in build()
1139 return entityTypes; in getEntityTypes()