org.jetbrains.kotlin.serialization
Class ProtoBuf.Type

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by com.google.protobuf.GeneratedMessageLite.ExtendableMessage<ProtoBuf.Type>
              extended by org.jetbrains.kotlin.serialization.ProtoBuf.Type
All Implemented Interfaces:
com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<ProtoBuf.Type>, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, java.io.Serializable, ProtoBuf.TypeOrBuilder
Enclosing class:
ProtoBuf

public static final class ProtoBuf.Type
extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<ProtoBuf.Type>
implements ProtoBuf.TypeOrBuilder

Protobuf type org.jetbrains.kotlin.serialization.Type

See Also:
Serialized Form

Nested Class Summary
static class ProtoBuf.Type.Argument
          Protobuf type org.jetbrains.kotlin.serialization.Type.Argument
static interface ProtoBuf.Type.ArgumentOrBuilder
           
static class ProtoBuf.Type.Builder
          Protobuf type org.jetbrains.kotlin.serialization.Type
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
com.google.protobuf.GeneratedMessageLite.ExtendableMessage.ExtensionWriter
 
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 ARGUMENT_FIELD_NUMBER
           
static int CLASS_NAME_FIELD_NUMBER
           
static int FLEXIBLE_TYPE_CAPABILITIES_ID_FIELD_NUMBER
           
static int FLEXIBLE_UPPER_BOUND_FIELD_NUMBER
           
static int FLEXIBLE_UPPER_BOUND_ID_FIELD_NUMBER
           
static int NULLABLE_FIELD_NUMBER
           
static int OUTER_TYPE_FIELD_NUMBER
           
static int OUTER_TYPE_ID_FIELD_NUMBER
           
static com.google.protobuf.Parser<ProtoBuf.Type> PARSER
           
static int TYPE_PARAMETER_FIELD_NUMBER
           
static int TYPE_PARAMETER_NAME_FIELD_NUMBER
           
 
Method Summary
 ProtoBuf.Type.Argument getArgument(int index)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 int getArgumentCount()
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 java.util.List<ProtoBuf.Type.Argument> getArgumentList()
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder(int index)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 java.util.List<? extends ProtoBuf.Type.ArgumentOrBuilder> getArgumentOrBuilderList()
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 int getClassName()
          optional int32 class_name = 6;
static ProtoBuf.Type getDefaultInstance()
           
 ProtoBuf.Type getDefaultInstanceForType()
           
 int getFlexibleTypeCapabilitiesId()
          optional int32 flexible_type_capabilities_id = 4;
 ProtoBuf.Type getFlexibleUpperBound()
          optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 int getFlexibleUpperBoundId()
          optional int32 flexible_upper_bound_id = 8;
 boolean getNullable()
          optional bool nullable = 3 [default = false];
 ProtoBuf.Type getOuterType()
          optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;
 int getOuterTypeId()
          optional int32 outer_type_id = 11;
 com.google.protobuf.Parser<ProtoBuf.Type> getParserForType()
           
 int getSerializedSize()
           
 int getTypeParameter()
          optional int32 type_parameter = 7;
 int getTypeParameterName()
          optional int32 type_parameter_name = 9;
 boolean hasClassName()
          optional int32 class_name = 6;
 boolean hasFlexibleTypeCapabilitiesId()
          optional int32 flexible_type_capabilities_id = 4;
 boolean hasFlexibleUpperBound()
          optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 boolean hasFlexibleUpperBoundId()
          optional int32 flexible_upper_bound_id = 8;
 boolean hasNullable()
          optional bool nullable = 3 [default = false];
 boolean hasOuterType()
          optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;
 boolean hasOuterTypeId()
          optional int32 outer_type_id = 11;
 boolean hasTypeParameter()
          optional int32 type_parameter = 7;
 boolean hasTypeParameterName()
          optional int32 type_parameter_name = 9;
 boolean isInitialized()
           
