Class GetModuleConfigDefaultsResponse.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.GetModuleConfigDefaultsResponseOrBuilder
public final class GetModuleConfigDefaultsResponse.Builder extends GeneratedMessageV3.Builder<BuilderT> implements GetModuleConfigDefaultsResponseOrBuilder
Protobuf typeGetModuleConfigDefaultsResponse 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.GetModuleConfigDefaultsResponse
-
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()GetModuleConfigDefaultsResponse.Builderclear()Descriptors.DescriptorgetDescriptorForType()GetModuleConfigDefaultsResponsegetDefaultInstanceForType()GetModuleConfigDefaultsResponsebuild()GetModuleConfigDefaultsResponsebuildPartial()GetModuleConfigDefaultsResponse.Builderclone()GetModuleConfigDefaultsResponse.BuildersetField(Descriptors.FieldDescriptor field, Object value)GetModuleConfigDefaultsResponse.BuilderclearField(Descriptors.FieldDescriptor field)GetModuleConfigDefaultsResponse.BuilderclearOneof(Descriptors.OneofDescriptor oneof)GetModuleConfigDefaultsResponse.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)GetModuleConfigDefaultsResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)GetModuleConfigDefaultsResponse.BuildermergeFrom(Message other)GetModuleConfigDefaultsResponse.BuildermergeFrom(GetModuleConfigDefaultsResponse other)final booleanisInitialized()GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.BuildersetDeployDir(String value)Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;GetModuleConfigDefaultsResponse.BuilderclearDeployDir()Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.BuildersetBuild(String value)Default build commandoptional string build = 2;GetModuleConfigDefaultsResponse.BuilderclearBuild()Default build commandoptional string build = 2;GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.BuildersetDevModeBuild(String value)Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;GetModuleConfigDefaultsResponse.BuilderclearDevModeBuild()Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.BuildersetBuildLock(String value)Build lock path to prevent concurrent buildsoptional string build_lock = 4;GetModuleConfigDefaultsResponse.BuilderclearBuildLock()Build lock path to prevent concurrent buildsoptional string build_lock = 4;GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.BuildersetWatch(int index, String value)Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;GetModuleConfigDefaultsResponse.BuilderaddWatch(String value)Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;GetModuleConfigDefaultsResponse.BuilderaddAllWatch(Iterable<String> values)Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;GetModuleConfigDefaultsResponse.BuilderclearWatch()Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.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;GetModuleConfigDefaultsResponse.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;StringgetSqlRootDir()Root directory containing SQL files.string sql_root_dir = 8;ByteStringgetSqlRootDirBytes()Root directory containing SQL files.string sql_root_dir = 8;GetModuleConfigDefaultsResponse.BuildersetSqlRootDir(String value)Root directory containing SQL files.string sql_root_dir = 8;GetModuleConfigDefaultsResponse.BuilderclearSqlRootDir()Root directory containing SQL files.string sql_root_dir = 8;GetModuleConfigDefaultsResponse.BuildersetSqlRootDirBytes(ByteString value)Root directory containing SQL files.string sql_root_dir = 8;final GetModuleConfigDefaultsResponse.BuildersetUnknownFields(UnknownFieldSet unknownFields)final GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse getDefaultInstanceForType()
-
build
GetModuleConfigDefaultsResponse build()
-
buildPartial
GetModuleConfigDefaultsResponse buildPartial()
-
setField
GetModuleConfigDefaultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
GetModuleConfigDefaultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
GetModuleConfigDefaultsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
GetModuleConfigDefaultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
GetModuleConfigDefaultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
GetModuleConfigDefaultsResponse.Builder mergeFrom(Message other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.Builder clearDeployDir()
Default relative path to the directory containing all build artifacts for deploymentsstring deploy_dir = 1;- Returns:
This builder for chaining.
-
setDeployDirBytes
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.Builder setBuild(String value)
Default build commandoptional string build = 2;- Parameters:
value- The build to set.- Returns:
This builder for chaining.
-
clearBuild
GetModuleConfigDefaultsResponse.Builder clearBuild()
Default build commandoptional string build = 2;- Returns:
This builder for chaining.
-
setBuildBytes
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.Builder clearDevModeBuild()
Dev mode build command, if different from the regular build commandoptional string dev_mode_build = 3;- Returns:
This builder for chaining.
-
setDevModeBuildBytes
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.Builder clearBuildLock()
Build lock path to prevent concurrent buildsoptional string build_lock = 4;- Returns:
This builder for chaining.
-
setBuildLockBytes
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.Builder clearWatch()
Default patterns to watch for file changes, relative to the module directoryrepeated string watch = 6;- Returns:
This builder for chaining.
-
addWatchBytes
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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
GetModuleConfigDefaultsResponse.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;
-
getSqlRootDir
String getSqlRootDir()
Root directory containing SQL files.string sql_root_dir = 8;- Returns:
The sqlRootDir.
-
getSqlRootDirBytes
ByteString getSqlRootDirBytes()
Root directory containing SQL files.string sql_root_dir = 8;- Returns:
The bytes for sqlRootDir.
-
setSqlRootDir
GetModuleConfigDefaultsResponse.Builder setSqlRootDir(String value)
Root directory containing SQL files.string sql_root_dir = 8;- Parameters:
value- The sqlRootDir to set.- Returns:
This builder for chaining.
-
clearSqlRootDir
GetModuleConfigDefaultsResponse.Builder clearSqlRootDir()
Root directory containing SQL files.string sql_root_dir = 8;- Returns:
This builder for chaining.
-
setSqlRootDirBytes
GetModuleConfigDefaultsResponse.Builder setSqlRootDirBytes(ByteString value)
Root directory containing SQL files.string sql_root_dir = 8;- Parameters:
value- The bytes for sqlRootDir to set.- Returns:
This builder for chaining.
-
setUnknownFields
final GetModuleConfigDefaultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final GetModuleConfigDefaultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-