Class ColumnSpec.CorrelatedColumn.Builder (2.76.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ColumnSpec.CorrelatedColumn.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ColumnSpec.CorrelatedColumn build()
public ColumnSpec.CorrelatedColumn buildPartial()
public ColumnSpec.CorrelatedColumn.Builder clear()
Overrides
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;
public ColumnSpec.CorrelatedColumn.Builder clearCorrelationStats()
Correlation between this and the in-context column.
.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
public ColumnSpec.CorrelatedColumn.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ColumnSpec.CorrelatedColumn.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ColumnSpec.CorrelatedColumn.Builder clone()
Overrides
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.
|
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.
|
public CorrelationStats getCorrelationStats()
Correlation between this and the in-context column.
.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
public CorrelationStats.Builder getCorrelationStatsBuilder()
Correlation between this and the in-context column.
.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
public CorrelationStatsOrBuilder getCorrelationStatsOrBuilder()
Correlation between this and the in-context column.
.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
public ColumnSpec.CorrelatedColumn getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ColumnSpec.CorrelatedColumn.Builder mergeCorrelationStats(CorrelationStats value)
Correlation between this and the in-context column.
.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
public ColumnSpec.CorrelatedColumn.Builder mergeFrom(ColumnSpec.CorrelatedColumn other)
public ColumnSpec.CorrelatedColumn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ColumnSpec.CorrelatedColumn.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ColumnSpec.CorrelatedColumn.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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.
|
public ColumnSpec.CorrelatedColumn.Builder setCorrelationStats(CorrelationStats value)
Correlation between this and the in-context column.
.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
public ColumnSpec.CorrelatedColumn.Builder setCorrelationStats(CorrelationStats.Builder builderForValue)
Correlation between this and the in-context column.
.google.cloud.automl.v1beta1.CorrelationStats correlation_stats = 2;
public ColumnSpec.CorrelatedColumn.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ColumnSpec.CorrelatedColumn.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ColumnSpec.CorrelatedColumn.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]