Package com.google.cloud.automl.v1beta1
Class TablesDatasetMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
- com.google.cloud.automl.v1beta1.TablesDatasetMetadata.Builder
-
- All Implemented Interfaces:
TablesDatasetMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TablesDatasetMetadata
public static final class TablesDatasetMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder> implements TablesDatasetMetadataOrBuilder
Metadata for a dataset used for AutoML Tables.
Protobuf typegoogle.cloud.automl.v1beta1.TablesDatasetMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TablesDatasetMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TablesDatasetMetadatabuild()TablesDatasetMetadatabuildPartial()TablesDatasetMetadata.Builderclear()TablesDatasetMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TablesDatasetMetadata.BuilderclearMlUseColumnSpecId()column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.TablesDatasetMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TablesDatasetMetadata.BuilderclearPrimaryTableSpecId()Output only.TablesDatasetMetadata.BuilderclearStatsUpdateTime()Output only.TablesDatasetMetadata.BuilderclearTargetColumnCorrelations()TablesDatasetMetadata.BuilderclearTargetColumnSpecId()column_spec_id of the primary table's column that should be used as the training & prediction target.TablesDatasetMetadata.BuilderclearWeightColumnSpecId()column_spec_id of the primary table's column that should be used as the weight column, i.e.TablesDatasetMetadata.Builderclone()booleancontainsTargetColumnCorrelations(String key)Output only.TablesDatasetMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMlUseColumnSpecId()column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.com.google.protobuf.ByteStringgetMlUseColumnSpecIdBytes()column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.Map<String,CorrelationStats>getMutableTargetColumnCorrelations()Deprecated.StringgetPrimaryTableSpecId()Output only.com.google.protobuf.ByteStringgetPrimaryTableSpecIdBytes()Output only.com.google.protobuf.TimestampgetStatsUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetStatsUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStatsUpdateTimeOrBuilder()Output only.Map<String,CorrelationStats>getTargetColumnCorrelations()Deprecated.intgetTargetColumnCorrelationsCount()Output only.Map<String,CorrelationStats>getTargetColumnCorrelationsMap()Output only.CorrelationStatsgetTargetColumnCorrelationsOrDefault(String key, CorrelationStats defaultValue)Output only.CorrelationStatsgetTargetColumnCorrelationsOrThrow(String key)Output only.StringgetTargetColumnSpecId()column_spec_id of the primary table's column that should be used as the training & prediction target.com.google.protobuf.ByteStringgetTargetColumnSpecIdBytes()column_spec_id of the primary table's column that should be used as the training & prediction target.StringgetWeightColumnSpecId()column_spec_id of the primary table's column that should be used as the weight column, i.e.com.google.protobuf.ByteStringgetWeightColumnSpecIdBytes()column_spec_id of the primary table's column that should be used as the weight column, i.e.booleanhasStatsUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()TablesDatasetMetadata.BuildermergeFrom(TablesDatasetMetadata other)TablesDatasetMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TablesDatasetMetadata.BuildermergeFrom(com.google.protobuf.Message other)TablesDatasetMetadata.BuildermergeStatsUpdateTime(com.google.protobuf.Timestamp value)Output only.TablesDatasetMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TablesDatasetMetadata.BuilderputAllTargetColumnCorrelations(Map<String,CorrelationStats> values)Output only.TablesDatasetMetadata.BuilderputTargetColumnCorrelations(String key, CorrelationStats value)Output only.TablesDatasetMetadata.BuilderremoveTargetColumnCorrelations(String key)Output only.TablesDatasetMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TablesDatasetMetadata.BuildersetMlUseColumnSpecId(String value)column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.TablesDatasetMetadata.BuildersetMlUseColumnSpecIdBytes(com.google.protobuf.ByteString value)column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.TablesDatasetMetadata.BuildersetPrimaryTableSpecId(String value)Output only.TablesDatasetMetadata.BuildersetPrimaryTableSpecIdBytes(com.google.protobuf.ByteString value)Output only.TablesDatasetMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TablesDatasetMetadata.BuildersetStatsUpdateTime(com.google.protobuf.Timestamp value)Output only.TablesDatasetMetadata.BuildersetStatsUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.TablesDatasetMetadata.BuildersetTargetColumnSpecId(String value)column_spec_id of the primary table's column that should be used as the training & prediction target.TablesDatasetMetadata.BuildersetTargetColumnSpecIdBytes(com.google.protobuf.ByteString value)column_spec_id of the primary table's column that should be used as the training & prediction target.TablesDatasetMetadata.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TablesDatasetMetadata.BuildersetWeightColumnSpecId(String value)column_spec_id of the primary table's column that should be used as the weight column, i.e.TablesDatasetMetadata.BuildersetWeightColumnSpecIdBytes(com.google.protobuf.ByteString value)column_spec_id of the primary table's column that should be used as the weight column, i.e.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
clear
public TablesDatasetMetadata.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.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.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
getDefaultInstanceForType
public TablesDatasetMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TablesDatasetMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TablesDatasetMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TablesDatasetMetadata.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
setField
public TablesDatasetMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
clearField
public TablesDatasetMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
clearOneof
public TablesDatasetMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
setRepeatedField
public TablesDatasetMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
addRepeatedField
public TablesDatasetMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
mergeFrom
public TablesDatasetMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TablesDatasetMetadata.Builder>
-
mergeFrom
public TablesDatasetMetadata.Builder mergeFrom(TablesDatasetMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
mergeFrom
public TablesDatasetMetadata.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<TablesDatasetMetadata.Builder>- Throws:
IOException
-
getPrimaryTableSpecId
public String getPrimaryTableSpecId()
Output only. The table_spec_id of the primary table of this dataset.
string primary_table_spec_id = 1;- Specified by:
getPrimaryTableSpecIdin interfaceTablesDatasetMetadataOrBuilder- Returns:
- The primaryTableSpecId.
-
getPrimaryTableSpecIdBytes
public com.google.protobuf.ByteString getPrimaryTableSpecIdBytes()
Output only. The table_spec_id of the primary table of this dataset.
string primary_table_spec_id = 1;- Specified by:
getPrimaryTableSpecIdBytesin interfaceTablesDatasetMetadataOrBuilder- Returns:
- The bytes for primaryTableSpecId.
-
setPrimaryTableSpecId
public TablesDatasetMetadata.Builder setPrimaryTableSpecId(String value)
Output only. The table_spec_id of the primary table of this dataset.
string primary_table_spec_id = 1;- Parameters:
value- The primaryTableSpecId to set.- Returns:
- This builder for chaining.
-
clearPrimaryTableSpecId
public TablesDatasetMetadata.Builder clearPrimaryTableSpecId()
Output only. The table_spec_id of the primary table of this dataset.
string primary_table_spec_id = 1;- Returns:
- This builder for chaining.
-
setPrimaryTableSpecIdBytes
public TablesDatasetMetadata.Builder setPrimaryTableSpecIdBytes(com.google.protobuf.ByteString value)
Output only. The table_spec_id of the primary table of this dataset.
string primary_table_spec_id = 1;- Parameters:
value- The bytes for primaryTableSpecId to set.- Returns:
- This builder for chaining.
-
getTargetColumnSpecId
public String getTargetColumnSpecId()
column_spec_id of the primary table's column that should be used as the training & prediction target. This column must be non-nullable and have one of following data types (otherwise model creation will error): * CATEGORY * FLOAT64 If the type is CATEGORY , only up to 100 unique values may exist in that column across all rows. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string target_column_spec_id = 2;- Specified by:
getTargetColumnSpecIdin interfaceTablesDatasetMetadataOrBuilder- Returns:
- The targetColumnSpecId.
-
getTargetColumnSpecIdBytes
public com.google.protobuf.ByteString getTargetColumnSpecIdBytes()
column_spec_id of the primary table's column that should be used as the training & prediction target. This column must be non-nullable and have one of following data types (otherwise model creation will error): * CATEGORY * FLOAT64 If the type is CATEGORY , only up to 100 unique values may exist in that column across all rows. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string target_column_spec_id = 2;- Specified by:
getTargetColumnSpecIdBytesin interfaceTablesDatasetMetadataOrBuilder- Returns:
- The bytes for targetColumnSpecId.
-
setTargetColumnSpecId
public TablesDatasetMetadata.Builder setTargetColumnSpecId(String value)
column_spec_id of the primary table's column that should be used as the training & prediction target. This column must be non-nullable and have one of following data types (otherwise model creation will error): * CATEGORY * FLOAT64 If the type is CATEGORY , only up to 100 unique values may exist in that column across all rows. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string target_column_spec_id = 2;- Parameters:
value- The targetColumnSpecId to set.- Returns:
- This builder for chaining.
-
clearTargetColumnSpecId
public TablesDatasetMetadata.Builder clearTargetColumnSpecId()
column_spec_id of the primary table's column that should be used as the training & prediction target. This column must be non-nullable and have one of following data types (otherwise model creation will error): * CATEGORY * FLOAT64 If the type is CATEGORY , only up to 100 unique values may exist in that column across all rows. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string target_column_spec_id = 2;- Returns:
- This builder for chaining.
-
setTargetColumnSpecIdBytes
public TablesDatasetMetadata.Builder setTargetColumnSpecIdBytes(com.google.protobuf.ByteString value)
column_spec_id of the primary table's column that should be used as the training & prediction target. This column must be non-nullable and have one of following data types (otherwise model creation will error): * CATEGORY * FLOAT64 If the type is CATEGORY , only up to 100 unique values may exist in that column across all rows. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string target_column_spec_id = 2;- Parameters:
value- The bytes for targetColumnSpecId to set.- Returns:
- This builder for chaining.
-
getWeightColumnSpecId
public String getWeightColumnSpecId()
column_spec_id of the primary table's column that should be used as the weight column, i.e. the higher the value the more important the row will be during model training. Required type: FLOAT64. Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is ignored for training. If not set all rows are assumed to have equal weight of 1. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.string weight_column_spec_id = 3;- Specified by:
getWeightColumnSpecIdin interfaceTablesDatasetMetadataOrBuilder- Returns:
- The weightColumnSpecId.
-
getWeightColumnSpecIdBytes
public com.google.protobuf.ByteString getWeightColumnSpecIdBytes()
column_spec_id of the primary table's column that should be used as the weight column, i.e. the higher the value the more important the row will be during model training. Required type: FLOAT64. Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is ignored for training. If not set all rows are assumed to have equal weight of 1. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.string weight_column_spec_id = 3;- Specified by:
getWeightColumnSpecIdBytesin interfaceTablesDatasetMetadataOrBuilder- Returns:
- The bytes for weightColumnSpecId.
-
setWeightColumnSpecId
public TablesDatasetMetadata.Builder setWeightColumnSpecId(String value)
column_spec_id of the primary table's column that should be used as the weight column, i.e. the higher the value the more important the row will be during model training. Required type: FLOAT64. Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is ignored for training. If not set all rows are assumed to have equal weight of 1. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.string weight_column_spec_id = 3;- Parameters:
value- The weightColumnSpecId to set.- Returns:
- This builder for chaining.
-
clearWeightColumnSpecId
public TablesDatasetMetadata.Builder clearWeightColumnSpecId()
column_spec_id of the primary table's column that should be used as the weight column, i.e. the higher the value the more important the row will be during model training. Required type: FLOAT64. Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is ignored for training. If not set all rows are assumed to have equal weight of 1. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.string weight_column_spec_id = 3;- Returns:
- This builder for chaining.
-
setWeightColumnSpecIdBytes
public TablesDatasetMetadata.Builder setWeightColumnSpecIdBytes(com.google.protobuf.ByteString value)
column_spec_id of the primary table's column that should be used as the weight column, i.e. the higher the value the more important the row will be during model training. Required type: FLOAT64. Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is ignored for training. If not set all rows are assumed to have equal weight of 1. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.string weight_column_spec_id = 3;- Parameters:
value- The bytes for weightColumnSpecId to set.- Returns:
- This builder for chaining.
-
getMlUseColumnSpecId
public String getMlUseColumnSpecId()
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e. the column will be used to split the rows into TRAIN, VALIDATE and TEST sets. Required type: STRING. This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` among its values, or only have `TEST`, `UNASSIGNED` values. In the latter case the rows with `UNASSIGNED` value will be assigned by AutoML. Note that if a given ml use distribution makes it impossible to create a "good" model, that call will error describing the issue. If both this column_spec_id and primary table's time_column_spec_id are not set, then all rows are treated as `UNASSIGNED`. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string ml_use_column_spec_id = 4;- Specified by:
getMlUseColumnSpecIdin interfaceTablesDatasetMetadataOrBuilder- Returns:
- The mlUseColumnSpecId.
-
getMlUseColumnSpecIdBytes
public com.google.protobuf.ByteString getMlUseColumnSpecIdBytes()
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e. the column will be used to split the rows into TRAIN, VALIDATE and TEST sets. Required type: STRING. This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` among its values, or only have `TEST`, `UNASSIGNED` values. In the latter case the rows with `UNASSIGNED` value will be assigned by AutoML. Note that if a given ml use distribution makes it impossible to create a "good" model, that call will error describing the issue. If both this column_spec_id and primary table's time_column_spec_id are not set, then all rows are treated as `UNASSIGNED`. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string ml_use_column_spec_id = 4;- Specified by:
getMlUseColumnSpecIdBytesin interfaceTablesDatasetMetadataOrBuilder- Returns:
- The bytes for mlUseColumnSpecId.
-
setMlUseColumnSpecId
public TablesDatasetMetadata.Builder setMlUseColumnSpecId(String value)
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e. the column will be used to split the rows into TRAIN, VALIDATE and TEST sets. Required type: STRING. This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` among its values, or only have `TEST`, `UNASSIGNED` values. In the latter case the rows with `UNASSIGNED` value will be assigned by AutoML. Note that if a given ml use distribution makes it impossible to create a "good" model, that call will error describing the issue. If both this column_spec_id and primary table's time_column_spec_id are not set, then all rows are treated as `UNASSIGNED`. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string ml_use_column_spec_id = 4;- Parameters:
value- The mlUseColumnSpecId to set.- Returns:
- This builder for chaining.
-
clearMlUseColumnSpecId
public TablesDatasetMetadata.Builder clearMlUseColumnSpecId()
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e. the column will be used to split the rows into TRAIN, VALIDATE and TEST sets. Required type: STRING. This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` among its values, or only have `TEST`, `UNASSIGNED` values. In the latter case the rows with `UNASSIGNED` value will be assigned by AutoML. Note that if a given ml use distribution makes it impossible to create a "good" model, that call will error describing the issue. If both this column_spec_id and primary table's time_column_spec_id are not set, then all rows are treated as `UNASSIGNED`. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string ml_use_column_spec_id = 4;- Returns:
- This builder for chaining.
-
setMlUseColumnSpecIdBytes
public TablesDatasetMetadata.Builder setMlUseColumnSpecIdBytes(com.google.protobuf.ByteString value)
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e. the column will be used to split the rows into TRAIN, VALIDATE and TEST sets. Required type: STRING. This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` among its values, or only have `TEST`, `UNASSIGNED` values. In the latter case the rows with `UNASSIGNED` value will be assigned by AutoML. Note that if a given ml use distribution makes it impossible to create a "good" model, that call will error describing the issue. If both this column_spec_id and primary table's time_column_spec_id are not set, then all rows are treated as `UNASSIGNED`. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string ml_use_column_spec_id = 4;- Parameters:
value- The bytes for mlUseColumnSpecId to set.- Returns:
- This builder for chaining.
-
getTargetColumnCorrelationsCount
public int getTargetColumnCorrelationsCount()
Description copied from interface:TablesDatasetMetadataOrBuilderOutput only. Correlations between [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], and other columns of the [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. Only set if the target column is set. Mapping from other column spec id to its CorrelationStats with the target column. This field may be stale, see the stats_update_time field for for the timestamp at which these stats were last updated.
map<string, .google.cloud.automl.v1beta1.CorrelationStats> target_column_correlations = 6;- Specified by:
getTargetColumnCorrelationsCountin interfaceTablesDatasetMetadataOrBuilder
-
containsTargetColumnCorrelations
public boolean containsTargetColumnCorrelations(String key)
Output only. Correlations between [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], and other columns of the [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. Only set if the target column is set. Mapping from other column spec id to its CorrelationStats with the target column. This field may be stale, see the stats_update_time field for for the timestamp at which these stats were last updated.
map<string, .google.cloud.automl.v1beta1.CorrelationStats> target_column_correlations = 6;- Specified by:
containsTargetColumnCorrelationsin interfaceTablesDatasetMetadataOrBuilder
-
getTargetColumnCorrelations
@Deprecated public Map<String,CorrelationStats> getTargetColumnCorrelations()
Deprecated.UsegetTargetColumnCorrelationsMap()instead.- Specified by:
getTargetColumnCorrelationsin interfaceTablesDatasetMetadataOrBuilder
-
getTargetColumnCorrelationsMap
public Map<String,CorrelationStats> getTargetColumnCorrelationsMap()
Output only. Correlations between [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], and other columns of the [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. Only set if the target column is set. Mapping from other column spec id to its CorrelationStats with the target column. This field may be stale, see the stats_update_time field for for the timestamp at which these stats were last updated.
map<string, .google.cloud.automl.v1beta1.CorrelationStats> target_column_correlations = 6;- Specified by:
getTargetColumnCorrelationsMapin interfaceTablesDatasetMetadataOrBuilder
-
getTargetColumnCorrelationsOrDefault
public CorrelationStats getTargetColumnCorrelationsOrDefault(String key, CorrelationStats defaultValue)
Output only. Correlations between [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], and other columns of the [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. Only set if the target column is set. Mapping from other column spec id to its CorrelationStats with the target column. This field may be stale, see the stats_update_time field for for the timestamp at which these stats were last updated.
map<string, .google.cloud.automl.v1beta1.CorrelationStats> target_column_correlations = 6;- Specified by:
getTargetColumnCorrelationsOrDefaultin interfaceTablesDatasetMetadataOrBuilder
-
getTargetColumnCorrelationsOrThrow
public CorrelationStats getTargetColumnCorrelationsOrThrow(String key)
Output only. Correlations between [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], and other columns of the [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. Only set if the target column is set. Mapping from other column spec id to its CorrelationStats with the target column. This field may be stale, see the stats_update_time field for for the timestamp at which these stats were last updated.
map<string, .google.cloud.automl.v1beta1.CorrelationStats> target_column_correlations = 6;- Specified by:
getTargetColumnCorrelationsOrThrowin interfaceTablesDatasetMetadataOrBuilder
-
clearTargetColumnCorrelations
public TablesDatasetMetadata.Builder clearTargetColumnCorrelations()
-
removeTargetColumnCorrelations
public TablesDatasetMetadata.Builder removeTargetColumnCorrelations(String key)
Output only. Correlations between [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], and other columns of the [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. Only set if the target column is set. Mapping from other column spec id to its CorrelationStats with the target column. This field may be stale, see the stats_update_time field for for the timestamp at which these stats were last updated.
map<string, .google.cloud.automl.v1beta1.CorrelationStats> target_column_correlations = 6;
-
getMutableTargetColumnCorrelations
@Deprecated public Map<String,CorrelationStats> getMutableTargetColumnCorrelations()
Deprecated.Use alternate mutation accessors instead.
-
putTargetColumnCorrelations
public TablesDatasetMetadata.Builder putTargetColumnCorrelations(String key, CorrelationStats value)
Output only. Correlations between [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], and other columns of the [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. Only set if the target column is set. Mapping from other column spec id to its CorrelationStats with the target column. This field may be stale, see the stats_update_time field for for the timestamp at which these stats were last updated.
map<string, .google.cloud.automl.v1beta1.CorrelationStats> target_column_correlations = 6;
-
putAllTargetColumnCorrelations
public TablesDatasetMetadata.Builder putAllTargetColumnCorrelations(Map<String,CorrelationStats> values)
Output only. Correlations between [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], and other columns of the [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. Only set if the target column is set. Mapping from other column spec id to its CorrelationStats with the target column. This field may be stale, see the stats_update_time field for for the timestamp at which these stats were last updated.
map<string, .google.cloud.automl.v1beta1.CorrelationStats> target_column_correlations = 6;
-
hasStatsUpdateTime
public boolean hasStatsUpdateTime()
Output only. The most recent timestamp when target_column_correlations field and all descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns fields were last (re-)generated. Any changes that happened to the dataset afterwards are not reflected in these fields values. The regeneration happens in the background on a best effort basis.
.google.protobuf.Timestamp stats_update_time = 7;- Specified by:
hasStatsUpdateTimein interfaceTablesDatasetMetadataOrBuilder- Returns:
- Whether the statsUpdateTime field is set.
-
getStatsUpdateTime
public com.google.protobuf.Timestamp getStatsUpdateTime()
Output only. The most recent timestamp when target_column_correlations field and all descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns fields were last (re-)generated. Any changes that happened to the dataset afterwards are not reflected in these fields values. The regeneration happens in the background on a best effort basis.
.google.protobuf.Timestamp stats_update_time = 7;- Specified by:
getStatsUpdateTimein interfaceTablesDatasetMetadataOrBuilder- Returns:
- The statsUpdateTime.
-
setStatsUpdateTime
public TablesDatasetMetadata.Builder setStatsUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent timestamp when target_column_correlations field and all descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns fields were last (re-)generated. Any changes that happened to the dataset afterwards are not reflected in these fields values. The regeneration happens in the background on a best effort basis.
.google.protobuf.Timestamp stats_update_time = 7;
-
setStatsUpdateTime
public TablesDatasetMetadata.Builder setStatsUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The most recent timestamp when target_column_correlations field and all descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns fields were last (re-)generated. Any changes that happened to the dataset afterwards are not reflected in these fields values. The regeneration happens in the background on a best effort basis.
.google.protobuf.Timestamp stats_update_time = 7;
-
mergeStatsUpdateTime
public TablesDatasetMetadata.Builder mergeStatsUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent timestamp when target_column_correlations field and all descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns fields were last (re-)generated. Any changes that happened to the dataset afterwards are not reflected in these fields values. The regeneration happens in the background on a best effort basis.
.google.protobuf.Timestamp stats_update_time = 7;
-
clearStatsUpdateTime
public TablesDatasetMetadata.Builder clearStatsUpdateTime()
Output only. The most recent timestamp when target_column_correlations field and all descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns fields were last (re-)generated. Any changes that happened to the dataset afterwards are not reflected in these fields values. The regeneration happens in the background on a best effort basis.
.google.protobuf.Timestamp stats_update_time = 7;
-
getStatsUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getStatsUpdateTimeBuilder()
Output only. The most recent timestamp when target_column_correlations field and all descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns fields were last (re-)generated. Any changes that happened to the dataset afterwards are not reflected in these fields values. The regeneration happens in the background on a best effort basis.
.google.protobuf.Timestamp stats_update_time = 7;
-
getStatsUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStatsUpdateTimeOrBuilder()
Output only. The most recent timestamp when target_column_correlations field and all descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns fields were last (re-)generated. Any changes that happened to the dataset afterwards are not reflected in these fields values. The regeneration happens in the background on a best effort basis.
.google.protobuf.Timestamp stats_update_time = 7;- Specified by:
getStatsUpdateTimeOrBuilderin interfaceTablesDatasetMetadataOrBuilder
-
setUnknownFields
public final TablesDatasetMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
mergeUnknownFields
public final TablesDatasetMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
-