Package xyz.block.ftl.language.v1
Class ModuleConfigDefaultsResponse
-
- 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.language.v1.ModuleConfigDefaultsResponseOrBuilder
public final class ModuleConfigDefaultsResponse extends GeneratedMessageV3 implements ModuleConfigDefaultsResponseOrBuilder
Protobuf typeModuleConfigDefaultsResponse provides defaults for ModuleConfig. The result may be cached by FTL, so defaulting logic should not be changing due to normal module changes. For example, it is valid to return defaults based on which build tool is configured within the module directory, as that is not expected to change during normal operation. It is not recommended to read the module's toml file to determine defaults, as when the toml file is updated, the module defaults will not be recalculated.xyz.block.ftl.language.v1.ModuleConfigDefaultsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModuleConfigDefaultsResponse.Builder
Protobuf typeModuleConfigDefaultsResponse provides defaults for ModuleConfig. The result may be cached by FTL, so defaulting logic should not be changing due to normal module changes. For example, it is valid to return defaults based on which build tool is configured within the module directory, as that is not expected to change during normal operation. It is not recommended to read the module's toml file to determine defaults, as when the toml file is updated, the module defaults will not be recalculated.xyz.block.ftl.language.v1.ModuleConfigDefaultsResponse
-
Field Summary
Fields Modifier and Type Field Description public 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 intWATCH_FIELD_NUMBERpublic final static intLANGUAGE_CONFIG_FIELD_NUMBERpublic final static intSQL_MIGRATION_DIR_FIELD_NUMBERpublic final static intSQL_QUERY_DIR_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()StringgetDeployDir()Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;ByteStringgetDeployDirBytes()Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;booleanhasBuild()Default build commandoptional string build = 2;StringgetBuild()Default build commandoptional string build = 2;ByteStringgetBuildBytes()Default build commandoptional string build = 2;booleanhasDevModeBuild()Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;StringgetDevModeBuild()Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;ByteStringgetDevModeBuildBytes()Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;booleanhasBuildLock()Build lock path to prevent concurrent buildsoptional string build_lock = 4;StringgetBuildLock()Build lock path to prevent concurrent buildsoptional string build_lock = 4;ByteStringgetBuildLockBytes()Build lock path to prevent concurrent buildsoptional string build_lock = 4;ProtocolStringListgetWatchList()Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;intgetWatchCount()Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;StringgetWatch(int index)Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;ByteStringgetWatchBytes(int index)Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;booleanhasLanguageConfig()Default language specific configuration. These defaults are filled in by looking at each root key only. If the key is not present, the default is used..google.protobuf.Struct language_config = 7;StructgetLanguageConfig()Default language specific configuration. These defaults are filled in by looking at each root key only. If the key is not present, the default is used..google.protobuf.Struct language_config = 7;StructOrBuildergetLanguageConfigOrBuilder()Default language specific configuration. These defaults are filled in by looking at each root key only. If the key is not present, the default is used..google.protobuf.Struct language_config = 7;StringgetSqlMigrationDir()Default directory containing the SQL migration filesstring sql_migration_dir = 8;ByteStringgetSqlMigrationDirBytes()Default directory containing the SQL migration filesstring sql_migration_dir = 8;StringgetSqlQueryDir()Default directory containing the SQL query filesstring sql_query_dir = 9;ByteStringgetSqlQueryDirBytes()Default directory containing the SQL query filesstring sql_query_dir = 9;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static ModuleConfigDefaultsResponseparseFrom(ByteBuffer data)static ModuleConfigDefaultsResponseparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static ModuleConfigDefaultsResponseparseFrom(ByteString data)static ModuleConfigDefaultsResponseparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ModuleConfigDefaultsResponseparseFrom(Array<byte> data)static ModuleConfigDefaultsResponseparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static ModuleConfigDefaultsResponseparseFrom(InputStream input)static ModuleConfigDefaultsResponseparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ModuleConfigDefaultsResponseparseDelimitedFrom(InputStream input)static ModuleConfigDefaultsResponseparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ModuleConfigDefaultsResponseparseFrom(CodedInputStream input)static ModuleConfigDefaultsResponseparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)ModuleConfigDefaultsResponse.BuildernewBuilderForType()static ModuleConfigDefaultsResponse.BuildernewBuilder()static ModuleConfigDefaultsResponse.BuildernewBuilder(ModuleConfigDefaultsResponse prototype)ModuleConfigDefaultsResponse.BuildertoBuilder()static ModuleConfigDefaultsResponsegetDefaultInstance()static Parser<ModuleConfigDefaultsResponse>parser()Parser<ModuleConfigDefaultsResponse>getParserForType()ModuleConfigDefaultsResponsegetDefaultInstanceForType()-
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()
-
getDeployDir
String getDeployDir()
Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;- Returns:
The deployDir.
-
getDeployDirBytes
ByteString getDeployDirBytes()
Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;- Returns:
The bytes for deployDir.
-
hasBuild
boolean hasBuild()
Default build commandoptional string build = 2;- Returns:
Whether the build field is set.
-
getBuildBytes
ByteString getBuildBytes()
Default build commandoptional string build = 2;- Returns:
The bytes for build.
-
hasDevModeBuild
boolean hasDevModeBuild()
Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;- Returns:
Whether the devModeBuild field is set.
-
getDevModeBuild
String getDevModeBuild()
Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;- Returns:
The devModeBuild.
-
getDevModeBuildBytes
ByteString getDevModeBuildBytes()
Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;- Returns:
The bytes for devModeBuild.
-
hasBuildLock
boolean hasBuildLock()
Build lock path to prevent concurrent buildsoptional string build_lock = 4;- Returns:
Whether the buildLock field is set.
-
getBuildLock
String getBuildLock()
Build lock path to prevent concurrent buildsoptional string build_lock = 4;- Returns:
The buildLock.
-
getBuildLockBytes
ByteString getBuildLockBytes()
Build lock path to prevent concurrent buildsoptional string build_lock = 4;- Returns:
The bytes for buildLock.
-
getWatchList
ProtocolStringList getWatchList()
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Returns:
A list containing the watch.
-
getWatchCount
int getWatchCount()
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Returns:
The count of watch.
-
getWatch
String getWatch(int index)
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Parameters:
index- The index of the element to return.- Returns:
The watch at the given index.
-
getWatchBytes
ByteString getWatchBytes(int index)
Default patterns to watch for file changes, relative to the module directoryrepeated 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()
Default language specific configuration. These defaults are filled in by looking at each root key only. If the key is not present, the default is used..google.protobuf.Struct language_config = 7;- Returns:
Whether the languageConfig field is set.
-
getLanguageConfig
Struct getLanguageConfig()
Default language specific configuration. These defaults are filled in by looking at each root key only. If the key is not present, the default is used..google.protobuf.Struct language_config = 7;- Returns:
The languageConfig.
-
getLanguageConfigOrBuilder
StructOrBuilder getLanguageConfigOrBuilder()
Default language specific configuration. These defaults are filled in by looking at each root key only. If the key is not present, the default is used..google.protobuf.Struct language_config = 7;
-
getSqlMigrationDir
String getSqlMigrationDir()
Default directory containing the SQL migration filesstring sql_migration_dir = 8;- Returns:
The sqlMigrationDir.
-
getSqlMigrationDirBytes
ByteString getSqlMigrationDirBytes()
Default directory containing the SQL migration filesstring sql_migration_dir = 8;- Returns:
The bytes for sqlMigrationDir.
-
getSqlQueryDir
String getSqlQueryDir()
Default directory containing the SQL query filesstring sql_query_dir = 9;- Returns:
The sqlQueryDir.
-
getSqlQueryDirBytes
ByteString getSqlQueryDirBytes()
Default directory containing the SQL query filesstring sql_query_dir = 9;- Returns:
The bytes for sqlQueryDir.
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(ByteBuffer data)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(ByteString data)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(Array<byte> data)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(InputStream input)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static ModuleConfigDefaultsResponse parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static ModuleConfigDefaultsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(CodedInputStream input)
-
parseFrom
static ModuleConfigDefaultsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
ModuleConfigDefaultsResponse.Builder newBuilderForType()
-
newBuilder
static ModuleConfigDefaultsResponse.Builder newBuilder()
-
newBuilder
static ModuleConfigDefaultsResponse.Builder newBuilder(ModuleConfigDefaultsResponse prototype)
-
toBuilder
ModuleConfigDefaultsResponse.Builder toBuilder()
-
getDefaultInstance
static ModuleConfigDefaultsResponse getDefaultInstance()
-
parser
static Parser<ModuleConfigDefaultsResponse> parser()
-
getParserForType
Parser<ModuleConfigDefaultsResponse> getParserForType()
-
getDefaultInstanceForType
ModuleConfigDefaultsResponse getDefaultInstanceForType()
-
-
-
-