org.jetbrains.jet.descriptors.serialization
Class ProtoBuf.Type.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.GeneratedMessageLite.Builder<ProtoBuf.Type,ProtoBuf.Type.Builder>
          extended by org.jetbrains.jet.descriptors.serialization.ProtoBuf.Type.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, java.lang.Cloneable, ProtoBuf.TypeOrBuilder
Enclosing class:
ProtoBuf.Type

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


Method Summary
 ProtoBuf.Type.Builder addAllArgument(java.lang.Iterable<? extends ProtoBuf.Type.Argument> values)
           
 ProtoBuf.Type.Builder addArgument(int index, ProtoBuf.Type.Argument.Builder builderForValue)
           
 ProtoBuf.Type.Builder addArgument(int index, ProtoBuf.Type.Argument value)
           
 ProtoBuf.Type.Builder addArgument(ProtoBuf.Type.Argument.Builder builderForValue)
           
 ProtoBuf.Type.Builder addArgument(ProtoBuf.Type.Argument value)
           
 ProtoBuf.Type build()
           
 ProtoBuf.Type buildPartial()
           
 ProtoBuf.Type.Builder clear()
           
 ProtoBuf.Type.Builder clearArgument()
           
 ProtoBuf.Type.Builder clearConstructor()
           
 ProtoBuf.Type.Builder clearNullable()
           
 ProtoBuf.Type.Builder clone()
           
 ProtoBuf.Type.Argument getArgument(int index)
           
 int getArgumentCount()
           
 java.util.List<ProtoBuf.Type.Argument> getArgumentList()
           
 ProtoBuf.Type.Constructor getConstructor()
           
 ProtoBuf.Type getDefaultInstanceForType()
           
 boolean getNullable()
           
 boolean hasConstructor()
           
 boolean hasNullable()
           
 boolean isInitialized()
           
 ProtoBuf.Type.Builder mergeConstructor(ProtoBuf.Type.Constructor value)
           
 ProtoBuf.Type.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtoBuf.Type.Builder mergeFrom(ProtoBuf.Type other)
           
 ProtoBuf.Type.Builder removeArgument(int index)
           
 ProtoBuf.Type.Builder setArgument(int index, ProtoBuf.Type.Argument.Builder builderForValue)
           
 ProtoBuf.Type.Builder setArgument(int index, ProtoBuf.Type.Argument value)
           
 ProtoBuf.Type.Builder setConstructor(ProtoBuf.Type.Constructor.Builder builderForValue)
           
 ProtoBuf.Type.Builder setConstructor(ProtoBuf.Type.Constructor value)
           
 ProtoBuf.Type.Builder setNullable(boolean value)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

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

clone

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

getDefaultInstanceForType

public ProtoBuf.Type getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
getDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<ProtoBuf.Type,ProtoBuf.Type.Builder>

build

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

buildPartial

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

mergeFrom

public ProtoBuf.Type.Builder mergeFrom(ProtoBuf.Type other)
Specified by:
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<ProtoBuf.Type,ProtoBuf.Type.Builder>

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

mergeFrom

public ProtoBuf.Type.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws java.io.IOException
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<ProtoBuf.Type.Builder>
Throws:
java.io.IOException

hasConstructor

public boolean hasConstructor()
Specified by:
hasConstructor in interface ProtoBuf.TypeOrBuilder

getConstructor

public ProtoBuf.Type.Constructor getConstructor()
Specified by:
getConstructor in interface ProtoBuf.TypeOrBuilder

setConstructor

public ProtoBuf.Type.Builder setConstructor(ProtoBuf.Type.Constructor value)

setConstructor

public ProtoBuf.Type.Builder setConstructor(ProtoBuf.Type.Constructor.Builder builderForValue)

mergeConstructor

public ProtoBuf.Type.Builder mergeConstructor(ProtoBuf.Type.Constructor value)

clearConstructor

public ProtoBuf.Type.Builder clearConstructor()

getArgumentList

public java.util.List<ProtoBuf.Type.Argument> getArgumentList()
Specified by:
getArgumentList in interface ProtoBuf.TypeOrBuilder

getArgumentCount

public int getArgumentCount()
Specified by:
getArgumentCount in interface ProtoBuf.TypeOrBuilder

getArgument

public ProtoBuf.Type.Argument getArgument(int index)
Specified by:
getArgument in interface ProtoBuf.TypeOrBuilder

setArgument

public ProtoBuf.Type.Builder setArgument(int index,
                                         ProtoBuf.Type.Argument value)

setArgument

public ProtoBuf.Type.Builder setArgument(int index,
                                         ProtoBuf.Type.Argument.Builder builderForValue)

addArgument

public ProtoBuf.Type.Builder addArgument(ProtoBuf.Type.Argument value)

addArgument

public ProtoBuf.Type.Builder addArgument(int index,
                                         ProtoBuf.Type.Argument value)

addArgument

public ProtoBuf.Type.Builder addArgument(ProtoBuf.Type.Argument.Builder builderForValue)

addArgument

public ProtoBuf.Type.Builder addArgument(int index,
                                         ProtoBuf.Type.Argument.Builder builderForValue)

addAllArgument

public ProtoBuf.Type.Builder addAllArgument(java.lang.Iterable<? extends ProtoBuf.Type.Argument> values)

clearArgument

public ProtoBuf.Type.Builder clearArgument()

removeArgument

public ProtoBuf.Type.Builder removeArgument(int index)

hasNullable

public boolean hasNullable()
Specified by:
hasNullable in interface ProtoBuf.TypeOrBuilder

getNullable

public boolean getNullable()
Specified by:
getNullable in interface ProtoBuf.TypeOrBuilder

setNullable

public ProtoBuf.Type.Builder setNullable(boolean value)

clearNullable

public ProtoBuf.Type.Builder clearNullable()