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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TablesDatasetMetadata
build()
TablesDatasetMetadata
buildPartial()
TablesDatasetMetadata.Builder
clear()
TablesDatasetMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TablesDatasetMetadata.Builder
clearMlUseColumnSpecId()
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.TablesDatasetMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TablesDatasetMetadata.Builder
clearPrimaryTableSpecId()
Output only.TablesDatasetMetadata.Builder
clearStatsUpdateTime()
Output only.TablesDatasetMetadata.Builder
clearTargetColumnCorrelations()
TablesDatasetMetadata.Builder
clearTargetColumnSpecId()
column_spec_id of the primary table's column that should be used as the training & prediction target.TablesDatasetMetadata.Builder
clearWeightColumnSpecId()
column_spec_id of the primary table's column that should be used as the weight column, i.e.TablesDatasetMetadata.Builder
clone()
boolean
containsTargetColumnCorrelations(String key)
Output only.TablesDatasetMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getMlUseColumnSpecId()
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.com.google.protobuf.ByteString
getMlUseColumnSpecIdBytes()
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.Map<String,CorrelationStats>
getMutableTargetColumnCorrelations()
Deprecated.String
getPrimaryTableSpecId()
Output only.com.google.protobuf.ByteString
getPrimaryTableSpecIdBytes()
Output only.com.google.protobuf.Timestamp
getStatsUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getStatsUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStatsUpdateTimeOrBuilder()
Output only.Map<String,CorrelationStats>
getTargetColumnCorrelations()
Deprecated.int
getTargetColumnCorrelationsCount()
Output only.Map<String,CorrelationStats>
getTargetColumnCorrelationsMap()
Output only.CorrelationStats
getTargetColumnCorrelationsOrDefault(String key, CorrelationStats defaultValue)
Output only.CorrelationStats
getTargetColumnCorrelationsOrThrow(String key)
Output only.String
getTargetColumnSpecId()
column_spec_id of the primary table's column that should be used as the training & prediction target.com.google.protobuf.ByteString
getTargetColumnSpecIdBytes()
column_spec_id of the primary table's column that should be used as the training & prediction target.String
getWeightColumnSpecId()
column_spec_id of the primary table's column that should be used as the weight column, i.e.com.google.protobuf.ByteString
getWeightColumnSpecIdBytes()
column_spec_id of the primary table's column that should be used as the weight column, i.e.boolean
hasStatsUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
TablesDatasetMetadata.Builder
mergeFrom(TablesDatasetMetadata other)
TablesDatasetMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TablesDatasetMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
TablesDatasetMetadata.Builder
mergeStatsUpdateTime(com.google.protobuf.Timestamp value)
Output only.TablesDatasetMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TablesDatasetMetadata.Builder
putAllTargetColumnCorrelations(Map<String,CorrelationStats> values)
Output only.TablesDatasetMetadata.Builder
putTargetColumnCorrelations(String key, CorrelationStats value)
Output only.TablesDatasetMetadata.Builder
removeTargetColumnCorrelations(String key)
Output only.TablesDatasetMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TablesDatasetMetadata.Builder
setMlUseColumnSpecId(String value)
column_spec_id of the primary table column which specifies a possible ML use of the row, i.e.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.TablesDatasetMetadata.Builder
setPrimaryTableSpecId(String value)
Output only.TablesDatasetMetadata.Builder
setPrimaryTableSpecIdBytes(com.google.protobuf.ByteString value)
Output only.TablesDatasetMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TablesDatasetMetadata.Builder
setStatsUpdateTime(com.google.protobuf.Timestamp value)
Output only.TablesDatasetMetadata.Builder
setStatsUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.TablesDatasetMetadata.Builder
setTargetColumnSpecId(String value)
column_spec_id of the primary table's column that should be used as the training & prediction target.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.TablesDatasetMetadata.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TablesDatasetMetadata.Builder
setWeightColumnSpecId(String value)
column_spec_id of the primary table's column that should be used as the weight column, i.e.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.-
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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
clear
public TablesDatasetMetadata.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
getDefaultInstanceForType
public TablesDatasetMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TablesDatasetMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TablesDatasetMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TablesDatasetMetadata.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
setField
public TablesDatasetMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
clearField
public TablesDatasetMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
clearOneof
public TablesDatasetMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
setRepeatedField
public TablesDatasetMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
addRepeatedField
public TablesDatasetMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
mergeFrom
public TablesDatasetMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TablesDatasetMetadata.Builder>
-
mergeFrom
public TablesDatasetMetadata.Builder mergeFrom(TablesDatasetMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPrimaryTableSpecId
in 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:
getPrimaryTableSpecIdBytes
in 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:
getTargetColumnSpecId
in 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:
getTargetColumnSpecIdBytes
in 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:
getWeightColumnSpecId
in 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:
getWeightColumnSpecIdBytes
in 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:
getMlUseColumnSpecId
in 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:
getMlUseColumnSpecIdBytes
in 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:TablesDatasetMetadataOrBuilder
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:
getTargetColumnCorrelationsCount
in 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:
containsTargetColumnCorrelations
in interfaceTablesDatasetMetadataOrBuilder
-
getTargetColumnCorrelations
@Deprecated public Map<String,CorrelationStats> getTargetColumnCorrelations()
Deprecated.UsegetTargetColumnCorrelationsMap()
instead.- Specified by:
getTargetColumnCorrelations
in 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:
getTargetColumnCorrelationsMap
in 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:
getTargetColumnCorrelationsOrDefault
in 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:
getTargetColumnCorrelationsOrThrow
in 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:
hasStatsUpdateTime
in 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:
getStatsUpdateTime
in 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:
getStatsUpdateTimeOrBuilder
in interfaceTablesDatasetMetadataOrBuilder
-
setUnknownFields
public final TablesDatasetMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
mergeUnknownFields
public final TablesDatasetMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TablesDatasetMetadata.Builder>
-
-