Class Settings.AnalysisConfig.Builder (2.55.0)

public static final class Settings.AnalysisConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Settings.AnalysisConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Settings.AnalysisConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Settings.AnalysisConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Settings.AnalysisConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public Settings.AnalysisConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Settings.AnalysisConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final Settings.AnalysisConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Settings.AnalysisConfig.Builder
Overrides

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.