- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public static final class ColumnSpec.Builder extends GeneratedMessageV3.Builder<ColumnSpec.Builder> implements ColumnSpecOrBuilder
A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were given on import . Used by:
- Tables
Protobuf type google.cloud.automl.v1beta1.ColumnSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ColumnSpec.BuilderImplements
ColumnSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllTopCorrelatedColumns(Iterable<? extends ColumnSpec.CorrelatedColumn> values)
public ColumnSpec.Builder addAllTopCorrelatedColumns(Iterable<? extends ColumnSpec.CorrelatedColumn> values)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn> |
Type | Description |
ColumnSpec.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ColumnSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ColumnSpec.Builder |
addTopCorrelatedColumns(ColumnSpec.CorrelatedColumn value)
public ColumnSpec.Builder addTopCorrelatedColumns(ColumnSpec.CorrelatedColumn value)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
value | ColumnSpec.CorrelatedColumn |
Type | Description |
ColumnSpec.Builder |
addTopCorrelatedColumns(ColumnSpec.CorrelatedColumn.Builder builderForValue)
public ColumnSpec.Builder addTopCorrelatedColumns(ColumnSpec.CorrelatedColumn.Builder builderForValue)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
builderForValue | ColumnSpec.CorrelatedColumn.Builder |
Type | Description |
ColumnSpec.Builder |
addTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn value)
public ColumnSpec.Builder addTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn value)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
value | ColumnSpec.CorrelatedColumn |
Type | Description |
ColumnSpec.Builder |
addTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn.Builder builderForValue)
public ColumnSpec.Builder addTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn.Builder builderForValue)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
builderForValue | ColumnSpec.CorrelatedColumn.Builder |
Type | Description |
ColumnSpec.Builder |
addTopCorrelatedColumnsBuilder()
public ColumnSpec.CorrelatedColumn.Builder addTopCorrelatedColumnsBuilder()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Type | Description |
ColumnSpec.CorrelatedColumn.Builder |
addTopCorrelatedColumnsBuilder(int index)
public ColumnSpec.CorrelatedColumn.Builder addTopCorrelatedColumnsBuilder(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
Type | Description |
ColumnSpec.CorrelatedColumn.Builder |
build()
public ColumnSpec build()
Type | Description |
ColumnSpec |
buildPartial()
public ColumnSpec buildPartial()
Type | Description |
ColumnSpec |
clear()
public ColumnSpec.Builder clear()
Type | Description |
ColumnSpec.Builder |
clearDataStats()
public ColumnSpec.Builder clearDataStats()
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;
Type | Description |
ColumnSpec.Builder |
clearDataType()
public ColumnSpec.Builder clearDataType()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Type | Description |
ColumnSpec.Builder |
clearDisplayName()
public ColumnSpec.Builder clearDisplayName()
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
clearEtag()
public ColumnSpec.Builder clearEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ColumnSpec.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ColumnSpec.Builder |
clearName()
public ColumnSpec.Builder clearName()
Output only. The resource name of the column specs.
Form:
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}
string name = 1;
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ColumnSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ColumnSpec.Builder |
clearTopCorrelatedColumns()
public ColumnSpec.Builder clearTopCorrelatedColumns()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Type | Description |
ColumnSpec.Builder |
clone()
public ColumnSpec.Builder clone()
Type | Description |
ColumnSpec.Builder |
getDataStats()
public DataStats getDataStats()
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;
Type | Description |
DataStats | The dataStats. |
getDataStatsBuilder()
public DataStats.Builder getDataStatsBuilder()
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;
Type | Description |
DataStats.Builder |
getDataStatsOrBuilder()
public DataStatsOrBuilder getDataStatsOrBuilder()
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;
Type | Description |
DataStatsOrBuilder |
getDataType()
public DataType getDataType()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Type | Description |
DataType | The dataType. |
getDataTypeBuilder()
public DataType.Builder getDataTypeBuilder()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Type | Description |
DataType.Builder |
getDataTypeOrBuilder()
public DataTypeOrBuilder getDataTypeOrBuilder()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Type | Description |
DataTypeOrBuilder |
getDefaultInstanceForType()
public ColumnSpec getDefaultInstanceForType()
Type | Description |
ColumnSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;
Type | Description |
ByteString | The bytes for displayName. |
getEtag()
public String getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Type | Description |
ByteString | The bytes for etag. |
getName()
public String getName()
Output only. The resource name of the column specs.
Form:
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the column specs.
Form:
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getTopCorrelatedColumns(int index)
public ColumnSpec.CorrelatedColumn getTopCorrelatedColumns(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
Type | Description |
ColumnSpec.CorrelatedColumn |
getTopCorrelatedColumnsBuilder(int index)
public ColumnSpec.CorrelatedColumn.Builder getTopCorrelatedColumnsBuilder(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
Type | Description |
ColumnSpec.CorrelatedColumn.Builder |
getTopCorrelatedColumnsBuilderList()
public List<ColumnSpec.CorrelatedColumn.Builder> getTopCorrelatedColumnsBuilderList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Type | Description |
List<Builder> |
getTopCorrelatedColumnsCount()
public int getTopCorrelatedColumnsCount()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Type | Description |
int |
getTopCorrelatedColumnsList()
public List<ColumnSpec.CorrelatedColumn> getTopCorrelatedColumnsList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Type | Description |
List<CorrelatedColumn> |
getTopCorrelatedColumnsOrBuilder(int index)
public ColumnSpec.CorrelatedColumnOrBuilder getTopCorrelatedColumnsOrBuilder(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
Type | Description |
ColumnSpec.CorrelatedColumnOrBuilder |
getTopCorrelatedColumnsOrBuilderList()
public List<? extends ColumnSpec.CorrelatedColumnOrBuilder> getTopCorrelatedColumnsOrBuilderList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumnOrBuilder> |
hasDataStats()
public boolean hasDataStats()
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;
Type | Description |
boolean | Whether the dataStats field is set. |
hasDataType()
public boolean hasDataType()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Type | Description |
boolean | Whether the dataType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDataStats(DataStats value)
public ColumnSpec.Builder mergeDataStats(DataStats value)
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;
Name | Description |
value | DataStats |
Type | Description |
ColumnSpec.Builder |
mergeDataType(DataType value)
public ColumnSpec.Builder mergeDataType(DataType value)
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Name | Description |
value | DataType |
Type | Description |
ColumnSpec.Builder |
mergeFrom(ColumnSpec other)
public ColumnSpec.Builder mergeFrom(ColumnSpec other)
Name | Description |
other | ColumnSpec |
Type | Description |
ColumnSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ColumnSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ColumnSpec.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ColumnSpec.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ColumnSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ColumnSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ColumnSpec.Builder |
removeTopCorrelatedColumns(int index)
public ColumnSpec.Builder removeTopCorrelatedColumns(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
Type | Description |
ColumnSpec.Builder |
setDataStats(DataStats value)
public ColumnSpec.Builder setDataStats(DataStats value)
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;
Name | Description |
value | DataStats |
Type | Description |
ColumnSpec.Builder |
setDataStats(DataStats.Builder builderForValue)
public ColumnSpec.Builder setDataStats(DataStats.Builder builderForValue)
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;
Name | Description |
builderForValue | DataStats.Builder |
Type | Description |
ColumnSpec.Builder |
setDataType(DataType value)
public ColumnSpec.Builder setDataType(DataType value)
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Name | Description |
value | DataType |
Type | Description |
ColumnSpec.Builder |
setDataType(DataType.Builder builderForValue)
public ColumnSpec.Builder setDataType(DataType.Builder builderForValue)
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Name | Description |
builderForValue | DataType.Builder |
Type | Description |
ColumnSpec.Builder |
setDisplayName(String value)
public ColumnSpec.Builder setDisplayName(String value)
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;
Name | Description |
value | String The displayName to set. |
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ColumnSpec.Builder setDisplayNameBytes(ByteString value)
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
setEtag(String value)
public ColumnSpec.Builder setEtag(String value)
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Name | Description |
value | String The etag to set. |
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public ColumnSpec.Builder setEtagBytes(ByteString value)
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ColumnSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ColumnSpec.Builder |
setName(String value)
public ColumnSpec.Builder setName(String value)
Output only. The resource name of the column specs.
Form:
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ColumnSpec.Builder setNameBytes(ByteString value)
Output only. The resource name of the column specs.
Form:
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ColumnSpec.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ColumnSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ColumnSpec.Builder |
setTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn value)
public ColumnSpec.Builder setTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn value)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
value | ColumnSpec.CorrelatedColumn |
Type | Description |
ColumnSpec.Builder |
setTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn.Builder builderForValue)
public ColumnSpec.Builder setTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn.Builder builderForValue)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Name | Description |
index | int |
builderForValue | ColumnSpec.CorrelatedColumn.Builder |
Type | Description |
ColumnSpec.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ColumnSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ColumnSpec.Builder |