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 intDIR_FIELD_NUMBERpublic final static intLANGUAGE_FIELD_NUMBERpublic final static intDEPLOY_DIR_FIELD_NUMBERpublic final static intBUILD_FIELD_NUMBERpublic final static intDEV_MODE_BUILD_FIELD_NUMBERpublic final static intBUILD_LOCK_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;StringgetDir()Absolute path to the module's directorystring dir = 2;ByteStringgetDirBytes()Absolute path to the module's directorystring dir = 2;StringgetLanguage()The language of the modulestring language = 3;ByteStringgetLanguageBytes()The language of the modulestring language = 3;StringgetDeployDir()Absolute path to the directory containing all of this module's build artifacts for deploymentsstring deploy_dir = 4;ByteStringgetDeployDirBytes()Absolute path to the directory containing all of this module's build artifacts for deploymentsstring deploy_dir = 4;booleanhasBuild()Build is the command to build the module.optional string build = 5;StringgetBuild()Build is the command to build the module.optional string build = 5;ByteStringgetBuildBytes()Build is the command to build the module.optional string build = 5;booleanhasDevModeBuild()DevModeBuild is the command to build the module in dev mode.optional string dev_mode_build = 6;StringgetDevModeBuild()DevModeBuild is the command to build the module in dev mode.optional string dev_mode_build = 6;ByteStringgetDevModeBuildBytes()DevModeBuild is the command to build the module in dev mode.optional string dev_mode_build = 6;StringgetBuildLock()Build lock path to prevent concurrent buildsstring build_lock = 7;ByteStringgetBuildLockBytes()Build lock path to prevent concurrent buildsstring build_lock = 7;booleanhasGeneratedSchemaDir()The directory to generate protobuf schema files into. These can be picked up by language specific build toolsoptional string generated_schema_dir = 8;StringgetGeneratedSchemaDir()The directory to generate protobuf schema files into. These can be picked up by language specific build toolsoptional string generated_schema_dir = 8;ByteStringgetGeneratedSchemaDirBytes()The directory to generate protobuf schema files into. These can be picked up by language specific build toolsoptional string generated_schema_dir = 8;ProtocolStringListgetWatchList()Patterns to watch for file changesrepeated string watch = 9;intgetWatchCount()Patterns to watch for file changesrepeated string watch = 9;StringgetWatch(int index)Patterns to watch for file changesrepeated string watch = 9;ByteStringgetWatchBytes(int index)Patterns to watch for file changesrepeated string watch = 9;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 = 10;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 = 10;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 = 10;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.
-
getDirBytes
ByteString getDirBytes()
Absolute path to the module's directorystring dir = 2;- Returns:
The bytes for dir.
-
getLanguage
String getLanguage()
The language of the modulestring language = 3;- Returns:
The language.
-
getLanguageBytes
ByteString getLanguageBytes()
The language of the modulestring language = 3;- Returns:
The bytes for language.
-
getDeployDir
String getDeployDir()
Absolute path to the directory containing all of this module's build artifacts for deploymentsstring deploy_dir = 4;- Returns:
The deployDir.
-
getDeployDirBytes
ByteString getDeployDirBytes()
Absolute path to the directory containing all of this module's build artifacts for deploymentsstring deploy_dir = 4;- Returns:
The bytes for deployDir.
-
hasBuild
boolean hasBuild()
Build is the command to build the module.optional string build = 5;- Returns:
Whether the build field is set.
-
getBuild
String getBuild()
Build is the command to build the module.optional string build = 5;- Returns:
The build.
-
getBuildBytes
ByteString getBuildBytes()
Build is the command to build the module.optional string build = 5;- Returns:
The bytes for build.
-
hasDevModeBuild
boolean hasDevModeBuild()
DevModeBuild is the command to build the module in dev mode.optional string dev_mode_build = 6;- Returns:
Whether the devModeBuild field is set.
-
getDevModeBuild
String getDevModeBuild()
DevModeBuild is the command to build the module in dev mode.optional string dev_mode_build = 6;- Returns:
The devModeBuild.
-
getDevModeBuildBytes
ByteString getDevModeBuildBytes()
DevModeBuild is the command to build the module in dev mode.optional string dev_mode_build = 6;- Returns:
The bytes for devModeBuild.
-
getBuildLock
String getBuildLock()
Build lock path to prevent concurrent buildsstring build_lock = 7;- Returns:
The buildLock.
-
getBuildLockBytes
ByteString getBuildLockBytes()
Build lock path to prevent concurrent buildsstring build_lock = 7;- Returns:
The bytes for buildLock.
-
hasGeneratedSchemaDir
boolean hasGeneratedSchemaDir()
The directory to generate protobuf schema files into. These can be picked up by language specific build toolsoptional string generated_schema_dir = 8;- Returns:
Whether the generatedSchemaDir field is set.
-
getGeneratedSchemaDir
String getGeneratedSchemaDir()
The directory to generate protobuf schema files into. These can be picked up by language specific build toolsoptional string generated_schema_dir = 8;- Returns:
The generatedSchemaDir.
-
getGeneratedSchemaDirBytes
ByteString getGeneratedSchemaDirBytes()
The directory to generate protobuf schema files into. These can be picked up by language specific build toolsoptional string generated_schema_dir = 8;- Returns:
The bytes for generatedSchemaDir.
-
getWatchList
ProtocolStringList getWatchList()
Patterns to watch for file changesrepeated string watch = 9;- Returns:
A list containing the watch.
-
getWatchCount
int getWatchCount()
Patterns to watch for file changesrepeated string watch = 9;- Returns:
The count of watch.
-
getWatch
String getWatch(int index)
Patterns to watch for file changesrepeated string watch = 9;- Parameters:
index- The index of the element to return.- Returns:
The watch at the given index.
-
getWatchBytes
ByteString getWatchBytes(int index)
Patterns to watch for file changesrepeated string watch = 9;- 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 = 10;- 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 = 10;- 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 = 10;
-
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()
-
-
-
-