org.jetbrains.jet.descriptors.serialization
Class JavaProtoBuf.JavaType

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by org.jetbrains.jet.descriptors.serialization.JavaProtoBuf.JavaType
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, java.io.Serializable, JavaProtoBuf.JavaTypeOrBuilder
Enclosing class:
JavaProtoBuf

public static final class JavaProtoBuf.JavaType
extends com.google.protobuf.GeneratedMessageLite
implements JavaProtoBuf.JavaTypeOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class JavaProtoBuf.JavaType.Builder
           
static class JavaProtoBuf.JavaType.PrimitiveType
           
 
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>
 
Field Summary
static int ARRAY_DIMENSION_FIELD_NUMBER
           
static int CLASS_FQ_NAME_FIELD_NUMBER
           
static int PRIMITIVE_TYPE_FIELD_NUMBER
           
 
Method Summary
 int getArrayDimension()
           
 int getClassFqName()
           
static JavaProtoBuf.JavaType getDefaultInstance()
           
 JavaProtoBuf.JavaType getDefaultInstanceForType()
           
 JavaProtoBuf.JavaType.PrimitiveType getPrimitiveType()
           
 int getSerializedSize()
           
 boolean hasArrayDimension()
           
 boolean hasClassFqName()
           
 boolean hasPrimitiveType()
           
 boolean isInitialized()
           
static JavaProtoBuf.JavaType.Builder newBuilder()
           
static JavaProtoBuf.JavaType.Builder newBuilder(JavaProtoBuf.JavaType prototype)
           
 JavaProtoBuf.JavaType.Builder newBuilderForType()
           
static JavaProtoBuf.JavaType parseDelimitedFrom(java.io.InputStream input)
           
static JavaProtoBuf.JavaType parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static JavaProtoBuf.JavaType parseFrom(byte[] data)
           
static JavaProtoBuf.JavaType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static JavaProtoBuf.JavaType parseFrom(com.google.protobuf.ByteString data)
           
static JavaProtoBuf.JavaType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static JavaProtoBuf.JavaType parseFrom(com.google.protobuf.CodedInputStream input)
           
static JavaProtoBuf.JavaType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static JavaProtoBuf.JavaType parseFrom(java.io.InputStream input)
           
static JavaProtoBuf.JavaType parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 JavaProtoBuf.JavaType.Builder toBuilder()
           
protected  java.lang.Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
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
 

Field Detail

PRIMITIVE_TYPE_FIELD_NUMBER

public static final int PRIMITIVE_TYPE_FIELD_NUMBER
See Also:
Constant Field Values

CLASS_FQ_NAME_FIELD_NUMBER

public static final int CLASS_FQ_NAME_FIELD_NUMBER
See Also:
Constant Field Values

ARRAY_DIMENSION_FIELD_NUMBER

public static final int ARRAY_DIMENSION_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static JavaProtoBuf.JavaType getDefaultInstance()

getDefaultInstanceForType

public JavaProtoBuf.JavaType getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder

hasPrimitiveType

public boolean hasPrimitiveType()
Specified by:
hasPrimitiveType in interface JavaProtoBuf.JavaTypeOrBuilder

getPrimitiveType

public JavaProtoBuf.JavaType.PrimitiveType getPrimitiveType()
Specified by:
getPrimitiveType in interface JavaProtoBuf.JavaTypeOrBuilder

hasClassFqName

public boolean hasClassFqName()
Specified by:
hasClassFqName in interface JavaProtoBuf.JavaTypeOrBuilder

getClassFqName

public int getClassFqName()
Specified by:
getClassFqName in interface JavaProtoBuf.JavaTypeOrBuilder

hasArrayDimension

public boolean hasArrayDimension()
Specified by:
hasArrayDimension in interface JavaProtoBuf.JavaTypeOrBuilder

getArrayDimension

public int getArrayDimension()
Specified by:
getArrayDimension in interface JavaProtoBuf.JavaTypeOrBuilder

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 JavaProtoBuf.JavaType parseFrom(com.google.protobuf.ByteString data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static JavaProtoBuf.JavaType parseFrom(com.google.protobuf.ByteString data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static JavaProtoBuf.JavaType parseFrom(byte[] data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static JavaProtoBuf.JavaType parseFrom(byte[] data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static JavaProtoBuf.JavaType parseFrom(java.io.InputStream input)
                                       throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static JavaProtoBuf.JavaType parseFrom(java.io.InputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

public static JavaProtoBuf.JavaType parseDelimitedFrom(java.io.InputStream input)
                                                throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

public static JavaProtoBuf.JavaType parseDelimitedFrom(java.io.InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static JavaProtoBuf.JavaType parseFrom(com.google.protobuf.CodedInputStream input)
                                       throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static JavaProtoBuf.JavaType parseFrom(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws java.io.IOException
Throws:
java.io.IOException

newBuilder

public static JavaProtoBuf.JavaType.Builder newBuilder()

newBuilderForType

public JavaProtoBuf.JavaType.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static JavaProtoBuf.JavaType.Builder newBuilder(JavaProtoBuf.JavaType prototype)

toBuilder

public JavaProtoBuf.JavaType.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.MessageLite