Class DataTableColumnInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.chronicle.v1.DataTableColumnInfo
All Implemented Interfaces:
DataTableColumnInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DataTableColumnInfo extends com.google.protobuf.GeneratedMessage implements DataTableColumnInfoOrBuilder
 DataTableColumnInfo represents the column metadata of the
 datatable. The column_index represents the ordering of the
 values in DataTableRow.
 
Protobuf type google.cloud.chronicle.v1.DataTableColumnInfo
See Also:
  • Field Details

    • MAPPED_COLUMN_PATH_FIELD_NUMBER

      public static final int MAPPED_COLUMN_PATH_FIELD_NUMBER
      See Also:
    • COLUMN_TYPE_FIELD_NUMBER

      public static final int COLUMN_TYPE_FIELD_NUMBER
      See Also:
    • COLUMN_INDEX_FIELD_NUMBER

      public static final int COLUMN_INDEX_FIELD_NUMBER
      See Also:
    • ORIGINAL_COLUMN_FIELD_NUMBER

      public static final int ORIGINAL_COLUMN_FIELD_NUMBER
      See Also:
    • KEY_COLUMN_FIELD_NUMBER

      public static final int KEY_COLUMN_FIELD_NUMBER
      See Also:
    • REPEATED_VALUES_FIELD_NUMBER

      public static final int REPEATED_VALUES_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
    • getPathOrTypeCase

      public DataTableColumnInfo.PathOrTypeCase getPathOrTypeCase()
      Specified by:
      getPathOrTypeCase in interface DataTableColumnInfoOrBuilder
    • hasMappedColumnPath

      public boolean hasMappedColumnPath()
       Entity proto field path that the column is mapped to
       
      string mapped_column_path = 3;
      Specified by:
      hasMappedColumnPath in interface DataTableColumnInfoOrBuilder
      Returns:
      Whether the mappedColumnPath field is set.
    • getMappedColumnPath

      public String getMappedColumnPath()
       Entity proto field path that the column is mapped to
       
      string mapped_column_path = 3;
      Specified by:
      getMappedColumnPath in interface DataTableColumnInfoOrBuilder
      Returns:
      The mappedColumnPath.
    • getMappedColumnPathBytes

      public com.google.protobuf.ByteString getMappedColumnPathBytes()
       Entity proto field path that the column is mapped to
       
      string mapped_column_path = 3;
      Specified by:
      getMappedColumnPathBytes in interface DataTableColumnInfoOrBuilder
      Returns:
      The bytes for mappedColumnPath.
    • hasColumnType

      public boolean hasColumnType()
       Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
       
      .google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
      Specified by:
      hasColumnType in interface DataTableColumnInfoOrBuilder
      Returns:
      Whether the columnType field is set.
    • getColumnTypeValue

      public int getColumnTypeValue()
       Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
       
      .google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
      Specified by:
      getColumnTypeValue in interface DataTableColumnInfoOrBuilder
      Returns:
      The enum numeric value on the wire for columnType.
    • getColumnType

       Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
       
      .google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;
      Specified by:
      getColumnType in interface DataTableColumnInfoOrBuilder
      Returns:
      The columnType.
    • getColumnIndex

      public int getColumnIndex()
       Required. Column Index. 0,1,2...
       
      int32 column_index = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getColumnIndex in interface DataTableColumnInfoOrBuilder
      Returns:
      The columnIndex.
    • getOriginalColumn

      public String getOriginalColumn()
       Required. Original column name of the Data Table (present in the CSV header
       in case of creation of data tables using file uploads). It must satisfy the
       following requirements:
       - Starts with letter.
       - Contains only letters, numbers and underscore.
       - Must be unique and has length < 256.
       
      string original_column = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOriginalColumn in interface DataTableColumnInfoOrBuilder
      Returns:
      The originalColumn.
    • getOriginalColumnBytes

      public com.google.protobuf.ByteString getOriginalColumnBytes()
       Required. Original column name of the Data Table (present in the CSV header
       in case of creation of data tables using file uploads). It must satisfy the
       following requirements:
       - Starts with letter.
       - Contains only letters, numbers and underscore.
       - Must be unique and has length < 256.
       
      string original_column = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOriginalColumnBytes in interface DataTableColumnInfoOrBuilder
      Returns:
      The bytes for originalColumn.
    • getKeyColumn

      public boolean getKeyColumn()
       Optional. Whether to include this column in the calculation of the row ID.
       If no columns have key_column = true, all columns will be included in the
       calculation of the row ID.
       
      bool key_column = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeyColumn in interface DataTableColumnInfoOrBuilder
      Returns:
      The keyColumn.
    • getRepeatedValues

      public boolean getRepeatedValues()
       Optional. Whether the column is a repeated values column.
       
      bool repeated_values = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRepeatedValues in interface DataTableColumnInfoOrBuilder
      Returns:
      The repeatedValues.
    • 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 DataTableColumnInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTableColumnInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTableColumnInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTableColumnInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTableColumnInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTableColumnInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataTableColumnInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataTableColumnInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataTableColumnInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataTableColumnInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataTableColumnInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataTableColumnInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataTableColumnInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataTableColumnInfo.Builder newBuilder()
    • newBuilder

      public static DataTableColumnInfo.Builder newBuilder(DataTableColumnInfo prototype)
    • toBuilder

      public DataTableColumnInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataTableColumnInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataTableColumnInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataTableColumnInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataTableColumnInfo> 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 DataTableColumnInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder