org.jetbrains.kotlin.serialization.jvm
Class JvmProtoBuf.JvmType

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by org.jetbrains.kotlin.serialization.jvm.JvmProtoBuf.JvmType
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, java.io.Serializable, JvmProtoBuf.JvmTypeOrBuilder
Enclosing class:
JvmProtoBuf

public static final class JvmProtoBuf.JvmType
extends com.google.protobuf.GeneratedMessageLite
implements JvmProtoBuf.JvmTypeOrBuilder

Protobuf type org.jetbrains.kotlin.serialization.jvm.JvmType

 Either a primitive type, or a class FQ name should be present
 

See Also:
Serialized Form

Nested Class Summary
static class JvmProtoBuf.JvmType.Builder
          Protobuf type org.jetbrains.kotlin.serialization.jvm.JvmType
static class JvmProtoBuf.JvmType.PrimitiveType
          Protobuf enum org.jetbrains.kotlin.serialization.jvm.JvmType.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 com.google.protobuf.Parser<JvmProtoBuf.JvmType> PARSER
           
static int PRIMITIVE_TYPE_FIELD_NUMBER
           
 
Method Summary
 int getArrayDimension()
          optional int32 array_dimension = 3 [default = 0];
 int getClassFqName()
          optional int32 class_fq_name = 2;
static JvmProtoBuf.JvmType getDefaultInstance()
           
 JvmProtoBuf.JvmType getDefaultInstanceForType()
           
 com.google.protobuf.Parser<JvmProtoBuf.JvmType> getParserForType()
           
 JvmProtoBuf.JvmType.PrimitiveType getPrimitiveType()
          optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;
 int getSerializedSize()
           
 boolean hasArrayDimension()
          optional int32 array_dimension = 3 [default = 0];
 boolean hasClassFqName()
          optional int32 class_fq_name = 2;
 boolean hasPrimitiveType()
          optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;
 boolean isInitialized()
           
static JvmProtoBuf.JvmType.Builder newBuilder()
           
static JvmProtoBuf.JvmType.Builder newBuilder(JvmProtoBuf.JvmType prototype)
           
 JvmProtoBuf.JvmType.Builder newBuilderForType()
           
static JvmProtoBuf.JvmType parseDelimitedFrom(java.io.InputStream input)
           
static JvmProtoBuf.JvmType parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static JvmProtoBuf.JvmType parseFrom(byte[] data)
           
static JvmProtoBuf.JvmType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static JvmProtoBuf.JvmType parseFrom(com.google.protobuf.ByteString data)
           
static JvmProtoBuf.JvmType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static JvmProtoBuf.JvmType parseFrom(com.google.protobuf.CodedInputStream input)
           
static JvmProtoBuf.JvmType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static JvmProtoBuf.JvmType parseFrom(java.io.InputStream input)
           
static JvmProtoBuf.JvmType parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 JvmProtoBuf.JvmType.Builder toBuilder()
           
protected  java.lang.Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite
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

PARSER

public static com.google.protobuf.Parser<JvmProtoBuf.JvmType> PARSER

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 JvmProtoBuf.JvmType getDefaultInstance()

getDefaultInstanceForType

public JvmProtoBuf.JvmType getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder

getParserForType

public com.google.protobuf.Parser<JvmProtoBuf.JvmType> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessageLite

hasPrimitiveType

public boolean hasPrimitiveType()
optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;

Specified by:
hasPrimitiveType in interface JvmProtoBuf.JvmTypeOrBuilder

getPrimitiveType

public JvmProtoBuf.JvmType.PrimitiveType getPrimitiveType()
optional .org.jetbrains.kotlin.serialization.jvm.JvmType.PrimitiveType primitive_type = 1;

Specified by:
getPrimitiveType in interface JvmProtoBuf.JvmTypeOrBuilder

hasClassFqName

public boolean hasClassFqName()
optional int32 class_fq_name = 2;
 id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
 

Specified by:
hasClassFqName in interface JvmProtoBuf.JvmTypeOrBuilder

getClassFqName

public int getClassFqName()
optional int32 class_fq_name = 2;
 id in QualifiedNameTable of a name in the following format: 'package.Outer$Nested'
 

Specified by:
getClassFqName in interface JvmProtoBuf.JvmTypeOrBuilder

hasArrayDimension

public boolean hasArrayDimension()
optional int32 array_dimension = 3 [default = 0];

Specified by:
hasArrayDimension in interface JvmProtoBuf.JvmTypeOrBuilder

getArrayDimension

public int getArrayDimension()
optional int32 array_dimension = 3 [default = 0];

Specified by:
getArrayDimension in interface JvmProtoBuf.JvmTypeOrBuilder

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

parseFrom

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

parseFrom

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

parseFrom

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

parseFrom

public static JvmProtoBuf.JvmType parseFrom(java.io.InputStream input)
                                     throws java.io.IOException
Throws:
java.io.IOException

parseFrom

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

parseDelimitedFrom

public static JvmProtoBuf.JvmType parseDelimitedFrom(java.io.InputStream input)
                                              throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static JvmProtoBuf.JvmType.Builder newBuilder()

newBuilderForType

public JvmProtoBuf.JvmType.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static JvmProtoBuf.JvmType.Builder newBuilder(JvmProtoBuf.JvmType prototype)

toBuilder

public JvmProtoBuf.JvmType.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.MessageLite