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 clearConstructor()
          required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
 ProtoBuf.Type.Builder clearConstructorClassName()
          optional int32 constructor_class_name = 6;
 ProtoBuf.Type.Builder clearConstructorTypeParameter()
          optional int32 constructor_type_parameter = 7;
 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 clearNullable()
          optional bool nullable = 3 [default = false];
 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;
 ProtoBuf.Type.Constructor getConstructor()
          required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
 int getConstructorClassName()
          optional int32 constructor_class_name = 6;
 int getConstructorTypeParameter()
          optional int32 constructor_type_parameter = 7;
 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;
 boolean getNullable()
          optional bool nullable = 3 [default = false];
 boolean hasConstructor()
          required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
 boolean hasConstructorClassName()
          optional int32 constructor_class_name = 6;
 boolean hasConstructorTypeParameter()
          optional int32 constructor_type_parameter = 7;
 boolean hasFlexibleTypeCapabilitiesId()
          optional int32 flexible_type_capabilities_id = 4;
 boolean hasFlexibleUpperBound()
          optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 boolean hasNullable()
          optional bool nullable = 3 [default = false];
 boolean isInitialized()
           
 ProtoBuf.Type.Builder mergeConstructor(ProtoBuf.Type.Constructor value)
          required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
 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 setConstructor(ProtoBuf.Type.Constructor.Builder builderForValue)
          required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
 ProtoBuf.Type.Builder setConstructor(ProtoBuf.Type.Constructor value)
          required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
 ProtoBuf.Type.Builder setConstructorClassName(int value)
          optional int32 constructor_class_name = 6;
 ProtoBuf.Type.Builder setConstructorTypeParameter(int value)
          optional int32 constructor_type_parameter = 7;
 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 setNullable(boolean value)
          optional bool nullable = 3 [default = false];
 
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

hasConstructor

public boolean hasConstructor()
required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;

Specified by:
hasConstructor in interface ProtoBuf.TypeOrBuilder

getConstructor

public ProtoBuf.Type.Constructor getConstructor()
required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;

Specified by:
getConstructor in interface ProtoBuf.TypeOrBuilder

setConstructor

public ProtoBuf.Type.Builder setConstructor(ProtoBuf.Type.Constructor value)
required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;


setConstructor

public ProtoBuf.Type.Builder setConstructor(ProtoBuf.Type.Constructor.Builder builderForValue)
required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;


mergeConstructor

public ProtoBuf.Type.Builder mergeConstructor(ProtoBuf.Type.Constructor value)
required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;


clearConstructor

public ProtoBuf.Type.Builder clearConstructor()
required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;


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;
 Id in the StringTable
 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;
 Id in the StringTable
 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;
 Id in the StringTable
 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;
 Id in the StringTable
 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;
 While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
 we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
 to represent flexible types is too many wasted bytes.
 

Specified by:
hasFlexibleUpperBound in interface ProtoBuf.TypeOrBuilder

getFlexibleUpperBound

public ProtoBuf.Type getFlexibleUpperBound()
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
 we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
 to represent flexible types is too many wasted bytes.
 

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;
 While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
 we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
 to represent flexible types is too many wasted bytes.
 


setFlexibleUpperBound

public ProtoBuf.Type.Builder setFlexibleUpperBound(ProtoBuf.Type.Builder builderForValue)
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
 we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
 to represent flexible types is too many wasted bytes.
 


mergeFlexibleUpperBound

public ProtoBuf.Type.Builder mergeFlexibleUpperBound(ProtoBuf.Type value)
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
 we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
 to represent flexible types is too many wasted bytes.
 


clearFlexibleUpperBound

public ProtoBuf.Type.Builder clearFlexibleUpperBound()
optional .org.jetbrains.kotlin.serialization.Type flexible_upper_bound = 5;
 While such an "indirect" encoding helps backwards compatibility with pre-flexible-types versions of this format,
 we use it mainly to save space: having a special mandatory tag on each an every type just to have an option
 to represent flexible types is too many wasted bytes.
 


hasConstructorClassName

public boolean hasConstructorClassName()
optional int32 constructor_class_name = 6;
 fqName id
 

Specified by:
hasConstructorClassName in interface ProtoBuf.TypeOrBuilder

getConstructorClassName

public int getConstructorClassName()
optional int32 constructor_class_name = 6;
 fqName id
 

Specified by:
getConstructorClassName in interface ProtoBuf.TypeOrBuilder

setConstructorClassName

public ProtoBuf.Type.Builder setConstructorClassName(int value)
optional int32 constructor_class_name = 6;
 fqName id
 


clearConstructorClassName

public ProtoBuf.Type.Builder clearConstructorClassName()
optional int32 constructor_class_name = 6;
 fqName id
 


hasConstructorTypeParameter

public boolean hasConstructorTypeParameter()
optional int32 constructor_type_parameter = 7;
 type parameter id
 

Specified by:
hasConstructorTypeParameter in interface ProtoBuf.TypeOrBuilder

getConstructorTypeParameter

public int getConstructorTypeParameter()
optional int32 constructor_type_parameter = 7;
 type parameter id
 

Specified by:
getConstructorTypeParameter in interface ProtoBuf.TypeOrBuilder

setConstructorTypeParameter

public ProtoBuf.Type.Builder setConstructorTypeParameter(int value)
optional int32 constructor_type_parameter = 7;
 type parameter id
 


clearConstructorTypeParameter

public ProtoBuf.Type.Builder clearConstructorTypeParameter()
optional int32 constructor_type_parameter = 7;
 type parameter id