static ProtoBuf.Type.Builder newBuilder()
           
static ProtoBuf.Type.Builder newBuilder(ProtoBuf.Type prototype)
           
 ProtoBuf.Type.Builder newBuilderForType()
           
static ProtoBuf.Type parseDelimitedFrom(java.io.InputStream input)
           
static ProtoBuf.Type parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtoBuf.Type parseFrom(byte[] data)
           
static ProtoBuf.Type parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtoBuf.Type parseFrom(com.google.protobuf.ByteString data)
           
static ProtoBuf.Type parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtoBuf.Type parseFrom(com.google.protobuf.CodedInputStream input)
           
static ProtoBuf.Type parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtoBuf.Type parseFrom(java.io.InputStream input)
           
static ProtoBuf.Type parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtoBuf.Type.Builder toBuilder()
           
protected  java.lang.Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getExtension, getExtension, getExtensionCount, hasExtension, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite
newRepeatedGeneratedExtension, newSingularGeneratedExtension
 
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
 
Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
 

Field Detail

PARSER

public static com.google.protobuf.Parser<ProtoBuf.Type> PARSER

ARGUMENT_FIELD_NUMBER

public static final int ARGUMENT_FIELD_NUMBER
See Also:
Constant Field Values

NULLABLE_FIELD_NUMBER

public static final int NULLABLE_FIELD_NUMBER
See Also:
Constant Field Values

FLEXIBLE_TYPE_CAPABILITIES_ID_FIELD_NUMBER

public static final int FLEXIBLE_TYPE_CAPABILITIES_ID_FIELD_NUMBER
See Also:
Constant Field Values

FLEXIBLE_UPPER_BOUND_FIELD_NUMBER

public static final int FLEXIBLE_UPPER_BOUND_FIELD_NUMBER
See Also:
Constant Field Values

FLEXIBLE_UPPER_BOUND_ID_FIELD_NUMBER

public static final int FLEXIBLE_UPPER_BOUND_ID_FIELD_NUMBER
See Also:
Constant Field Values

CLASS_NAME_FIELD_NUMBER

public static final int CLASS_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

TYPE_PARAMETER_NAME_FIELD_NUMBER

public static final int TYPE_PARAMETER_NAME_FIELD_NUMBER
See Also:
Constant Field Values

OUTER_TYPE_FIELD_NUMBER

public static final int OUTER_TYPE_FIELD_NUMBER
See Also:
Constant Field Values

OUTER_TYPE_ID_FIELD_NUMBER

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

getDefaultInstance

public static ProtoBuf.Type getDefaultInstance()

getDefaultInstanceForType

public ProtoBuf.Type getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder

getParserForType

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

getArgumentList

public java.util.List<ProtoBuf.Type.Argument> getArgumentList()
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;

Specified by:
getArgumentList in interface ProtoBuf.TypeOrBuilder

getArgumentOrBuilderList

public java.util.List<? extends ProtoBuf.Type.ArgumentOrBuilder> getArgumentOrBuilderList()
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


getArgumentCount

public int getArgumentCount()
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;

Specified by:
getArgumentCount in interface ProtoBuf.TypeOrBuilder

getArgument

public ProtoBuf.Type.Argument getArgument(int index)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;

Specified by:
getArgument in interface ProtoBuf.TypeOrBuilder

getArgumentOrBuilder

public ProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder(int index)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


hasNullable

public boolean hasNullable()
optional bool nullable = 3 [default = false];

Specified by:
hasNullable in interface ProtoBuf.TypeOrBuilder

getNullable

public boolean getNullable()
optional bool nullable = 3 [default = false];

Specified by:
getNullable in interface ProtoBuf.TypeOrBuilder

hasFlexibleTypeCapabilitiesId

public boolean hasFlexibleTypeCapabilitiesId()
optional int32 flexible_type_capabilities_id = 4;
 If this field is set, the type is flexible.
 All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
 

