All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.block.ftl.v1.language.ModuleConfig Maven / Gradle / Ivy

There is a newer version: 0.467.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: xyz/block/ftl/v1/language/language.proto

// Protobuf Java Version: 3.25.4
package xyz.block.ftl.v1.language;

/**
 * 
 * ModuleConfig contains the configuration for a module, found in the module's ftl.toml file.
 * 
* * Protobuf type {@code xyz.block.ftl.v1.language.ModuleConfig} */ public final class ModuleConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:xyz.block.ftl.v1.language.ModuleConfig) ModuleConfigOrBuilder { private static final long serialVersionUID = 0L; // Use ModuleConfig.newBuilder() to construct. private ModuleConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ModuleConfig() { name_ = ""; dir_ = ""; language_ = ""; deployDir_ = ""; build_ = ""; buildLock_ = ""; generatedSchemaDir_ = ""; watch_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ModuleConfig(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_ModuleConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_ModuleConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( xyz.block.ftl.v1.language.ModuleConfig.class, xyz.block.ftl.v1.language.ModuleConfig.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
   * Name of the module
   * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
   * Name of the module
   * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DIR_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object dir_ = ""; /** *
   * Absolute path to the module's directory
   * 
* * string dir = 2; * @return The dir. */ @java.lang.Override public java.lang.String getDir() { java.lang.Object ref = dir_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dir_ = s; return s; } } /** *
   * Absolute path to the module's directory
   * 
* * string dir = 2; * @return The bytes for dir. */ @java.lang.Override public com.google.protobuf.ByteString getDirBytes() { java.lang.Object ref = dir_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dir_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LANGUAGE_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object language_ = ""; /** *
   * The language of the module
   * 
* * string language = 3; * @return The language. */ @java.lang.Override public java.lang.String getLanguage() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; } } /** *
   * The language of the module
   * 
* * string language = 3; * @return The bytes for language. */ @java.lang.Override public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEPLOY_DIR_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object deployDir_ = ""; /** *
   * Absolute path to the directory containing all of this module's build artifacts for deployments
   * 
* * string deploy_dir = 4; * @return The deployDir. */ @java.lang.Override public java.lang.String getDeployDir() { java.lang.Object ref = deployDir_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deployDir_ = s; return s; } } /** *
   * Absolute path to the directory containing all of this module's build artifacts for deployments
   * 
* * string deploy_dir = 4; * @return The bytes for deployDir. */ @java.lang.Override public com.google.protobuf.ByteString getDeployDirBytes() { java.lang.Object ref = deployDir_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deployDir_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BUILD_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object build_ = ""; /** *
   * Build is the command to build the module.
   * 
* * optional string build = 5; * @return Whether the build field is set. */ @java.lang.Override public boolean hasBuild() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Build is the command to build the module.
   * 
* * optional string build = 5; * @return The build. */ @java.lang.Override public java.lang.String getBuild() { java.lang.Object ref = build_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; } } /** *
   * Build is the command to build the module.
   * 
* * optional string build = 5; * @return The bytes for build. */ @java.lang.Override public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); build_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BUILD_LOCK_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object buildLock_ = ""; /** *
   * Build lock path to prevent concurrent builds
   * 
* * string build_lock = 6; * @return The buildLock. */ @java.lang.Override public java.lang.String getBuildLock() { java.lang.Object ref = buildLock_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLock_ = s; return s; } } /** *
   * Build lock path to prevent concurrent builds
   * 
* * string build_lock = 6; * @return The bytes for buildLock. */ @java.lang.Override public com.google.protobuf.ByteString getBuildLockBytes() { java.lang.Object ref = buildLock_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildLock_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GENERATED_SCHEMA_DIR_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object generatedSchemaDir_ = ""; /** *
   * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
   * 
* * optional string generated_schema_dir = 7; * @return Whether the generatedSchemaDir field is set. */ @java.lang.Override public boolean hasGeneratedSchemaDir() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
   * 
* * optional string generated_schema_dir = 7; * @return The generatedSchemaDir. */ @java.lang.Override public java.lang.String getGeneratedSchemaDir() { java.lang.Object ref = generatedSchemaDir_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); generatedSchemaDir_ = s; return s; } } /** *
   * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
   * 
* * optional string generated_schema_dir = 7; * @return The bytes for generatedSchemaDir. */ @java.lang.Override public com.google.protobuf.ByteString getGeneratedSchemaDirBytes() { java.lang.Object ref = generatedSchemaDir_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); generatedSchemaDir_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WATCH_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList watch_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Patterns to watch for file changes
   * 
