Class CorrelationStats.Builder (2.83.0)

public static final class CorrelationStats.Builder extends GeneratedMessage.Builder<CorrelationStats.Builder> implements CorrelationStatsOrBuilder

A correlation statistics between two series of DataType values. The series may have differing DataType-s, but within a single series the DataType must be the same.

Protobuf type google.cloud.automl.v1beta1.CorrelationStats

Static Methods

getDescriptor()

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

Methods

build()

public CorrelationStats build()
Returns
Type Description
CorrelationStats

buildPartial()

public CorrelationStats buildPartial()
Returns
Type Description
CorrelationStats

clear()

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

clearCramersV()

public CorrelationStats.Builder clearCramersV()

The correlation value using the Cramer's V measure.

double cramers_v = 1;

Returns
Type Description
CorrelationStats.Builder

This builder for chaining.

getCramersV()

public double getCramersV()

The correlation value using the Cramer's V measure.

double cramers_v = 1;

Returns
Type Description
double

The cramersV.

getDefaultInstanceForType()

public CorrelationStats getDefaultInstanceForType()
Returns
Type Description
CorrelationStats

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CorrelationStats other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCramersV(double value)

public CorrelationStats.Builder setCramersV(double value)

The correlation value using the Cramer's V measure.

double cramers_v = 1;

Parameter
Name Description
value double

The cramersV to set.

Returns
Type Description
CorrelationStats.Builder

This builder for chaining.