Class TablesModelColumnInfo (2.19.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
TypeDescription
int

COLUMN_SPEC_NAME_FIELD_NUMBER

public static final int COLUMN_SPEC_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FEATURE_IMPORTANCE_FIELD_NUMBER

public static final int FEATURE_IMPORTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TablesModelColumnInfo getDefaultInstance()
Returns
TypeDescription
TablesModelColumnInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TablesModelColumnInfo.Builder newBuilder()
Returns
TypeDescription
TablesModelColumnInfo.Builder

newBuilder(TablesModelColumnInfo prototype)

public static TablesModelColumnInfo.Builder newBuilder(TablesModelColumnInfo prototype)
Parameter
NameDescription
prototypeTablesModelColumnInfo
Returns
TypeDescription
TablesModelColumnInfo.Builder

parseDelimitedFrom(InputStream input)

public static TablesModelColumnInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TablesModelColumnInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TablesModelColumnInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TablesModelColumnInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TablesModelColumnInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TablesModelColumnInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TablesModelColumnInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TablesModelColumnInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TablesModelColumnInfo> parser()
Returns
TypeDescription
Parser<TablesModelColumnInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

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.

getParserForType()

public Parser<TablesModelColumnInfo> getParserForType()
Returns
TypeDescription
Parser<TablesModelColumnInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TablesModelColumnInfo.Builder newBuilderForType()
Returns
TypeDescription
TablesModelColumnInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TablesModelColumnInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TablesModelColumnInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TablesModelColumnInfo.Builder toBuilder()
Returns
TypeDescription
TablesModelColumnInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException