Class MetricAnalysisSettings.Builder (0.1.0)

public static final class MetricAnalysisSettings.Builder extends GeneratedMessage.Builder<MetricAnalysisSettings.Builder> implements MetricAnalysisSettingsOrBuilder

Settings to describe the conversation data collection behaviors for LLM analysis metrics pipeline.

Protobuf type google.cloud.ces.v1.MetricAnalysisSettings

Static Methods

getDescriptor()

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

Methods

build()

public MetricAnalysisSettings build()
Returns
Type Description
MetricAnalysisSettings

buildPartial()

public MetricAnalysisSettings buildPartial()
Returns
Type Description
MetricAnalysisSettings

clear()

public MetricAnalysisSettings.Builder clear()
Returns
Type Description
MetricAnalysisSettings.Builder
Overrides

clearLlmMetricsOptedOut()

public MetricAnalysisSettings.Builder clearLlmMetricsOptedOut()

Optional. Whether to collect conversation data for llm analysis metrics. If true, conversation data will not be collected for llm analysis metrics; otherwise, conversation data will be collected.

bool llm_metrics_opted_out = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetricAnalysisSettings.Builder

This builder for chaining.

getDefaultInstanceForType()

public MetricAnalysisSettings getDefaultInstanceForType()
Returns
Type Description
MetricAnalysisSettings

getDescriptorForType()

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

getLlmMetricsOptedOut()

public boolean getLlmMetricsOptedOut()

Optional. Whether to collect conversation data for llm analysis metrics. If true, conversation data will not be collected for llm analysis metrics; otherwise, conversation data will be collected.

bool llm_metrics_opted_out = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The llmMetricsOptedOut.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetricAnalysisSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setLlmMetricsOptedOut(boolean value)

public MetricAnalysisSettings.Builder setLlmMetricsOptedOut(boolean value)

Optional. Whether to collect conversation data for llm analysis metrics. If true, conversation data will not be collected for llm analysis metrics; otherwise, conversation data will be collected.

bool llm_metrics_opted_out = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The llmMetricsOptedOut to set.

Returns
Type Description
MetricAnalysisSettings.Builder

This builder for chaining.