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

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

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

Protobuf type org.jetbrains.kotlin.serialization.TypeTable


Method Summary
 ProtoBuf.TypeTable.Builder addAllType(java.lang.Iterable<? extends ProtoBuf.Type> values)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 ProtoBuf.TypeTable.Builder addType(int index, ProtoBuf.Type.Builder builderForValue)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 ProtoBuf.TypeTable.Builder addType(int index, ProtoBuf.Type value)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 ProtoBuf.TypeTable.Builder addType(ProtoBuf.Type.Builder builderForValue)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 ProtoBuf.TypeTable.Builder addType(ProtoBuf.Type value)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 ProtoBuf.TypeTable build()
           
 ProtoBuf.TypeTable buildPartial()
           
 ProtoBuf.TypeTable.Builder clear()
           
 ProtoBuf.TypeTable.Builder clearFirstNullable()
          optional int32 first_nullable = 2 [default = -1];
 ProtoBuf.TypeTable.Builder clearType()
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 ProtoBuf.TypeTable.Builder clone()
           
 ProtoBuf.TypeTable getDefaultInstanceForType()
           
 int getFirstNullable()
          optional int32 first_nullable = 2 [default = -1];
 ProtoBuf.Type getType(int index)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 int getTypeCount()
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 java.util.List<ProtoBuf.Type> getTypeList()
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 boolean hasFirstNullable()
          optional int32 first_nullable = 2 [default = -1];
 boolean isInitialized()
           
 ProtoBuf.TypeTable.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtoBuf.TypeTable.Builder mergeFrom(ProtoBuf.TypeTable other)
           
 ProtoBuf.TypeTable.Builder removeType(int index)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 ProtoBuf.TypeTable.Builder setFirstNullable(int value)
          optional int32 first_nullable = 2 [default = -1];
 ProtoBuf.TypeTable.Builder setType(int index, ProtoBuf.Type.Builder builderForValue)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 ProtoBuf.TypeTable.Builder setType(int index, ProtoBuf.Type value)
          repeated .org.jetbrains.kotlin.serialization.Type type = 1;
 
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.TypeTable.Builder clear()
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessageLite.Builder<ProtoBuf.TypeTable,ProtoBuf.TypeTable.Builder>

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

isInitialized

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

mergeFrom

public ProtoBuf.TypeTable.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.TypeTable.Builder>
Throws:
java.io.IOException

getTypeList

public java.util.List<ProtoBuf.Type> getTypeList()
repeated .org.jetbrains.kotlin.serialization.Type type = 1;

Specified by:
getTypeList in interface ProtoBuf.TypeTableOrBuilder

getTypeCount

public int getTypeCount()
repeated .org.jetbrains.kotlin.serialization.Type type = 1;

Specified by:
getTypeCount in interface ProtoBuf.TypeTableOrBuilder

getType

public ProtoBuf.Type getType(int index)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;

Specified by:
getType in interface ProtoBuf.TypeTableOrBuilder

setType

public ProtoBuf.TypeTable.Builder setType(int index,
                                          ProtoBuf.Type value)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


setType

public ProtoBuf.TypeTable.Builder setType(int index,
                                          ProtoBuf.Type.Builder builderForValue)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


addType

public ProtoBuf.TypeTable.Builder addType(ProtoBuf.Type value)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


addType

public ProtoBuf.TypeTable.Builder addType(int index,
                                          ProtoBuf.Type value)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


addType

public ProtoBuf.TypeTable.Builder addType(ProtoBuf.Type.Builder builderForValue)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


addType

public ProtoBuf.TypeTable.Builder addType(int index,
                                          ProtoBuf.Type.Builder builderForValue)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


addAllType

public ProtoBuf.TypeTable.Builder addAllType(java.lang.Iterable<? extends ProtoBuf.Type> values)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


clearType

public ProtoBuf.TypeTable.Builder clearType()
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


removeType

public ProtoBuf.TypeTable.Builder removeType(int index)
repeated .org.jetbrains.kotlin.serialization.Type type = 1;


hasFirstNullable

public boolean hasFirstNullable()
optional int32 first_nullable = 2 [default = -1];
 Index starting from which all types are nullable, or nothing if all types in this table are non-null.
 Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space
 

Specified by:
hasFirstNullable in interface ProtoBuf.TypeTableOrBuilder

getFirstNullable

public int getFirstNullable()
optional int32 first_nullable = 2 [default = -1];
 Index starting from which all types are nullable, or nothing if all types in this table are non-null.
 Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space
 

Specified by:
getFirstNullable in interface ProtoBuf.TypeTableOrBuilder

setFirstNullable

public ProtoBuf.TypeTable.Builder setFirstNullable(int value)
optional int32 first_nullable = 2 [default = -1];
 Index starting from which all types are nullable, or nothing if all types in this table are non-null.
 Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space
 


clearFirstNullable

public ProtoBuf.TypeTable.Builder clearFirstNullable()
optional int32 first_nullable = 2 [default = -1];
 Index starting from which all types are nullable, or nothing if all types in this table are non-null.
 Note that the 'nullable' field of Type messages is ignored and shouldn't be written because it wastes too much space