Class Module
-
- All Implemented Interfaces:
-
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,xyz.block.ftl.schema.v1.ModuleOrBuilder
public final class Module extends GeneratedMessageV3 implements ModuleOrBuilder
Protobuf type
xyz.block.ftl.schema.v1.Module
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModule.BuilderProtobuf type
xyz.block.ftl.schema.v1.Module
-
Field Summary
Fields Modifier and Type Field Description public final static intPOS_FIELD_NUMBERpublic final static intCOMMENTS_FIELD_NUMBERpublic final static intBUILTIN_FIELD_NUMBERpublic final static intNAME_FIELD_NUMBERpublic final static intMETADATA_FIELD_NUMBERpublic final static intDECLS_FIELD_NUMBERpublic final static intRUNTIME_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()booleanhasPos()optional .xyz.block.ftl.schema.v1.Position pos = 1;PositiongetPos()optional .xyz.block.ftl.schema.v1.Position pos = 1;PositionOrBuildergetPosOrBuilder()optional .xyz.block.ftl.schema.v1.Position pos = 1;ProtocolStringListgetCommentsList()repeated string comments = 2;intgetCommentsCount()repeated string comments = 2;StringgetComments(int index)repeated string comments = 2;ByteStringgetCommentsBytes(int index)repeated string comments = 2;booleangetBuiltin()bool builtin = 3;StringgetName()string name = 4;ByteStringgetNameBytes()string name = 4;List<Metadata>getMetadataList()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;List<out MetadataOrBuilder>getMetadataOrBuilderList()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;intgetMetadataCount()repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;MetadatagetMetadata(int index)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;MetadataOrBuildergetMetadataOrBuilder(int index)repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;List<Decl>getDeclsList()repeated .xyz.block.ftl.schema.v1.Decl decls = 5;List<out DeclOrBuilder>getDeclsOrBuilderList()repeated .xyz.block.ftl.schema.v1.Decl decls = 5;intgetDeclsCount()repeated .xyz.block.ftl.schema.v1.Decl decls = 5;DeclgetDecls(int index)repeated .xyz.block.ftl.schema.v1.Decl decls = 5;DeclOrBuildergetDeclsOrBuilder(int index)repeated .xyz.block.ftl.schema.v1.Decl decls = 5;booleanhasRuntime().xyz.block.ftl.schema.v1.ModuleRuntime runtime = 31634;ModuleRuntimegetRuntime().xyz.block.ftl.schema.v1.ModuleRuntime runtime = 31634;ModuleRuntimeOrBuildergetRuntimeOrBuilder().xyz.block.ftl.schema.v1.ModuleRuntime runtime = 31634;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static ModuleparseFrom(ByteBuffer data)static ModuleparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static ModuleparseFrom(ByteString data)static ModuleparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ModuleparseFrom(Array<byte> data)static ModuleparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static ModuleparseFrom(InputStream input)static ModuleparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ModuleparseDelimitedFrom(InputStream input)static ModuleparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ModuleparseFrom(CodedInputStream input)static ModuleparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Module.BuildernewBuilderForType()static Module.BuildernewBuilder()static Module.BuildernewBuilder(Module prototype)Module.BuildertoBuilder()static ModulegetDefaultInstance()static Parser<Module>parser()Parser<Module>getParserForType()ModulegetDefaultInstanceForType()-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
hasPos
boolean hasPos()
optional .xyz.block.ftl.schema.v1.Position pos = 1;- Returns:
Whether the pos field is set.
-
getPosOrBuilder
PositionOrBuilder getPosOrBuilder()
optional .xyz.block.ftl.schema.v1.Position pos = 1;
-
getCommentsList
ProtocolStringList getCommentsList()
repeated string comments = 2;- Returns:
A list containing the comments.
-
getCommentsCount
int getCommentsCount()
repeated string comments = 2;- Returns:
The count of comments.
-
getComments
String getComments(int index)
repeated string comments = 2;- Parameters:
index- The index of the element to return.- Returns:
The comments at the given index.
-
getCommentsBytes
ByteString getCommentsBytes(int index)
repeated string comments = 2;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the comments at the given index.
-
getBuiltin
boolean getBuiltin()
bool builtin = 3;- Returns:
The builtin.
-
getNameBytes
ByteString getNameBytes()
string name = 4;- Returns:
The bytes for name.
-
getMetadataList
List<Metadata> getMetadataList()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadataOrBuilderList
List<out MetadataOrBuilder> getMetadataOrBuilderList()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadataCount
int getMetadataCount()
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadata
Metadata getMetadata(int index)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getMetadataOrBuilder
MetadataOrBuilder getMetadataOrBuilder(int index)
repeated .xyz.block.ftl.schema.v1.Metadata metadata = 6;
-
getDeclsList
List<Decl> getDeclsList()
repeated .xyz.block.ftl.schema.v1.Decl decls = 5;
-
getDeclsOrBuilderList
List<out DeclOrBuilder> getDeclsOrBuilderList()
repeated .xyz.block.ftl.schema.v1.Decl decls = 5;
-
getDeclsCount
int getDeclsCount()
repeated .xyz.block.ftl.schema.v1.Decl decls = 5;
-
getDeclsOrBuilder
DeclOrBuilder getDeclsOrBuilder(int index)
repeated .xyz.block.ftl.schema.v1.Decl decls = 5;
-
hasRuntime
boolean hasRuntime()
.xyz.block.ftl.schema.v1.ModuleRuntime runtime = 31634;- Returns:
Whether the runtime field is set.
-
getRuntime
ModuleRuntime getRuntime()
.xyz.block.ftl.schema.v1.ModuleRuntime runtime = 31634;- Returns:
The runtime.
-
getRuntimeOrBuilder
ModuleRuntimeOrBuilder getRuntimeOrBuilder()
.xyz.block.ftl.schema.v1.ModuleRuntime runtime = 31634;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static Module parseFrom(ByteBuffer data)
-
parseFrom
static Module parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Module parseFrom(InputStream input)
-
parseFrom
static Module parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Module parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Module parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
Module.Builder newBuilderForType()
-
newBuilder
static Module.Builder newBuilder()
-
newBuilder
static Module.Builder newBuilder(Module prototype)
-
toBuilder
Module.Builder toBuilder()
-
getDefaultInstance
static Module getDefaultInstance()
-
getParserForType
Parser<Module> getParserForType()
-
getDefaultInstanceForType
Module getDefaultInstanceForType()
-
-
-
-