Class AnnotatorSelector
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.AnnotatorSelector
- All Implemented Interfaces:
AnnotatorSelectorOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AnnotatorSelector
extends com.google.protobuf.GeneratedMessage
implements AnnotatorSelectorOrBuilder
Selector of all available annotators and phrase matchers to run.Protobuf type
google.cloud.contactcenterinsights.v1.AnnotatorSelector- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSelector of all available annotators and phrase matchers to run.static final classConfiguration for the QA feature.static interfacestatic final classConfiguration for summarization.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AnnotatorSelectorstatic final com.google.protobuf.Descriptors.DescriptorgetIssueModels(int index) The issue model to run.com.google.protobuf.ByteStringgetIssueModelsBytes(int index) The issue model to run.intThe issue model to run.com.google.protobuf.ProtocolStringListThe issue model to run.com.google.protobuf.Parser<AnnotatorSelector>getPhraseMatchers(int index) The list of phrase matchers to run.com.google.protobuf.ByteStringgetPhraseMatchersBytes(int index) The list of phrase matchers to run.intThe list of phrase matchers to run.com.google.protobuf.ProtocolStringListThe list of phrase matchers to run.Configuration for the QA annotator.Configuration for the QA annotator.booleanWhether to run the entity annotator.booleanWhether to run the intent annotator.booleanWhether to run the interruption annotator.booleanWhether to run the issue model annotator.booleanWhether to run the active phrase matcher annotator(s).booleanWhether to run the QA annotator.booleanWhether to run the sentiment annotator.booleanWhether to run the silence annotator.booleanWhether to run the summarization annotator.intConfiguration for the summarization annotator.Configuration for the summarization annotator.inthashCode()booleanConfiguration for the QA annotator.booleanConfiguration for the summarization annotator.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AnnotatorSelector.Builderstatic AnnotatorSelector.BuildernewBuilder(AnnotatorSelector prototype) protected AnnotatorSelector.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AnnotatorSelectorparseDelimitedFrom(InputStream input) static AnnotatorSelectorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotatorSelectorparseFrom(byte[] data) static AnnotatorSelectorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotatorSelectorparseFrom(com.google.protobuf.ByteString data) static AnnotatorSelectorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotatorSelectorparseFrom(com.google.protobuf.CodedInputStream input) static AnnotatorSelectorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotatorSelectorparseFrom(InputStream input) static AnnotatorSelectorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotatorSelectorparseFrom(ByteBuffer data) static AnnotatorSelectorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AnnotatorSelector>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER
public static final int RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER- See Also:
-
RUN_SILENCE_ANNOTATOR_FIELD_NUMBER
public static final int RUN_SILENCE_ANNOTATOR_FIELD_NUMBER- See Also:
-
RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER
public static final int RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER- See Also:
-
PHRASE_MATCHERS_FIELD_NUMBER
public static final int PHRASE_MATCHERS_FIELD_NUMBER- See Also:
-
RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER
public static final int RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER- See Also:
-
RUN_ENTITY_ANNOTATOR_FIELD_NUMBER
public static final int RUN_ENTITY_ANNOTATOR_FIELD_NUMBER- See Also:
-
RUN_INTENT_ANNOTATOR_FIELD_NUMBER
public static final int RUN_INTENT_ANNOTATOR_FIELD_NUMBER- See Also:
-
RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER
public static final int RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER- See Also:
-
ISSUE_MODELS_FIELD_NUMBER
public static final int ISSUE_MODELS_FIELD_NUMBER- See Also:
-
RUN_SUMMARIZATION_ANNOTATOR_FIELD_NUMBER
public static final int RUN_SUMMARIZATION_ANNOTATOR_FIELD_NUMBER- See Also:
-
SUMMARIZATION_CONFIG_FIELD_NUMBER
public static final int SUMMARIZATION_CONFIG_FIELD_NUMBER- See Also:
-
RUN_QA_ANNOTATOR_FIELD_NUMBER
public static final int RUN_QA_ANNOTATOR_FIELD_NUMBER- See Also:
-
QA_CONFIG_FIELD_NUMBER
public static final int QA_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getRunInterruptionAnnotator
public boolean getRunInterruptionAnnotator()Whether to run the interruption annotator.
bool run_interruption_annotator = 1;- Specified by:
getRunInterruptionAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runInterruptionAnnotator.
-
getRunSilenceAnnotator
public boolean getRunSilenceAnnotator()Whether to run the silence annotator.
bool run_silence_annotator = 2;- Specified by:
getRunSilenceAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runSilenceAnnotator.
-
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.
-
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
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.
-
getRunSentimentAnnotator
public boolean getRunSentimentAnnotator()Whether to run the sentiment annotator.
bool run_sentiment_annotator = 5;- Specified by:
getRunSentimentAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runSentimentAnnotator.
-
getRunEntityAnnotator
public boolean getRunEntityAnnotator()Whether to run the entity annotator.
bool run_entity_annotator = 6;- Specified by:
getRunEntityAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runEntityAnnotator.
-
getRunIntentAnnotator
public boolean getRunIntentAnnotator()Whether to run the intent annotator.
bool run_intent_annotator = 7;- Specified by:
getRunIntentAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runIntentAnnotator.
-
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.
-
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
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.
-
getRunSummarizationAnnotator
public boolean getRunSummarizationAnnotator()Whether to run the summarization annotator.
bool run_summarization_annotator = 9;- Specified by:
getRunSummarizationAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runSummarizationAnnotator.
-
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
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;- Specified by:
getSummarizationConfigin interfaceAnnotatorSelectorOrBuilder- Returns:
- The summarizationConfig.
-
getSummarizationConfigOrBuilder
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;- Specified by:
getSummarizationConfigOrBuilderin interfaceAnnotatorSelectorOrBuilder
-
getRunQaAnnotator
public boolean getRunQaAnnotator()Whether to run the QA annotator.
bool run_qa_annotator = 12;- Specified by:
getRunQaAnnotatorin interfaceAnnotatorSelectorOrBuilder- Returns:
- The runQaAnnotator.
-
hasQaConfig
public boolean hasQaConfig()Configuration for the QA annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.QaConfig qa_config = 13;- Specified by:
hasQaConfigin interfaceAnnotatorSelectorOrBuilder- Returns:
- Whether the qaConfig field is set.
-
getQaConfig
Configuration for the QA annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.QaConfig qa_config = 13;- Specified by:
getQaConfigin interfaceAnnotatorSelectorOrBuilder- Returns:
- The qaConfig.
-
getQaConfigOrBuilder
Configuration for the QA annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.QaConfig qa_config = 13;- Specified by:
getQaConfigOrBuilderin interfaceAnnotatorSelectorOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AnnotatorSelector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotatorSelector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotatorSelector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotatorSelector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotatorSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotatorSelector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AnnotatorSelector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AnnotatorSelector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AnnotatorSelector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AnnotatorSelector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnnotatorSelector.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-