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

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.GeneratedMessageLite.Builder<MessageType,BuilderType>
          extended by com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<ProtoBuf.Type,ProtoBuf.Type.Builder>
              extended by org.jetbrains.kotlin.serialization.ProtoBuf.Type.Builder
All Implemented Interfaces:
com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<ProtoBuf.Type>, 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.ExtendableBuilder<ProtoBuf.Type,ProtoBuf.Type.Builder>
implements ProtoBuf.TypeOrBuilder

Protobuf type org.jetbrains.kotlin.serialization.Type


Method Summary
 ProtoBuf.Type.Builder addAllArgument(java.lang.Iterable<? extends ProtoBuf.Type.Argument> values)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.Builder addArgument(int index, ProtoBuf.Type.Argument.Builder builderForValue)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.Builder addArgument(int index, ProtoBuf.Type.Argument value)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.Builder addArgument(ProtoBuf.Type.Argument.Builder builderForValue)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.Builder addArgument(ProtoBuf.Type.Argument value)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type build()
           
 ProtoBuf.Type buildPartial()
           
 ProtoBuf.Type.Builder clear()
           
 ProtoBuf.Type.Builder clearArgument()
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.Builder clearClassName()
          optional int32 class_name = 6;
 ProtoBuf.Type.Builder clearFlexibleTypeCapabilitiesId()
          optional int32 flexible_type_capabilities_id = 4;
 ProtoBuf.Type.Builder clearFlexibleUpperBound()
          optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 ProtoBuf.Type.Builder clearFlexibleUpperBoundId()
          optional int32 flexible_upper_bound_id = 8;
 ProtoBuf.Type.Builder clearNullable()
          optional bool nullable = 3 [default = false];
 ProtoBuf.Type.Builder clearTypeParameter()
          optional int32 type_parameter = 7;
 ProtoBuf.Type.Builder clearTypeParameterName()
          optional int32 type_parameter_name = 9;
 ProtoBuf.Type.Builder clone()
           
 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;
 int getClassName()
          optional int32 class_name = 6;
 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];
 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 hasTypeParameter()
          optional int32 type_parameter = 7;
 boolean hasTypeParameterName()
          optional int32 type_parameter_name = 9;
 boolean isInitialized()
           
 ProtoBuf.Type.Builder mergeFlexibleUpperBound(ProtoBuf.Type value)
          optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 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)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.Builder setArgument(int index, ProtoBuf.Type.Argument.Builder builderForValue)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.Builder setArgument(int index, ProtoBuf.Type.Argument value)
          repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
 ProtoBuf.Type.Builder setClassName(int value)
          optional int32 class_name = 6;
 ProtoBuf.Type.Builder setFlexibleTypeCapabilitiesId(int value)
          optional int32 flexible_type_capabilities_id = 4;
 ProtoBuf.Type.Builder setFlexibleUpperBound(ProtoBuf.Type.Builder builderForValue)
          optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 ProtoBuf.Type.Builder setFlexibleUpperBound(ProtoBuf.Type value)
          optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 ProtoBuf.Type.Builder setFlexibleUpperBoundId(int value)
          optional int32 flexible_upper_bound_id = 8;
 ProtoBuf.Type.Builder setNullable(boolean value)
          optional bool nullable = 3 [default = false];
 ProtoBuf.Type.Builder setTypeParameter(int value)
          optional int32 type_parameter = 7;
 ProtoBuf.Type.Builder setTypeParameterName(int value)
          optional int32 type_parameter_name = 9;
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getExtension, getExtension, getExtensionCount, hasExtension, mergeExtensionFields, parseUnknownField, setExtension, setExtension
 
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
 
Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
 

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.ExtendableBuilder<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.ExtendableBuilder<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

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

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

setArgument

public ProtoBuf.Type.Builder setArgument(int index,
                                         ProtoBuf.Type.Argument value)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


setArgument

public ProtoBuf.Type.Builder setArgument(int index,
                                         ProtoBuf.Type.Argument.Builder builderForValue)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


addArgument

public ProtoBuf.Type.Builder addArgument(ProtoBuf.Type.Argument value)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


addArgument

public ProtoBuf.Type.Builder addArgument(int index,
                                         ProtoBuf.Type.Argument value)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


addArgument

public ProtoBuf.Type.Builder addArgument(ProtoBuf.Type.Argument.Builder builderForValue)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


addArgument

public ProtoBuf.Type.Builder addArgument(int index,
                                         ProtoBuf.Type.Argument.Builder builderForValue)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


addAllArgument

public ProtoBuf.Type.Builder addAllArgument(java.lang.Iterable<? extends ProtoBuf.Type.Argument> values)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


clearArgument

public ProtoBuf.Type.Builder clearArgument()
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;


removeArgument

public ProtoBuf.Type.Builder removeArgument(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

setNullable

public ProtoBuf.Type.Builder setNullable(boolean value)
optional bool nullable = 3 [default = false];


clearNullable

public ProtoBuf.Type.Builder clearNullable()
optional bool nullable = 3 [default = false];


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

setFlexibleTypeCapabilitiesId

public ProtoBuf.Type.Builder setFlexibleTypeCapabilitiesId(int value)
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.
 


clearFlexibleTypeCapabilitiesId

public ProtoBuf.Type.Builder clearFlexibleTypeCapabilitiesId()
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.
 


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

setFlexibleUpperBound

public ProtoBuf.Type.Builder setFlexibleUpperBound(ProtoBuf.Type value)
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;


setFlexibleUpperBound

public ProtoBuf.Type.Builder setFlexibleUpperBound(ProtoBuf.Type.Builder builderForValue)
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;


mergeFlexibleUpperBound

public ProtoBuf.Type.Builder mergeFlexibleUpperBound(ProtoBuf.Type value)
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;


clearFlexibleUpperBound

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


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

setFlexibleUpperBoundId

public ProtoBuf.Type.Builder setFlexibleUpperBoundId(int value)
optional int32 flexible_upper_bound_id = 8;


clearFlexibleUpperBoundId

public ProtoBuf.Type.Builder clearFlexibleUpperBoundId()
optional int32 flexible_upper_bound_id = 8;


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

setClassName

public ProtoBuf.Type.Builder setClassName(int value)
optional int32 class_name = 6;


clearClassName

public ProtoBuf.Type.Builder clearClassName()
optional int32 class_name = 6;


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

setTypeParameter

public ProtoBuf.Type.Builder setTypeParameter(int value)
optional int32 type_parameter = 7;
 id of the type parameter
 


clearTypeParameter

public ProtoBuf.Type.Builder clearTypeParameter()
optional int32 type_parameter = 7;
 id of the type parameter
 


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

setTypeParameterName

public ProtoBuf.Type.Builder setTypeParameterName(int value)
optional int32 type_parameter_name = 9;
 Name of the type parameter in the immediate owner
 


clearTypeParameterName

public ProtoBuf.Type.Builder clearTypeParameterName()
optional int32 type_parameter_name = 9;
 Name of the type parameter in the immediate owner