Package com.google.cloud.chronicle.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDataTableColumnInfo represents the column metadata of the datatable.static enumDataTableColumnType denotes the type of the column to be referenced in the rule.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintRequired.Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEXintColumn type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEXstatic DataTableColumnInfostatic final com.google.protobuf.Descriptors.DescriptorbooleanOptional.Entity proto field path that the column is mapped tocom.google.protobuf.ByteStringEntity proto field path that the column is mapped toRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<DataTableColumnInfo>booleanOptional.intbooleanColumn type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEXinthashCode()booleanEntity proto field path that the column is mapped toprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DataTableColumnInfo.Builderstatic DataTableColumnInfo.BuildernewBuilder(DataTableColumnInfo prototype) protected DataTableColumnInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataTableColumnInfoparseDelimitedFrom(InputStream input) static DataTableColumnInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataTableColumnInfoparseFrom(byte[] data) static DataTableColumnInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataTableColumnInfoparseFrom(com.google.protobuf.ByteString data) static DataTableColumnInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataTableColumnInfoparseFrom(com.google.protobuf.CodedInputStream input) static DataTableColumnInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataTableColumnInfoparseFrom(InputStream input) static DataTableColumnInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataTableColumnInfoparseFrom(ByteBuffer data) static DataTableColumnInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataTableColumnInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPathOrTypeCase
- Specified by:
getPathOrTypeCasein interfaceDataTableColumnInfoOrBuilder
-
hasMappedColumnPath
public boolean hasMappedColumnPath()Entity proto field path that the column is mapped to
string mapped_column_path = 3;- Specified by:
hasMappedColumnPathin interfaceDataTableColumnInfoOrBuilder- Returns:
- Whether the mappedColumnPath field is set.
-
getMappedColumnPath
Entity proto field path that the column is mapped to
string mapped_column_path = 3;- Specified by:
getMappedColumnPathin interfaceDataTableColumnInfoOrBuilder- 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:
getMappedColumnPathBytesin interfaceDataTableColumnInfoOrBuilder- 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:
hasColumnTypein interfaceDataTableColumnInfoOrBuilder- 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:
getColumnTypeValuein interfaceDataTableColumnInfoOrBuilder- 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:
getColumnTypein interfaceDataTableColumnInfoOrBuilder- Returns:
- The columnType.
-
getColumnIndex
public int getColumnIndex()Required. Column Index. 0,1,2...
int32 column_index = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getColumnIndexin interfaceDataTableColumnInfoOrBuilder- Returns:
- The columnIndex.
-
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:
getOriginalColumnin interfaceDataTableColumnInfoOrBuilder- 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:
getOriginalColumnBytesin interfaceDataTableColumnInfoOrBuilder- 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:
getKeyColumnin interfaceDataTableColumnInfoOrBuilder- 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:
getRepeatedValuesin interfaceDataTableColumnInfoOrBuilder- Returns:
- The repeatedValues.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static DataTableColumnInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataTableColumnInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-