Package xyz.block.ftl.v1.language
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.v1.language.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.v1.language.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.v1.language.ModuleConfigDefaultsResponse
-
Field Summary
Fields Modifier and Type Field Description public 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()StringgetDeployDir()Default relative path to the directory containing all build artifacts for deploymentsstring deployDir = 1;ByteStringgetDeployDirBytes()Default relative path to the directory containing all build artifacts for deploymentsstring deployDir = 1;booleanhasBuild()Default build commandoptional string build = 2;StringgetBuild()Default build commandoptional string build = 2;ByteStringgetBuildBytes()Default build commandoptional string build = 2;booleanhasGeneratedSchemaDir()Default relative path to the directory containing generated schema filesoptional string generated_schema_dir = 3;StringgetGeneratedSchemaDir()Default relative path to the directory containing generated schema filesoptional string generated_schema_dir = 3;ByteStringgetGeneratedSchemaDirBytes()Default relative path to the directory containing generated schema filesoptional string generated_schema_dir = 3;ProtocolStringListgetWatchList()Default patterns to watch for file changesrepeated string watch = 4;intgetWatchCount()Default patterns to watch for file changesrepeated string watch = 4;StringgetWatch(int index)Default patterns to watch for file changesrepeated string watch = 4;ByteStringgetWatchBytes(int index)Default patterns to watch for file changesrepeated string watch = 4;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 = 5;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 = 5;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 = 5;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 deployDir = 1;- Returns:
The deployDir.
-
getDeployDirBytes
ByteString getDeployDirBytes()
Default relative path to the directory containing all build artifacts for deploymentsstring deployDir = 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.
-
hasGeneratedSchemaDir
boolean hasGeneratedSchemaDir()
Default relative path to the directory containing generated schema filesoptional string generated_schema_dir = 3;- Returns:
Whether the generatedSchemaDir field is set.
-
getGeneratedSchemaDir
String getGeneratedSchemaDir()
Default relative path to the directory containing generated schema filesoptional string generated_schema_dir = 3;- Returns:
The generatedSchemaDir.
-
getGeneratedSchemaDirBytes
ByteString getGeneratedSchemaDirBytes()
Default relative path to the directory containing generated schema filesoptional string generated_schema_dir = 3;- Returns:
The bytes for generatedSchemaDir.
-
getWatchList
ProtocolStringList getWatchList()
Default patterns to watch for file changesrepeated string watch = 4;- Returns:
A list containing the watch.
-
getWatchCount
int getWatchCount()
Default patterns to watch for file changesrepeated string watch = 4;- Returns:
The count of watch.
-
getWatch
String getWatch(int index)
Default patterns to watch for file changesrepeated string watch = 4;- 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 changesrepeated string watch = 4;- 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 = 5;- 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 = 5;- 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 = 5;
-
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()
-
-
-
-