Class ColumnSpec.CorrelatedColumn (2.51.0)

public static final class ColumnSpec.CorrelatedColumn extends GeneratedMessageV3 implements ColumnSpec.CorrelatedColumnOrBuilder

Identifies the table's column, and its correlation with the column this ColumnSpec describes.

Protobuf type google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn

Static Fields

COLUMN_SPEC_ID_FIELD_NUMBER

public static final int COLUMN_SPEC_ID_FIELD_NUMBER
Field Value
Type Description
int

CORRELATION_STATS_FIELD_NUMBER

public static final int CORRELATION_STATS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ColumnSpec.CorrelatedColumn getDefaultInstance()
Returns
Type Description
ColumnSpec.CorrelatedColumn

getDescriptor()

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

newBuilder()

public static ColumnSpec.CorrelatedColumn.Builder newBuilder()
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

newBuilder(ColumnSpec.CorrelatedColumn prototype)

public static ColumnSpec.CorrelatedColumn.Builder newBuilder(ColumnSpec.CorrelatedColumn prototype)
Parameter
Name Description
prototype ColumnSpec.CorrelatedColumn
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

parseDelimitedFrom(InputStream input)

public static ColumnSpec.CorrelatedColumn parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnSpec.CorrelatedColumn parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ColumnSpec.CorrelatedColumn parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ColumnSpec.CorrelatedColumn parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ColumnSpec.CorrelatedColumn parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ColumnSpec.CorrelatedColumn parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ColumnSpec.CorrelatedColumn parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnSpec.CorrelatedColumn parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ColumnSpec.CorrelatedColumn parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnSpec.CorrelatedColumn parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ColumnSpec.CorrelatedColumn parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ColumnSpec.CorrelatedColumn parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnSpec.CorrelatedColumn
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ColumnSpec.CorrelatedColumn> parser()
Returns
Type Description
Parser<CorrelatedColumn>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getColumnSpecId()

public String getColumnSpecId()

The column_spec_id of the correlated column, which belongs to the same table as the in-context column.

string column_spec_id = 1;

Returns
Type Description
String

The columnSpecId.

getColumnSpecIdBytes()

public ByteString getColumnSpecIdBytes()

The column_spec_id of the correlated column, which belongs to the same table as the in-context column.

string column_spec_id = 1;

Returns
Type Description
ByteString

The bytes for columnSpecId.

getCorrelationStats()

public CorrelationStats getCorrelationStats()

Correlation between this and the in-context column.

.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;

Returns
Type Description
CorrelationStats

The correlationStats.

getCorrelationStatsOrBuilder()

public CorrelationStatsOrBuilder getCorrelationStatsOrBuilder()

Correlation between this and the in-context column.

.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;

Returns
Type Description
CorrelationStatsOrBuilder

getDefaultInstanceForType()

public ColumnSpec.CorrelatedColumn getDefaultInstanceForType()
Returns
Type Description
ColumnSpec.CorrelatedColumn

getParserForType()

public Parser<ColumnSpec.CorrelatedColumn> getParserForType()
Returns
Type Description
Parser<CorrelatedColumn>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCorrelationStats()

public boolean hasCorrelationStats()

Correlation between this and the in-context column.

.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;

Returns
Type Description
boolean

Whether the correlationStats field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ColumnSpec.CorrelatedColumn.Builder newBuilderForType()
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ColumnSpec.CorrelatedColumn.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ColumnSpec.CorrelatedColumn.Builder toBuilder()
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException