Class TablesModelColumnInfo (2.47.0)

public final class TablesModelColumnInfo extends GeneratedMessageV3 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 Fields

COLUMN_DISPLAY_NAME_FIELD_NUMBER

public static final int COLUMN_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

COLUMN_SPEC_NAME_FIELD_NUMBER

public static final int COLUMN_SPEC_NAME_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_IMPORTANCE_FIELD_NUMBER

public static final int FEATURE_IMPORTANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TablesModelColumnInfo getDefaultInstance()
Returns
Type Description
TablesModelColumnInfo

getDescriptor()

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

newBuilder()

public static TablesModelColumnInfo.Builder newBuilder()
Returns
Type Description
TablesModelColumnInfo.Builder

newBuilder(TablesModelColumnInfo prototype)

public static TablesModelColumnInfo.Builder newBuilder(TablesModelColumnInfo prototype)
Parameter
Name Description
prototype TablesModelColumnInfo
Returns
Type Description
TablesModelColumnInfo.Builder

parseDelimitedFrom(InputStream input)

public static TablesModelColumnInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TablesModelColumnInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TablesModelColumnInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TablesModelColumnInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TablesModelColumnInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TablesModelColumnInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TablesModelColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TablesModelColumnInfo> parser()
Returns
Type Description
Parser<TablesModelColumnInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<TablesModelColumnInfo> getParserForType()
Returns
Type Description
Parser<TablesModelColumnInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TablesModelColumnInfo.Builder newBuilderForType()
Returns
Type Description
TablesModelColumnInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TablesModelColumnInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TablesModelColumnInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TablesModelColumnInfo.Builder toBuilder()
Returns
Type Description
TablesModelColumnInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException