public final class ColumnSpec extends GeneratedMessageV3 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:
Protobuf type google.cloud.automl.v1beta1.ColumnSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DATA_STATS_FIELD_NUMBER
public static final int DATA_STATS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TOP_CORRELATED_COLUMNS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ColumnSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ColumnSpec.Builder newBuilder()
newBuilder(ColumnSpec prototype)
public static ColumnSpec.Builder newBuilder(ColumnSpec prototype)
public static ColumnSpec parseDelimitedFrom(InputStream input)
public static ColumnSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ColumnSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ColumnSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ColumnSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnSpec parseFrom(CodedInputStream input)
public static ColumnSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ColumnSpec parseFrom(InputStream input)
public static ColumnSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ColumnSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ColumnSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ColumnSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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;
Returns |
---|
Type | Description |
DataStats | The dataStats.
|
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;
getDataType()
public DataType getDataType()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
Returns |
---|
Type | Description |
DataType | The dataType.
|
getDataTypeOrBuilder()
public DataTypeOrBuilder getDataTypeOrBuilder()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;
getDefaultInstanceForType()
public ColumnSpec getDefaultInstanceForType()
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;
Returns |
---|
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;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind
"overwrite" update happens.
string etag = 6;
Returns |
---|
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;
Returns |
---|
Type | Description |
ByteString | The bytes for etag.
|
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;
Returns |
---|
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;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<ColumnSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public ColumnSpec.CorrelatedColumn getTopCorrelatedColumns(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Parameter |
---|
Name | Description |
index | int
|
public int getTopCorrelatedColumnsCount()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Returns |
---|
Type | Description |
int | |
public List<ColumnSpec.CorrelatedColumn> getTopCorrelatedColumnsList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
public ColumnSpec.CorrelatedColumnOrBuilder getTopCorrelatedColumnsOrBuilder(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends ColumnSpec.CorrelatedColumnOrBuilder> getTopCorrelatedColumnsOrBuilderList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumnOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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;
Returns |
---|
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;
Returns |
---|
Type | Description |
boolean | Whether the dataType field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ColumnSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ColumnSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ColumnSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides