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 class
ColumnSpec.Builder
A representation of a column in a relational table.static class
ColumnSpec.CorrelatedColumn
Identifies the table's column, and its correlation with the column this ColumnSpec describes.static interface
ColumnSpec.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 int
DATA_STATS_FIELD_NUMBER
static int
DATA_TYPE_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
TOP_CORRELATED_COLUMNS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
DataStats
getDataStats()
Output only.DataStatsOrBuilder
getDataStatsOrBuilder()
Output only.DataType
getDataType()
The data type of elements stored in the column.DataTypeOrBuilder
getDataTypeOrBuilder()
The data type of elements stored in the column.static ColumnSpec
getDefaultInstance()
ColumnSpec
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Output only.com.google.protobuf.ByteString
getDisplayNameBytes()
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.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<ColumnSpec>
getParserForType()
int
getSerializedSize()
ColumnSpec.CorrelatedColumn
getTopCorrelatedColumns(int index)
Deprecated.int
getTopCorrelatedColumnsCount()
Deprecated.List<ColumnSpec.CorrelatedColumn>
getTopCorrelatedColumnsList()
Deprecated.ColumnSpec.CorrelatedColumnOrBuilder
getTopCorrelatedColumnsOrBuilder(int index)
Deprecated.List<? extends ColumnSpec.CorrelatedColumnOrBuilder>
getTopCorrelatedColumnsOrBuilderList()
Deprecated.boolean
hasDataStats()
Output only.boolean
hasDataType()
The data type of elements stored in the column.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ColumnSpec.Builder
newBuilder()
static ColumnSpec.Builder
newBuilder(ColumnSpec prototype)
ColumnSpec.Builder
newBuilderForType()
protected ColumnSpec.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ColumnSpec
parseDelimitedFrom(InputStream input)
static ColumnSpec
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnSpec
parseFrom(byte[] data)
static ColumnSpec
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnSpec
parseFrom(com.google.protobuf.ByteString data)
static ColumnSpec
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnSpec
parseFrom(com.google.protobuf.CodedInputStream input)
static ColumnSpec
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnSpec
parseFrom(InputStream input)
static ColumnSpec
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnSpec
parseFrom(ByteBuffer data)
static ColumnSpec
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ColumnSpec>
parser()
ColumnSpec.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in 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:
hasDataType
in 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:
getDataType
in 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:
getDataTypeOrBuilder
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
hasDataStats
in 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:
getDataStats
in 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:
getDataStatsOrBuilder
in interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumnsList
public List<ColumnSpec.CorrelatedColumn> getTopCorrelatedColumnsList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
- Specified by:
getTopCorrelatedColumnsList
in interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumnsOrBuilderList
public List<? extends ColumnSpec.CorrelatedColumnOrBuilder> getTopCorrelatedColumnsOrBuilderList()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
- Specified by:
getTopCorrelatedColumnsOrBuilderList
in interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumnsCount
public int getTopCorrelatedColumnsCount()
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
- Specified by:
getTopCorrelatedColumnsCount
in interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumns
public ColumnSpec.CorrelatedColumn getTopCorrelatedColumns(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
- Specified by:
getTopCorrelatedColumns
in interfaceColumnSpecOrBuilder
-
getTopCorrelatedColumnsOrBuilder
public ColumnSpec.CorrelatedColumnOrBuilder getTopCorrelatedColumnsOrBuilder(int index)
Deprecated.
repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
- Specified by:
getTopCorrelatedColumnsOrBuilder
in 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:
getEtag
in 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:
getEtagBytes
in interfaceColumnSpecOrBuilder
- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ColumnSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ColumnSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-