Class Settings.AnalysisConfig.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Settings.AnalysisConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Settings.AnalysisConfig.Builder
Overrides

build()

public Settings.AnalysisConfig build()
Returns
TypeDescription
Settings.AnalysisConfig

buildPartial()

public Settings.AnalysisConfig buildPartial()
Returns
TypeDescription
Settings.AnalysisConfig

clear()

public Settings.AnalysisConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
Settings.AnalysisConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public Settings.AnalysisConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Settings.AnalysisConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Settings.AnalysisConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Settings.AnalysisConfig.Builder

This builder for chaining.

clone()

public Settings.AnalysisConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AnnotatorSelectorOrBuilder

getDefaultInstanceForType()

public Settings.AnalysisConfig getDefaultInstanceForType()
Returns
TypeDescription
Settings.AnalysisConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the annotatorSelector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAnnotatorSelector
Returns
TypeDescription
Settings.AnalysisConfig.Builder

mergeFrom(Settings.AnalysisConfig other)

public Settings.AnalysisConfig.Builder mergeFrom(Settings.AnalysisConfig other)
Parameter
NameDescription
otherSettings.AnalysisConfig
Returns
TypeDescription
Settings.AnalysisConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Settings.AnalysisConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Settings.AnalysisConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Settings.AnalysisConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Settings.AnalysisConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Settings.AnalysisConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAnnotatorSelector
Returns
TypeDescription
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
NameDescription
builderForValueAnnotatorSelector.Builder
Returns
TypeDescription
Settings.AnalysisConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Settings.AnalysisConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The runtimeIntegrationAnalysisPercentage to set.

Returns
TypeDescription
Settings.AnalysisConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Settings.AnalysisConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuedouble

The uploadConversationAnalysisPercentage to set.

Returns
TypeDescription
Settings.AnalysisConfig.Builder

This builder for chaining.