Class CorrelationStats (2.16.0)

public final class CorrelationStats extends GeneratedMessageV3 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 Fields

CRAMERS_V_FIELD_NUMBER

public static final int CRAMERS_V_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CorrelationStats getDefaultInstance()
Returns
TypeDescription
CorrelationStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CorrelationStats.Builder newBuilder()
Returns
TypeDescription
CorrelationStats.Builder

newBuilder(CorrelationStats prototype)

public static CorrelationStats.Builder newBuilder(CorrelationStats prototype)
Parameter
NameDescription
prototypeCorrelationStats
Returns
TypeDescription
CorrelationStats.Builder

parseDelimitedFrom(InputStream input)

public static CorrelationStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CorrelationStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CorrelationStats parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CorrelationStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CorrelationStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CorrelationStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CorrelationStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CorrelationStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CorrelationStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CorrelationStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CorrelationStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CorrelationStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CorrelationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CorrelationStats> parser()
Returns
TypeDescription
Parser<CorrelationStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<CorrelationStats> getParserForType()
Returns
TypeDescription
Parser<CorrelationStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CorrelationStats.Builder newBuilderForType()
Returns
TypeDescription
CorrelationStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CorrelationStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CorrelationStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CorrelationStats.Builder toBuilder()
Returns
TypeDescription
CorrelationStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException