Class ColumnSpec.CorrelatedColumn (2.37.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
TypeDescription
int

CORRELATION_STATS_FIELD_NUMBER

public static final int CORRELATION_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ColumnSpec.CorrelatedColumn getDefaultInstance()
Returns
TypeDescription
ColumnSpec.CorrelatedColumn

getDescriptor()

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

newBuilder()

public static ColumnSpec.CorrelatedColumn.Builder newBuilder()
Returns
TypeDescription
ColumnSpec.CorrelatedColumn.Builder

newBuilder(ColumnSpec.CorrelatedColumn prototype)

public static ColumnSpec.CorrelatedColumn.Builder newBuilder(ColumnSpec.CorrelatedColumn prototype)
Parameter
NameDescription
prototypeColumnSpec.CorrelatedColumn
Returns
TypeDescription
ColumnSpec.CorrelatedColumn.Builder

parseDelimitedFrom(InputStream input)

public static ColumnSpec.CorrelatedColumn parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnSpec.CorrelatedColumn
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ColumnSpec.CorrelatedColumn parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ColumnSpec.CorrelatedColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ColumnSpec.CorrelatedColumn parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ColumnSpec.CorrelatedColumn
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ColumnSpec.CorrelatedColumn parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnSpec.CorrelatedColumn
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ColumnSpec.CorrelatedColumn parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ColumnSpec.CorrelatedColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The correlationStats.

getCorrelationStatsOrBuilder()

public CorrelationStatsOrBuilder getCorrelationStatsOrBuilder()

Correlation between this and the in-context column.

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

Returns
TypeDescription
CorrelationStatsOrBuilder

getDefaultInstanceForType()

public ColumnSpec.CorrelatedColumn getDefaultInstanceForType()
Returns
TypeDescription
ColumnSpec.CorrelatedColumn

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCorrelationStats()

public boolean hasCorrelationStats()

Correlation between this and the in-context column.

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

Returns
TypeDescription
boolean

Whether the correlationStats field is set.

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 ColumnSpec.CorrelatedColumn.Builder newBuilderForType()
Returns
TypeDescription
ColumnSpec.CorrelatedColumn.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ColumnSpec.CorrelatedColumn.Builder toBuilder()
Returns
TypeDescription
ColumnSpec.CorrelatedColumn.Builder

writeTo(CodedOutputStream output)

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