Class ColumnSpec.CorrelatedColumn.Builder (2.44.0)

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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public ColumnSpec.CorrelatedColumn.Builder clear()
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder
Overrides

clearColumnSpecId()

public ColumnSpec.CorrelatedColumn.Builder clearColumnSpecId()

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
ColumnSpec.CorrelatedColumn.Builder

This builder for chaining.

clearCorrelationStats()

public ColumnSpec.CorrelatedColumn.Builder clearCorrelationStats()

Correlation between this and the in-context column.

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

Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ColumnSpec.CorrelatedColumn.Builder clone()
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder
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.

getCorrelationStatsBuilder()

public CorrelationStats.Builder getCorrelationStatsBuilder()

Correlation between this and the in-context column.

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

Returns
Type Description
CorrelationStats.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCorrelationStats(CorrelationStats value)

public ColumnSpec.CorrelatedColumn.Builder mergeCorrelationStats(CorrelationStats value)

Correlation between this and the in-context column.

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

Parameter
Name Description
value CorrelationStats
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

mergeFrom(ColumnSpec.CorrelatedColumn other)

public ColumnSpec.CorrelatedColumn.Builder mergeFrom(ColumnSpec.CorrelatedColumn other)
Parameter
Name Description
other ColumnSpec.CorrelatedColumn
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ColumnSpec.CorrelatedColumn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ColumnSpec.CorrelatedColumn.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnSpec.CorrelatedColumn.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder
Overrides

setColumnSpecId(String value)

public ColumnSpec.CorrelatedColumn.Builder setColumnSpecId(String value)

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

string column_spec_id = 1;

Parameter
Name Description
value String

The columnSpecId to set.

Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

This builder for chaining.

setColumnSpecIdBytes(ByteString value)

public ColumnSpec.CorrelatedColumn.Builder setColumnSpecIdBytes(ByteString value)

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

string column_spec_id = 1;

Parameter
Name Description
value ByteString

The bytes for columnSpecId to set.

Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

This builder for chaining.

setCorrelationStats(CorrelationStats value)

public ColumnSpec.CorrelatedColumn.Builder setCorrelationStats(CorrelationStats value)

Correlation between this and the in-context column.

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

Parameter
Name Description
value CorrelationStats
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

setCorrelationStats(CorrelationStats.Builder builderForValue)

public ColumnSpec.CorrelatedColumn.Builder setCorrelationStats(CorrelationStats.Builder builderForValue)

Correlation between this and the in-context column.

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

Parameter
Name Description
builderForValue CorrelationStats.Builder
Returns
Type Description
ColumnSpec.CorrelatedColumn.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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