Class Settings.AnalysisConfig.Builder (2.83.0)

public static final class Settings.AnalysisConfig.Builder extends GeneratedMessage.Builder<Settings.AnalysisConfig.Builder> implements Settings.AnalysisConfigOrBuilder

Default configuration when creating Analyses in Insights.

Protobuf type google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Settings.AnalysisConfig build()
Returns
Type Description
Settings.AnalysisConfig

buildPartial()

public Settings.AnalysisConfig buildPartial()
Returns
Type Description
Settings.AnalysisConfig

clear()

public Settings.AnalysisConfig.Builder clear()
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides

clearAnnotatorSelector()

public Settings.AnalysisConfig.Builder clearAnnotatorSelector()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;

Returns
Type Description
Settings.AnalysisConfig.Builder

clearRuntimeIntegrationAnalysisPercentage()

public Settings.AnalysisConfig.Builder clearRuntimeIntegrationAnalysisPercentage()

Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100].

double runtime_integration_analysis_percentage = 1;

Returns
Type Description
Settings.AnalysisConfig.Builder

This builder for chaining.

clearUploadConversationAnalysisPercentage()

public Settings.AnalysisConfig.Builder clearUploadConversationAnalysisPercentage()

Percentage of conversations created using the UploadConversation endpoint to analyze automatically, between [0, 100].

double upload_conversation_analysis_percentage = 6;

Returns
Type Description
Settings.AnalysisConfig.Builder

This builder for chaining.

getAnnotatorSelector()

public AnnotatorSelector getAnnotatorSelector()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;

Returns
Type Description
AnnotatorSelector

The annotatorSelector.

getAnnotatorSelectorBuilder()

public AnnotatorSelector.Builder getAnnotatorSelectorBuilder()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;

Returns
Type Description
AnnotatorSelector.Builder

getAnnotatorSelectorOrBuilder()

public AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;

Returns
Type Description
AnnotatorSelectorOrBuilder

getDefaultInstanceForType()

public Settings.AnalysisConfig getDefaultInstanceForType()
Returns
Type Description
Settings.AnalysisConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRuntimeIntegrationAnalysisPercentage()

public double getRuntimeIntegrationAnalysisPercentage()

Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100].

double runtime_integration_analysis_percentage = 1;

Returns
Type Description
double

The runtimeIntegrationAnalysisPercentage.

getUploadConversationAnalysisPercentage()

public double getUploadConversationAnalysisPercentage()

Percentage of conversations created using the UploadConversation endpoint to analyze automatically, between [0, 100].

double upload_conversation_analysis_percentage = 6;

Returns
Type Description
double

The uploadConversationAnalysisPercentage.

hasAnnotatorSelector()

public boolean hasAnnotatorSelector()

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;

Returns
Type Description
boolean

Whether the annotatorSelector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnnotatorSelector(AnnotatorSelector value)

public Settings.AnalysisConfig.Builder mergeAnnotatorSelector(AnnotatorSelector value)

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;

Parameter
Name Description
value AnnotatorSelector
Returns
Type Description
Settings.AnalysisConfig.Builder

mergeFrom(Settings.AnalysisConfig other)

public Settings.AnalysisConfig.Builder mergeFrom(Settings.AnalysisConfig other)
Parameter
Name Description
other Settings.AnalysisConfig
Returns
Type Description
Settings.AnalysisConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Settings.AnalysisConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Settings.AnalysisConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides

setAnnotatorSelector(AnnotatorSelector value)

public Settings.AnalysisConfig.Builder setAnnotatorSelector(AnnotatorSelector value)

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;

Parameter
Name Description
value AnnotatorSelector
Returns
Type Description
Settings.AnalysisConfig.Builder

setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)

public Settings.AnalysisConfig.Builder setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)

To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 5;

Parameter
Name Description
builderForValue AnnotatorSelector.Builder
Returns
Type Description
Settings.AnalysisConfig.Builder

setRuntimeIntegrationAnalysisPercentage(double value)

public Settings.AnalysisConfig.Builder setRuntimeIntegrationAnalysisPercentage(double value)

Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100].

double runtime_integration_analysis_percentage = 1;

Parameter
Name Description
value double

The runtimeIntegrationAnalysisPercentage to set.

Returns
Type Description
Settings.AnalysisConfig.Builder

This builder for chaining.

setUploadConversationAnalysisPercentage(double value)

public Settings.AnalysisConfig.Builder setUploadConversationAnalysisPercentage(double value)

Percentage of conversations created using the UploadConversation endpoint to analyze automatically, between [0, 100].

double upload_conversation_analysis_percentage = 6;

Parameter
Name Description
value double

The uploadConversationAnalysisPercentage to set.

Returns
Type Description
Settings.AnalysisConfig.Builder

This builder for chaining.