Package com.google.cloud.automl.v1beta1
Class ColumnSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.automl.v1beta1.ColumnSpec
-
- All Implemented Interfaces:
ColumnSpecOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ColumnSpec extends com.google.protobuf.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: * Tables
Protobuf typegoogle.cloud.automl.v1beta1.ColumnSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classColumnSpec.BuilderA representation of a column in a relational table.static classColumnSpec.CorrelatedColumnIdentifies the table's column, and its correlation with the column this ColumnSpec describes.static interfaceColumnSpec.CorrelatedColumnOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDATA_STATS_FIELD_NUMBERstatic intDATA_TYPE_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intTOP_CORRELATED_COLUMNS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DataStatsgetDataStats()Output only.DataStatsOrBuildergetDataStatsOrBuilder()Output only.DataTypegetDataType()The data type of elements stored in the column.DataTypeOrBuildergetDataTypeOrBuilder()The data type of elements stored in the column.static ColumnSpecgetDefaultInstance()ColumnSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Output only.com.google.protobuf.ByteStringgetDisplayNameBytes()Output only.StringgetEtag()Used to perform consistent read-modify-write updates.com.google.protobuf.ByteStringgetEtagBytes()Used to perform consistent read-modify-write updates.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<ColumnSpec>getParserForType()intgetSerializedSize()ColumnSpec.CorrelatedColumngetTopCorrelatedColumns(int index)Deprecated.intgetTopCorrelatedColumnsCount()Deprecated.List<ColumnSpec.CorrelatedColumn>getTopCorrelatedColumnsList()Deprecated.ColumnSpec.CorrelatedColumnOrBuildergetTopCorrelatedColumnsOrBuilder(int index)Deprecated.List<? extends ColumnSpec.CorrelatedColumnOrBuilder>getTopCorrelatedColumnsOrBuilderList()Deprecated.booleanhasDataStats()Output only.booleanhasDataType()The data type of elements stored in the column.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ColumnSpec.BuildernewBuilder()static ColumnSpec.BuildernewBuilder(ColumnSpec prototype)ColumnSpec.BuildernewBuilderForType()protected ColumnSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ColumnSpecparseDelimitedFrom(InputStream input)static ColumnSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnSpecparseFrom(byte[] data)static ColumnSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnSpecparseFrom(com.google.protobuf.ByteString data)static ColumnSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnSpecparseFrom(com.google.protobuf.CodedInputStream input)static ColumnSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnSpecparseFrom(InputStream input)static ColumnSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnSpecparseFrom(ByteBuffer data)static ColumnSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ColumnSpec>parser()ColumnSpec.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_STATS_FIELD_NUMBER
public static final int DATA_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOP_CORRELATED_COLUMNS_FIELD_NUMBER
public static final int TOP_CORRELATED_COLUMNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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;- Specified by:
getNamein interfaceColumnSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfaceColumnSpecOrBuilder- Returns:
- The bytes for name.
-
hasDataType
public boolean hasDataType()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;- Specified by:
hasDataTypein interfaceColumnSpecOrBuilder- Returns:
- Whether the dataType field is set.
-
getDataType
public DataType getDataType()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;- Specified by:
getDataTypein interfaceColumnSpecOrBuilder- Returns:
- The dataType.
-
getDataTypeOrBuilder
public DataTypeOrBuilder getDataTypeOrBuilder()
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;- Specified by:
getDataTypeOrBuilderin interfaceColumnSpecOrBuilder
-
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;- Specified by:
getDisplayNamein interfaceColumnSpecOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.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;- Specified by:
getDisplayNameBytesin interfaceColumnSpecOrBuilder- Returns:
- The bytes for displayName.
-
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;- Specified by:
hasDataStatsin interfaceColumnSpecOrBuilder- Returns:
- Whether the dataStats field is set.
-
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;- Specified by:
getDataStatsin interfaceColumnSpecOrBuilder- Returns:
- 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;- Specified by:
getDataStatsOrBuilderin interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumnsList
public List<ColumnSpec.CorrelatedColumn> getTopCorrelatedColumnsList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;- Specified by:
getTopCorrelatedColumnsListin interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumnsOrBuilderList
public List<? extends ColumnSpec.CorrelatedColumnOrBuilder> getTopCorrelatedColumnsOrBuilderList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;- Specified by:
getTopCorrelatedColumnsOrBuilderListin interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumnsCount
public int getTopCorrelatedColumnsCount()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;- Specified by:
getTopCorrelatedColumnsCountin interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumns
public ColumnSpec.CorrelatedColumn getTopCorrelatedColumns(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;- Specified by:
getTopCorrelatedColumnsin interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumnsOrBuilder
public ColumnSpec.CorrelatedColumnOrBuilder getTopCorrelatedColumnsOrBuilder(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;- Specified by:
getTopCorrelatedColumnsOrBuilderin interfaceColumnSpecOrBuilder
-
getEtag
public String getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Specified by:
getEtagin interfaceColumnSpecOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Specified by:
getEtagBytesin interfaceColumnSpecOrBuilder- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 ColumnSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnSpec parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ColumnSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ColumnSpec parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ColumnSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ColumnSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ColumnSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ColumnSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ColumnSpec.Builder newBuilder()
-
newBuilder
public static ColumnSpec.Builder newBuilder(ColumnSpec prototype)
-
toBuilder
public ColumnSpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ColumnSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ColumnSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ColumnSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<ColumnSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ColumnSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-