org.jetbrains.kotlin.serialization
Class ProtoBuf.TypeTable
java.lang.Object
org.jetbrains.kotlin.protobuf.AbstractMessageLite
org.jetbrains.kotlin.protobuf.GeneratedMessageLite
org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable
- All Implemented Interfaces:
- java.io.Serializable, org.jetbrains.kotlin.protobuf.MessageLite, org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder, ProtoBuf.TypeTableOrBuilder
- Enclosing class:
- ProtoBuf
public static final class ProtoBuf.TypeTable
- extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite
- implements ProtoBuf.TypeTableOrBuilder
Protobuf type org.jetbrains.kotlin.serialization.TypeTable
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class org.jetbrains.kotlin.protobuf.GeneratedMessageLite |
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage>, org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends org.jetbrains.kotlin.protobuf.MessageLite,Type> |
| Fields inherited from class org.jetbrains.kotlin.protobuf.AbstractMessageLite |
memoizedHashCode |
| Methods inherited from class org.jetbrains.kotlin.protobuf.GeneratedMessageLite |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField |
| Methods inherited from class org.jetbrains.kotlin.protobuf.AbstractMessageLite |
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARSER
public static org.jetbrains.kotlin.protobuf.Parser<ProtoBuf.TypeTable> PARSER
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
FIRST_NULLABLE_FIELD_NUMBER
public static final int FIRST_NULLABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static ProtoBuf.TypeTable getDefaultInstance()
getDefaultInstanceForType
public ProtoBuf.TypeTable getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder
getParserForType
public org.jetbrains.kotlin.protobuf.Parser<ProtoBuf.TypeTable> getParserForType()
- Specified by:
getParserForType in interface org.jetbrains.kotlin.protobuf.MessageLite- Overrides:
getParserForType in class org.jetbrains.kotlin.protobuf.GeneratedMessageLite
getTypeList
public java.util.List<ProtoBuf.Type> getTypeList()
repeated .org.jetbrains.kotlin.serialization.Type type = 1;
- Specified by:
getTypeList in interface ProtoBuf.TypeTableOrBuilder
getTypeOrBuilderList
public java.util.List<? extends ProtoBuf.TypeOrBuilder> getTypeOrBuilderList()
repeated .org.jetbrains.kotlin.serialization.Type type = 1;
getTypeCount
public int getTypeCount()
repeated .org.jetbrains.kotlin.serialization.Type type = 1;
- Specified by:
getTypeCount in interface ProtoBuf.TypeTableOrBuilder
getType
public ProtoBuf.Type getType(int index)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;
- Specified by:
getType in interface ProtoBuf.TypeTableOrBuilder
getTypeOrBuilder
public ProtoBuf.TypeOrBuilder getTypeOrBuilder(int index)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;
hasFirstNullable
public boolean hasFirstNullable()
optional int32 first_nullable = 2 [default = -1];
Index starting from which all types are nullable, or nothing if all types in this table are non-null.
Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space
- Specified by:
hasFirstNullable in interface ProtoBuf.TypeTableOrBuilder
getFirstNullable
public int getFirstNullable()
optional int32 first_nullable = 2 [default = -1];
Index starting from which all types are nullable, or nothing if all types in this table are non-null.
Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space
- Specified by:
getFirstNullable in interface ProtoBuf.TypeTableOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder
writeTo
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
throws java.io.IOException
- Specified by:
writeTo in interface org.jetbrains.kotlin.protobuf.MessageLite
- Throws:
java.io.IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize in interface org.jetbrains.kotlin.protobuf.MessageLite
writeReplace
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
- Overrides:
writeReplace in class org.jetbrains.kotlin.protobuf.GeneratedMessageLite
- Throws:
java.io.ObjectStreamException
parseFrom
public static ProtoBuf.TypeTable parseFrom(org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
- Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.TypeTable parseFrom(org.jetbrains.kotlin.protobuf.ByteString data,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
- Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.TypeTable parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
- Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.TypeTable parseFrom(byte[] data,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
- Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.TypeTable parseFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.TypeTable parseFrom(java.io.InputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static ProtoBuf.TypeTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static ProtoBuf.TypeTable parseDelimitedFrom(java.io.InputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.TypeTable parseFrom(org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.TypeTable parseFrom(org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
newBuilder
public static ProtoBuf.TypeTable.Builder newBuilder()
newBuilderForType
public ProtoBuf.TypeTable.Builder newBuilderForType()
- Specified by:
newBuilderForType in interface org.jetbrains.kotlin.protobuf.MessageLite
newBuilder
public static ProtoBuf.TypeTable.Builder newBuilder(ProtoBuf.TypeTable prototype)
toBuilder
public ProtoBuf.TypeTable.Builder toBuilder()
- Specified by:
toBuilder in interface org.jetbrains.kotlin.protobuf.MessageLite