|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite
com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<ProtoBuf.Type>
org.jetbrains.kotlin.serialization.ProtoBuf.Type
public static final class ProtoBuf.Type
Protobuf type org.jetbrains.kotlin.serialization.Type
| Nested Class Summary | |
|---|---|
static class |
ProtoBuf.Type.Argument
Protobuf type org.jetbrains.kotlin.serialization.Type.Argument |
static interface |
ProtoBuf.Type.ArgumentOrBuilder
|
static class |
ProtoBuf.Type.Builder
Protobuf type org.jetbrains.kotlin.serialization.Type |
static class |
ProtoBuf.Type.Constructor
Protobuf type org.jetbrains.kotlin.serialization.Type.Constructor |
static interface |
ProtoBuf.Type.ConstructorOrBuilder
|
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage |
|---|
com.google.protobuf.GeneratedMessageLite.ExtendableMessage.ExtensionWriter |
| 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> |
| Field Summary | |
|---|---|
static int |
ARGUMENT_FIELD_NUMBER
|
static int |
CONSTRUCTOR_CLASS_NAME_FIELD_NUMBER
|
static int |
CONSTRUCTOR_FIELD_NUMBER
|
static int |
CONSTRUCTOR_TYPE_PARAMETER_FIELD_NUMBER
|
static int |
FLEXIBLE_TYPE_CAPABILITIES_ID_FIELD_NUMBER
|
static int |
FLEXIBLE_UPPER_BOUND_FIELD_NUMBER
|
static int |
NULLABLE_FIELD_NUMBER
|
static com.google.protobuf.Parser<ProtoBuf.Type> |
PARSER
|
| Method Summary | |
|---|---|
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.ArgumentOrBuilder |
getArgumentOrBuilder(int index)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2; |
java.util.List<? extends ProtoBuf.Type.ArgumentOrBuilder> |
getArgumentOrBuilderList()
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; |
static ProtoBuf.Type |
getDefaultInstance()
|
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]; |
com.google.protobuf.Parser<ProtoBuf.Type> |
getParserForType()
|
int |
getSerializedSize()
|
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()
|
static ProtoBuf.Type.Builder |
newBuilder()
|
static ProtoBuf.Type.Builder |
newBuilder(ProtoBuf.Type prototype)
|
ProtoBuf.Type.Builder |
newBuilderForType()
|
static ProtoBuf.Type |
parseDelimitedFrom(java.io.InputStream input)
|
static ProtoBuf.Type |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ProtoBuf.Type |
parseFrom(byte[] data)
|
static ProtoBuf.Type |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ProtoBuf.Type |
parseFrom(com.google.protobuf.ByteString data)
|
static ProtoBuf.Type |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ProtoBuf.Type |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static ProtoBuf.Type |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ProtoBuf.Type |
parseFrom(java.io.InputStream input)
|
static ProtoBuf.Type |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
ProtoBuf.Type.Builder |
toBuilder()
|
protected java.lang.Object |
writeReplace()
|
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
| Methods inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage |
|---|
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getExtension, getExtension, getExtensionCount, hasExtension, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField |
| Methods inherited from class com.google.protobuf.GeneratedMessageLite |
|---|
newRepeatedGeneratedExtension, newSingularGeneratedExtension |
| 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 |
| Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder |
|---|
getExtension, getExtension, getExtensionCount, hasExtension |
| Field Detail |
|---|
public static com.google.protobuf.Parser<ProtoBuf.Type> PARSER
public static final int CONSTRUCTOR_FIELD_NUMBER
public static final int ARGUMENT_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER
public static final int FLEXIBLE_TYPE_CAPABILITIES_ID_FIELD_NUMBER
public static final int FLEXIBLE_UPPER_BOUND_FIELD_NUMBER
public static final int CONSTRUCTOR_CLASS_NAME_FIELD_NUMBER
public static final int CONSTRUCTOR_TYPE_PARAMETER_FIELD_NUMBER
| Method Detail |
|---|
public static ProtoBuf.Type getDefaultInstance()
public ProtoBuf.Type getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ProtoBuf.Type> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasConstructor()
required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
hasConstructor in interface ProtoBuf.TypeOrBuilderpublic ProtoBuf.Type.Constructor getConstructor()
required .org.jetbrains.kotlin.serialization.Type.Constructor constructor = 1;
getConstructor in interface ProtoBuf.TypeOrBuilderpublic java.util.List<ProtoBuf.Type.Argument> getArgumentList()
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
getArgumentList in interface ProtoBuf.TypeOrBuilderpublic java.util.List<? extends ProtoBuf.Type.ArgumentOrBuilder> getArgumentOrBuilderList()
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
public int getArgumentCount()
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
getArgumentCount in interface ProtoBuf.TypeOrBuilderpublic ProtoBuf.Type.Argument getArgument(int index)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
getArgument in interface ProtoBuf.TypeOrBuilderpublic ProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder(int index)
repeated .org.jetbrains.kotlin.serialization.Type.Argument argument = 2;
public boolean hasNullable()
optional bool nullable = 3 [default = false];
hasNullable in interface ProtoBuf.TypeOrBuilderpublic boolean getNullable()
optional bool nullable = 3 [default = false];
getNullable in interface ProtoBuf.TypeOrBuilderpublic 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.
hasFlexibleTypeCapabilitiesId in interface ProtoBuf.TypeOrBuilderpublic 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.
getFlexibleTypeCapabilitiesId in interface ProtoBuf.TypeOrBuilderpublic 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.
hasFlexibleUpperBound in interface ProtoBuf.TypeOrBuilderpublic 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.
getFlexibleUpperBound in interface ProtoBuf.TypeOrBuilderpublic boolean hasConstructorClassName()
optional int32 constructor_class_name = 6;
fqName id
hasConstructorClassName in interface ProtoBuf.TypeOrBuilderpublic int getConstructorClassName()
optional int32 constructor_class_name = 6;
fqName id
getConstructorClassName in interface ProtoBuf.TypeOrBuilderpublic boolean hasConstructorTypeParameter()
optional int32 constructor_type_parameter = 7;
type parameter id
hasConstructorTypeParameter in interface ProtoBuf.TypeOrBuilderpublic int getConstructorTypeParameter()
optional int32 constructor_type_parameter = 7;
type parameter id
getConstructorTypeParameter in interface ProtoBuf.TypeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLite
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLitejava.io.ObjectStreamException
public static ProtoBuf.Type parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtoBuf.Type parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtoBuf.Type parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtoBuf.Type parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtoBuf.Type parseFrom(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static ProtoBuf.Type parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOException
public static ProtoBuf.Type parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static ProtoBuf.Type parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOException
public static ProtoBuf.Type parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException
java.io.IOException
public static ProtoBuf.Type parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOExceptionpublic static ProtoBuf.Type.Builder newBuilder()
public ProtoBuf.Type.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ProtoBuf.Type.Builder newBuilder(ProtoBuf.Type prototype)
public ProtoBuf.Type.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLite
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||