org.jetbrains.kotlin.serialization.js
Class JsProtoBuf.File
java.lang.Object
org.jetbrains.kotlin.protobuf.AbstractMessageLite
org.jetbrains.kotlin.protobuf.GeneratedMessageLite
org.jetbrains.kotlin.serialization.js.JsProtoBuf.File
- All Implemented Interfaces:
- java.io.Serializable, org.jetbrains.kotlin.protobuf.MessageLite, org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder, JsProtoBuf.FileOrBuilder
- Enclosing class:
- JsProtoBuf
public static final class JsProtoBuf.File
- extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite
- implements JsProtoBuf.FileOrBuilder
Protobuf type org.jetbrains.kotlin.serialization.js.File
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class org.jetbrains.kotlin.protobuf.GeneratedMessageLite |
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends org.jetbrains.kotlin.protobuf.GeneratedMessageLite.ExtendableMessage>, org.jetbrains.kotlin.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends org.jetbrains.kotlin.protobuf.MessageLite,Type> |
| Fields inherited from class org.jetbrains.kotlin.protobuf.AbstractMessageLite |
memoizedHashCode |
| Methods inherited from class org.jetbrains.kotlin.protobuf.GeneratedMessageLite |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField |
| Methods inherited from class org.jetbrains.kotlin.protobuf.AbstractMessageLite |
checkByteStringIsUtf8, 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 org.jetbrains.kotlin.protobuf.Parser<JsProtoBuf.File> PARSER
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
ANNOTATION_FIELD_NUMBER
public static final int ANNOTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static JsProtoBuf.File getDefaultInstance()
getDefaultInstanceForType
public JsProtoBuf.File getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder
getParserForType
public org.jetbrains.kotlin.protobuf.Parser<JsProtoBuf.File> getParserForType()
- Specified by:
getParserForType in interface org.jetbrains.kotlin.protobuf.MessageLite- Overrides:
getParserForType in class org.jetbrains.kotlin.protobuf.GeneratedMessageLite
hasId
public boolean hasId()
optional int32 id = 1;
If absent, id is the index of the file in the Files.file list
- Specified by:
hasId in interface JsProtoBuf.FileOrBuilder
getId
public int getId()
optional int32 id = 1;
If absent, id is the index of the file in the Files.file list
- Specified by:
getId in interface JsProtoBuf.FileOrBuilder
getAnnotationList
public java.util.List<ProtoBuf.Annotation> getAnnotationList()
repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;
- Specified by:
getAnnotationList in interface JsProtoBuf.FileOrBuilder
getAnnotationOrBuilderList
public java.util.List<? extends ProtoBuf.AnnotationOrBuilder> getAnnotationOrBuilderList()
repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;
getAnnotationCount
public int getAnnotationCount()
repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;
- Specified by:
getAnnotationCount in interface JsProtoBuf.FileOrBuilder
getAnnotation
public ProtoBuf.Annotation getAnnotation(int index)
repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;
- Specified by:
getAnnotation in interface JsProtoBuf.FileOrBuilder
getAnnotationOrBuilder
public ProtoBuf.AnnotationOrBuilder getAnnotationOrBuilder(int index)
repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 2;
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder
writeTo
public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
throws java.io.IOException
- Specified by:
writeTo in interface org.jetbrains.kotlin.protobuf.MessageLite
- Throws:
java.io.IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize in interface org.jetbrains.kotlin.protobuf.MessageLite
writeReplace
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
- Overrides:
writeReplace in class org.jetbrains.kotlin.protobuf.GeneratedMessageLite
- Throws:
java.io.ObjectStreamException
parseFrom
public static JsProtoBuf.File parseFrom(org.jetbrains.kotlin.protobuf.ByteString data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
- Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
parseFrom
public static JsProtoBuf.File parseFrom(org.jetbrains.kotlin.protobuf.ByteString data,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
- Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
parseFrom
public static JsProtoBuf.File parseFrom(byte[] data)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
- Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
parseFrom
public static JsProtoBuf.File parseFrom(byte[] data,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
- Throws:
org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException
parseFrom
public static JsProtoBuf.File parseFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static JsProtoBuf.File parseFrom(java.io.InputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static JsProtoBuf.File parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseDelimitedFrom
public static JsProtoBuf.File parseDelimitedFrom(java.io.InputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static JsProtoBuf.File parseFrom(org.jetbrains.kotlin.protobuf.CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
parseFrom
public static JsProtoBuf.File parseFrom(org.jetbrains.kotlin.protobuf.CodedInputStream input,
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
- Throws:
java.io.IOException
newBuilder
public static JsProtoBuf.File.Builder newBuilder()
newBuilderForType
public JsProtoBuf.File.Builder newBuilderForType()
- Specified by:
newBuilderForType in interface org.jetbrains.kotlin.protobuf.MessageLite
newBuilder
public static JsProtoBuf.File.Builder newBuilder(JsProtoBuf.File prototype)
toBuilder
public JsProtoBuf.File.Builder toBuilder()
- Specified by:
toBuilder in interface org.jetbrains.kotlin.protobuf.MessageLite