Class TablesModelColumnInfo.Builder (2.55.0)

public static final class TablesModelColumnInfo.Builder extends GeneratedMessageV3.Builder<TablesModelColumnInfo.Builder> implements TablesModelColumnInfoOrBuilder

An information specific to given column and Tables Model, in context of the Model and the predictions created by it.

Protobuf type google.cloud.automl.v1beta1.TablesModelColumnInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TablesModelColumnInfo build()
Returns
Type Description
TablesModelColumnInfo

buildPartial()

public TablesModelColumnInfo buildPartial()
Returns
Type Description
TablesModelColumnInfo

clear()

public TablesModelColumnInfo.Builder clear()
Returns
Type Description
TablesModelColumnInfo.Builder
Overrides

clearColumnDisplayName()

public TablesModelColumnInfo.Builder clearColumnDisplayName()

Output only. The display name of the column (same as the display_name of its ColumnSpec).

string column_display_name = 2;

Returns
Type Description
TablesModelColumnInfo.Builder

This builder for chaining.

clearColumnSpecName()

public TablesModelColumnInfo.Builder clearColumnSpecName()

Output only. The name of the ColumnSpec describing the column. Not populated when this proto is outputted to BigQuery.

string column_spec_name = 1;

Returns
Type Description
TablesModelColumnInfo.Builder

This builder for chaining.

clearFeatureImportance()

public TablesModelColumnInfo.Builder clearFeatureImportance()

Output only. When given as part of a Model (always populated): Measurement of how much model predictions correctness on the TEST data depend on values in this column. A value between 0 and 1, higher means higher influence. These values are normalized - for all input feature columns of a given model they add to 1.

When given back by Predict (populated iff feature_importance param is set) or Batch Predict (populated iff feature_importance param is set): Measurement of how impactful for the prediction returned for the given row the value in this column was. Specifically, the feature importance specifies the marginal contribution that the feature made to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley method.

float feature_importance = 3;

Returns
Type Description
TablesModelColumnInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TablesModelColumnInfo.Builder clone()
Returns
Type Description
TablesModelColumnInfo.Builder
Overrides

getColumnDisplayName()

public String getColumnDisplayName()

Output only. The display name of the column (same as the display_name of its ColumnSpec).

string column_display_name = 2;

Returns
Type Description
String

The columnDisplayName.

getColumnDisplayNameBytes()

public ByteString getColumnDisplayNameBytes()

Output only. The display name of the column (same as the display_name of its ColumnSpec).

string column_display_name = 2;

Returns
Type Description
ByteString

The bytes for columnDisplayName.

getColumnSpecName()

public String getColumnSpecName()

Output only. The name of the ColumnSpec describing the column. Not populated when this proto is outputted to BigQuery.

string column_spec_name = 1;

Returns
Type Description
String

The columnSpecName.

getColumnSpecNameBytes()

public ByteString getColumnSpecNameBytes()

Output only. The name of the ColumnSpec describing the column. Not populated when this proto is outputted to BigQuery.

string column_spec_name = 1;

Returns
Type Description
ByteString

The bytes for columnSpecName.

getDefaultInstanceForType()

public TablesModelColumnInfo getDefaultInstanceForType()
Returns
Type Description
TablesModelColumnInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFeatureImportance()

public float getFeatureImportance()

Output only. When given as part of a Model (always populated): Measurement of how much model predictions correctness on the TEST data depend on values in this column. A value between 0 and 1, higher means higher influence. These values are normalized - for all input feature columns of a given model they add to 1.

When given back by Predict (populated iff feature_importance param is set) or Batch Predict (populated iff feature_importance param is set): Measurement of how impactful for the prediction returned for the given row the value in this column was. Specifically, the feature importance specifies the marginal contribution that the feature made to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley method.

float feature_importance = 3;

Returns
Type Description
float

The featureImportance.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TablesModelColumnInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setColumnDisplayName(String value)

public TablesModelColumnInfo.Builder setColumnDisplayName(String value)

Output only. The display name of the column (same as the display_name of its ColumnSpec).

string column_display_name = 2;

Parameter
Name Description
value String

The columnDisplayName to set.

Returns
Type Description
TablesModelColumnInfo.Builder

This builder for chaining.

setColumnDisplayNameBytes(ByteString value)

public TablesModelColumnInfo.Builder setColumnDisplayNameBytes(ByteString value)

Output only. The display name of the column (same as the display_name of its ColumnSpec).

string column_display_name = 2;

Parameter
Name Description
value ByteString

The bytes for columnDisplayName to set.

Returns
Type Description
TablesModelColumnInfo.Builder

This builder for chaining.

setColumnSpecName(String value)

public TablesModelColumnInfo.Builder setColumnSpecName(String value)

Output only. The name of the ColumnSpec describing the column. Not populated when this proto is outputted to BigQuery.

string column_spec_name = 1;

Parameter
Name Description
value String

The columnSpecName to set.

Returns
Type Description
TablesModelColumnInfo.Builder

This builder for chaining.

setColumnSpecNameBytes(ByteString value)

public TablesModelColumnInfo.Builder setColumnSpecNameBytes(ByteString value)

Output only. The name of the ColumnSpec describing the column. Not populated when this proto is outputted to BigQuery.

string column_spec_name = 1;

Parameter
Name Description
value ByteString

The bytes for columnSpecName to set.

Returns
Type Description
TablesModelColumnInfo.Builder

This builder for chaining.

setFeatureImportance(float value)

public TablesModelColumnInfo.Builder setFeatureImportance(float value)

Output only. When given as part of a Model (always populated): Measurement of how much model predictions correctness on the TEST data depend on values in this column. A value between 0 and 1, higher means higher influence. These values are normalized - for all input feature columns of a given model they add to 1.

When given back by Predict (populated iff feature_importance param is set) or Batch Predict (populated iff feature_importance param is set): Measurement of how impactful for the prediction returned for the given row the value in this column was. Specifically, the feature importance specifies the marginal contribution that the feature made to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley method.

float feature_importance = 3;

Parameter
Name Description
value float

The featureImportance to set.

Returns
Type Description
TablesModelColumnInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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