- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public interface AnnotatorSelectorOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getIssueModels(int index)
public abstract String getIssueModels(int index)
The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The issueModels at the given index. |
getIssueModelsBytes(int index)
public abstract ByteString getIssueModelsBytes(int index)
The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the issueModels at the given index. |
getIssueModelsCount()
public abstract int getIssueModelsCount()
The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int | The count of issueModels. |
getIssueModelsList()
public abstract List<String> getIssueModelsList()
The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
List<String> | A list containing the issueModels. |
getPhraseMatchers(int index)
public abstract String getPhraseMatchers(int index)
The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The phraseMatchers at the given index. |
getPhraseMatchersBytes(int index)
public abstract ByteString getPhraseMatchersBytes(int index)
The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the phraseMatchers at the given index. |
getPhraseMatchersCount()
public abstract int getPhraseMatchersCount()
The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int | The count of phraseMatchers. |
getPhraseMatchersList()
public abstract List<String> getPhraseMatchersList()
The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
List<String> | A list containing the phraseMatchers. |
getRunEntityAnnotator()
public abstract boolean getRunEntityAnnotator()
Whether to run the entity annotator.
bool run_entity_annotator = 6;
Returns | |
---|---|
Type | Description |
boolean | The runEntityAnnotator. |
getRunIntentAnnotator()
public abstract boolean getRunIntentAnnotator()
Whether to run the intent annotator.
bool run_intent_annotator = 7;
Returns | |
---|---|
Type | Description |
boolean | The runIntentAnnotator. |
getRunInterruptionAnnotator()
public abstract boolean getRunInterruptionAnnotator()
Whether to run the interruption annotator.
bool run_interruption_annotator = 1;
Returns | |
---|---|
Type | Description |
boolean | The runInterruptionAnnotator. |
getRunIssueModelAnnotator()
public abstract boolean getRunIssueModelAnnotator()
Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
bool run_issue_model_annotator = 8;
Returns | |
---|---|
Type | Description |
boolean | The runIssueModelAnnotator. |
getRunPhraseMatcherAnnotator()
public abstract boolean getRunPhraseMatcherAnnotator()
Whether to run the active phrase matcher annotator(s).
bool run_phrase_matcher_annotator = 3;
Returns | |
---|---|
Type | Description |
boolean | The runPhraseMatcherAnnotator. |
getRunSentimentAnnotator()
public abstract boolean getRunSentimentAnnotator()
Whether to run the sentiment annotator.
bool run_sentiment_annotator = 5;
Returns | |
---|---|
Type | Description |
boolean | The runSentimentAnnotator. |
getRunSilenceAnnotator()
public abstract boolean getRunSilenceAnnotator()
Whether to run the silence annotator.
bool run_silence_annotator = 2;
Returns | |
---|---|
Type | Description |
boolean | The runSilenceAnnotator. |