public final class AnnotatorSelector extends com.google.protobuf.GeneratedMessageV3 implements AnnotatorSelectorOrBuilder
Selector of all available annotators and phrase matchers to run.Protobuf type
google.cloud.contactcenterinsights.v1.AnnotatorSelector| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotatorSelector.Builder
Selector of all available annotators and phrase matchers to run.
|
static class |
AnnotatorSelector.SummarizationConfig
Configuration for summarization.
|
static interface |
AnnotatorSelector.SummarizationConfigOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ISSUE_MODELS_FIELD_NUMBER |
static int |
PHRASE_MATCHERS_FIELD_NUMBER |
static int |
RUN_ENTITY_ANNOTATOR_FIELD_NUMBER |
static int |
RUN_INTENT_ANNOTATOR_FIELD_NUMBER |
static int |
RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER |
static int |
RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER |
static int |
RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER |
static int |
RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER |
static int |
RUN_SILENCE_ANNOTATOR_FIELD_NUMBER |
static int |
RUN_SUMMARIZATION_ANNOTATOR_FIELD_NUMBER |
static int |
SUMMARIZATION_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AnnotatorSelector |
getDefaultInstance() |
AnnotatorSelector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIssueModels(int index)
The issue model to run.
|
com.google.protobuf.ByteString |
getIssueModelsBytes(int index)
The issue model to run.
|
int |
getIssueModelsCount()
The issue model to run.
|
com.google.protobuf.ProtocolStringList |
getIssueModelsList()
The issue model to run.
|
com.google.protobuf.Parser<AnnotatorSelector> |
getParserForType() |
String |
getPhraseMatchers(int index)
The list of phrase matchers to run.
|
com.google.protobuf.ByteString |
getPhraseMatchersBytes(int index)
The list of phrase matchers to run.
|
int |
getPhraseMatchersCount()
The list of phrase matchers to run.
|
com.google.protobuf.ProtocolStringList |
getPhraseMatchersList()
The list of phrase matchers to run.
|
boolean |
getRunEntityAnnotator()
Whether to run the entity annotator.
|
boolean |
getRunIntentAnnotator()
Whether to run the intent annotator.
|
boolean |
getRunInterruptionAnnotator()
Whether to run the interruption annotator.
|
boolean |
getRunIssueModelAnnotator()
Whether to run the issue model annotator.
|
boolean |
getRunPhraseMatcherAnnotator()
Whether to run the active phrase matcher annotator(s).
|
boolean |
getRunSentimentAnnotator()
Whether to run the sentiment annotator.
|
boolean |
getRunSilenceAnnotator()
Whether to run the silence annotator.
|
boolean |
getRunSummarizationAnnotator()
Whether to run the summarization annotator.
|
int |
getSerializedSize() |
AnnotatorSelector.SummarizationConfig |
getSummarizationConfig()
Configuration for the summarization annotator.
|
AnnotatorSelector.SummarizationConfigOrBuilder |
getSummarizationConfigOrBuilder()
Configuration for the summarization annotator.
|
int |
hashCode() |
boolean |
hasSummarizationConfig()
Configuration for the summarization annotator.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AnnotatorSelector.Builder |
newBuilder() |
static AnnotatorSelector.Builder |
newBuilder(AnnotatorSelector prototype) |
AnnotatorSelector.Builder |
newBuilderForType() |
protected AnnotatorSelector.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AnnotatorSelector |
parseDelimitedFrom(InputStream input) |
static AnnotatorSelector |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatorSelector |
parseFrom(byte[] data) |
static AnnotatorSelector |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatorSelector |
parseFrom(ByteBuffer data) |
static AnnotatorSelector |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatorSelector |
parseFrom(com.google.protobuf.ByteString data) |
static AnnotatorSelector |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatorSelector |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AnnotatorSelector |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotatorSelector |
parseFrom(InputStream input) |
static AnnotatorSelector |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AnnotatorSelector> |
parser() |
AnnotatorSelector.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER
public static final int RUN_SILENCE_ANNOTATOR_FIELD_NUMBER
public static final int RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER
public static final int PHRASE_MATCHERS_FIELD_NUMBER
public static final int RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER
public static final int RUN_ENTITY_ANNOTATOR_FIELD_NUMBER
public static final int RUN_INTENT_ANNOTATOR_FIELD_NUMBER
public static final int RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER
public static final int ISSUE_MODELS_FIELD_NUMBER
public static final int RUN_SUMMARIZATION_ANNOTATOR_FIELD_NUMBER
public static final int SUMMARIZATION_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getRunInterruptionAnnotator()
Whether to run the interruption annotator.
bool run_interruption_annotator = 1;getRunInterruptionAnnotator in interface AnnotatorSelectorOrBuilderpublic boolean getRunSilenceAnnotator()
Whether to run the silence annotator.
bool run_silence_annotator = 2;getRunSilenceAnnotator in interface AnnotatorSelectorOrBuilderpublic boolean getRunPhraseMatcherAnnotator()
Whether to run the active phrase matcher annotator(s).
bool run_phrase_matcher_annotator = 3;getRunPhraseMatcherAnnotator in interface AnnotatorSelectorOrBuilderpublic 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) = { ... }getPhraseMatchersList in interface AnnotatorSelectorOrBuilderpublic 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) = { ... }getPhraseMatchersCount in interface AnnotatorSelectorOrBuilderpublic 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) = { ... }getPhraseMatchers in interface AnnotatorSelectorOrBuilderindex - The index of the element to return.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) = { ... }getPhraseMatchersBytes in interface AnnotatorSelectorOrBuilderindex - The index of the value to return.public boolean getRunSentimentAnnotator()
Whether to run the sentiment annotator.
bool run_sentiment_annotator = 5;getRunSentimentAnnotator in interface AnnotatorSelectorOrBuilderpublic boolean getRunEntityAnnotator()
Whether to run the entity annotator.
bool run_entity_annotator = 6;getRunEntityAnnotator in interface AnnotatorSelectorOrBuilderpublic boolean getRunIntentAnnotator()
Whether to run the intent annotator.
bool run_intent_annotator = 7;getRunIntentAnnotator in interface AnnotatorSelectorOrBuilderpublic 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;getRunIssueModelAnnotator in interface AnnotatorSelectorOrBuilderpublic 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) = { ... }getIssueModelsList in interface AnnotatorSelectorOrBuilderpublic 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) = { ... }getIssueModelsCount in interface AnnotatorSelectorOrBuilderpublic 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) = { ... }getIssueModels in interface AnnotatorSelectorOrBuilderindex - The index of the element to return.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) = { ... }getIssueModelsBytes in interface AnnotatorSelectorOrBuilderindex - The index of the value to return.public boolean getRunSummarizationAnnotator()
Whether to run the summarization annotator.
bool run_summarization_annotator = 9;getRunSummarizationAnnotator in interface AnnotatorSelectorOrBuilderpublic boolean hasSummarizationConfig()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;
hasSummarizationConfig in interface AnnotatorSelectorOrBuilderpublic AnnotatorSelector.SummarizationConfig getSummarizationConfig()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;
getSummarizationConfig in interface AnnotatorSelectorOrBuilderpublic AnnotatorSelector.SummarizationConfigOrBuilder getSummarizationConfigOrBuilder()
Configuration for the summarization annotator.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig summarization_config = 11;
getSummarizationConfigOrBuilder in interface AnnotatorSelectorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AnnotatorSelector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatorSelector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatorSelector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatorSelector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatorSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatorSelector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotatorSelector parseFrom(InputStream input) throws IOException
IOExceptionpublic static AnnotatorSelector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnnotatorSelector parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AnnotatorSelector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnnotatorSelector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AnnotatorSelector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AnnotatorSelector.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AnnotatorSelector.Builder newBuilder()
public static AnnotatorSelector.Builder newBuilder(AnnotatorSelector prototype)
public AnnotatorSelector.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AnnotatorSelector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AnnotatorSelector getDefaultInstance()
public static com.google.protobuf.Parser<AnnotatorSelector> parser()
public com.google.protobuf.Parser<AnnotatorSelector> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AnnotatorSelector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.