Package com.google.cloud.automl.v1beta1
Interface TableSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TableSpec
,TableSpec.Builder
public interface TableSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getColumnCount()
Output only.String
getEtag()
Used to perform consistent read-modify-write updates.com.google.protobuf.ByteString
getEtagBytes()
Used to perform consistent read-modify-write updates.InputConfig
getInputConfigs(int index)
Output only.int
getInputConfigsCount()
Output only.List<InputConfig>
getInputConfigsList()
Output only.InputConfigOrBuilder
getInputConfigsOrBuilder(int index)
Output only.List<? extends InputConfigOrBuilder>
getInputConfigsOrBuilderList()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.long
getRowCount()
Output only.String
getTimeColumnSpecId()
column_spec_id of the time column.com.google.protobuf.ByteString
getTimeColumnSpecIdBytes()
column_spec_id of the time column.long
getValidRowCount()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of the table spec. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}`
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the table spec. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}`
string name = 1;
- Returns:
- The bytes for name.
-
getTimeColumnSpecId
String getTimeColumnSpecId()
column_spec_id of the time column. Only used if the parent dataset's ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and those in between to VALIDATE. Required type: TIMESTAMP. If both this column and ml_use_column are not set, then ML use of all rows will be assigned by AutoML. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string time_column_spec_id = 2;
- Returns:
- The timeColumnSpecId.
-
getTimeColumnSpecIdBytes
com.google.protobuf.ByteString getTimeColumnSpecIdBytes()
column_spec_id of the time column. Only used if the parent dataset's ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and those in between to VALIDATE. Required type: TIMESTAMP. If both this column and ml_use_column are not set, then ML use of all rows will be assigned by AutoML. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.
string time_column_spec_id = 2;
- Returns:
- The bytes for timeColumnSpecId.
-
getRowCount
long getRowCount()
Output only. The number of rows (i.e. examples) in the table.
int64 row_count = 3;
- Returns:
- The rowCount.
-
getValidRowCount
long getValidRowCount()
Output only. The number of valid rows (i.e. without values that don't match DataType-s of their columns).
int64 valid_row_count = 4;
- Returns:
- The validRowCount.
-
getColumnCount
long getColumnCount()
Output only. The number of columns of the table. That is, the number of child ColumnSpec-s.
int64 column_count = 7;
- Returns:
- The columnCount.
-
getInputConfigsList
List<InputConfig> getInputConfigsList()
Output only. Input configs via which data currently residing in the table had been imported.
repeated .google.cloud.automl.v1beta1.InputConfig input_configs = 5;
-
getInputConfigs
InputConfig getInputConfigs(int index)
Output only. Input configs via which data currently residing in the table had been imported.
repeated .google.cloud.automl.v1beta1.InputConfig input_configs = 5;
-
getInputConfigsCount
int getInputConfigsCount()
Output only. Input configs via which data currently residing in the table had been imported.
repeated .google.cloud.automl.v1beta1.InputConfig input_configs = 5;
-
getInputConfigsOrBuilderList
List<? extends InputConfigOrBuilder> getInputConfigsOrBuilderList()
Output only. Input configs via which data currently residing in the table had been imported.
repeated .google.cloud.automl.v1beta1.InputConfig input_configs = 5;
-
getInputConfigsOrBuilder
InputConfigOrBuilder getInputConfigsOrBuilder(int index)
Output only. Input configs via which data currently residing in the table had been imported.
repeated .google.cloud.automl.v1beta1.InputConfig input_configs = 5;
-
getEtag
String getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
- Returns:
- The bytes for etag.
-
-