Class TablesModelColumnInfo.Builder (2.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TablesModelColumnInfo build()
Returns
TypeDescription
TablesModelColumnInfo

buildPartial()

public TablesModelColumnInfo buildPartial()
Returns
TypeDescription
TablesModelColumnInfo

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for columnSpecName.

getDefaultInstanceForType()

public TablesModelColumnInfo getDefaultInstanceForType()
Returns
TypeDescription
TablesModelColumnInfo

getDescriptorForType()

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

The featureImportance.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TablesModelColumnInfo other)

public TablesModelColumnInfo.Builder mergeFrom(TablesModelColumnInfo other)
Parameter
NameDescription
otherTablesModelColumnInfo
Returns
TypeDescription
TablesModelColumnInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The columnDisplayName to set.

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

The bytes for columnDisplayName to set.

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

The columnSpecName to set.

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

The bytes for columnSpecName to set.

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

The featureImportance to set.

Returns
TypeDescription
TablesModelColumnInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TablesModelColumnInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TablesModelColumnInfo.Builder
Overrides

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

public TablesModelColumnInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TablesModelColumnInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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