Class CorrelationStats.Builder (2.44.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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