Package com.google.cloud.automl.v1beta1
Class TablesModelMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TablesModelMetadata.Builder>
com.google.cloud.automl.v1beta1.TablesModelMetadata.Builder
- All Implemented Interfaces:
TablesModelMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TablesModelMetadata
public static final class TablesModelMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TablesModelMetadata.Builder>
implements TablesModelMetadataOrBuilder
Model metadata specific to AutoML Tables.Protobuf type
google.cloud.automl.v1beta1.TablesModelMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllInputFeatureColumnSpecs(Iterable<? extends ColumnSpec> values) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.addAllTablesModelColumnInfo(Iterable<? extends TablesModelColumnInfo> values) Output only.addInputFeatureColumnSpecs(int index, ColumnSpec value) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.addInputFeatureColumnSpecs(int index, ColumnSpec.Builder builderForValue) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.addInputFeatureColumnSpecs(ColumnSpec.Builder builderForValue) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.addInputFeatureColumnSpecsBuilder(int index) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.addTablesModelColumnInfo(int index, TablesModelColumnInfo value) Output only.addTablesModelColumnInfo(int index, TablesModelColumnInfo.Builder builderForValue) Output only.Output only.addTablesModelColumnInfo(TablesModelColumnInfo.Builder builderForValue) Output only.Output only.addTablesModelColumnInfoBuilder(int index) Output only.build()clear()Use the entire training budget.Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.Objective function the model is optimizing towards.Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".Output only.Column spec of the dataset's primary table's column the model is predicting.Required.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanUse the entire training budget.getInputFeatureColumnSpecs(int index) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.getInputFeatureColumnSpecsBuilder(int index) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.intColumn specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.getInputFeatureColumnSpecsOrBuilder(int index) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.List<? extends ColumnSpecOrBuilder>Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.Objective function the model is optimizing towards.com.google.protobuf.ByteStringObjective function the model is optimizing towards.floatRequired when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".floatRequired when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".getTablesModelColumnInfo(int index) Output only.getTablesModelColumnInfoBuilder(int index) Output only.Output only.intOutput only.Output only.getTablesModelColumnInfoOrBuilder(int index) Output only.List<? extends TablesModelColumnInfoOrBuilder>Output only.Column spec of the dataset's primary table's column the model is predicting.Column spec of the dataset's primary table's column the model is predicting.Column spec of the dataset's primary table's column the model is predicting.longRequired.longOutput only.booleanRequired when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".booleanRequired when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".booleanColumn spec of the dataset's primary table's column the model is predicting.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TablesModelMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTargetColumnSpec(ColumnSpec value) Column spec of the dataset's primary table's column the model is predicting.removeInputFeatureColumnSpecs(int index) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.removeTablesModelColumnInfo(int index) Output only.setDisableEarlyStopping(boolean value) Use the entire training budget.setInputFeatureColumnSpecs(int index, ColumnSpec value) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.setInputFeatureColumnSpecs(int index, ColumnSpec.Builder builderForValue) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions.setOptimizationObjective(String value) Objective function the model is optimizing towards.setOptimizationObjectiveBytes(com.google.protobuf.ByteString value) Objective function the model is optimizing towards.setOptimizationObjectivePrecisionValue(float value) Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".setOptimizationObjectiveRecallValue(float value) Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".setTablesModelColumnInfo(int index, TablesModelColumnInfo value) Output only.setTablesModelColumnInfo(int index, TablesModelColumnInfo.Builder builderForValue) Output only.setTargetColumnSpec(ColumnSpec value) Column spec of the dataset's primary table's column the model is predicting.setTargetColumnSpec(ColumnSpec.Builder builderForValue) Column spec of the dataset's primary table's column the model is predicting.setTrainBudgetMilliNodeHours(long value) Required.setTrainCostMilliNodeHours(long 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<TablesModelMetadata.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<TablesModelMetadata.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<TablesModelMetadata.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<TablesModelMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TablesModelMetadata.Builder>
-
mergeFrom
public TablesModelMetadata.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<TablesModelMetadata.Builder>- Throws:
IOException
-
getAdditionalOptimizationObjectiveConfigCase
public TablesModelMetadata.AdditionalOptimizationObjectiveConfigCase getAdditionalOptimizationObjectiveConfigCase()- Specified by:
getAdditionalOptimizationObjectiveConfigCasein interfaceTablesModelMetadataOrBuilder
-
clearAdditionalOptimizationObjectiveConfig
-
hasOptimizationObjectiveRecallValue
public boolean hasOptimizationObjectiveRecallValue()Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". Must be between 0 and 1, inclusive.
float optimization_objective_recall_value = 17;- Specified by:
hasOptimizationObjectiveRecallValuein interfaceTablesModelMetadataOrBuilder- Returns:
- Whether the optimizationObjectiveRecallValue field is set.
-
getOptimizationObjectiveRecallValue
public float getOptimizationObjectiveRecallValue()Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". Must be between 0 and 1, inclusive.
float optimization_objective_recall_value = 17;- Specified by:
getOptimizationObjectiveRecallValuein interfaceTablesModelMetadataOrBuilder- Returns:
- The optimizationObjectiveRecallValue.
-
setOptimizationObjectiveRecallValue
Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". Must be between 0 and 1, inclusive.
float optimization_objective_recall_value = 17;- Parameters:
value- The optimizationObjectiveRecallValue to set.- Returns:
- This builder for chaining.
-
clearOptimizationObjectiveRecallValue
Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". Must be between 0 and 1, inclusive.
float optimization_objective_recall_value = 17;- Returns:
- This builder for chaining.
-
hasOptimizationObjectivePrecisionValue
public boolean hasOptimizationObjectivePrecisionValue()Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". Must be between 0 and 1, inclusive.
float optimization_objective_precision_value = 18;- Specified by:
hasOptimizationObjectivePrecisionValuein interfaceTablesModelMetadataOrBuilder- Returns:
- Whether the optimizationObjectivePrecisionValue field is set.
-
getOptimizationObjectivePrecisionValue
public float getOptimizationObjectivePrecisionValue()Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". Must be between 0 and 1, inclusive.
float optimization_objective_precision_value = 18;- Specified by:
getOptimizationObjectivePrecisionValuein interfaceTablesModelMetadataOrBuilder- Returns:
- The optimizationObjectivePrecisionValue.
-
setOptimizationObjectivePrecisionValue
Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". Must be between 0 and 1, inclusive.
float optimization_objective_precision_value = 18;- Parameters:
value- The optimizationObjectivePrecisionValue to set.- Returns:
- This builder for chaining.
-
clearOptimizationObjectivePrecisionValue
Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". Must be between 0 and 1, inclusive.
float optimization_objective_precision_value = 18;- Returns:
- This builder for chaining.
-
hasTargetColumnSpec
public boolean hasTargetColumnSpec()Column spec of the dataset's primary table's column the model is predicting. Snapshotted when model creation started. Only 3 fields are used: name - May be set on CreateModel, if it's not then the ColumnSpec corresponding to the current target_column_spec_id of the dataset the model is trained from is used. If neither is set, CreateModel will error. display_name - Output only. data_type - Output only.
.google.cloud.automl.v1beta1.ColumnSpec target_column_spec = 2;- Specified by:
hasTargetColumnSpecin interfaceTablesModelMetadataOrBuilder- Returns:
- Whether the targetColumnSpec field is set.
-
getTargetColumnSpec
Column spec of the dataset's primary table's column the model is predicting. Snapshotted when model creation started. Only 3 fields are used: name - May be set on CreateModel, if it's not then the ColumnSpec corresponding to the current target_column_spec_id of the dataset the model is trained from is used. If neither is set, CreateModel will error. display_name - Output only. data_type - Output only.
.google.cloud.automl.v1beta1.ColumnSpec target_column_spec = 2;- Specified by:
getTargetColumnSpecin interfaceTablesModelMetadataOrBuilder- Returns:
- The targetColumnSpec.
-
setTargetColumnSpec
Column spec of the dataset's primary table's column the model is predicting. Snapshotted when model creation started. Only 3 fields are used: name - May be set on CreateModel, if it's not then the ColumnSpec corresponding to the current target_column_spec_id of the dataset the model is trained from is used. If neither is set, CreateModel will error. display_name - Output only. data_type - Output only.
.google.cloud.automl.v1beta1.ColumnSpec target_column_spec = 2; -
setTargetColumnSpec
Column spec of the dataset's primary table's column the model is predicting. Snapshotted when model creation started. Only 3 fields are used: name - May be set on CreateModel, if it's not then the ColumnSpec corresponding to the current target_column_spec_id of the dataset the model is trained from is used. If neither is set, CreateModel will error. display_name - Output only. data_type - Output only.
.google.cloud.automl.v1beta1.ColumnSpec target_column_spec = 2; -
mergeTargetColumnSpec
Column spec of the dataset's primary table's column the model is predicting. Snapshotted when model creation started. Only 3 fields are used: name - May be set on CreateModel, if it's not then the ColumnSpec corresponding to the current target_column_spec_id of the dataset the model is trained from is used. If neither is set, CreateModel will error. display_name - Output only. data_type - Output only.
.google.cloud.automl.v1beta1.ColumnSpec target_column_spec = 2; -
clearTargetColumnSpec
Column spec of the dataset's primary table's column the model is predicting. Snapshotted when model creation started. Only 3 fields are used: name - May be set on CreateModel, if it's not then the ColumnSpec corresponding to the current target_column_spec_id of the dataset the model is trained from is used. If neither is set, CreateModel will error. display_name - Output only. data_type - Output only.
.google.cloud.automl.v1beta1.ColumnSpec target_column_spec = 2; -
getTargetColumnSpecBuilder
Column spec of the dataset's primary table's column the model is predicting. Snapshotted when model creation started. Only 3 fields are used: name - May be set on CreateModel, if it's not then the ColumnSpec corresponding to the current target_column_spec_id of the dataset the model is trained from is used. If neither is set, CreateModel will error. display_name - Output only. data_type - Output only.
.google.cloud.automl.v1beta1.ColumnSpec target_column_spec = 2; -
getTargetColumnSpecOrBuilder
Column spec of the dataset's primary table's column the model is predicting. Snapshotted when model creation started. Only 3 fields are used: name - May be set on CreateModel, if it's not then the ColumnSpec corresponding to the current target_column_spec_id of the dataset the model is trained from is used. If neither is set, CreateModel will error. display_name - Output only. data_type - Output only.
.google.cloud.automl.v1beta1.ColumnSpec target_column_spec = 2;- Specified by:
getTargetColumnSpecOrBuilderin interfaceTablesModelMetadataOrBuilder
-
getInputFeatureColumnSpecsList
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;- Specified by:
getInputFeatureColumnSpecsListin interfaceTablesModelMetadataOrBuilder
-
getInputFeatureColumnSpecsCount
public int getInputFeatureColumnSpecsCount()Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;- Specified by:
getInputFeatureColumnSpecsCountin interfaceTablesModelMetadataOrBuilder
-
getInputFeatureColumnSpecs
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;- Specified by:
getInputFeatureColumnSpecsin interfaceTablesModelMetadataOrBuilder
-
setInputFeatureColumnSpecs
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
setInputFeatureColumnSpecs
public TablesModelMetadata.Builder setInputFeatureColumnSpecs(int index, ColumnSpec.Builder builderForValue) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
addInputFeatureColumnSpecs
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
addInputFeatureColumnSpecs
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
addInputFeatureColumnSpecs
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
addInputFeatureColumnSpecs
public TablesModelMetadata.Builder addInputFeatureColumnSpecs(int index, ColumnSpec.Builder builderForValue) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
addAllInputFeatureColumnSpecs
public TablesModelMetadata.Builder addAllInputFeatureColumnSpecs(Iterable<? extends ColumnSpec> values) Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
clearInputFeatureColumnSpecs
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
removeInputFeatureColumnSpecs
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
getInputFeatureColumnSpecsBuilder
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
getInputFeatureColumnSpecsOrBuilder
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;- Specified by:
getInputFeatureColumnSpecsOrBuilderin interfaceTablesModelMetadataOrBuilder
-
getInputFeatureColumnSpecsOrBuilderList
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;- Specified by:
getInputFeatureColumnSpecsOrBuilderListin interfaceTablesModelMetadataOrBuilder
-
addInputFeatureColumnSpecsBuilder
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
addInputFeatureColumnSpecsBuilder
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
getInputFeatureColumnSpecsBuilderList
Column specs of the dataset's primary table's columns, on which the model is trained and which are used as the input for predictions. The [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] as well as, according to dataset's state upon model creation, [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], and [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] must never be included here. Only 3 fields are used: * name - May be set on CreateModel, if set only the columns specified are used, otherwise all primary table's columns (except the ones listed above) are used for the training and prediction input. * display_name - Output only. * data_type - Output only.
repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3; -
getOptimizationObjective
Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. CLASSIFICATION_BINARY: "MAXIMIZE_AU_ROC" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "MINIMIZE_LOG_LOSS" - Minimize log loss. "MAXIMIZE_AU_PRC" - Maximize the area under the precision-recall curve. "MAXIMIZE_PRECISION_AT_RECALL" - Maximize precision for a specified recall value. "MAXIMIZE_RECALL_AT_PRECISION" - Maximize recall for a specified precision value. CLASSIFICATION_MULTI_CLASS : "MINIMIZE_LOG_LOSS" (default) - Minimize log loss. REGRESSION: "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE). "MINIMIZE_MAE" - Minimize mean-absolute error (MAE). "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Specified by:
getOptimizationObjectivein interfaceTablesModelMetadataOrBuilder- Returns:
- The optimizationObjective.
-
getOptimizationObjectiveBytes
public com.google.protobuf.ByteString getOptimizationObjectiveBytes()Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. CLASSIFICATION_BINARY: "MAXIMIZE_AU_ROC" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "MINIMIZE_LOG_LOSS" - Minimize log loss. "MAXIMIZE_AU_PRC" - Maximize the area under the precision-recall curve. "MAXIMIZE_PRECISION_AT_RECALL" - Maximize precision for a specified recall value. "MAXIMIZE_RECALL_AT_PRECISION" - Maximize recall for a specified precision value. CLASSIFICATION_MULTI_CLASS : "MINIMIZE_LOG_LOSS" (default) - Minimize log loss. REGRESSION: "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE). "MINIMIZE_MAE" - Minimize mean-absolute error (MAE). "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Specified by:
getOptimizationObjectiveBytesin interfaceTablesModelMetadataOrBuilder- Returns:
- The bytes for optimizationObjective.
-
setOptimizationObjective
Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. CLASSIFICATION_BINARY: "MAXIMIZE_AU_ROC" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "MINIMIZE_LOG_LOSS" - Minimize log loss. "MAXIMIZE_AU_PRC" - Maximize the area under the precision-recall curve. "MAXIMIZE_PRECISION_AT_RECALL" - Maximize precision for a specified recall value. "MAXIMIZE_RECALL_AT_PRECISION" - Maximize recall for a specified precision value. CLASSIFICATION_MULTI_CLASS : "MINIMIZE_LOG_LOSS" (default) - Minimize log loss. REGRESSION: "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE). "MINIMIZE_MAE" - Minimize mean-absolute error (MAE). "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Parameters:
value- The optimizationObjective to set.- Returns:
- This builder for chaining.
-
clearOptimizationObjective
Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. CLASSIFICATION_BINARY: "MAXIMIZE_AU_ROC" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "MINIMIZE_LOG_LOSS" - Minimize log loss. "MAXIMIZE_AU_PRC" - Maximize the area under the precision-recall curve. "MAXIMIZE_PRECISION_AT_RECALL" - Maximize precision for a specified recall value. "MAXIMIZE_RECALL_AT_PRECISION" - Maximize recall for a specified precision value. CLASSIFICATION_MULTI_CLASS : "MINIMIZE_LOG_LOSS" (default) - Minimize log loss. REGRESSION: "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE). "MINIMIZE_MAE" - Minimize mean-absolute error (MAE). "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Returns:
- This builder for chaining.
-
setOptimizationObjectiveBytes
public TablesModelMetadata.Builder setOptimizationObjectiveBytes(com.google.protobuf.ByteString value) Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. CLASSIFICATION_BINARY: "MAXIMIZE_AU_ROC" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "MINIMIZE_LOG_LOSS" - Minimize log loss. "MAXIMIZE_AU_PRC" - Maximize the area under the precision-recall curve. "MAXIMIZE_PRECISION_AT_RECALL" - Maximize precision for a specified recall value. "MAXIMIZE_RECALL_AT_PRECISION" - Maximize recall for a specified precision value. CLASSIFICATION_MULTI_CLASS : "MINIMIZE_LOG_LOSS" (default) - Minimize log loss. REGRESSION: "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE). "MINIMIZE_MAE" - Minimize mean-absolute error (MAE). "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Parameters:
value- The bytes for optimizationObjective to set.- Returns:
- This builder for chaining.
-
getTablesModelColumnInfoList
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5;- Specified by:
getTablesModelColumnInfoListin interfaceTablesModelMetadataOrBuilder
-
getTablesModelColumnInfoCount
public int getTablesModelColumnInfoCount()Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5;- Specified by:
getTablesModelColumnInfoCountin interfaceTablesModelMetadataOrBuilder
-
getTablesModelColumnInfo
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5;- Specified by:
getTablesModelColumnInfoin interfaceTablesModelMetadataOrBuilder
-
setTablesModelColumnInfo
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
setTablesModelColumnInfo
public TablesModelMetadata.Builder setTablesModelColumnInfo(int index, TablesModelColumnInfo.Builder builderForValue) Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
addTablesModelColumnInfo
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
addTablesModelColumnInfo
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
addTablesModelColumnInfo
public TablesModelMetadata.Builder addTablesModelColumnInfo(TablesModelColumnInfo.Builder builderForValue) Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
addTablesModelColumnInfo
public TablesModelMetadata.Builder addTablesModelColumnInfo(int index, TablesModelColumnInfo.Builder builderForValue) Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
addAllTablesModelColumnInfo
public TablesModelMetadata.Builder addAllTablesModelColumnInfo(Iterable<? extends TablesModelColumnInfo> values) Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
clearTablesModelColumnInfo
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
removeTablesModelColumnInfo
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
getTablesModelColumnInfoBuilder
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
getTablesModelColumnInfoOrBuilder
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5;- Specified by:
getTablesModelColumnInfoOrBuilderin interfaceTablesModelMetadataOrBuilder
-
getTablesModelColumnInfoOrBuilderList
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5;- Specified by:
getTablesModelColumnInfoOrBuilderListin interfaceTablesModelMetadataOrBuilder
-
addTablesModelColumnInfoBuilder
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
addTablesModelColumnInfoBuilder
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
getTablesModelColumnInfoBuilderList
Output only. Auxiliary information for each of the input_feature_column_specs with respect to this particular model.
repeated .google.cloud.automl.v1beta1.TablesModelColumnInfo tables_model_column_info = 5; -
getTrainBudgetMilliNodeHours
public long getTrainBudgetMilliNodeHours()Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.
int64 train_budget_milli_node_hours = 6;- Specified by:
getTrainBudgetMilliNodeHoursin interfaceTablesModelMetadataOrBuilder- Returns:
- The trainBudgetMilliNodeHours.
-
setTrainBudgetMilliNodeHours
Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.
int64 train_budget_milli_node_hours = 6;- Parameters:
value- The trainBudgetMilliNodeHours to set.- Returns:
- This builder for chaining.
-
clearTrainBudgetMilliNodeHours
Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.
int64 train_budget_milli_node_hours = 6;- Returns:
- This builder for chaining.
-
getTrainCostMilliNodeHours
public long getTrainCostMilliNodeHours()Output only. The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.
int64 train_cost_milli_node_hours = 7;- Specified by:
getTrainCostMilliNodeHoursin interfaceTablesModelMetadataOrBuilder- Returns:
- The trainCostMilliNodeHours.
-
setTrainCostMilliNodeHours
Output only. The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.
int64 train_cost_milli_node_hours = 7;- Parameters:
value- The trainCostMilliNodeHours to set.- Returns:
- This builder for chaining.
-
clearTrainCostMilliNodeHours
Output only. The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.
int64 train_cost_milli_node_hours = 7;- Returns:
- This builder for chaining.
-
getDisableEarlyStopping
public boolean getDisableEarlyStopping()Use the entire training budget. This disables the early stopping feature. By default, the early stopping feature is enabled, which means that AutoML Tables might stop training before the entire training budget has been used.
bool disable_early_stopping = 12;- Specified by:
getDisableEarlyStoppingin interfaceTablesModelMetadataOrBuilder- Returns:
- The disableEarlyStopping.
-
setDisableEarlyStopping
Use the entire training budget. This disables the early stopping feature. By default, the early stopping feature is enabled, which means that AutoML Tables might stop training before the entire training budget has been used.
bool disable_early_stopping = 12;- Parameters:
value- The disableEarlyStopping to set.- Returns:
- This builder for chaining.
-
clearDisableEarlyStopping
Use the entire training budget. This disables the early stopping feature. By default, the early stopping feature is enabled, which means that AutoML Tables might stop training before the entire training budget has been used.
bool disable_early_stopping = 12;- Returns:
- This builder for chaining.
-