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

org.finos.tracdap.config.RuntimeConfig Maven / Gradle / Ivy

Go to download

TRAC D.A.P. config library, contains data structures used for config files (and other config sources)

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: tracdap/config/runtime.proto
// Protobuf Java Version: 4.28.2

package org.finos.tracdap.config;

/**
 * Protobuf type {@code tracdap.config.RuntimeConfig}
 */
public final class RuntimeConfig extends
    com.google.protobuf.GeneratedMessage implements
    // @@protoc_insertion_point(message_implements:tracdap.config.RuntimeConfig)
    RuntimeConfigOrBuilder {
private static final long serialVersionUID = 0L;
  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 28,
      /* patch= */ 2,
      /* suffix= */ "",
      RuntimeConfig.class.getName());
  }
  // Use RuntimeConfig.newBuilder() to construct.
  private RuntimeConfig(com.google.protobuf.GeneratedMessage.Builder builder) {
    super(builder);
  }
  private RuntimeConfig() {
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.finos.tracdap.config.Runtime.internal_static_tracdap_config_RuntimeConfig_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
      int number) {
    switch (number) {
      case 1:
        return internalGetConfig();
      case 3:
        return internalGetRepositories();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.finos.tracdap.config.Runtime.internal_static_tracdap_config_RuntimeConfig_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.finos.tracdap.config.RuntimeConfig.class, org.finos.tracdap.config.RuntimeConfig.Builder.class);
  }

  private int bitField0_;
  public static final int CONFIG_FIELD_NUMBER = 1;
  private static final class ConfigDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.String, java.lang.String> defaultEntry =
            com.google.protobuf.MapEntry
            .newDefaultInstance(
                org.finos.tracdap.config.Runtime.internal_static_tracdap_config_RuntimeConfig_ConfigEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                com.google.protobuf.WireFormat.FieldType.STRING,
                "");
  }
  @SuppressWarnings("serial")
  private com.google.protobuf.MapField<
      java.lang.String, java.lang.String> config_;
  private com.google.protobuf.MapField
  internalGetConfig() {
    if (config_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          ConfigDefaultEntryHolder.defaultEntry);
    }
    return config_;
  }
  public int getConfigCount() {
    return internalGetConfig().getMap().size();
  }
  /**
   * map<string, string> config = 1;
   */
  @java.lang.Override
  public boolean containsConfig(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    return internalGetConfig().getMap().containsKey(key);
  }
  /**
   * Use {@link #getConfigMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map getConfig() {
    return getConfigMap();
  }
  /**
   * map<string, string> config = 1;
   */
  @java.lang.Override
  public java.util.Map getConfigMap() {
    return internalGetConfig().getMap();
  }
  /**
   * map<string, string> config = 1;
   */
  @java.lang.Override
  public /* nullable */
java.lang.String getConfigOrDefault(
      java.lang.String key,
      /* nullable */
java.lang.String defaultValue) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetConfig().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * map<string, string> config = 1;
   */
  @java.lang.Override
  public java.lang.String getConfigOrThrow(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetConfig().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int STORAGE_FIELD_NUMBER = 2;
  private org.finos.tracdap.config.StorageConfig storage_;
  /**
   * .tracdap.config.StorageConfig storage = 2;
   * @return Whether the storage field is set.
   */
  @java.lang.Override
  public boolean hasStorage() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .tracdap.config.StorageConfig storage = 2;
   * @return The storage.
   */
  @java.lang.Override
  public org.finos.tracdap.config.StorageConfig getStorage() {
    return storage_ == null ? org.finos.tracdap.config.StorageConfig.getDefaultInstance() : storage_;
  }
  /**
   * .tracdap.config.StorageConfig storage = 2;
   */
  @java.lang.Override
  public org.finos.tracdap.config.StorageConfigOrBuilder getStorageOrBuilder() {
    return storage_ == null ? org.finos.tracdap.config.StorageConfig.getDefaultInstance() : storage_;
  }

  public static final int REPOSITORIES_FIELD_NUMBER = 3;
  private static final class RepositoriesDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.String, org.finos.tracdap.config.PluginConfig> defaultEntry =
            com.google.protobuf.MapEntry
            .newDefaultInstance(
                org.finos.tracdap.config.Runtime.internal_static_tracdap_config_RuntimeConfig_RepositoriesEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                org.finos.tracdap.config.PluginConfig.getDefaultInstance());
  }
  @SuppressWarnings("serial")
  private com.google.protobuf.MapField<
      java.lang.String, org.finos.tracdap.config.PluginConfig> repositories_;
  private com.google.protobuf.MapField
  internalGetRepositories() {
    if (repositories_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          RepositoriesDefaultEntryHolder.defaultEntry);
    }
    return repositories_;
  }
  public int getRepositoriesCount() {
    return internalGetRepositories().getMap().size();
  }
  /**
   * map<string, .tracdap.config.PluginConfig> repositories = 3;
   */
  @java.lang.Override
  public boolean containsRepositories(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    return internalGetRepositories().getMap().containsKey(key);
  }
  /**
   * Use {@link #getRepositoriesMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map getRepositories() {
    return getRepositoriesMap();
  }
  /**
   * map<string, .tracdap.config.PluginConfig> repositories = 3;
   */
  @java.lang.Override
  public java.util.Map getRepositoriesMap() {
    return internalGetRepositories().getMap();
  }
  /**
   * map<string, .tracdap.config.PluginConfig> repositories = 3;
   */
  @java.lang.Override
  public /* nullable */
