Class DataTableColumnInfo (0.29.0)

public final class DataTableColumnInfo extends 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

Static Fields

COLUMN_INDEX_FIELD_NUMBER

public static final int COLUMN_INDEX_FIELD_NUMBER
Field Value
Type Description
int

COLUMN_TYPE_FIELD_NUMBER

public static final int COLUMN_TYPE_FIELD_NUMBER
Field Value
Type Description
int

KEY_COLUMN_FIELD_NUMBER

public static final int KEY_COLUMN_FIELD_NUMBER
Field Value
Type Description
int

MAPPED_COLUMN_PATH_FIELD_NUMBER

public static final int MAPPED_COLUMN_PATH_FIELD_NUMBER
Field Value
Type Description
int

ORIGINAL_COLUMN_FIELD_NUMBER

public static final int ORIGINAL_COLUMN_FIELD_NUMBER
Field Value
Type Description
int

REPEATED_VALUES_FIELD_NUMBER

public static final int REPEATED_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataTableColumnInfo getDefaultInstance()
Returns
Type Description
DataTableColumnInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataTableColumnInfo.Builder newBuilder()
Returns
Type Description
DataTableColumnInfo.Builder

newBuilder(DataTableColumnInfo prototype)

public static DataTableColumnInfo.Builder newBuilder(DataTableColumnInfo prototype)
Parameter
Name Description
prototype DataTableColumnInfo
Returns
Type Description
DataTableColumnInfo.Builder

parseDelimitedFrom(InputStream input)

public static DataTableColumnInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTableColumnInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataTableColumnInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataTableColumnInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataTableColumnInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataTableColumnInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataTableColumnInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTableColumnInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataTableColumnInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTableColumnInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataTableColumnInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataTableColumnInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableColumnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataTableColumnInfo> parser()
Returns
Type Description
Parser<DataTableColumnInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getColumnIndex()

public int getColumnIndex()

Required. Column Index. 0,1,2...

int32 column_index = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The columnIndex.

getColumnType()

public DataTableColumnInfo.DataTableColumnType getColumnType()

Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX

.google.cloud.chronicle.v1.DataTableColumnInfo.DataTableColumnType column_type = 4;

Returns
Type Description
DataTableColumnInfo.DataTableColumnType

The columnType.

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;

Returns
Type Description
int

The enum numeric value on the wire for columnType.

getDefaultInstanceForType()

public DataTableColumnInfo getDefaultInstanceForType()
Returns
Type Description
DataTableColumnInfo

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];

Returns
Type Description
boolean

The keyColumn.

getMappedColumnPath()

public String getMappedColumnPath()

Entity proto field path that the column is mapped to

string mapped_column_path = 3;

Returns
Type Description
String

The mappedColumnPath.

getMappedColumnPathBytes()

public ByteString getMappedColumnPathBytes()

Entity proto field path that the column is mapped to

string mapped_column_path = 3;

Returns
Type Description
ByteString

The bytes for mappedColumnPath.

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];

Returns
Type Description
String

The originalColumn.

getOriginalColumnBytes()

public 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];

Returns
Type Description
ByteString

The bytes for originalColumn.

getParserForType()

public Parser<DataTableColumnInfo> getParserForType()
Returns
Type Description
Parser<DataTableColumnInfo>
Overrides

getPathOrTypeCase()

public DataTableColumnInfo.PathOrTypeCase getPathOrTypeCase()
Returns
Type Description
DataTableColumnInfo.PathOrTypeCase

getRepeatedValues()

public boolean getRepeatedValues()

Optional. Whether the column is a repeated values column.

bool repeated_values = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The repeatedValues.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
boolean

Whether the columnType field is set.

hasMappedColumnPath()

public boolean hasMappedColumnPath()

Entity proto field path that the column is mapped to

string mapped_column_path = 3;

Returns
Type Description
boolean

Whether the mappedColumnPath field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataTableColumnInfo.Builder newBuilderForType()
Returns
Type Description
DataTableColumnInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DataTableColumnInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataTableColumnInfo.Builder
Overrides

toBuilder()

public DataTableColumnInfo.Builder toBuilder()
Returns
Type Description
DataTableColumnInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException