Package com.google.cloud.automl.v1beta1
Class TablesDatasetMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.automl.v1beta1.TablesDatasetMetadata
- All Implemented Interfaces:
TablesDatasetMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TablesDatasetMetadata
extends com.google.protobuf.GeneratedMessage
implements TablesDatasetMetadataOrBuilder
Metadata for a dataset used for AutoML Tables.Protobuf type
google.cloud.automl.v1beta1.TablesDatasetMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata for a dataset used for AutoML Tables.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.booleanstatic TablesDatasetMetadatastatic final com.google.protobuf.Descriptors.Descriptorcolumn_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.com.google.protobuf.ByteStringcolumn_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.com.google.protobuf.Parser<TablesDatasetMetadata>Output only.com.google.protobuf.ByteStringOutput only.intcom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intOutput only.Output only.getTargetColumnCorrelationsOrDefault(String key, CorrelationStats defaultValue) Output only.Output only.column_spec_id of the primary table's column that should be used as the training & prediction target.com.google.protobuf.ByteStringcolumn_spec_id of the primary table's column that should be used as the training & prediction target.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.com.google.protobuf.ByteStringcolumn_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.inthashCode()booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(TablesDatasetMetadata prototype) protected TablesDatasetMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TablesDatasetMetadataparseDelimitedFrom(InputStream input) static TablesDatasetMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesDatasetMetadataparseFrom(byte[] data) static TablesDatasetMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesDatasetMetadataparseFrom(com.google.protobuf.ByteString data) static TablesDatasetMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesDatasetMetadataparseFrom(com.google.protobuf.CodedInputStream input) static TablesDatasetMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesDatasetMetadataparseFrom(InputStream input) static TablesDatasetMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TablesDatasetMetadataparseFrom(ByteBuffer data) static TablesDatasetMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TablesDatasetMetadata>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PRIMARY_TABLE_SPEC_ID_FIELD_NUMBER
public static final int PRIMARY_TABLE_SPEC_ID_FIELD_NUMBER- See Also:
-
TARGET_COLUMN_SPEC_ID_FIELD_NUMBER
public static final int TARGET_COLUMN_SPEC_ID_FIELD_NUMBER- See Also:
-
WEIGHT_COLUMN_SPEC_ID_FIELD_NUMBER
public static final int WEIGHT_COLUMN_SPEC_ID_FIELD_NUMBER- See Also:
-
ML_USE_COLUMN_SPEC_ID_FIELD_NUMBER
public static final int ML_USE_COLUMN_SPEC_ID_FIELD_NUMBER- See Also:
-
TARGET_COLUMN_CORRELATIONS_FIELD_NUMBER
public static final int TARGET_COLUMN_CORRELATIONS_FIELD_NUMBER- See Also:
-
STATS_UPDATE_TIME_FIELD_NUMBER
public static final int STATS_UPDATE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.
-
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.
-
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.
-
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.
-
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
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.UsegetTargetColumnCorrelationsMap()instead.- Specified by:
getTargetColumnCorrelationsin interfaceTablesDatasetMetadataOrBuilder
-
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
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
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TablesDatasetMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesDatasetMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesDatasetMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesDatasetMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesDatasetMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TablesDatasetMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TablesDatasetMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TablesDatasetMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TablesDatasetMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TablesDatasetMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TablesDatasetMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-