org.finos.tracdap.config.PluginConfig getRepositoriesOrDefault(
      java.lang.String key,
      /* nullable */
org.finos.tracdap.config.PluginConfig defaultValue) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetRepositories().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * map<string, .tracdap.config.PluginConfig> repositories = 3;
   */
  @java.lang.Override
  public org.finos.tracdap.config.PluginConfig getRepositoriesOrThrow(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetRepositories().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int SPARKSETTINGS_FIELD_NUMBER = 5;
  private org.finos.tracdap.config.SparkSettings sparkSettings_;
  /**
   * .tracdap.config.SparkSettings sparkSettings = 5;
   * @return Whether the sparkSettings field is set.
   */
  @java.lang.Override
  public boolean hasSparkSettings() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * .tracdap.config.SparkSettings sparkSettings = 5;
   * @return The sparkSettings.
   */
  @java.lang.Override
  public org.finos.tracdap.config.SparkSettings getSparkSettings() {
    return sparkSettings_ == null ? org.finos.tracdap.config.SparkSettings.getDefaultInstance() : sparkSettings_;
  }
  /**
   * .tracdap.config.SparkSettings sparkSettings = 5;
   */
  @java.lang.Override
  public org.finos.tracdap.config.SparkSettingsOrBuilder getSparkSettingsOrBuilder() {
    return sparkSettings_ == null ? org.finos.tracdap.config.SparkSettings.getDefaultInstance() : sparkSettings_;
  }

  public static final int RUNTIMEAPI_FIELD_NUMBER = 6;
  private org.finos.tracdap.config.ServiceConfig runtimeApi_;
  /**
   * .tracdap.config.ServiceConfig runtimeApi = 6;
   * @return Whether the runtimeApi field is set.
   */
  @java.lang.Override
  public boolean hasRuntimeApi() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * .tracdap.config.ServiceConfig runtimeApi = 6;
   * @return The runtimeApi.
   */
  @java.lang.Override
  public org.finos.tracdap.config.ServiceConfig getRuntimeApi() {
    return runtimeApi_ == null ? org.finos.tracdap.config.ServiceConfig.getDefaultInstance() : runtimeApi_;
  }
  /**
   * .tracdap.config.ServiceConfig runtimeApi = 6;
   */
  @java.lang.Override
  public org.finos.tracdap.config.ServiceConfigOrBuilder getRuntimeApiOrBuilder() {
    return runtimeApi_ == null ? org.finos.tracdap.config.ServiceConfig.getDefaultInstance() : runtimeApi_;
  }

  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 {
    com.google.protobuf.GeneratedMessage
      .serializeStringMapTo(
        output,
        internalGetConfig(),
        ConfigDefaultEntryHolder.defaultEntry,
        1);
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getStorage());
    }
    com.google.protobuf.GeneratedMessage
      .serializeStringMapTo(
        output,
        internalGetRepositories(),
        RepositoriesDefaultEntryHolder.defaultEntry,
        3);
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(5, getSparkSettings());
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(6, getRuntimeApi());
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    for (java.util.Map.Entry entry
         : internalGetConfig().getMap().entrySet()) {
      com.google.protobuf.MapEntry
      config__ = ConfigDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, config__);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getStorage());
    }
    for (java.util.Map.Entry entry
         : internalGetRepositories().getMap().entrySet()) {
      com.google.protobuf.MapEntry
      repositories__ = RepositoriesDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, repositories__);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getSparkSettings());
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getRuntimeApi());
    }
    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 org.finos.tracdap.config.RuntimeConfig)) {
      return super.equals(obj);
    }
    org.finos.tracdap.config.RuntimeConfig other = (org.finos.tracdap.config.RuntimeConfig) obj;

    if (!internalGetConfig().equals(
        other.internalGetConfig())) return false;
    if (hasStorage() != other.hasStorage()) return false;
    if (hasStorage()) {
      if (!getStorage()
          .equals(other.getStorage())) return false;
    }
    if (!internalGetRepositories().equals(
        other.internalGetRepositories())) return false;
    if (hasSparkSettings() != other.hasSparkSettings()) return false;
    if (hasSparkSettings()) {
      if (!getSparkSettings()
          .equals(other.getSparkSettings())) return false;
    }
    if (hasRuntimeApi() != other.hasRuntimeApi()) return false;
    if (hasRuntimeApi()) {
      if (!getRuntimeApi()
          .equals(other.getRuntimeApi())) 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();
    if (!internalGetConfig().getMap().isEmpty()) {
      hash = (37 * hash) + CONFIG_FIELD_NUMBER;
      hash = (53 * hash) + internalGetConfig().hashCode();
    }
    if (hasStorage()) {
      hash = (37 * hash) + STORAGE_FIELD_NUMBER;
      hash = (53 * hash) + getStorage().hashCode();
    }
    if (!internalGetRepositories().getMap().isEmpty()) {
      hash = (37 * hash) + REPOSITORIES_FIELD_NUMBER;
      hash = (53 * hash) + internalGetRepositories().hashCode();
    }
    if (hasSparkSettings()) {
      hash = (37 * hash) + SPARKSETTINGS_FIELD_NUMBER;
      hash = (53 * hash) + getSparkSettings().hashCode();
    }
    if (hasRuntimeApi()) {
      hash = (37 * hash) + RUNTIMEAPI_FIELD_NUMBER;
      hash = (53 * hash) + getRuntimeApi().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static org.finos.tracdap.config.RuntimeConfig parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseWithIOException(PARSER, input);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public static org.finos.tracdap.config.RuntimeConfig parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static org.finos.tracdap.config.RuntimeConfig parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseWithIOException(PARSER, input);
  }
  public static org.finos.tracdap.config.RuntimeConfig parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(org.finos.tracdap.config.RuntimeConfig 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.GeneratedMessage.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code tracdap.config.RuntimeConfig}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessage.Builder implements
      // @@protoc_insertion_point(builder_implements:tracdap.config.RuntimeConfig)
      org.finos.tracdap.config.RuntimeConfigOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.finos.tracdap.config.Runtime.internal_static_tracdap_config_RuntimeConfig_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
        int number) {
      switch (number) {
        case 1:
          return internalGetConfig();
        case 3:
          return internalGetRepositories();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
        int number) {
      switch (number) {
        case 1:
          return internalGetMutableConfig();
        case 3:
          return internalGetMutableRepositories();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.finos.tracdap.config.Runtime.internal_static_tracdap_config_RuntimeConfig_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.finos.tracdap.config.RuntimeConfig.class, org.finos.tracdap.config.RuntimeConfig.Builder.class);
    }

    // Construct using org.finos.tracdap.config.RuntimeConfig.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessage
              .alwaysUseFieldBuilders) {
        getStorageFieldBuilder();
        getSparkSettingsFieldBuilder();
        getRuntimeApiFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      internalGetMutableConfig().clear();
      storage_ = null;
      if (storageBuilder_ != null) {
        storageBuilder_.dispose();
        storageBuilder_ = null;
      }
      internalGetMutableRepositories().clear();
      sparkSettings_ = null;
      if (sparkSettingsBuilder_ != null) {
        sparkSettingsBuilder_.dispose();
        sparkSettingsBuilder_ = null;
      }
      runtimeApi_ = null;
      if (runtimeApiBuilder_ != null) {
        runtimeApiBuilder_.dispose();
        runtimeApiBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return org.finos.tracdap.config.Runtime.internal_static_tracdap_config_RuntimeConfig_descriptor;
    }

    @java.lang.Override
    public org.finos.tracdap.config.RuntimeConfig getDefaultInstanceForType() {
      return org.finos.tracdap.config.RuntimeConfig.getDefaultInstance();
    }

    @java.lang.Override
    public org.finos.tracdap.config.RuntimeConfig build() {
      org.finos.tracdap.config.RuntimeConfig result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public org.finos.tracdap.config.RuntimeConfig buildPartial() {
      org.finos.tracdap.config.RuntimeConfig result = new org.finos.tracdap.config.RuntimeConfig(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartial0(org.finos.tracdap.config.RuntimeConfig result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.config_ = internalGetConfig();
        result.config_.makeImmutable();
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.storage_ = storageBuilder_ == null
            ? storage_
            : storageBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.repositories_ = internalGetRepositories().build(RepositoriesDefaultEntryHolder.defaultEntry);
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.sparkSettings_ = sparkSettingsBuilder_ == null
            ? sparkSettings_
            : sparkSettingsBuilder_.build();
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.runtimeApi_ = runtimeApiBuilder_ == null
            ? runtimeApi_
            : runtimeApiBuilder_.build();
        to_bitField0_ |= 0x00000004;
      }
      result.bitField0_ |= to_bitField0_;
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof org.finos.tracdap.config.RuntimeConfig) {
        return mergeFrom((org.finos.tracdap.config.RuntimeConfig)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(org.finos.tracdap.config.RuntimeConfig other) {
      if (other == org.finos.tracdap.config.RuntimeConfig.getDefaultInstance()) return this;
      internalGetMutableConfig().mergeFrom(
          other.internalGetConfig());
      bitField0_ |= 0x00000001;
      if (other.hasStorage()) {
        mergeStorage(other.getStorage());
      }
      internalGetMutableRepositories().mergeFrom(
          other.internalGetRepositories());
      bitField0_ |= 0x00000004;
      if (other.hasSparkSettings()) {
        mergeSparkSettings(other.getSparkSettings());
      }
      if (other.hasRuntimeApi()) {
        mergeRuntimeApi(other.getRuntimeApi());
      }
      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: {
              com.google.protobuf.MapEntry
              config__ = input.readMessage(
                  ConfigDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableConfig().getMutableMap().put(
                  config__.getKey(), config__.getValue());
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              input.readMessage(
                  getStorageFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              com.google.protobuf.MapEntry
              repositories__ = input.readMessage(
                  RepositoriesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableRepositories().ensureBuilderMap().put(
                  repositories__.getKey(), repositories__.getValue());
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 42: {
              input.readMessage(
                  getSparkSettingsFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000008;
              break;
            } // case 42
            case 50: {
              input.readMessage(
                  getRuntimeApiFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000010;
              break;
            } // case 50
            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 com.google.protobuf.MapField<
        java.lang.String, java.lang.String> config_;
    private com.google.protobuf.MapField
        internalGetConfig() {
      if (config_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            ConfigDefaultEntryHolder.defaultEntry);
      }
      return config_;
    }
    private com.google.protobuf.MapField
        internalGetMutableConfig() {
      if (config_ == null) {
        config_ = com.google.protobuf.MapField.newMapField(
            ConfigDefaultEntryHolder.defaultEntry);
      }
      if (!config_.isMutable()) {
        config_ = config_.copy();
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return config_;
    }
    public int getConfigCount() {
      return internalGetConfig().getMap().size();
    }
    /**
     * map<string, string> config = 1;
     */
    @java.lang.Override
    public boolean containsConfig(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetConfig().getMap().containsKey(key);
    }
    /**
     * Use {@link #getConfigMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getConfig() {
      return getConfigMap();
    }
    /**
     * map<string, string> config = 1;
     */
    @java.lang.Override
    public java.util.Map getConfigMap() {
      return internalGetConfig().getMap();
    }
    /**
     * map<string, string> config = 1;
     */
    @java.lang.Override
    public /* nullable */
java.lang.String getConfigOrDefault(
        java.lang.String key,
        /* nullable */
java.lang.String defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetConfig().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * map<string, string> config = 1;
     */
    @java.lang.Override
    public java.lang.String getConfigOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetConfig().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public Builder clearConfig() {
      bitField0_ = (bitField0_ & ~0x00000001);
      internalGetMutableConfig().getMutableMap()
          .clear();
      return this;
    }
    /**
     * map<string, string> config = 1;
     */
    public Builder removeConfig(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      internalGetMutableConfig().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map
        getMutableConfig() {
      bitField0_ |= 0x00000001;
      return internalGetMutableConfig().getMutableMap();
    }
    /**
     * map<string, string> config = 1;
     */
    public Builder putConfig(
        java.lang.String key,
        java.lang.String value) {
      if (key == null) { throw new NullPointerException("map key"); }
      if (value == null) { throw new NullPointerException("map value"); }
      internalGetMutableConfig().getMutableMap()
          .put(key, value);
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * map<string, string> config = 1;
     */
    public Builder putAllConfig(
        java.util.Map values) {
      internalGetMutableConfig().getMutableMap()
          .putAll(values);
      bitField0_ |= 0x00000001;
      return this;
    }

    private org.finos.tracdap.config.StorageConfig storage_;
    private com.google.protobuf.SingleFieldBuilder<
        org.finos.tracdap.config.StorageConfig, org.finos.tracdap.config.StorageConfig.Builder, org.finos.tracdap.config.StorageConfigOrBuilder> storageBuilder_;
    /**
     * .tracdap.config.StorageConfig storage = 2;
     * @return Whether the storage field is set.
     */
    public boolean hasStorage() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * .tracdap.config.StorageConfig storage = 2;
     * @return The storage.
     */
    public org.finos.tracdap.config.StorageConfig getStorage() {
      if (storageBuilder_ == null) {
        return storage_ == null ? org.finos.tracdap.config.StorageConfig.getDefaultInstance() : storage_;
      } else {
        return storageBuilder_.getMessage();
      }
    }
    /**
     * .tracdap.config.StorageConfig storage = 2;
     */
    public Builder setStorage(org.finos.tracdap.config.StorageConfig value) {
      if (storageBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        storage_ = value;
      } else {
        storageBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.StorageConfig storage = 2;
     */
    public Builder setStorage(
        org.finos.tracdap.config.StorageConfig.Builder builderForValue) {
      if (storageBuilder_ == null) {
        storage_ = builderForValue.build();
      } else {
        storageBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.StorageConfig storage = 2;
     */
    public Builder mergeStorage(org.finos.tracdap.config.StorageConfig value) {
      if (storageBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0) &&
          storage_ != null &&
          storage_ != org.finos.tracdap.config.StorageConfig.getDefaultInstance()) {
          getStorageBuilder().mergeFrom(value);
        } else {
          storage_ = value;
        }
      } else {
        storageBuilder_.mergeFrom(value);
      }
      if (storage_ != null) {
        bitField0_ |= 0x00000002;
        onChanged();
      }
      return this;
    }
    /**
     * .tracdap.config.StorageConfig storage = 2;
     */
    public Builder clearStorage() {
      bitField0_ = (bitField0_ & ~0x00000002);
      storage_ = null;
      if (storageBuilder_ != null) {
        storageBuilder_.dispose();
        storageBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.StorageConfig storage = 2;
     */
    public org.finos.tracdap.config.StorageConfig.Builder getStorageBuilder() {
      bitField0_ |= 0x00000002;
      onChanged();
      return getStorageFieldBuilder().getBuilder();
    }
    /**
     * .tracdap.config.StorageConfig storage = 2;
     */
    public org.finos.tracdap.config.StorageConfigOrBuilder getStorageOrBuilder() {
      if (storageBuilder_ != null) {
        return storageBuilder_.getMessageOrBuilder();
      } else {
        return storage_ == null ?
            org.finos.tracdap.config.StorageConfig.getDefaultInstance() : storage_;
      }
    }
    /**
     * .tracdap.config.StorageConfig storage = 2;
     */
    private com.google.protobuf.SingleFieldBuilder<
        org.finos.tracdap.config.StorageConfig, org.finos.tracdap.config.StorageConfig.Builder, org.finos.tracdap.config.StorageConfigOrBuilder> 
        getStorageFieldBuilder() {
      if (storageBuilder_ == null) {
        storageBuilder_ = new com.google.protobuf.SingleFieldBuilder<
            org.finos.tracdap.config.StorageConfig, org.finos.tracdap.config.StorageConfig.Builder, org.finos.tracdap.config.StorageConfigOrBuilder>(
                getStorage(),
                getParentForChildren(),
                isClean());
        storage_ = null;
      }
      return storageBuilder_;
    }

    private static final class RepositoriesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
      @java.lang.Override
      public org.finos.tracdap.config.PluginConfig build(org.finos.tracdap.config.PluginConfigOrBuilder val) {
        if (val instanceof org.finos.tracdap.config.PluginConfig) { return (org.finos.tracdap.config.PluginConfig) val; }
        return ((org.finos.tracdap.config.PluginConfig.Builder) val).build();
      }

      @java.lang.Override
      public com.google.protobuf.MapEntry defaultEntry() {
        return RepositoriesDefaultEntryHolder.defaultEntry;
      }
    };
    private static final RepositoriesConverter repositoriesConverter = new RepositoriesConverter();

    private com.google.protobuf.MapFieldBuilder<
        java.lang.String, org.finos.tracdap.config.PluginConfigOrBuilder, org.finos.tracdap.config.PluginConfig, org.finos.tracdap.config.PluginConfig.Builder> repositories_;
    private com.google.protobuf.MapFieldBuilder
        internalGetRepositories() {
      if (repositories_ == null) {
        return new com.google.protobuf.MapFieldBuilder<>(repositoriesConverter);
      }
      return repositories_;
    }
    private com.google.protobuf.MapFieldBuilder
        internalGetMutableRepositories() {
      if (repositories_ == null) {
        repositories_ = new com.google.protobuf.MapFieldBuilder<>(repositoriesConverter);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return repositories_;
    }
    public int getRepositoriesCount() {
      return internalGetRepositories().ensureBuilderMap().size();
    }
    /**
     * map<string, .tracdap.config.PluginConfig> repositories = 3;
     */
    @java.lang.Override
    public boolean containsRepositories(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetRepositories().ensureBuilderMap().containsKey(key);
    }
    /**
     * Use {@link #getRepositoriesMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getRepositories() {
      return getRepositoriesMap();
    }
    /**
     * map<string, .tracdap.config.PluginConfig> repositories = 3;
     */
    @java.lang.Override
    public java.util.Map getRepositoriesMap() {
      return internalGetRepositories().getImmutableMap();
    }
    /**
     * map<string, .tracdap.config.PluginConfig> repositories = 3;
     */
    @java.lang.Override
    public /* nullable */
org.finos.tracdap.config.PluginConfig getRepositoriesOrDefault(
        java.lang.String key,
        /* nullable */
org.finos.tracdap.config.PluginConfig defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map = internalGetMutableRepositories().ensureBuilderMap();
      return map.containsKey(key) ? repositoriesConverter.build(map.get(key)) : defaultValue;
    }
    /**
     * map<string, .tracdap.config.PluginConfig> repositories = 3;
     */
    @java.lang.Override
    public org.finos.tracdap.config.PluginConfig getRepositoriesOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map = internalGetMutableRepositories().ensureBuilderMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return repositoriesConverter.build(map.get(key));
    }
    public Builder clearRepositories() {
      bitField0_ = (bitField0_ & ~0x00000004);
      internalGetMutableRepositories().clear();
      return this;
    }
    /**
     * map<string, .tracdap.config.PluginConfig> repositories = 3;
     */
    public Builder removeRepositories(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      internalGetMutableRepositories().ensureBuilderMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map
        getMutableRepositories() {
      bitField0_ |= 0x00000004;
      return internalGetMutableRepositories().ensureMessageMap();
    }
    /**
     * map<string, .tracdap.config.PluginConfig> repositories = 3;
     */
    public Builder putRepositories(
        java.lang.String key,
        org.finos.tracdap.config.PluginConfig value) {
      if (key == null) { throw new NullPointerException("map key"); }
      if (value == null) { throw new NullPointerException("map value"); }
      internalGetMutableRepositories().ensureBuilderMap()
          .put(key, value);
      bitField0_ |= 0x00000004;
      return this;
    }
    /**
     * map<string, .tracdap.config.PluginConfig> repositories = 3;
     */
    public Builder putAllRepositories(
        java.util.Map values) {
      for (java.util.Map.Entry e : values.entrySet()) {
        if (e.getKey() == null || e.getValue() == null) {
          throw new NullPointerException();
        }
      }
      internalGetMutableRepositories().ensureBuilderMap()
          .putAll(values);
      bitField0_ |= 0x00000004;
      return this;
    }
    /**
     * map<string, .tracdap.config.PluginConfig> repositories = 3;
     */
    public org.finos.tracdap.config.PluginConfig.Builder putRepositoriesBuilderIfAbsent(
        java.lang.String key) {
      java.util.Map builderMap = internalGetMutableRepositories().ensureBuilderMap();
      org.finos.tracdap.config.PluginConfigOrBuilder entry = builderMap.get(key);
      if (entry == null) {
        entry = org.finos.tracdap.config.PluginConfig.newBuilder();
        builderMap.put(key, entry);
      }
      if (entry instanceof org.finos.tracdap.config.PluginConfig) {
        entry = ((org.finos.tracdap.config.PluginConfig) entry).toBuilder();
        builderMap.put(key, entry);
      }
      return (org.finos.tracdap.config.PluginConfig.Builder) entry;
    }

    private org.finos.tracdap.config.SparkSettings sparkSettings_;
    private com.google.protobuf.SingleFieldBuilder<
        org.finos.tracdap.config.SparkSettings, org.finos.tracdap.config.SparkSettings.Builder, org.finos.tracdap.config.SparkSettingsOrBuilder> sparkSettingsBuilder_;
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     * @return Whether the sparkSettings field is set.
     */
    public boolean hasSparkSettings() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     * @return The sparkSettings.
     */
    public org.finos.tracdap.config.SparkSettings getSparkSettings() {
      if (sparkSettingsBuilder_ == null) {
        return sparkSettings_ == null ? org.finos.tracdap.config.SparkSettings.getDefaultInstance() : sparkSettings_;
      } else {
        return sparkSettingsBuilder_.getMessage();
      }
    }
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     */
    public Builder setSparkSettings(org.finos.tracdap.config.SparkSettings value) {
      if (sparkSettingsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        sparkSettings_ = value;
      } else {
        sparkSettingsBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     */
    public Builder setSparkSettings(
        org.finos.tracdap.config.SparkSettings.Builder builderForValue) {
      if (sparkSettingsBuilder_ == null) {
        sparkSettings_ = builderForValue.build();
      } else {
        sparkSettingsBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     */
    public Builder mergeSparkSettings(org.finos.tracdap.config.SparkSettings value) {
      if (sparkSettingsBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0) &&
          sparkSettings_ != null &&
          sparkSettings_ != org.finos.tracdap.config.SparkSettings.getDefaultInstance()) {
          getSparkSettingsBuilder().mergeFrom(value);
        } else {
          sparkSettings_ = value;
        }
      } else {
        sparkSettingsBuilder_.mergeFrom(value);
      }
      if (sparkSettings_ != null) {
        bitField0_ |= 0x00000008;
        onChanged();
      }
      return this;
    }
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     */
    public Builder clearSparkSettings() {
      bitField0_ = (bitField0_ & ~0x00000008);
      sparkSettings_ = null;
      if (sparkSettingsBuilder_ != null) {
        sparkSettingsBuilder_.dispose();
        sparkSettingsBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     */
    public org.finos.tracdap.config.SparkSettings.Builder getSparkSettingsBuilder() {
      bitField0_ |= 0x00000008;
      onChanged();
      return getSparkSettingsFieldBuilder().getBuilder();
    }
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     */
    public org.finos.tracdap.config.SparkSettingsOrBuilder getSparkSettingsOrBuilder() {
      if (sparkSettingsBuilder_ != null) {
        return sparkSettingsBuilder_.getMessageOrBuilder();
      } else {
        return sparkSettings_ == null ?
            org.finos.tracdap.config.SparkSettings.getDefaultInstance() : sparkSettings_;
      }
    }
    /**
     * .tracdap.config.SparkSettings sparkSettings = 5;
     */
    private com.google.protobuf.SingleFieldBuilder<
        org.finos.tracdap.config.SparkSettings, org.finos.tracdap.config.SparkSettings.Builder, org.finos.tracdap.config.SparkSettingsOrBuilder> 
        getSparkSettingsFieldBuilder() {
      if (sparkSettingsBuilder_ == null) {
        sparkSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
            org.finos.tracdap.config.SparkSettings, org.finos.tracdap.config.SparkSettings.Builder, org.finos.tracdap.config.SparkSettingsOrBuilder>(
                getSparkSettings(),
                getParentForChildren(),
                isClean());
        sparkSettings_ = null;
      }
      return sparkSettingsBuilder_;
    }

    private org.finos.tracdap.config.ServiceConfig runtimeApi_;
    private com.google.protobuf.SingleFieldBuilder<
        org.finos.tracdap.config.ServiceConfig, org.finos.tracdap.config.ServiceConfig.Builder, org.finos.tracdap.config.ServiceConfigOrBuilder> runtimeApiBuilder_;
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     * @return Whether the runtimeApi field is set.
     */
    public boolean hasRuntimeApi() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     * @return The runtimeApi.
     */
    public org.finos.tracdap.config.ServiceConfig getRuntimeApi() {
      if (runtimeApiBuilder_ == null) {
        return runtimeApi_ == null ? org.finos.tracdap.config.ServiceConfig.getDefaultInstance() : runtimeApi_;
      } else {
        return runtimeApiBuilder_.getMessage();
      }
    }
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     */
    public Builder setRuntimeApi(org.finos.tracdap.config.ServiceConfig value) {
      if (runtimeApiBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        runtimeApi_ = value;
      } else {
        runtimeApiBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     */
    public Builder setRuntimeApi(
        org.finos.tracdap.config.ServiceConfig.Builder builderForValue) {
      if (runtimeApiBuilder_ == null) {
        runtimeApi_ = builderForValue.build();
      } else {
        runtimeApiBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     */
    public Builder mergeRuntimeApi(org.finos.tracdap.config.ServiceConfig value) {
      if (runtimeApiBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0) &&
          runtimeApi_ != null &&
          runtimeApi_ != org.finos.tracdap.config.ServiceConfig.getDefaultInstance()) {
          getRuntimeApiBuilder().mergeFrom(value);
        } else {
          runtimeApi_ = value;
        }
      } else {
        runtimeApiBuilder_.mergeFrom(value);
      }
      if (runtimeApi_ != null) {
        bitField0_ |= 0x00000010;
        onChanged();
      }
      return this;
    }
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     */
    public Builder clearRuntimeApi() {
      bitField0_ = (bitField0_ & ~0x00000010);
      runtimeApi_ = null;
      if (runtimeApiBuilder_ != null) {
        runtimeApiBuilder_.dispose();
        runtimeApiBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     */
    public org.finos.tracdap.config.ServiceConfig.Builder getRuntimeApiBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getRuntimeApiFieldBuilder().getBuilder();
    }
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     */
    public org.finos.tracdap.config.ServiceConfigOrBuilder getRuntimeApiOrBuilder() {
      if (runtimeApiBuilder_ != null) {
        return runtimeApiBuilder_.getMessageOrBuilder();
      } else {
        return runtimeApi_ == null ?
            org.finos.tracdap.config.ServiceConfig.getDefaultInstance() : runtimeApi_;
      }
    }
    /**
     * .tracdap.config.ServiceConfig runtimeApi = 6;
     */
    private com.google.protobuf.SingleFieldBuilder<
        org.finos.tracdap.config.ServiceConfig, org.finos.tracdap.config.ServiceConfig.Builder, org.finos.tracdap.config.ServiceConfigOrBuilder> 
        getRuntimeApiFieldBuilder() {
      if (runtimeApiBuilder_ == null) {
        runtimeApiBuilder_ = new com.google.protobuf.SingleFieldBuilder<
            org.finos.tracdap.config.ServiceConfig, org.finos.tracdap.config.ServiceConfig.Builder, org.finos.tracdap.config.ServiceConfigOrBuilder>(
                getRuntimeApi(),
                getParentForChildren(),
                isClean());
        runtimeApi_ = null;
      }
      return runtimeApiBuilder_;
    }

    // @@protoc_insertion_point(builder_scope:tracdap.config.RuntimeConfig)
  }

  // @@protoc_insertion_point(class_scope:tracdap.config.RuntimeConfig)
  private static final org.finos.tracdap.config.RuntimeConfig DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new org.finos.tracdap.config.RuntimeConfig();
  }

  public static org.finos.tracdap.config.RuntimeConfig getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public RuntimeConfig 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 org.finos.tracdap.config.RuntimeConfig getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy