Class CorrelationStats.Builder (2.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CorrelationStats build()
Returns
TypeDescription
CorrelationStats

buildPartial()

public CorrelationStats buildPartial()
Returns
TypeDescription
CorrelationStats

clear()

public CorrelationStats.Builder clear()
Returns
TypeDescription
CorrelationStats.Builder
Overrides

clearCramersV()

public CorrelationStats.Builder clearCramersV()

The correlation value using the Cramer's V measure.

double cramers_v = 1;

Returns
TypeDescription
CorrelationStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CorrelationStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CorrelationStats.Builder
Overrides

clone()

public CorrelationStats.Builder clone()
Returns
TypeDescription
CorrelationStats.Builder
Overrides

getCramersV()

public double getCramersV()

The correlation value using the Cramer's V measure.

double cramers_v = 1;

Returns
TypeDescription
double

The cramersV.

getDefaultInstanceForType()

public CorrelationStats getDefaultInstanceForType()
Returns
TypeDescription
CorrelationStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CorrelationStats other)

public CorrelationStats.Builder mergeFrom(CorrelationStats other)
Parameter
NameDescription
otherCorrelationStats
Returns
TypeDescription
CorrelationStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The cramersV to set.

Returns
TypeDescription
CorrelationStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CorrelationStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CorrelationStats.Builder
Overrides

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

public CorrelationStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CorrelationStats.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CorrelationStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CorrelationStats.Builder
Overrides