Class ModuleConfigDefaultsResponse.Builder
-
- All Implemented Interfaces:
-
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,xyz.block.ftl.language.v1.ModuleConfigDefaultsResponseOrBuilder
public final class ModuleConfigDefaultsResponse.Builder extends GeneratedMessageV3.Builder<BuilderT> 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
-
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()ModuleConfigDefaultsResponse.Builderclear()Descriptors.DescriptorgetDescriptorForType()ModuleConfigDefaultsResponsegetDefaultInstanceForType()ModuleConfigDefaultsResponsebuild()ModuleConfigDefaultsResponsebuildPartial()ModuleConfigDefaultsResponse.Builderclone()ModuleConfigDefaultsResponse.BuildersetField(Descriptors.FieldDescriptor field, Object value)ModuleConfigDefaultsResponse.BuilderclearField(Descriptors.FieldDescriptor field)ModuleConfigDefaultsResponse.BuilderclearOneof(Descriptors.OneofDescriptor oneof)ModuleConfigDefaultsResponse.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)ModuleConfigDefaultsResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)ModuleConfigDefaultsResponse.BuildermergeFrom(Message other)ModuleConfigDefaultsResponse.BuildermergeFrom(ModuleConfigDefaultsResponse other)final booleanisInitialized()ModuleConfigDefaultsResponse.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)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;ModuleConfigDefaultsResponse.BuildersetDeployDir(String value)Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;ModuleConfigDefaultsResponse.BuilderclearDeployDir()Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;ModuleConfigDefaultsResponse.BuildersetDeployDirBytes(ByteString value)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;ModuleConfigDefaultsResponse.BuildersetBuild(String value)Default build commandoptional string build = 2;ModuleConfigDefaultsResponse.BuilderclearBuild()Default build commandoptional string build = 2;ModuleConfigDefaultsResponse.BuildersetBuildBytes(ByteString value)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;ModuleConfigDefaultsResponse.BuildersetDevModeBuild(String value)Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;ModuleConfigDefaultsResponse.BuilderclearDevModeBuild()Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;ModuleConfigDefaultsResponse.BuildersetDevModeBuildBytes(ByteString value)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;ModuleConfigDefaultsResponse.BuildersetBuildLock(String value)Build lock path to prevent concurrent buildsoptional string build_lock = 4;ModuleConfigDefaultsResponse.BuilderclearBuildLock()Build lock path to prevent concurrent buildsoptional string build_lock = 4;ModuleConfigDefaultsResponse.BuildersetBuildLockBytes(ByteString value)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;ModuleConfigDefaultsResponse.BuildersetWatch(int index, String value)Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;ModuleConfigDefaultsResponse.BuilderaddWatch(String value)Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;ModuleConfigDefaultsResponse.BuilderaddAllWatch(Iterable<String> values)Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;ModuleConfigDefaultsResponse.BuilderclearWatch()Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;ModuleConfigDefaultsResponse.BuilderaddWatchBytes(ByteString value)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;ModuleConfigDefaultsResponse.BuildersetLanguageConfig(Struct value)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;ModuleConfigDefaultsResponse.BuildersetLanguageConfig(Struct.Builder builderForValue)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;ModuleConfigDefaultsResponse.BuildermergeLanguageConfig(Struct value)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;ModuleConfigDefaultsResponse.BuilderclearLanguageConfig()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;Struct.BuildergetLanguageConfigBuilder()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;ModuleConfigDefaultsResponse.BuildersetSqlMigrationDir(String value)Default directory containing the SQL migration filesstring sql_migration_dir = 8;ModuleConfigDefaultsResponse.BuilderclearSqlMigrationDir()Default directory containing the SQL migration filesstring sql_migration_dir = 8;ModuleConfigDefaultsResponse.BuildersetSqlMigrationDirBytes(ByteString value)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;ModuleConfigDefaultsResponse.BuildersetSqlQueryDir(String value)Default directory containing the SQL query filesstring sql_query_dir = 9;ModuleConfigDefaultsResponse.BuilderclearSqlQueryDir()Default directory containing the SQL query filesstring sql_query_dir = 9;ModuleConfigDefaultsResponse.BuildersetSqlQueryDirBytes(ByteString value)Default directory containing the SQL query filesstring sql_query_dir = 9;final ModuleConfigDefaultsResponse.BuildersetUnknownFields(UnknownFieldSet unknownFields)final ModuleConfigDefaultsResponse.BuildermergeUnknownFields(UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField -
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
clear, clearOneof, clone, findInitializationErrors, getInitializationErrorString, mergeUnknownFields, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.Message.Builder
addRepeatedField, clear, clearField, clearOneof, clone, mergeFrom, mergeUnknownFields, setField, setRepeatedField, setUnknownFields -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial -
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()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
ModuleConfigDefaultsResponse getDefaultInstanceForType()
-
build
ModuleConfigDefaultsResponse build()
-
buildPartial
ModuleConfigDefaultsResponse buildPartial()
-
setField
ModuleConfigDefaultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
ModuleConfigDefaultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
ModuleConfigDefaultsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
ModuleConfigDefaultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
ModuleConfigDefaultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
ModuleConfigDefaultsResponse.Builder mergeFrom(Message other)
-
mergeFrom
ModuleConfigDefaultsResponse.Builder mergeFrom(ModuleConfigDefaultsResponse other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
ModuleConfigDefaultsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
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.
-
setDeployDir
ModuleConfigDefaultsResponse.Builder setDeployDir(String value)
Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;- Parameters:
value- The deployDir to set.- Returns:
This builder for chaining.
-
clearDeployDir
ModuleConfigDefaultsResponse.Builder clearDeployDir()
Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;- Returns:
This builder for chaining.
-
setDeployDirBytes
ModuleConfigDefaultsResponse.Builder setDeployDirBytes(ByteString value)
Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;- Parameters:
value- The bytes for deployDir to set.- Returns:
This builder for chaining.
-
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.
-
setBuild
ModuleConfigDefaultsResponse.Builder setBuild(String value)
Default build commandoptional string build = 2;- Parameters:
value- The build to set.- Returns:
This builder for chaining.
-
clearBuild
ModuleConfigDefaultsResponse.Builder clearBuild()
Default build commandoptional string build = 2;- Returns:
This builder for chaining.
-
setBuildBytes
ModuleConfigDefaultsResponse.Builder setBuildBytes(ByteString value)
Default build commandoptional string build = 2;- Parameters:
value- The bytes for build to set.- Returns:
This builder for chaining.
-
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.
-
setDevModeBuild
ModuleConfigDefaultsResponse.Builder setDevModeBuild(String value)
Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;- Parameters:
value- The devModeBuild to set.- Returns:
This builder for chaining.
-
clearDevModeBuild
ModuleConfigDefaultsResponse.Builder clearDevModeBuild()
Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;- Returns:
This builder for chaining.
-
setDevModeBuildBytes
ModuleConfigDefaultsResponse.Builder setDevModeBuildBytes(ByteString value)
Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;- Parameters:
value- The bytes for devModeBuild to set.- Returns:
This builder for chaining.
-
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.
-
setBuildLock
ModuleConfigDefaultsResponse.Builder setBuildLock(String value)
Build lock path to prevent concurrent buildsoptional string build_lock = 4;- Parameters:
value- The buildLock to set.- Returns:
This builder for chaining.
-
clearBuildLock
ModuleConfigDefaultsResponse.Builder clearBuildLock()
Build lock path to prevent concurrent buildsoptional string build_lock = 4;- Returns:
This builder for chaining.
-
setBuildLockBytes
ModuleConfigDefaultsResponse.Builder setBuildLockBytes(ByteString value)
Build lock path to prevent concurrent buildsoptional string build_lock = 4;- Parameters:
value- The bytes for buildLock to set.- Returns:
This builder for chaining.
-
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.
-
setWatch
ModuleConfigDefaultsResponse.Builder setWatch(int index, String value)
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Parameters:
index- The index to set the value at.value- The watch to set.- Returns:
This builder for chaining.
-
addWatch
ModuleConfigDefaultsResponse.Builder addWatch(String value)
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Parameters:
value- The watch to add.- Returns:
This builder for chaining.
-
addAllWatch
ModuleConfigDefaultsResponse.Builder addAllWatch(Iterable<String> values)
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Parameters:
values- The watch to add.- Returns:
This builder for chaining.
-
clearWatch
ModuleConfigDefaultsResponse.Builder clearWatch()
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Returns:
This builder for chaining.
-
addWatchBytes
ModuleConfigDefaultsResponse.Builder addWatchBytes(ByteString value)
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Parameters:
value- The bytes of the watch to add.- Returns:
This builder for chaining.
-
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.
-
setLanguageConfig
ModuleConfigDefaultsResponse.Builder setLanguageConfig(Struct value)
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;
-
setLanguageConfig
ModuleConfigDefaultsResponse.Builder setLanguageConfig(Struct.Builder builderForValue)
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;
-
mergeLanguageConfig
ModuleConfigDefaultsResponse.Builder mergeLanguageConfig(Struct value)
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;
-
clearLanguageConfig
ModuleConfigDefaultsResponse.Builder clearLanguageConfig()
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;
-
getLanguageConfigBuilder
Struct.Builder getLanguageConfigBuilder()
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;
-
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.
-
setSqlMigrationDir
ModuleConfigDefaultsResponse.Builder setSqlMigrationDir(String value)
Default directory containing the SQL migration filesstring sql_migration_dir = 8;- Parameters:
value- The sqlMigrationDir to set.- Returns:
This builder for chaining.
-
clearSqlMigrationDir
ModuleConfigDefaultsResponse.Builder clearSqlMigrationDir()
Default directory containing the SQL migration filesstring sql_migration_dir = 8;- Returns:
This builder for chaining.
-
setSqlMigrationDirBytes
ModuleConfigDefaultsResponse.Builder setSqlMigrationDirBytes(ByteString value)
Default directory containing the SQL migration filesstring sql_migration_dir = 8;- Parameters:
value- The bytes for sqlMigrationDir to set.- Returns:
This builder for chaining.
-
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.
-
setSqlQueryDir
ModuleConfigDefaultsResponse.Builder setSqlQueryDir(String value)
Default directory containing the SQL query filesstring sql_query_dir = 9;- Parameters:
value- The sqlQueryDir to set.- Returns:
This builder for chaining.
-
clearSqlQueryDir
ModuleConfigDefaultsResponse.Builder clearSqlQueryDir()
Default directory containing the SQL query filesstring sql_query_dir = 9;- Returns:
This builder for chaining.
-
setSqlQueryDirBytes
ModuleConfigDefaultsResponse.Builder setSqlQueryDirBytes(ByteString value)
Default directory containing the SQL query filesstring sql_query_dir = 9;- Parameters:
value- The bytes for sqlQueryDir to set.- Returns:
This builder for chaining.
-
setUnknownFields
final ModuleConfigDefaultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final ModuleConfigDefaultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-