Specified by:
hasFlexibleTypeCapabilitiesId in interface ProtoBuf.TypeOrBuilder

getFlexibleTypeCapabilitiesId

public int getFlexibleTypeCapabilitiesId()
optional int32 flexible_type_capabilities_id = 4;
 If this field is set, the type is flexible.
 All the other fields and extensions represent its lower bound, and flexible_upper_bound must be set and represents its upper bound.
 

Specified by:
getFlexibleTypeCapabilitiesId in interface ProtoBuf.TypeOrBuilder

hasFlexibleUpperBound

public boolean hasFlexibleUpperBound()
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;

Specified by:
hasFlexibleUpperBound in interface ProtoBuf.TypeOrBuilder

getFlexibleUpperBound

public ProtoBuf.Type getFlexibleUpperBound()
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;

Specified by:
getFlexibleUpperBound in interface ProtoBuf.TypeOrBuilder

hasFlexibleUpperBoundId

public boolean hasFlexibleUpperBoundId()
optional int32 flexible_upper_bound_id = 8;

Specified by:
hasFlexibleUpperBoundId in interface ProtoBuf.TypeOrBuilder

getFlexibleUpperBoundId

public int getFlexibleUpperBoundId()
optional int32 flexible_upper_bound_id = 8;

Specified by:
getFlexibleUpperBoundId in interface ProtoBuf.TypeOrBuilder

hasClassName

public boolean hasClassName()
optional int32 class_name = 6;

Specified by:
hasClassName in interface ProtoBuf.TypeOrBuilder

getClassName

public int getClassName()
optional int32 class_name = 6;

Specified by:
getClassName in interface ProtoBuf.TypeOrBuilder

hasTypeParameter

public boolean hasTypeParameter()
optional int32 type_parameter = 7;
 id of the type parameter
 

Specified by:
hasTypeParameter in interface ProtoBuf.TypeOrBuilder

getTypeParameter

public int getTypeParameter()
optional int32 type_parameter = 7;
 id of the type parameter
 

Specified by:
getTypeParameter in interface ProtoBuf.TypeOrBuilder

hasTypeParameterName

public boolean hasTypeParameterName()
optional int32 type_parameter_name = 9;
 Name of the type parameter in the immediate owner
 

Specified by:
hasTypeParameterName in interface ProtoBuf.TypeOrBuilder

getTypeParameterName

public int getTypeParameterName()
optional int32 type_parameter_name = 9;
 Name of the type parameter in the immediate owner
 

Specified by:
getTypeParameterName in interface ProtoBuf.TypeOrBuilder

hasOuterType

public boolean hasOuterType()
optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;

Specified by:
hasOuterType in interface ProtoBuf.TypeOrBuilder

getOuterType

public ProtoBuf.Type getOuterType()
optional .org.jetbrains.kotlin.serialization.Type outer_type = 10;

Specified by:
getOuterType in interface ProtoBuf.TypeOrBuilder

hasOuterTypeId

public boolean hasOuterTypeId()
optional int32 outer_type_id = 11;

Specified by:
hasOuterTypeId in interface ProtoBuf.TypeOrBuilder

getOuterTypeId

public int getOuterTypeId()
optional int32 outer_type_id = 11;

Specified by:
getOuterTypeId in interface ProtoBuf.TypeOrBuilder

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

parseFrom

public static ProtoBuf.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 ProtoBuf.Type parseFrom(byte[] data)
                               throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

public static ProtoBuf.Type parseFrom(java.io.InputStream input)
                               throws java.io.IOException
Throws:
java.io.IOException

parseFrom

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

parseDelimitedFrom

public static ProtoBuf.Type parseDelimitedFrom(java.io.InputStream input)
                                        throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static ProtoBuf.Type.Builder newBuilder()

newBuilderForType

public ProtoBuf.Type.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static ProtoBuf.Type.Builder newBuilder(ProtoBuf.Type prototype)

toBuilder

public ProtoBuf.Type.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.MessageLite