Package com.google.cloud.automl.v1beta1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorfloatOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TablesModelColumnInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setColumnDisplayName(String value) Output only.setColumnDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setColumnSpecName(String value) Output only.setColumnSpecNameBytes(com.google.protobuf.ByteString value) Output only.setFeatureImportance(float value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TablesModelColumnInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TablesModelColumnInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TablesModelColumnInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TablesModelColumnInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TablesModelColumnInfo.Builder>- Throws:
IOException
-
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:
getColumnSpecNamein interfaceTablesModelColumnInfoOrBuilder- 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:
getColumnSpecNameBytesin interfaceTablesModelColumnInfoOrBuilder- Returns:
- The bytes for columnSpecName.
-
setColumnSpecName
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
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
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
Output only. The display name of the column (same as the display_name of its ColumnSpec).
string column_display_name = 2;- Specified by:
getColumnDisplayNamein interfaceTablesModelColumnInfoOrBuilder- 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:
getColumnDisplayNameBytesin interfaceTablesModelColumnInfoOrBuilder- Returns:
- The bytes for columnDisplayName.
-
setColumnDisplayName
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
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:
getFeatureImportancein interfaceTablesModelColumnInfoOrBuilder- Returns:
- The featureImportance.
-
setFeatureImportance
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
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.
-