org.jetbrains.kotlin.serialization
Class ProtoBuf.Type.Argument

java.lang.Object
  extended by org.jetbrains.kotlin.protobuf.AbstractMessageLite
      extended by org.jetbrains.kotlin.protobuf.GeneratedMessageLite
          extended by org.jetbrains.kotlin.serialization.ProtoBuf.Type.Argument
All Implemented Interfaces:
java.io.Serializable, org.jetbrains.kotlin.protobuf.MessageLite, org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder, ProtoBuf.Type.ArgumentOrBuilder
Enclosing class:
ProtoBuf.Type

public static final class ProtoBuf.Type.Argument
extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite
implements ProtoBuf.Type.ArgumentOrBuilder

Protobuf type org.jetbrains.kotlin.serialization.Type.Argument

See Also:
Serialized Form

Nested Class Summary
static class ProtoBuf.Type.Argument.Builder
          Protobuf type org.jetbrains.kotlin.serialization.Type.Argument
static class ProtoBuf.Type.Argument.Projection
          Protobuf enum org.jetbrains.kotlin.serialization.Type.Argument.Projection
 
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>
 
Field Summary
static org.jetbrains.kotlin.protobuf.Parser<ProtoBuf.Type.Argument> PARSER
           
static int PROJECTION_FIELD_NUMBER
           
static int TYPE_FIELD_NUMBER
           
static int TYPE_ID_FIELD_NUMBER
           
 
Fields inherited from class org.jetbrains.kotlin.protobuf.AbstractMessageLite
memoizedHashCode
 
Method Summary
static ProtoBuf.Type.Argument getDefaultInstance()
           
 ProtoBuf.Type.Argument getDefaultInstanceForType()
           
 org.jetbrains.kotlin.protobuf.Parser<ProtoBuf.Type.Argument> getParserForType()
           
 ProtoBuf.Type.Argument.Projection getProjection()
          optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
 int getSerializedSize()
           
 ProtoBuf.Type getType()
          optional .org.jetbrains.kotlin.serialization.Type type = 2;
 int getTypeId()
          optional int32 type_id = 3;
 boolean hasProjection()
          optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];
 boolean hasType()
          optional .org.jetbrains.kotlin.serialization.Type type = 2;
 boolean hasTypeId()
          optional int32 type_id = 3;
 boolean isInitialized()
           
static ProtoBuf.Type.Argument.Builder newBuilder()
           
static ProtoBuf.Type.Argument.Builder newBuilder(ProtoBuf.Type.Argument prototype)
           
 ProtoBuf.Type.Argument.Builder newBuilderForType()
           
static ProtoBuf.Type.Argument parseDelimitedFrom(java.io.InputStream input)
           
static ProtoBuf.Type.Argument parseDelimitedFrom(java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtoBuf.Type.Argument parseFrom(byte[] data)
           
static ProtoBuf.Type.Argument parseFrom(byte[] data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtoBuf.Type.Argument parseFrom(org.jetbrains.kotlin.protobuf.ByteString data)
           
static ProtoBuf.Type.Argument parseFrom(org.jetbrains.kotlin.protobuf.ByteString data, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtoBuf.Type.Argument parseFrom(org.jetbrains.kotlin.protobuf.CodedInputStream input)
           
static ProtoBuf.Type.Argument parseFrom(org.jetbrains.kotlin.protobuf.CodedInputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ProtoBuf.Type.Argument parseFrom(java.io.InputStream input)
           
static ProtoBuf.Type.Argument parseFrom(java.io.InputStream input, org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtoBuf.Type.Argument.Builder toBuilder()
           
protected  java.lang.Object writeReplace()
           
 void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
           
 
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
 

Field Detail

PARSER

public static org.jetbrains.kotlin.protobuf.Parser<ProtoBuf.Type.Argument> PARSER

PROJECTION_FIELD_NUMBER

public static final int PROJECTION_FIELD_NUMBER
See Also:
Constant Field Values

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
See Also:
Constant Field Values

TYPE_ID_FIELD_NUMBER

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

getDefaultInstance

public static ProtoBuf.Type.Argument getDefaultInstance()

getDefaultInstanceForType

public ProtoBuf.Type.Argument getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder

getParserForType

public org.jetbrains.kotlin.protobuf.Parser<ProtoBuf.Type.Argument> getParserForType()
Specified by:
getParserForType in interface org.jetbrains.kotlin.protobuf.MessageLite
Overrides:
getParserForType in class org.jetbrains.kotlin.protobuf.GeneratedMessageLite

hasProjection

public boolean hasProjection()
optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];

Specified by:
hasProjection in interface ProtoBuf.Type.ArgumentOrBuilder

getProjection

public ProtoBuf.Type.Argument.Projection getProjection()
optional .org.jetbrains.kotlin.serialization.Type.Argument.Projection projection = 1 [default = INV];

Specified by:
getProjection in interface ProtoBuf.Type.ArgumentOrBuilder

hasType

public boolean hasType()
optional .org.jetbrains.kotlin.serialization.Type type = 2;
 When projection is STAR, no type is written, otherwise type must be specified
 

Specified by:
hasType in interface ProtoBuf.Type.ArgumentOrBuilder

getType

public ProtoBuf.Type getType()
optional .org.jetbrains.kotlin.serialization.Type type = 2;
 When projection is STAR, no type is written, otherwise type must be specified
 

Specified by:
getType in interface ProtoBuf.Type.ArgumentOrBuilder

hasTypeId

public boolean hasTypeId()
optional int32 type_id = 3;

Specified by:
hasTypeId in interface ProtoBuf.Type.ArgumentOrBuilder

getTypeId

public int getTypeId()
optional int32 type_id = 3;

Specified by:
getTypeId in interface ProtoBuf.Type.ArgumentOrBuilder

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.Type.Argument parseFrom(org.jetbrains.kotlin.protobuf.ByteString data)
                                        throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

public static ProtoBuf.Type.Argument 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.Type.Argument parseFrom(java.io.InputStream input)
                                        throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static ProtoBuf.Type.Argument parseFrom(java.io.InputStream input,
                                               org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

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

parseDelimitedFrom

public static ProtoBuf.Type.Argument parseDelimitedFrom(java.io.InputStream input,
                                                        org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static ProtoBuf.Type.Argument parseFrom(org.jetbrains.kotlin.protobuf.CodedInputStream input)
                                        throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static ProtoBuf.Type.Argument 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.Type.Argument.Builder newBuilder()

newBuilderForType

public ProtoBuf.Type.Argument.Builder newBuilderForType()
Specified by:
newBuilderForType in interface org.jetbrains.kotlin.protobuf.MessageLite

newBuilder

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

toBuilder

public ProtoBuf.Type.Argument.Builder toBuilder()
Specified by:
toBuilder in interface org.jetbrains.kotlin.protobuf.MessageLite