Class TablesModelColumnInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TablesModelColumnInfo.Builder>
com.google.cloud.automl.v1beta1.TablesModelColumnInfo.Builder
All Implemented Interfaces:
TablesModelColumnInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TablesModelColumnInfo

public static final class TablesModelColumnInfo.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TablesModelColumnInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TablesModelColumnInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TablesModelColumnInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public TablesModelColumnInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TablesModelColumnInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TablesModelColumnInfo.Builder>
    • mergeFrom

      public TablesModelColumnInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TablesModelColumnInfo.Builder>
      Throws:
      IOException
    • 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.
    • setColumnSpecName

      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;
      Parameters:
      value - The columnSpecName to set.
      Returns:
      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:
      This builder for chaining.
    • setColumnSpecNameBytes

      public TablesModelColumnInfo.Builder setColumnSpecNameBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for columnSpecName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setColumnDisplayName

      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;
      Parameters:
      value - The columnDisplayName to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setColumnDisplayNameBytes

      public TablesModelColumnInfo.Builder setColumnDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. The display name of the column (same as the display_name of
       its ColumnSpec).
       
      string column_display_name = 2;
      Parameters:
      value - The bytes for columnDisplayName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setFeatureImportance

      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][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;
      Parameters:
      value - The featureImportance to set.
      Returns:
      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][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;
      Returns:
      This builder for chaining.