Class AnnotatorSelector
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class AnnotatorSelector extends com.google.protobuf.GeneratedMessageV3 implements AnnotatorSelectorOrBuilder
Selector of all available annotators and phrase matchers to run.
Protobuf typegoogle.cloud.contactcenterinsights.v1.AnnotatorSelector- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotatorSelector.BuilderSelector of all available annotators and phrase matchers to run.static classAnnotatorSelector.SummarizationConfigConfiguration for summarization.static interfaceAnnotatorSelector.SummarizationConfigOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intISSUE_MODELS_FIELD_NUMBERstatic intPHRASE_MATCHERS_FIELD_NUMBERstatic intRUN_ENTITY_ANNOTATOR_FIELD_NUMBERstatic intRUN_INTENT_ANNOTATOR_FIELD_NUMBERstatic intRUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBERstatic intRUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBERstatic intRUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBERstatic intRUN_SENTIMENT_ANNOTATOR_FIELD_NUMBERstatic intRUN_SILENCE_ANNOTATOR_FIELD_NUMBERstatic intRUN_SUMMARIZATION_ANNOTATOR_FIELD_NUMBERstatic intSUMMARIZATION_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static AnnotatorSelectorgetDefaultInstance()AnnotatorSelectorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<AnnotatorSelector>getParserForType()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.intgetSerializedSize()AnnotatorSelector.SummarizationConfiggetSummarizationConfig()Configuration for the summarization annotator.AnnotatorSelector.SummarizationConfigOrBuildergetSummarizationConfigOrBuilder()Configuration for the summarization annotator.inthashCode()booleanhasSummarizationConfig()Configuration for the summarization annotator.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AnnotatorSelector.BuildernewBuilder()static AnnotatorSelector.BuildernewBuilder(AnnotatorSelector prototype)AnnotatorSelector.BuildernewBuilderForType()protected AnnotatorSelector.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()AnnotatorSelector.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER
public static final int RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_SILENCE_ANNOTATOR_FIELD_NUMBER
public static final int RUN_SILENCE_ANNOTATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER
public static final int RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHRASE_MATCHERS_FIELD_NUMBER
public static final int PHRASE_MATCHERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER
public static final int RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_ENTITY_ANNOTATOR_FIELD_NUMBER
public static final int RUN_ENTITY_ANNOTATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_INTENT_ANNOTATOR_FIELD_NUMBER
public static final int RUN_INTENT_ANNOTATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER
public static final int RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISSUE_MODELS_FIELD_NUMBER
public static final int ISSUE_MODELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_SUMMARIZATION_ANNOTATOR_FIELD_NUMBER
public static final int RUN_SUMMARIZATION_ANNOTATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUMMARIZATION_CONFIG_FIELD_NUMBER
public static final int SUMMARIZATION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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
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.
-
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
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.
-
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
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.
-
getSummarizationConfigOrBuilder
public AnnotatorSelector.SummarizationConfigOrBuilder getSummarizationConfigOrBuilder()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;- Specified by:
getSummarizationConfigOrBuilderin interfaceAnnotatorSelectorOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static AnnotatorSelector parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AnnotatorSelector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AnnotatorSelector parseDelimitedFrom(InputStream input) throws IOException
- 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
public AnnotatorSelector.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AnnotatorSelector.Builder newBuilder()
-
newBuilder
public static AnnotatorSelector.Builder newBuilder(AnnotatorSelector prototype)
-
toBuilder
public AnnotatorSelector.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnnotatorSelector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AnnotatorSelector getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AnnotatorSelector> parser()
-
getParserForType
public com.google.protobuf.Parser<AnnotatorSelector> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AnnotatorSelector getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-