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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataTableColumnInfo.Builder newBuilder()
newBuilder(DataTableColumnInfo prototype)
public static DataTableColumnInfo.Builder newBuilder(DataTableColumnInfo prototype)
public static DataTableColumnInfo parseDelimitedFrom(InputStream input)
public static DataTableColumnInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataTableColumnInfo parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataTableColumnInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataTableColumnInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataTableColumnInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataTableColumnInfo parseFrom(CodedInputStream input)
public static DataTableColumnInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataTableColumnInfo parseFrom(InputStream input)
public static DataTableColumnInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataTableColumnInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataTableColumnInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataTableColumnInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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;
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()
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()
Overrides
getPathOrTypeCase()
public DataTableColumnInfo.PathOrTypeCase getPathOrTypeCase()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataTableColumnInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataTableColumnInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DataTableColumnInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides