Package xyz.block.ftl.v1.language
Class ModuleConfig
-
- 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.v1.language.ModuleConfigOrBuilder
public final class ModuleConfig extends GeneratedMessageV3 implements ModuleConfigOrBuilder
Protobuf typeModuleConfig contains the configuration for a module, found in the module's ftl.toml file.xyz.block.ftl.v1.language.ModuleConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModuleConfig.Builder
Protobuf typeModuleConfig contains the configuration for a module, found in the module's ftl.toml file.xyz.block.ftl.v1.language.ModuleConfig
-
Field Summary
Fields Modifier and Type Field Description public final static intNAME_FIELD_NUMBERpublic final static intPATH_FIELD_NUMBERpublic final static intDEPLOYDIR_FIELD_NUMBERpublic final static intBUILD_FIELD_NUMBERpublic final static intGENERATED_SCHEMA_DIR_FIELD_NUMBERpublic final static intWATCH_FIELD_NUMBERpublic final static intLANGUAGE_CONFIG_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()StringgetName()name of the modulestring name = 1;ByteStringgetNameBytes()name of the modulestring name = 1;StringgetPath()absolute path to the module's directorystring path = 2;ByteStringgetPathBytes()absolute path to the module's directorystring path = 2;StringgetDeployDir()absolute pathstring deployDir = 3;ByteStringgetDeployDirBytes()absolute pathstring deployDir = 3;booleanhasBuild()optional string build = 4;StringgetBuild()optional string build = 4;ByteStringgetBuildBytes()optional string build = 4;booleanhasGeneratedSchemaDir()optional string generated_schema_dir = 5;StringgetGeneratedSchemaDir()optional string generated_schema_dir = 5;ByteStringgetGeneratedSchemaDirBytes()optional string generated_schema_dir = 5;ProtocolStringListgetWatchList()repeated string watch = 6;intgetWatchCount()repeated string watch = 6;StringgetWatch(int index)repeated string watch = 6;ByteStringgetWatchBytes(int index)repeated string watch = 6;booleanhasLanguageConfig()LanguageConfig contains any metadata specific to a specific language. These are stored in the ftl.toml file under the same key as the language (eg: "go", "java").google.protobuf.Struct language_config = 7;StructgetLanguageConfig()LanguageConfig contains any metadata specific to a specific language. These are stored in the ftl.toml file under the same key as the language (eg: "go", "java").google.protobuf.Struct language_config = 7;StructOrBuildergetLanguageConfigOrBuilder()LanguageConfig contains any metadata specific to a specific language. These are stored in the ftl.toml file under the same key as the language (eg: "go", "java").google.protobuf.Struct language_config = 7;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static ModuleConfigparseFrom(ByteBuffer data)static ModuleConfigparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static ModuleConfigparseFrom(ByteString data)static ModuleConfigparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ModuleConfigparseFrom(Array<byte> data)static ModuleConfigparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static ModuleConfigparseFrom(InputStream input)static ModuleConfigparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ModuleConfigparseDelimitedFrom(InputStream input)static ModuleConfigparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ModuleConfigparseFrom(CodedInputStream input)static ModuleConfigparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)ModuleConfig.BuildernewBuilderForType()static ModuleConfig.BuildernewBuilder()static ModuleConfig.BuildernewBuilder(ModuleConfig prototype)ModuleConfig.BuildertoBuilder()static ModuleConfiggetDefaultInstance()static Parser<ModuleConfig>parser()Parser<ModuleConfig>getParserForType()ModuleConfiggetDefaultInstanceForType()-
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()
-
getNameBytes
ByteString getNameBytes()
name of the modulestring name = 1;- Returns:
The bytes for name.
-
getPath
String getPath()
absolute path to the module's directorystring path = 2;- Returns:
The path.
-
getPathBytes
ByteString getPathBytes()
absolute path to the module's directorystring path = 2;- Returns:
The bytes for path.
-
getDeployDir
String getDeployDir()
absolute pathstring deployDir = 3;- Returns:
The deployDir.
-
getDeployDirBytes
ByteString getDeployDirBytes()
absolute pathstring deployDir = 3;- Returns:
The bytes for deployDir.
-
hasBuild
boolean hasBuild()
optional string build = 4;- Returns:
Whether the build field is set.
-
getBuildBytes
ByteString getBuildBytes()
optional string build = 4;- Returns:
The bytes for build.
-
hasGeneratedSchemaDir
boolean hasGeneratedSchemaDir()
optional string generated_schema_dir = 5;- Returns:
Whether the generatedSchemaDir field is set.
-
getGeneratedSchemaDir
String getGeneratedSchemaDir()
optional string generated_schema_dir = 5;- Returns:
The generatedSchemaDir.
-
getGeneratedSchemaDirBytes
ByteString getGeneratedSchemaDirBytes()
optional string generated_schema_dir = 5;- Returns:
The bytes for generatedSchemaDir.
-
getWatchList
ProtocolStringList getWatchList()
repeated string watch = 6;- Returns:
A list containing the watch.
-
getWatchCount
int getWatchCount()
repeated string watch = 6;- Returns:
The count of watch.
-
getWatch
String getWatch(int index)
repeated string watch = 6;- Parameters:
index- The index of the element to return.- Returns:
The watch at the given index.
-
getWatchBytes
ByteString getWatchBytes(int index)
repeated string watch = 6;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the watch at the given index.
-
hasLanguageConfig
boolean hasLanguageConfig()
LanguageConfig contains any metadata specific to a specific language. These are stored in the ftl.toml file under the same key as the language (eg: "go", "java").google.protobuf.Struct language_config = 7;- Returns:
Whether the languageConfig field is set.
-
getLanguageConfig
Struct getLanguageConfig()
LanguageConfig contains any metadata specific to a specific language. These are stored in the ftl.toml file under the same key as the language (eg: "go", "java").google.protobuf.Struct language_config = 7;- Returns:
The languageConfig.
-
getLanguageConfigOrBuilder
StructOrBuilder getLanguageConfigOrBuilder()
LanguageConfig contains any metadata specific to a specific language. These are stored in the ftl.toml file under the same key as the language (eg: "go", "java").google.protobuf.Struct language_config = 7;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static ModuleConfig parseFrom(ByteBuffer data)
-
parseFrom
static ModuleConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ModuleConfig parseFrom(ByteString data)
-
parseFrom
static ModuleConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ModuleConfig parseFrom(Array<byte> data)
-
parseFrom
static ModuleConfig parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ModuleConfig parseFrom(InputStream input)
-
parseFrom
static ModuleConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static ModuleConfig parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static ModuleConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ModuleConfig parseFrom(CodedInputStream input)
-
parseFrom
static ModuleConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
ModuleConfig.Builder newBuilderForType()
-
newBuilder
static ModuleConfig.Builder newBuilder()
-
newBuilder
static ModuleConfig.Builder newBuilder(ModuleConfig prototype)
-
toBuilder
ModuleConfig.Builder toBuilder()
-
getDefaultInstance
static ModuleConfig getDefaultInstance()
-
parser
static Parser<ModuleConfig> parser()
-
getParserForType
Parser<ModuleConfig> getParserForType()
-
getDefaultInstanceForType
ModuleConfig getDefaultInstanceForType()
-
-
-
-