Package io.trino.orc.proto
Class OrcProto.DataMask
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.trino.orc.proto.OrcProto.DataMask
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OrcProto.DataMaskOrBuilder,Serializable
- Enclosing class:
- OrcProto
public static final class OrcProto.DataMask extends com.google.protobuf.GeneratedMessageV3 implements OrcProto.DataMaskOrBuilder
How was the data masked? This isn't necessary for reading the file, but is documentation about how the file was written.
Protobuf typeorc.proto.DataMask- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrcProto.DataMask.BuilderHow was the data masked? This isn't necessary for reading the file, but is documentation about how the file was written.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLUMNS_FIELD_NUMBERstatic intMASKPARAMETERS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<OrcProto.DataMask>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetColumns(int index)the unencrypted column roots this mask was applied tointgetColumnsCount()the unencrypted column roots this mask was applied toList<Integer>getColumnsList()the unencrypted column roots this mask was applied tostatic OrcProto.DataMaskgetDefaultInstance()OrcProto.DataMaskgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetMaskParameters(int index)parameters for the maskcom.google.protobuf.ByteStringgetMaskParametersBytes(int index)parameters for the maskintgetMaskParametersCount()parameters for the maskcom.google.protobuf.ProtocolStringListgetMaskParametersList()parameters for the maskStringgetName()the kind of masking, which may include third party maskscom.google.protobuf.ByteStringgetNameBytes()the kind of masking, which may include third party maskscom.google.protobuf.Parser<OrcProto.DataMask>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasName()the kind of masking, which may include third party masksprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OrcProto.DataMask.BuildernewBuilder()static OrcProto.DataMask.BuildernewBuilder(OrcProto.DataMask prototype)OrcProto.DataMask.BuildernewBuilderForType()protected OrcProto.DataMask.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OrcProto.DataMaskparseDelimitedFrom(InputStream input)static OrcProto.DataMaskparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.DataMaskparseFrom(byte[] data)static OrcProto.DataMaskparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.DataMaskparseFrom(com.google.protobuf.ByteString data)static OrcProto.DataMaskparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.DataMaskparseFrom(com.google.protobuf.CodedInputStream input)static OrcProto.DataMaskparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.DataMaskparseFrom(InputStream input)static OrcProto.DataMaskparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.DataMaskparseFrom(ByteBuffer data)static OrcProto.DataMaskparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OrcProto.DataMask>parser()OrcProto.DataMask.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASKPARAMETERS_FIELD_NUMBER
public static final int MASKPARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OrcProto.DataMask> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()
the kind of masking, which may include third party masks
optional string name = 1;- Specified by:
hasNamein interfaceOrcProto.DataMaskOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
the kind of masking, which may include third party masks
optional string name = 1;- Specified by:
getNamein interfaceOrcProto.DataMaskOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
the kind of masking, which may include third party masks
optional string name = 1;- Specified by:
getNameBytesin interfaceOrcProto.DataMaskOrBuilder- Returns:
- The bytes for name.
-
getMaskParametersList
public com.google.protobuf.ProtocolStringList getMaskParametersList()
parameters for the mask
repeated string maskParameters = 2;- Specified by:
getMaskParametersListin interfaceOrcProto.DataMaskOrBuilder- Returns:
- A list containing the maskParameters.
-
getMaskParametersCount
public int getMaskParametersCount()
parameters for the mask
repeated string maskParameters = 2;- Specified by:
getMaskParametersCountin interfaceOrcProto.DataMaskOrBuilder- Returns:
- The count of maskParameters.
-
getMaskParameters
public String getMaskParameters(int index)
parameters for the mask
repeated string maskParameters = 2;- Specified by:
getMaskParametersin interfaceOrcProto.DataMaskOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The maskParameters at the given index.
-
getMaskParametersBytes
public com.google.protobuf.ByteString getMaskParametersBytes(int index)
parameters for the mask
repeated string maskParameters = 2;- Specified by:
getMaskParametersBytesin interfaceOrcProto.DataMaskOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the maskParameters at the given index.
-
getColumnsList
public List<Integer> getColumnsList()
the unencrypted column roots this mask was applied to
repeated uint32 columns = 3 [packed = true];- Specified by:
getColumnsListin interfaceOrcProto.DataMaskOrBuilder- Returns:
- A list containing the columns.
-
getColumnsCount
public int getColumnsCount()
the unencrypted column roots this mask was applied to
repeated uint32 columns = 3 [packed = true];- Specified by:
getColumnsCountin interfaceOrcProto.DataMaskOrBuilder- Returns:
- The count of columns.
-
getColumns
public int getColumns(int index)
the unencrypted column roots this mask was applied to
repeated uint32 columns = 3 [packed = true];- Specified by:
getColumnsin interfaceOrcProto.DataMaskOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The columns at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 OrcProto.DataMask parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.DataMask parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.DataMask parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.DataMask parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.DataMask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.DataMask parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.DataMask parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.DataMask parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OrcProto.DataMask parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OrcProto.DataMask parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.DataMask parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.DataMask parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OrcProto.DataMask.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OrcProto.DataMask.Builder newBuilder()
-
newBuilder
public static OrcProto.DataMask.Builder newBuilder(OrcProto.DataMask prototype)
-
toBuilder
public OrcProto.DataMask.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OrcProto.DataMask.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OrcProto.DataMask getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OrcProto.DataMask> parser()
-
getParserForType
public com.google.protobuf.Parser<OrcProto.DataMask> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OrcProto.DataMask getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-