* * repeated string watch = 8; * @return A list containing the watch. */ public com.google.protobuf.ProtocolStringList getWatchList() { return watch_; } /** *
   * Patterns to watch for file changes
   * 
* * repeated string watch = 8; * @return The count of watch. */ public int getWatchCount() { return watch_.size(); } /** *
   * Patterns to watch for file changes
   * 
* * repeated string watch = 8; * @param index The index of the element to return. * @return The watch at the given index. */ public java.lang.String getWatch(int index) { return watch_.get(index); } /** *
   * Patterns to watch for file changes
   * 
* * repeated string watch = 8; * @param index The index of the value to return. * @return The bytes of the watch at the given index. */ public com.google.protobuf.ByteString getWatchBytes(int index) { return watch_.getByteString(index); } public static final int LANGUAGE_CONFIG_FIELD_NUMBER = 9; private com.google.protobuf.Struct languageConfig_; /** *
   * 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 = 9; * @return Whether the languageConfig field is set. */ @java.lang.Override public boolean hasLanguageConfig() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * 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 = 9; * @return The languageConfig. */ @java.lang.Override public com.google.protobuf.Struct getLanguageConfig() { return languageConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : languageConfig_; } /** *
   * 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 = 9; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getLanguageConfigOrBuilder() { return languageConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : languageConfig_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dir_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dir_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, language_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deployDir_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deployDir_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, build_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildLock_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, buildLock_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, generatedSchemaDir_); } for (int i = 0; i < watch_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, watch_.getRaw(i)); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(9, getLanguageConfig()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dir_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dir_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, language_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deployDir_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, deployDir_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, build_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildLock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, buildLock_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, generatedSchemaDir_); } { int dataSize = 0; for (int i = 0; i < watch_.size(); i++) { dataSize += computeStringSizeNoTag(watch_.getRaw(i)); } size += dataSize; size += 1 * getWatchList().size(); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getLanguageConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof xyz.block.ftl.v1.language.ModuleConfig)) { return super.equals(obj); } xyz.block.ftl.v1.language.ModuleConfig other = (xyz.block.ftl.v1.language.ModuleConfig) obj; if (!getName() .equals(other.getName())) return false; if (!getDir() .equals(other.getDir())) return false; if (!getLanguage() .equals(other.getLanguage())) return false; if (!getDeployDir() .equals(other.getDeployDir())) return false; if (hasBuild() != other.hasBuild()) return false; if (hasBuild()) { if (!getBuild() .equals(other.getBuild())) return false; } if (!getBuildLock() .equals(other.getBuildLock())) return false; if (hasGeneratedSchemaDir() != other.hasGeneratedSchemaDir()) return false; if (hasGeneratedSchemaDir()) { if (!getGeneratedSchemaDir() .equals(other.getGeneratedSchemaDir())) return false; } if (!getWatchList() .equals(other.getWatchList())) return false; if (hasLanguageConfig() != other.hasLanguageConfig()) return false; if (hasLanguageConfig()) { if (!getLanguageConfig() .equals(other.getLanguageConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DIR_FIELD_NUMBER; hash = (53 * hash) + getDir().hashCode(); hash = (37 * hash) + LANGUAGE_FIELD_NUMBER; hash = (53 * hash) + getLanguage().hashCode(); hash = (37 * hash) + DEPLOY_DIR_FIELD_NUMBER; hash = (53 * hash) + getDeployDir().hashCode(); if (hasBuild()) { hash = (37 * hash) + BUILD_FIELD_NUMBER; hash = (53 * hash) + getBuild().hashCode(); } hash = (37 * hash) + BUILD_LOCK_FIELD_NUMBER; hash = (53 * hash) + getBuildLock().hashCode(); if (hasGeneratedSchemaDir()) { hash = (37 * hash) + GENERATED_SCHEMA_DIR_FIELD_NUMBER; hash = (53 * hash) + getGeneratedSchemaDir().hashCode(); } if (getWatchCount() > 0) { hash = (37 * hash) + WATCH_FIELD_NUMBER; hash = (53 * hash) + getWatchList().hashCode(); } if (hasLanguageConfig()) { hash = (37 * hash) + LANGUAGE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getLanguageConfig().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static xyz.block.ftl.v1.language.ModuleConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static xyz.block.ftl.v1.language.ModuleConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static xyz.block.ftl.v1.language.ModuleConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(xyz.block.ftl.v1.language.ModuleConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * ModuleConfig contains the configuration for a module, found in the module's ftl.toml file.
   * 
* * Protobuf type {@code xyz.block.ftl.v1.language.ModuleConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:xyz.block.ftl.v1.language.ModuleConfig) xyz.block.ftl.v1.language.ModuleConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_ModuleConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_ModuleConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( xyz.block.ftl.v1.language.ModuleConfig.class, xyz.block.ftl.v1.language.ModuleConfig.Builder.class); } // Construct using xyz.block.ftl.v1.language.ModuleConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLanguageConfigFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; dir_ = ""; language_ = ""; deployDir_ = ""; build_ = ""; buildLock_ = ""; generatedSchemaDir_ = ""; watch_ = com.google.protobuf.LazyStringArrayList.emptyList(); languageConfig_ = null; if (languageConfigBuilder_ != null) { languageConfigBuilder_.dispose(); languageConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_ModuleConfig_descriptor; } @java.lang.Override public xyz.block.ftl.v1.language.ModuleConfig getDefaultInstanceForType() { return xyz.block.ftl.v1.language.ModuleConfig.getDefaultInstance(); } @java.lang.Override public xyz.block.ftl.v1.language.ModuleConfig build() { xyz.block.ftl.v1.language.ModuleConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public xyz.block.ftl.v1.language.ModuleConfig buildPartial() { xyz.block.ftl.v1.language.ModuleConfig result = new xyz.block.ftl.v1.language.ModuleConfig(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(xyz.block.ftl.v1.language.ModuleConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dir_ = dir_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.language_ = language_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.deployDir_ = deployDir_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.build_ = build_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.buildLock_ = buildLock_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.generatedSchemaDir_ = generatedSchemaDir_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000080) != 0)) { watch_.makeImmutable(); result.watch_ = watch_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.languageConfig_ = languageConfigBuilder_ == null ? languageConfig_ : languageConfigBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof xyz.block.ftl.v1.language.ModuleConfig) { return mergeFrom((xyz.block.ftl.v1.language.ModuleConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(xyz.block.ftl.v1.language.ModuleConfig other) { if (other == xyz.block.ftl.v1.language.ModuleConfig.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDir().isEmpty()) { dir_ = other.dir_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getLanguage().isEmpty()) { language_ = other.language_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getDeployDir().isEmpty()) { deployDir_ = other.deployDir_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasBuild()) { build_ = other.build_; bitField0_ |= 0x00000010; onChanged(); } if (!other.getBuildLock().isEmpty()) { buildLock_ = other.buildLock_; bitField0_ |= 0x00000020; onChanged(); } if (other.hasGeneratedSchemaDir()) { generatedSchemaDir_ = other.generatedSchemaDir_; bitField0_ |= 0x00000040; onChanged(); } if (!other.watch_.isEmpty()) { if (watch_.isEmpty()) { watch_ = other.watch_; bitField0_ |= 0x00000080; } else { ensureWatchIsMutable(); watch_.addAll(other.watch_); } onChanged(); } if (other.hasLanguageConfig()) { mergeLanguageConfig(other.getLanguageConfig()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { dir_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { language_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { deployDir_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { build_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { buildLock_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 50 case 58: { generatedSchemaDir_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 case 66: { java.lang.String s = input.readStringRequireUtf8(); ensureWatchIsMutable(); watch_.add(s); break; } // case 66 case 74: { input.readMessage( getLanguageConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
     * Name of the module
     * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Name of the module
     * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Name of the module
     * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Name of the module
     * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Name of the module
     * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object dir_ = ""; /** *
     * Absolute path to the module's directory
     * 
* * string dir = 2; * @return The dir. */ public java.lang.String getDir() { java.lang.Object ref = dir_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dir_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Absolute path to the module's directory
     * 
* * string dir = 2; * @return The bytes for dir. */ public com.google.protobuf.ByteString getDirBytes() { java.lang.Object ref = dir_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dir_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Absolute path to the module's directory
     * 
* * string dir = 2; * @param value The dir to set. * @return This builder for chaining. */ public Builder setDir( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dir_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Absolute path to the module's directory
     * 
* * string dir = 2; * @return This builder for chaining. */ public Builder clearDir() { dir_ = getDefaultInstance().getDir(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * Absolute path to the module's directory
     * 
* * string dir = 2; * @param value The bytes for dir to set. * @return This builder for chaining. */ public Builder setDirBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dir_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object language_ = ""; /** *
     * The language of the module
     * 
* * string language = 3; * @return The language. */ public java.lang.String getLanguage() { java.lang.Object ref = language_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The language of the module
     * 
* * string language = 3; * @return The bytes for language. */ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The language of the module
     * 
* * string language = 3; * @param value The language to set. * @return This builder for chaining. */ public Builder setLanguage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } language_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The language of the module
     * 
* * string language = 3; * @return This builder for chaining. */ public Builder clearLanguage() { language_ = getDefaultInstance().getLanguage(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * The language of the module
     * 
* * string language = 3; * @param value The bytes for language to set. * @return This builder for chaining. */ public Builder setLanguageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); language_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object deployDir_ = ""; /** *
     * Absolute path to the directory containing all of this module's build artifacts for deployments
     * 
* * string deploy_dir = 4; * @return The deployDir. */ public java.lang.String getDeployDir() { java.lang.Object ref = deployDir_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deployDir_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Absolute path to the directory containing all of this module's build artifacts for deployments
     * 
* * string deploy_dir = 4; * @return The bytes for deployDir. */ public com.google.protobuf.ByteString getDeployDirBytes() { java.lang.Object ref = deployDir_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deployDir_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Absolute path to the directory containing all of this module's build artifacts for deployments
     * 
* * string deploy_dir = 4; * @param value The deployDir to set. * @return This builder for chaining. */ public Builder setDeployDir( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deployDir_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Absolute path to the directory containing all of this module's build artifacts for deployments
     * 
* * string deploy_dir = 4; * @return This builder for chaining. */ public Builder clearDeployDir() { deployDir_ = getDefaultInstance().getDeployDir(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * Absolute path to the directory containing all of this module's build artifacts for deployments
     * 
* * string deploy_dir = 4; * @param value The bytes for deployDir to set. * @return This builder for chaining. */ public Builder setDeployDirBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deployDir_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object build_ = ""; /** *
     * Build is the command to build the module.
     * 
* * optional string build = 5; * @return Whether the build field is set. */ public boolean hasBuild() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Build is the command to build the module.
     * 
* * optional string build = 5; * @return The build. */ public java.lang.String getBuild() { java.lang.Object ref = build_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); build_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Build is the command to build the module.
     * 
* * optional string build = 5; * @return The bytes for build. */ public com.google.protobuf.ByteString getBuildBytes() { java.lang.Object ref = build_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); build_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Build is the command to build the module.
     * 
* * optional string build = 5; * @param value The build to set. * @return This builder for chaining. */ public Builder setBuild( java.lang.String value) { if (value == null) { throw new NullPointerException(); } build_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Build is the command to build the module.
     * 
* * optional string build = 5; * @return This builder for chaining. */ public Builder clearBuild() { build_ = getDefaultInstance().getBuild(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     * Build is the command to build the module.
     * 
* * optional string build = 5; * @param value The bytes for build to set. * @return This builder for chaining. */ public Builder setBuildBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); build_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private java.lang.Object buildLock_ = ""; /** *
     * Build lock path to prevent concurrent builds
     * 
* * string build_lock = 6; * @return The buildLock. */ public java.lang.String getBuildLock() { java.lang.Object ref = buildLock_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildLock_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Build lock path to prevent concurrent builds
     * 
* * string build_lock = 6; * @return The bytes for buildLock. */ public com.google.protobuf.ByteString getBuildLockBytes() { java.lang.Object ref = buildLock_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildLock_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Build lock path to prevent concurrent builds
     * 
* * string build_lock = 6; * @param value The buildLock to set. * @return This builder for chaining. */ public Builder setBuildLock( java.lang.String value) { if (value == null) { throw new NullPointerException(); } buildLock_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Build lock path to prevent concurrent builds
     * 
* * string build_lock = 6; * @return This builder for chaining. */ public Builder clearBuildLock() { buildLock_ = getDefaultInstance().getBuildLock(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** *
     * Build lock path to prevent concurrent builds
     * 
* * string build_lock = 6; * @param value The bytes for buildLock to set. * @return This builder for chaining. */ public Builder setBuildLockBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); buildLock_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private java.lang.Object generatedSchemaDir_ = ""; /** *
     * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
     * 
* * optional string generated_schema_dir = 7; * @return Whether the generatedSchemaDir field is set. */ public boolean hasGeneratedSchemaDir() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
     * 
* * optional string generated_schema_dir = 7; * @return The generatedSchemaDir. */ public java.lang.String getGeneratedSchemaDir() { java.lang.Object ref = generatedSchemaDir_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); generatedSchemaDir_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
     * 
* * optional string generated_schema_dir = 7; * @return The bytes for generatedSchemaDir. */ public com.google.protobuf.ByteString getGeneratedSchemaDirBytes() { java.lang.Object ref = generatedSchemaDir_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); generatedSchemaDir_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
     * 
* * optional string generated_schema_dir = 7; * @param value The generatedSchemaDir to set. * @return This builder for chaining. */ public Builder setGeneratedSchemaDir( java.lang.String value) { if (value == null) { throw new NullPointerException(); } generatedSchemaDir_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
     * 
* * optional string generated_schema_dir = 7; * @return This builder for chaining. */ public Builder clearGeneratedSchemaDir() { generatedSchemaDir_ = getDefaultInstance().getGeneratedSchemaDir(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
     * The directory to generate protobuf schema files into. These can be picked up by language specific build tools
     * 
* * optional string generated_schema_dir = 7; * @param value The bytes for generatedSchemaDir to set. * @return This builder for chaining. */ public Builder setGeneratedSchemaDirBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); generatedSchemaDir_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList watch_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureWatchIsMutable() { if (!watch_.isModifiable()) { watch_ = new com.google.protobuf.LazyStringArrayList(watch_); } bitField0_ |= 0x00000080; } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @return A list containing the watch. */ public com.google.protobuf.ProtocolStringList getWatchList() { watch_.makeImmutable(); return watch_; } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @return The count of watch. */ public int getWatchCount() { return watch_.size(); } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @param index The index of the element to return. * @return The watch at the given index. */ public java.lang.String getWatch(int index) { return watch_.get(index); } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @param index The index of the value to return. * @return The bytes of the watch at the given index. */ public com.google.protobuf.ByteString getWatchBytes(int index) { return watch_.getByteString(index); } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @param index The index to set the value at. * @param value The watch to set. * @return This builder for chaining. */ public Builder setWatch( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureWatchIsMutable(); watch_.set(index, value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @param value The watch to add. * @return This builder for chaining. */ public Builder addWatch( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureWatchIsMutable(); watch_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @param values The watch to add. * @return This builder for chaining. */ public Builder addAllWatch( java.lang.Iterable values) { ensureWatchIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, watch_); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @return This builder for chaining. */ public Builder clearWatch() { watch_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** *
     * Patterns to watch for file changes
     * 
* * repeated string watch = 8; * @param value The bytes of the watch to add. * @return This builder for chaining. */ public Builder addWatchBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureWatchIsMutable(); watch_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } private com.google.protobuf.Struct languageConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> languageConfigBuilder_; /** *
     * 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 = 9; * @return Whether the languageConfig field is set. */ public boolean hasLanguageConfig() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * 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 = 9; * @return The languageConfig. */ public com.google.protobuf.Struct getLanguageConfig() { if (languageConfigBuilder_ == null) { return languageConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : languageConfig_; } else { return languageConfigBuilder_.getMessage(); } } /** *
     * 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 = 9; */ public Builder setLanguageConfig(com.google.protobuf.Struct value) { if (languageConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } languageConfig_ = value; } else { languageConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * 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 = 9; */ public Builder setLanguageConfig( com.google.protobuf.Struct.Builder builderForValue) { if (languageConfigBuilder_ == null) { languageConfig_ = builderForValue.build(); } else { languageConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * 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 = 9; */ public Builder mergeLanguageConfig(com.google.protobuf.Struct value) { if (languageConfigBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && languageConfig_ != null && languageConfig_ != com.google.protobuf.Struct.getDefaultInstance()) { getLanguageConfigBuilder().mergeFrom(value); } else { languageConfig_ = value; } } else { languageConfigBuilder_.mergeFrom(value); } if (languageConfig_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** *
     * 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 = 9; */ public Builder clearLanguageConfig() { bitField0_ = (bitField0_ & ~0x00000100); languageConfig_ = null; if (languageConfigBuilder_ != null) { languageConfigBuilder_.dispose(); languageConfigBuilder_ = null; } onChanged(); return this; } /** *
     * 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 = 9; */ public com.google.protobuf.Struct.Builder getLanguageConfigBuilder() { bitField0_ |= 0x00000100; onChanged(); return getLanguageConfigFieldBuilder().getBuilder(); } /** *
     * 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 = 9; */ public com.google.protobuf.StructOrBuilder getLanguageConfigOrBuilder() { if (languageConfigBuilder_ != null) { return languageConfigBuilder_.getMessageOrBuilder(); } else { return languageConfig_ == null ? com.google.protobuf.Struct.getDefaultInstance() : languageConfig_; } } /** *
     * 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 = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getLanguageConfigFieldBuilder() { if (languageConfigBuilder_ == null) { languageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( getLanguageConfig(), getParentForChildren(), isClean()); languageConfig_ = null; } return languageConfigBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:xyz.block.ftl.v1.language.ModuleConfig) } // @@protoc_insertion_point(class_scope:xyz.block.ftl.v1.language.ModuleConfig) private static final xyz.block.ftl.v1.language.ModuleConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new xyz.block.ftl.v1.language.ModuleConfig(); } public static xyz.block.ftl.v1.language.ModuleConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ModuleConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public xyz.block.ftl.v1.language.ModuleConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy