Package io.trino.orc.proto
Class OrcProto.Type
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.trino.orc.proto.OrcProto.Type
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OrcProto.TypeOrBuilder,Serializable
- Enclosing class:
- OrcProto
public static final class OrcProto.Type extends com.google.protobuf.GeneratedMessageV3 implements OrcProto.TypeOrBuilder
Protobuf typeorc.proto.Type- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrcProto.Type.BuilderProtobuf typeorc.proto.Typestatic classOrcProto.Type.KindProtobuf enumorc.proto.Type.Kind-
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 intATTRIBUTES_FIELD_NUMBERstatic intFIELDNAMES_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intMAXIMUMLENGTH_FIELD_NUMBERstatic com.google.protobuf.Parser<OrcProto.Type>PARSERDeprecated.static intPRECISION_FIELD_NUMBERstatic intSCALE_FIELD_NUMBERstatic intSUBTYPES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)OrcProto.StringPairgetAttributes(int index)repeated .orc.proto.StringPair attributes = 7;intgetAttributesCount()repeated .orc.proto.StringPair attributes = 7;List<OrcProto.StringPair>getAttributesList()repeated .orc.proto.StringPair attributes = 7;OrcProto.StringPairOrBuildergetAttributesOrBuilder(int index)repeated .orc.proto.StringPair attributes = 7;List<? extends OrcProto.StringPairOrBuilder>getAttributesOrBuilderList()repeated .orc.proto.StringPair attributes = 7;static OrcProto.TypegetDefaultInstance()OrcProto.TypegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFieldNames(int index)repeated string fieldNames = 3;com.google.protobuf.ByteStringgetFieldNamesBytes(int index)repeated string fieldNames = 3;intgetFieldNamesCount()repeated string fieldNames = 3;com.google.protobuf.ProtocolStringListgetFieldNamesList()repeated string fieldNames = 3;OrcProto.Type.KindgetKind()optional .orc.proto.Type.Kind kind = 1;intgetMaximumLength()optional uint32 maximumLength = 4;com.google.protobuf.Parser<OrcProto.Type>getParserForType()intgetPrecision()optional uint32 precision = 5;intgetScale()optional uint32 scale = 6;intgetSerializedSize()intgetSubtypes(int index)repeated uint32 subtypes = 2 [packed = true];intgetSubtypesCount()repeated uint32 subtypes = 2 [packed = true];List<Integer>getSubtypesList()repeated uint32 subtypes = 2 [packed = true];com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasKind()optional .orc.proto.Type.Kind kind = 1;booleanhasMaximumLength()optional uint32 maximumLength = 4;booleanhasPrecision()optional uint32 precision = 5;booleanhasScale()optional uint32 scale = 6;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OrcProto.Type.BuildernewBuilder()static OrcProto.Type.BuildernewBuilder(OrcProto.Type prototype)OrcProto.Type.BuildernewBuilderForType()protected OrcProto.Type.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OrcProto.TypeparseDelimitedFrom(InputStream input)static OrcProto.TypeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.TypeparseFrom(byte[] data)static OrcProto.TypeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.TypeparseFrom(com.google.protobuf.ByteString data)static OrcProto.TypeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.TypeparseFrom(com.google.protobuf.CodedInputStream input)static OrcProto.TypeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.TypeparseFrom(InputStream input)static OrcProto.TypeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.TypeparseFrom(ByteBuffer data)static OrcProto.TypeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OrcProto.Type>parser()OrcProto.Type.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
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBTYPES_FIELD_NUMBER
public static final int SUBTYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIELDNAMES_FIELD_NUMBER
public static final int FIELDNAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXIMUMLENGTH_FIELD_NUMBER
public static final int MAXIMUMLENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCALE_FIELD_NUMBER
public static final int SCALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OrcProto.Type> 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
-
hasKind
public boolean hasKind()
optional .orc.proto.Type.Kind kind = 1;- Specified by:
hasKindin interfaceOrcProto.TypeOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public OrcProto.Type.Kind getKind()
optional .orc.proto.Type.Kind kind = 1;- Specified by:
getKindin interfaceOrcProto.TypeOrBuilder- Returns:
- The kind.
-
getSubtypesList
public List<Integer> getSubtypesList()
repeated uint32 subtypes = 2 [packed = true];- Specified by:
getSubtypesListin interfaceOrcProto.TypeOrBuilder- Returns:
- A list containing the subtypes.
-
getSubtypesCount
public int getSubtypesCount()
repeated uint32 subtypes = 2 [packed = true];- Specified by:
getSubtypesCountin interfaceOrcProto.TypeOrBuilder- Returns:
- The count of subtypes.
-
getSubtypes
public int getSubtypes(int index)
repeated uint32 subtypes = 2 [packed = true];- Specified by:
getSubtypesin interfaceOrcProto.TypeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The subtypes at the given index.
-
getFieldNamesList
public com.google.protobuf.ProtocolStringList getFieldNamesList()
repeated string fieldNames = 3;- Specified by:
getFieldNamesListin interfaceOrcProto.TypeOrBuilder- Returns:
- A list containing the fieldNames.
-
getFieldNamesCount
public int getFieldNamesCount()
repeated string fieldNames = 3;- Specified by:
getFieldNamesCountin interfaceOrcProto.TypeOrBuilder- Returns:
- The count of fieldNames.
-
getFieldNames
public String getFieldNames(int index)
repeated string fieldNames = 3;- Specified by:
getFieldNamesin interfaceOrcProto.TypeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fieldNames at the given index.
-
getFieldNamesBytes
public com.google.protobuf.ByteString getFieldNamesBytes(int index)
repeated string fieldNames = 3;- Specified by:
getFieldNamesBytesin interfaceOrcProto.TypeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fieldNames at the given index.
-
hasMaximumLength
public boolean hasMaximumLength()
optional uint32 maximumLength = 4;- Specified by:
hasMaximumLengthin interfaceOrcProto.TypeOrBuilder- Returns:
- Whether the maximumLength field is set.
-
getMaximumLength
public int getMaximumLength()
optional uint32 maximumLength = 4;- Specified by:
getMaximumLengthin interfaceOrcProto.TypeOrBuilder- Returns:
- The maximumLength.
-
hasPrecision
public boolean hasPrecision()
optional uint32 precision = 5;- Specified by:
hasPrecisionin interfaceOrcProto.TypeOrBuilder- Returns:
- Whether the precision field is set.
-
getPrecision
public int getPrecision()
optional uint32 precision = 5;- Specified by:
getPrecisionin interfaceOrcProto.TypeOrBuilder- Returns:
- The precision.
-
hasScale
public boolean hasScale()
optional uint32 scale = 6;- Specified by:
hasScalein interfaceOrcProto.TypeOrBuilder- Returns:
- Whether the scale field is set.
-
getScale
public int getScale()
optional uint32 scale = 6;- Specified by:
getScalein interfaceOrcProto.TypeOrBuilder- Returns:
- The scale.
-
getAttributesList
public List<OrcProto.StringPair> getAttributesList()
repeated .orc.proto.StringPair attributes = 7;- Specified by:
getAttributesListin interfaceOrcProto.TypeOrBuilder
-
getAttributesOrBuilderList
public List<? extends OrcProto.StringPairOrBuilder> getAttributesOrBuilderList()
repeated .orc.proto.StringPair attributes = 7;- Specified by:
getAttributesOrBuilderListin interfaceOrcProto.TypeOrBuilder
-
getAttributesCount
public int getAttributesCount()
repeated .orc.proto.StringPair attributes = 7;- Specified by:
getAttributesCountin interfaceOrcProto.TypeOrBuilder
-
getAttributes
public OrcProto.StringPair getAttributes(int index)
repeated .orc.proto.StringPair attributes = 7;- Specified by:
getAttributesin interfaceOrcProto.TypeOrBuilder
-
getAttributesOrBuilder
public OrcProto.StringPairOrBuilder getAttributesOrBuilder(int index)
repeated .orc.proto.StringPair attributes = 7;- Specified by:
getAttributesOrBuilderin interfaceOrcProto.TypeOrBuilder
-
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.Type parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.Type parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.Type parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.Type 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.Type parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.Type parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.Type parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.Type parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OrcProto.Type parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OrcProto.Type parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.Type parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.Type parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OrcProto.Type.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OrcProto.Type.Builder newBuilder()
-
newBuilder
public static OrcProto.Type.Builder newBuilder(OrcProto.Type prototype)
-
toBuilder
public OrcProto.Type.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OrcProto.Type.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OrcProto.Type getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OrcProto.Type> parser()
-
getParserForType
public com.google.protobuf.Parser<OrcProto.Type> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OrcProto.Type getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-