Class TablesModelColumnInfo

  • All Implemented Interfaces:
    TablesModelColumnInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class TablesModelColumnInfo
    extends com.google.protobuf.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
    See Also:
    Serialized Form
    • Field Detail

      • COLUMN_SPEC_NAME_FIELD_NUMBER

        public static final int COLUMN_SPEC_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COLUMN_DISPLAY_NAME_FIELD_NUMBER

        public static final int COLUMN_DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FEATURE_IMPORTANCE_FIELD_NUMBER

        public static final int FEATURE_IMPORTANCE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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;
        Specified by:
        getColumnSpecName in interface TablesModelColumnInfoOrBuilder
        Returns:
        The columnSpecName.
      • getColumnSpecNameBytes

        public com.google.protobuf.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;
        Specified by:
        getColumnSpecNameBytes in interface TablesModelColumnInfoOrBuilder
        Returns:
        The bytes for columnSpecName.
      • 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;
        Specified by:
        getColumnDisplayName in interface TablesModelColumnInfoOrBuilder
        Returns:
        The columnDisplayName.
      • getColumnDisplayNameBytes

        public com.google.protobuf.ByteString getColumnDisplayNameBytes()
         Output only. The display name of the column (same as the display_name of
         its ColumnSpec).
         
        string column_display_name = 2;
        Specified by:
        getColumnDisplayNameBytes in interface TablesModelColumnInfoOrBuilder
        Returns:
        The bytes for columnDisplayName.
      • 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][google.cloud.automl.v1beta1.PredictRequest.params] is set) or Batch
         Predict (populated iff
         [feature_importance][google.cloud.automl.v1beta1.PredictRequest.params]
         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;
        Specified by:
        getFeatureImportance in interface TablesModelColumnInfoOrBuilder
        Returns:
        The featureImportance.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static TablesModelColumnInfo parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TablesModelColumnInfo parseFrom​(ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TablesModelColumnInfo parseFrom​(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TablesModelColumnInfo parseFrom​(com.google.protobuf.ByteString data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TablesModelColumnInfo parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TablesModelColumnInfo parseFrom​(byte[] data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public TablesModelColumnInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public TablesModelColumnInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected TablesModelColumnInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<TablesModelColumnInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public TablesModelColumnInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder