Class ColumnSpec

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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

@Generated public final class ColumnSpec extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DATA_TYPE_FIELD_NUMBER

      public static final int DATA_TYPE_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • DATA_STATS_FIELD_NUMBER

      public static final int DATA_STATS_FIELD_NUMBER
      See Also:
    • TOP_CORRELATED_COLUMNS_FIELD_NUMBER

      public static final int TOP_CORRELATED_COLUMNS_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
    • 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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
    • getTopCorrelatedColumnsList

      public List<ColumnSpec.CorrelatedColumn> getTopCorrelatedColumnsList()
       Deprecated.
       
      repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
      Specified by:
      getTopCorrelatedColumnsList in interface ColumnSpecOrBuilder
    • getTopCorrelatedColumnsOrBuilderList

      public List<? extends ColumnSpec.CorrelatedColumnOrBuilder> getTopCorrelatedColumnsOrBuilderList()
       Deprecated.
       
      repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
      Specified by:
      getTopCorrelatedColumnsOrBuilderList in interface ColumnSpecOrBuilder
    • getTopCorrelatedColumnsCount

      public int getTopCorrelatedColumnsCount()
       Deprecated.
       
      repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
      Specified by:
      getTopCorrelatedColumnsCount in interface ColumnSpecOrBuilder
    • getTopCorrelatedColumns

      public ColumnSpec.CorrelatedColumn getTopCorrelatedColumns(int index)
       Deprecated.
       
      repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
      Specified by:
      getTopCorrelatedColumns in interface ColumnSpecOrBuilder
    • getTopCorrelatedColumnsOrBuilder

      public ColumnSpec.CorrelatedColumnOrBuilder getTopCorrelatedColumnsOrBuilder(int index)
       Deprecated.
       
      repeated .google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn top_correlated_columns = 5;
      Specified by:
      getTopCorrelatedColumnsOrBuilder in interface ColumnSpecOrBuilder
    • 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 interface ColumnSpecOrBuilder
      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 interface ColumnSpecOrBuilder
      Returns:
      The bytes for etag.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ColumnSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ColumnSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder