Class AnnotatorSelector.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
- com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder
-
- All Implemented Interfaces:
AnnotatorSelectorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnnotatorSelector
public static final class AnnotatorSelector.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder> implements AnnotatorSelectorOrBuilder
Selector of all available annotators and phrase matchers to run.
Protobuf typegoogle.cloud.contactcenterinsights.v1.AnnotatorSelector
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatorSelector.BuilderaddAllIssueModels(Iterable<String> values)The issue model to run.AnnotatorSelector.BuilderaddAllPhraseMatchers(Iterable<String> values)The list of phrase matchers to run.AnnotatorSelector.BuilderaddIssueModels(String value)The issue model to run.AnnotatorSelector.BuilderaddIssueModelsBytes(com.google.protobuf.ByteString value)The issue model to run.AnnotatorSelector.BuilderaddPhraseMatchers(String value)The list of phrase matchers to run.AnnotatorSelector.BuilderaddPhraseMatchersBytes(com.google.protobuf.ByteString value)The list of phrase matchers to run.AnnotatorSelector.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AnnotatorSelectorbuild()AnnotatorSelectorbuildPartial()AnnotatorSelector.Builderclear()AnnotatorSelector.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AnnotatorSelector.BuilderclearIssueModels()The issue model to run.AnnotatorSelector.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AnnotatorSelector.BuilderclearPhraseMatchers()The list of phrase matchers to run.AnnotatorSelector.BuilderclearRunEntityAnnotator()Whether to run the entity annotator.AnnotatorSelector.BuilderclearRunIntentAnnotator()Whether to run the intent annotator.AnnotatorSelector.BuilderclearRunInterruptionAnnotator()Whether to run the interruption annotator.AnnotatorSelector.BuilderclearRunIssueModelAnnotator()Whether to run the issue model annotator.AnnotatorSelector.BuilderclearRunPhraseMatcherAnnotator()Whether to run the active phrase matcher annotator(s).AnnotatorSelector.BuilderclearRunSentimentAnnotator()Whether to run the sentiment annotator.AnnotatorSelector.BuilderclearRunSilenceAnnotator()Whether to run the silence annotator.AnnotatorSelector.BuilderclearRunSummarizationAnnotator()Whether to run the summarization annotator.AnnotatorSelector.BuilderclearSummarizationConfig()Configuration for the summarization annotator.AnnotatorSelector.Builderclone()AnnotatorSelectorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIssueModels(int index)The issue model to run.com.google.protobuf.ByteStringgetIssueModelsBytes(int index)The issue model to run.intgetIssueModelsCount()The issue model to run.com.google.protobuf.ProtocolStringListgetIssueModelsList()The issue model to run.StringgetPhraseMatchers(int index)The list of phrase matchers to run.com.google.protobuf.ByteStringgetPhraseMatchersBytes(int index)The list of phrase matchers to run.intgetPhraseMatchersCount()The list of phrase matchers to run.com.google.protobuf.ProtocolStringListgetPhraseMatchersList()The list of phrase matchers to run.booleangetRunEntityAnnotator()Whether to run the entity annotator.booleangetRunIntentAnnotator()Whether to run the intent annotator.booleangetRunInterruptionAnnotator()Whether to run the interruption annotator.booleangetRunIssueModelAnnotator()Whether to run the issue model annotator.booleangetRunPhraseMatcherAnnotator()Whether to run the active phrase matcher annotator(s).booleangetRunSentimentAnnotator()Whether to run the sentiment annotator.booleangetRunSilenceAnnotator()Whether to run the silence annotator.booleangetRunSummarizationAnnotator()Whether to run the summarization annotator.AnnotatorSelector.SummarizationConfiggetSummarizationConfig()Configuration for the summarization annotator.AnnotatorSelector.SummarizationConfig.BuildergetSummarizationConfigBuilder()Configuration for the summarization annotator.AnnotatorSelector.SummarizationConfigOrBuildergetSummarizationConfigOrBuilder()Configuration for the summarization annotator.booleanhasSummarizationConfig()Configuration for the summarization annotator.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AnnotatorSelector.BuildermergeFrom(AnnotatorSelector other)AnnotatorSelector.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AnnotatorSelector.BuildermergeFrom(com.google.protobuf.Message other)AnnotatorSelector.BuildermergeSummarizationConfig(AnnotatorSelector.SummarizationConfig value)Configuration for the summarization annotator.AnnotatorSelector.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AnnotatorSelector.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AnnotatorSelector.BuildersetIssueModels(int index, String value)The issue model to run.AnnotatorSelector.BuildersetPhraseMatchers(int index, String value)The list of phrase matchers to run.AnnotatorSelector.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AnnotatorSelector.BuildersetRunEntityAnnotator(boolean value)Whether to run the entity annotator.AnnotatorSelector.BuildersetRunIntentAnnotator(boolean value)Whether to run the intent annotator.AnnotatorSelector.BuildersetRunInterruptionAnnotator(boolean value)Whether to run the interruption annotator.AnnotatorSelector.BuildersetRunIssueModelAnnotator(boolean value)Whether to run the issue model annotator.AnnotatorSelector.BuildersetRunPhraseMatcherAnnotator(boolean value)Whether to run the active phrase matcher annotator(s).AnnotatorSelector.BuildersetRunSentimentAnnotator(boolean value)Whether to run the sentiment annotator.AnnotatorSelector.BuildersetRunSilenceAnnotator(boolean value)Whether to run the silence annotator.AnnotatorSelector.BuildersetRunSummarizationAnnotator(boolean value)Whether to run the summarization annotator.AnnotatorSelector.BuildersetSummarizationConfig(AnnotatorSelector.SummarizationConfig value)Configuration for the summarization annotator.AnnotatorSelector.BuildersetSummarizationConfig(AnnotatorSelector.SummarizationConfig.Builder builderForValue)Configuration for the summarization annotator.AnnotatorSelector.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
clear
public AnnotatorSelector.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
getDefaultInstanceForType
public AnnotatorSelector getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnnotatorSelector build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnnotatorSelector buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnnotatorSelector.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
setField
public AnnotatorSelector.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
clearField
public AnnotatorSelector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
clearOneof
public AnnotatorSelector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
setRepeatedField
public AnnotatorSelector.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
addRepeatedField
public AnnotatorSelector.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
mergeFrom
public AnnotatorSelector.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnnotatorSelector.Builder>
-
mergeFrom
public AnnotatorSelector.Builder mergeFrom(AnnotatorSelector other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
mergeFrom
public AnnotatorSelector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnnotatorSelector.Builder>- Throws:
IOException
-
getRunInterruptionAnnotator
public boolean getRunInterruptionAnnotator()
Whether to run the interruption annotator.
bool run_interruption_annotator = 1;- Specified by:
getRunInterruptionAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runInterruptionAnnotator.
-
setRunInterruptionAnnotator
public AnnotatorSelector.Builder setRunInterruptionAnnotator(boolean value)
Whether to run the interruption annotator.
bool run_interruption_annotator = 1;- Parameters:
value- The runInterruptionAnnotator to set.- Returns:
- This builder for chaining.
-
clearRunInterruptionAnnotator
public AnnotatorSelector.Builder clearRunInterruptionAnnotator()
Whether to run the interruption annotator.
bool run_interruption_annotator = 1;- Returns:
- This builder for chaining.
-
getRunSilenceAnnotator
public boolean getRunSilenceAnnotator()
Whether to run the silence annotator.
bool run_silence_annotator = 2;- Specified by:
getRunSilenceAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runSilenceAnnotator.
-
setRunSilenceAnnotator
public AnnotatorSelector.Builder setRunSilenceAnnotator(boolean value)
Whether to run the silence annotator.
bool run_silence_annotator = 2;- Parameters:
value- The runSilenceAnnotator to set.- Returns:
- This builder for chaining.
-
clearRunSilenceAnnotator
public AnnotatorSelector.Builder clearRunSilenceAnnotator()
Whether to run the silence annotator.
bool run_silence_annotator = 2;- Returns:
- This builder for chaining.
-
getRunPhraseMatcherAnnotator
public boolean getRunPhraseMatcherAnnotator()
Whether to run the active phrase matcher annotator(s).
bool run_phrase_matcher_annotator = 3;- Specified by:
getRunPhraseMatcherAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runPhraseMatcherAnnotator.
-
setRunPhraseMatcherAnnotator
public AnnotatorSelector.Builder setRunPhraseMatcherAnnotator(boolean value)
Whether to run the active phrase matcher annotator(s).
bool run_phrase_matcher_annotator = 3;- Parameters:
value- The runPhraseMatcherAnnotator to set.- Returns:
- This builder for chaining.
-
clearRunPhraseMatcherAnnotator
public AnnotatorSelector.Builder clearRunPhraseMatcherAnnotator()
Whether to run the active phrase matcher annotator(s).
bool run_phrase_matcher_annotator = 3;- Returns:
- This builder for chaining.
-
getPhraseMatchersList
public com.google.protobuf.ProtocolStringList 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) = { ... }- Specified by:
getPhraseMatchersListin interfaceAnnotatorSelectorOrBuilder- Returns:
- A list containing the phraseMatchers.
-
getPhraseMatchersCount
public 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) = { ... }- Specified by:
getPhraseMatchersCountin interfaceAnnotatorSelectorOrBuilder- Returns:
- The count of phraseMatchers.
-
getPhraseMatchers
public 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) = { ... }- Specified by:
getPhraseMatchersin interfaceAnnotatorSelectorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The phraseMatchers at the given index.
-
getPhraseMatchersBytes
public com.google.protobuf.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) = { ... }- Specified by:
getPhraseMatchersBytesin interfaceAnnotatorSelectorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the phraseMatchers at the given index.
-
setPhraseMatchers
public AnnotatorSelector.Builder setPhraseMatchers(int index, String value)
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) = { ... }- Parameters:
index- The index to set the value at.value- The phraseMatchers to set.- Returns:
- This builder for chaining.
-
addPhraseMatchers
public AnnotatorSelector.Builder addPhraseMatchers(String value)
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) = { ... }- Parameters:
value- The phraseMatchers to add.- Returns:
- This builder for chaining.
-
addAllPhraseMatchers
public AnnotatorSelector.Builder addAllPhraseMatchers(Iterable<String> values)
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) = { ... }- Parameters:
values- The phraseMatchers to add.- Returns:
- This builder for chaining.
-
clearPhraseMatchers
public AnnotatorSelector.Builder clearPhraseMatchers()
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:
- This builder for chaining.
-
addPhraseMatchersBytes
public AnnotatorSelector.Builder addPhraseMatchersBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes of the phraseMatchers to add.- Returns:
- This builder for chaining.
-
getRunSentimentAnnotator
public boolean getRunSentimentAnnotator()
Whether to run the sentiment annotator.
bool run_sentiment_annotator = 5;- Specified by:
getRunSentimentAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runSentimentAnnotator.
-
setRunSentimentAnnotator
public AnnotatorSelector.Builder setRunSentimentAnnotator(boolean value)
Whether to run the sentiment annotator.
bool run_sentiment_annotator = 5;- Parameters:
value- The runSentimentAnnotator to set.- Returns:
- This builder for chaining.
-
clearRunSentimentAnnotator
public AnnotatorSelector.Builder clearRunSentimentAnnotator()
Whether to run the sentiment annotator.
bool run_sentiment_annotator = 5;- Returns:
- This builder for chaining.
-
getRunEntityAnnotator
public boolean getRunEntityAnnotator()
Whether to run the entity annotator.
bool run_entity_annotator = 6;- Specified by:
getRunEntityAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runEntityAnnotator.
-
setRunEntityAnnotator
public AnnotatorSelector.Builder setRunEntityAnnotator(boolean value)
Whether to run the entity annotator.
bool run_entity_annotator = 6;- Parameters:
value- The runEntityAnnotator to set.- Returns:
- This builder for chaining.
-
clearRunEntityAnnotator
public AnnotatorSelector.Builder clearRunEntityAnnotator()
Whether to run the entity annotator.
bool run_entity_annotator = 6;- Returns:
- This builder for chaining.
-
getRunIntentAnnotator
public boolean getRunIntentAnnotator()
Whether to run the intent annotator.
bool run_intent_annotator = 7;- Specified by:
getRunIntentAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runIntentAnnotator.
-
setRunIntentAnnotator
public AnnotatorSelector.Builder setRunIntentAnnotator(boolean value)
Whether to run the intent annotator.
bool run_intent_annotator = 7;- Parameters:
value- The runIntentAnnotator to set.- Returns:
- This builder for chaining.
-
clearRunIntentAnnotator
public AnnotatorSelector.Builder clearRunIntentAnnotator()
Whether to run the intent annotator.
bool run_intent_annotator = 7;- Returns:
- This builder for chaining.
-
getRunIssueModelAnnotator
public 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;- Specified by:
getRunIssueModelAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runIssueModelAnnotator.
-
setRunIssueModelAnnotator
public AnnotatorSelector.Builder setRunIssueModelAnnotator(boolean value)
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;- Parameters:
value- The runIssueModelAnnotator to set.- Returns:
- This builder for chaining.
-
clearRunIssueModelAnnotator
public AnnotatorSelector.Builder clearRunIssueModelAnnotator()
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:
- This builder for chaining.
-
getIssueModelsList
public com.google.protobuf.ProtocolStringList 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) = { ... }- Specified by:
getIssueModelsListin interfaceAnnotatorSelectorOrBuilder- Returns:
- A list containing the issueModels.
-
getIssueModelsCount
public 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) = { ... }- Specified by:
getIssueModelsCountin interfaceAnnotatorSelectorOrBuilder- Returns:
- The count of issueModels.
-
getIssueModels
public 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) = { ... }- Specified by:
getIssueModelsin interfaceAnnotatorSelectorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The issueModels at the given index.
-
getIssueModelsBytes
public com.google.protobuf.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) = { ... }- Specified by:
getIssueModelsBytesin interfaceAnnotatorSelectorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the issueModels at the given index.
-
setIssueModels
public AnnotatorSelector.Builder setIssueModels(int index, String value)
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) = { ... }- Parameters:
index- The index to set the value at.value- The issueModels to set.- Returns:
- This builder for chaining.
-
addIssueModels
public AnnotatorSelector.Builder addIssueModels(String value)
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) = { ... }- Parameters:
value- The issueModels to add.- Returns:
- This builder for chaining.
-
addAllIssueModels
public AnnotatorSelector.Builder addAllIssueModels(Iterable<String> values)
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) = { ... }- Parameters:
values- The issueModels to add.- Returns:
- This builder for chaining.
-
clearIssueModels
public AnnotatorSelector.Builder clearIssueModels()
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:
- This builder for chaining.
-
addIssueModelsBytes
public AnnotatorSelector.Builder addIssueModelsBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes of the issueModels to add.- Returns:
- This builder for chaining.
-
getRunSummarizationAnnotator
public boolean getRunSummarizationAnnotator()
Whether to run the summarization annotator.
bool run_summarization_annotator = 9;- Specified by:
getRunSummarizationAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runSummarizationAnnotator.
-
setRunSummarizationAnnotator
public AnnotatorSelector.Builder setRunSummarizationAnnotator(boolean value)
Whether to run the summarization annotator.
bool run_summarization_annotator = 9;- Parameters:
value- The runSummarizationAnnotator to set.- Returns:
- This builder for chaining.
-
clearRunSummarizationAnnotator
public AnnotatorSelector.Builder clearRunSummarizationAnnotator()
Whether to run the summarization annotator.
bool run_summarization_annotator = 9;- Returns:
- This builder for chaining.
-
hasSummarizationConfig
public boolean hasSummarizationConfig()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;- Specified by:
hasSummarizationConfigin interfaceAnnotatorSelectorOrBuilder- Returns:
- Whether the summarizationConfig field is set.
-
getSummarizationConfig
public AnnotatorSelector.SummarizationConfig getSummarizationConfig()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;- Specified by:
getSummarizationConfigin interfaceAnnotatorSelectorOrBuilder- Returns:
- The summarizationConfig.
-
setSummarizationConfig
public AnnotatorSelector.Builder setSummarizationConfig(AnnotatorSelector.SummarizationConfig value)
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;
-
setSummarizationConfig
public AnnotatorSelector.Builder setSummarizationConfig(AnnotatorSelector.SummarizationConfig.Builder builderForValue)
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;
-
mergeSummarizationConfig
public AnnotatorSelector.Builder mergeSummarizationConfig(AnnotatorSelector.SummarizationConfig value)
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;
-
clearSummarizationConfig
public AnnotatorSelector.Builder clearSummarizationConfig()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;
-
getSummarizationConfigBuilder
public AnnotatorSelector.SummarizationConfig.Builder getSummarizationConfigBuilder()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;
-
getSummarizationConfigOrBuilder
public AnnotatorSelector.SummarizationConfigOrBuilder getSummarizationConfigOrBuilder()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;- Specified by:
getSummarizationConfigOrBuilderin interfaceAnnotatorSelectorOrBuilder
-
setUnknownFields
public final AnnotatorSelector.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
mergeUnknownFields
public final AnnotatorSelector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotatorSelector.Builder>
-
-