org.jetbrains.kotlin.serialization
Class ProtoBuf.Type.Constructor
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.GeneratedMessageLite
org.jetbrains.kotlin.serialization.ProtoBuf.Type.Constructor
- All Implemented Interfaces:
- com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, java.io.Serializable, ProtoBuf.Type.ConstructorOrBuilder
- Enclosing class:
- ProtoBuf.Type
public static final class ProtoBuf.Type.Constructor
- extends com.google.protobuf.GeneratedMessageLite
- implements ProtoBuf.Type.ConstructorOrBuilder
Protobuf type org.jetbrains.kotlin.serialization.Type.Constructor
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type> |
| Methods inherited from class com.google.protobuf.GeneratedMessageLite |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARSER
public static com.google.protobuf.Parser<ProtoBuf.Type.Constructor> PARSER
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static ProtoBuf.Type.Constructor getDefaultInstance()
getDefaultInstanceForType
public ProtoBuf.Type.Constructor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
getParserForType
public com.google.protobuf.Parser<ProtoBuf.Type.Constructor> getParserForType()
- Specified by:
getParserForType in interface com.google.protobuf.MessageLite- Overrides:
getParserForType in class com.google.protobuf.GeneratedMessageLite
hasKind
public boolean hasKind()
optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
- Specified by:
hasKind in interface ProtoBuf.Type.ConstructorOrBuilder
getKind
public ProtoBuf.Type.Constructor.Kind getKind()
optional .org.jetbrains.kotlin.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
- Specified by:
getKind in interface ProtoBuf.Type.ConstructorOrBuilder
hasId
public boolean hasId()
required int32 id = 2;
CLASS - fqName id, TYPE_PARAMETER - type parameter id
- Specified by:
hasId in interface ProtoBuf.Type.ConstructorOrBuilder
getId
public int getId()
required int32 id = 2;
CLASS - fqName id, TYPE_PARAMETER - type parameter id
- Specified by:
getId in interface ProtoBuf.Type.ConstructorOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
- Specified by:
writeTo in interface com.google.protobuf.MessageLite
- Throws:
java.io.IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
writeReplace
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
- Overrides:
writeReplace in class com.google.protobuf.GeneratedMessageLite
- Throws:
java.io.ObjectStreamException
parseFrom
public static ProtoBuf.Type.Constructor parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.Type.Constructor parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.Type.Constructor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.Type.Constructor parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static ProtoBuf.Type.Constructor parseFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.Type.Constructor parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static ProtoBuf.Type.Constructor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static ProtoBuf.Type.Constructor parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.Type.Constructor parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static ProtoBuf.Type.Constructor parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
newBuilder
public static ProtoBuf.Type.Constructor.Builder newBuilder()
newBuilderForType
public ProtoBuf.Type.Constructor.Builder newBuilderForType()
- Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite
newBuilder
public static ProtoBuf.Type.Constructor.Builder newBuilder(ProtoBuf.Type.Constructor prototype)
toBuilder
public ProtoBuf.Type.Constructor.Builder toBuilder()
- Specified by:
toBuilder in interface com.google.protobuf.MessageLite