Lines Matching refs:Options
642 public static final class Options {
655 public Options() {
659 private Options(
665 /** Helper to create Options from a Request. */
666 public static Options from(TextClassificationSessionId sessionId, Request request) {
667 final Options options = new Options(sessionId, request);
674 public static Options fromLinkMask(@LinkifyMask int mask) {
690 return new Options().setEntityConfig(
695 public Options setDefaultLocales(@Nullable LocaleList defaultLocales) {
701 public Options setEntityConfig(@Nullable TextClassifier.EntityConfig entityConfig) {
707 public Options setApplyStrategy(@ApplyStrategy int applyStrategy) {
714 public Options setSpanFactory(@Nullable Function<TextLink, TextLinkSpan> spanFactory) {