Class ColumnSpec.CorrelatedColumn.Builder (2.3.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCorrelationStatsBuilder()

public CorrelationStats.Builder getCorrelationStatsBuilder()

Correlation between this and the in-context column.

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

Returns
TypeDescription
CorrelationStats.Builder

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCorrelationStats
Returns
TypeDescription
ColumnSpec.CorrelatedColumn.Builder

mergeFrom(ColumnSpec.CorrelatedColumn other)

public ColumnSpec.CorrelatedColumn.Builder mergeFrom(ColumnSpec.CorrelatedColumn other)
Parameter
NameDescription
otherColumnSpec.CorrelatedColumn
Returns
TypeDescription
ColumnSpec.CorrelatedColumn.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The columnSpecId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for columnSpecId to set.

Returns
TypeDescription
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
NameDescription
valueCorrelationStats
Returns
TypeDescription
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
NameDescription
builderForValueCorrelationStats.Builder
Returns
TypeDescription
ColumnSpec.CorrelatedColumn.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ColumnSpec.CorrelatedColumn.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ColumnSpec.CorrelatedColumn.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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