org.jetbrains.jet.descriptors.serialization
Class ProtoBuf.Class
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.GeneratedMessageLite
org.jetbrains.jet.descriptors.serialization.ProtoBuf.Class
- All Implemented Interfaces:
- com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, java.io.Serializable, ProtoBuf.ClassOrBuilder
- Enclosing class:
- ProtoBuf
public static final class ProtoBuf.Class
- extends com.google.protobuf.GeneratedMessageLite
- implements ProtoBuf.ClassOrBuilder
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type> |
| Methods inherited from class com.google.protobuf.GeneratedMessageLite |
getParserForType, makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLAGS_FIELD_NUMBER
public static final int FLAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
EXTRA_VISIBILITY_FIELD_NUMBER
public static final int EXTRA_VISIBILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
TYPE_PARAMETER_FIELD_NUMBER
public static final int TYPE_PARAMETER_FIELD_NUMBER
- See Also:
- Constant Field Values
SUPERTYPE_FIELD_NUMBER
public static final int SUPERTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
NESTED_CLASS_NAME_FIELD_NUMBER
public static final int NESTED_CLASS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
NESTED_OBJECT_NAME_FIELD_NUMBER
public static final int NESTED_OBJECT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
CLASS_OBJECT_PRESENT_FIELD_NUMBER
public static final int CLASS_OBJECT_PRESENT_FIELD_NUMBER
- See Also:
- Constant Field Values
PRIMARY_CONSTRUCTOR_FIELD_NUMBER
public static final int PRIMARY_CONSTRUCTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
MEMBER_FIELD_NUMBER
public static final int MEMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
ENUM_ENTRY_FIELD_NUMBER
public static final int ENUM_ENTRY_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static ProtoBuf.Class getDefaultInstance()
getDefaultInstanceForType
public ProtoBuf.Class getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
hasFlags
public boolean hasFlags()
- Specified by:
hasFlags in interface ProtoBuf.ClassOrBuilder
getFlags
public int getFlags()
- Specified by:
getFlags in interface ProtoBuf.ClassOrBuilder
hasExtraVisibility
public boolean hasExtraVisibility()
- Specified by:
hasExtraVisibility in interface ProtoBuf.ClassOrBuilder
getExtraVisibility
public java.lang.String getExtraVisibility()
- Specified by:
getExtraVisibility in interface ProtoBuf.ClassOrBuilder
hasName
public boolean hasName()
- Specified by:
hasName in interface ProtoBuf.ClassOrBuilder
getName
public int getName()
- Specified by:
getName in interface ProtoBuf.ClassOrBuilder
getTypeParameterList
public java.util.List<ProtoBuf.TypeParameter> getTypeParameterList()
- Specified by:
getTypeParameterList in interface ProtoBuf.ClassOrBuilder
getTypeParameterOrBuilderList
public java.util.List<? extends ProtoBuf.TypeParameterOrBuilder> getTypeParameterOrBuilderList()
getTypeParameterCount
public int getTypeParameterCount()
- Specified by:
getTypeParameterCount in interface ProtoBuf.ClassOrBuilder
getTypeParameter
public ProtoBuf.TypeParameter getTypeParameter(int index)
- Specified by:
getTypeParameter in interface ProtoBuf.ClassOrBuilder
getTypeParameterOrBuilder
public ProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(int index)
getSupertypeList
public java.util.List<ProtoBuf.Type> getSupertypeList()
- Specified by:
getSupertypeList in interface ProtoBuf.ClassOrBuilder
getSupertypeOrBuilderList
public java.util.List<? extends ProtoBuf.TypeOrBuilder> getSupertypeOrBuilderList()
getSupertypeCount
public int getSupertypeCount()
- Specified by:
getSupertypeCount in interface ProtoBuf.ClassOrBuilder
getSupertype
public ProtoBuf.Type getSupertype(int index)
- Specified by:
getSupertype in interface ProtoBuf.ClassOrBuilder
getSupertypeOrBuilder
public ProtoBuf.TypeOrBuilder getSupertypeOrBuilder(int index)
getNestedClassNameList
public java.util.List<java.lang.Integer> getNestedClassNameList()
- Specified by:
getNestedClassNameList in interface ProtoBuf.ClassOrBuilder
getNestedClassNameCount
public int getNestedClassNameCount()
- Specified by:
getNestedClassNameCount in interface ProtoBuf.ClassOrBuilder
getNestedClassName
public int getNestedClassName(int index)
- Specified by:
getNestedClassName in interface ProtoBuf.ClassOrBuilder
getNestedObjectNameList
public java.util.List<java.lang.Integer> getNestedObjectNameList()
- Specified by:
getNestedObjectNameList in interface ProtoBuf.ClassOrBuilder
getNestedObjectNameCount
public int getNestedObjectNameCount()
- Specified by:
getNestedObjectNameCount in interface ProtoBuf.ClassOrBuilder
getNestedObjectName
public int getNestedObjectName(int index)
- Specified by:
getNestedObjectName in interface ProtoBuf.ClassOrBuilder
hasClassObjectPresent
public boolean hasClassObjectPresent()
- Specified by:
hasClassObjectPresent in interface ProtoBuf.ClassOrBuilder
getClassObjectPresent
public boolean getClassObjectPresent()
- Specified by:
getClassObjectPresent in interface ProtoBuf.ClassOrBuilder
hasPrimaryConstructor
public boolean hasPrimaryConstructor()
- Specified by:
hasPrimaryConstructor in interface ProtoBuf.ClassOrBuilder
getPrimaryConstructor
public ProtoBuf.Callable getPrimaryConstructor()
- Specified by:
getPrimaryConstructor in interface ProtoBuf.ClassOrBuilder
getMemberList
public java.util.List<ProtoBuf.Callable> getMemberList()
- Specified by:
getMemberList in interface ProtoBuf.ClassOrBuilder
getMemberOrBuilderList
public java.util.List<? extends ProtoBuf.CallableOrBuilder> getMemberOrBuilderList()
getMemberCount
public int getMemberCount()
- Specified by:
getMemberCount in interface ProtoBuf.ClassOrBuilder
getMember
public ProtoBuf.Callable getMember(int index)
- Specified by:
getMember in interface ProtoBuf.ClassOrBuilder
getMemberOrBuilder
public ProtoBuf.CallableOrBuilder getMemberOrBuilder(int index)
getEnumEntryList
public java.util.List<java.lang.Integer> getEnumEntryList()
- Specified by:
getEnumEntryList in interface ProtoBuf.ClassOrBuilder
getEnumEntryCount
public int getEnumEntryCount()
- Specified by:
getEnumEntryCount in interface ProtoBuf.ClassOrBuilder
getEnumEntry
public int getEnumEntry(int index)
- Specified by:
getEnumEntry in interface ProtoBuf.ClassOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
- Specified by:
writeTo in interface com.google.protobuf.MessageLite
- Throws:
java.io.IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
writeReplace
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
- Overrides:
writeReplace in class com.google.protobuf.GeneratedMessageLite
- Throws:
java.io.ObjectStreamException
parseFrom
public static ProtoBuf.Class parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.Class parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.Class parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.Class parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.Class parseFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.Class parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static ProtoBuf.Class parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static ProtoBuf.Class parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.Class parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.Class parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
newBuilder
public static ProtoBuf.Class.Builder newBuilder()
newBuilderForType
public ProtoBuf.Class.Builder newBuilderForType()
- Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite
newBuilder
public static ProtoBuf.Class.Builder newBuilder(ProtoBuf.Class prototype)
toBuilder
public ProtoBuf.Class.Builder toBuilder()
- Specified by:
toBuilder in interface com.google.protobuf.MessageLite