content: /*
   * Tencent is pleased to support the open source community by making Angel available.
   *
   * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
   *
   * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
   * compliance with the License. You may obtain a copy of the License at
   *
   * https://opensource.org/licenses/Apache-2.0
   *
   * Unless required by applicable law or agreed to in writing, software distributed under the License
   * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
   * or implied. See the License for the specific language governing permissions and limitations under
   * the License.
   *
   */
  // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: config/platform_config.proto
  
  package com.tencent.angel.config;
  
  public final class PlatformConfigProtos {
    private PlatformConfigProtos() {}
    public static void registerAllExtensions(
        com.google.protobuf.ExtensionRegistryLite registry) {
    }
  
    public static void registerAllExtensions(
        com.google.protobuf.ExtensionRegistry registry) {
      registerAllExtensions(
          (com.google.protobuf.ExtensionRegistryLite) registry);
    }
    public interface PlatformConfigOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.PlatformConfig)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <pre>
       * The config proto for a SourceAdapter in the StoragePathSourceAdapter
       * registry.
       * </pre>
       *
       * <code>.google.protobuf.Any source_adapter_config = 1;</code>
       */
      boolean hasSourceAdapterConfig();
      /**
       * <pre>
       * The config proto for a SourceAdapter in the StoragePathSourceAdapter
       * registry.
       * </pre>
       *
       * <code>.google.protobuf.Any source_adapter_config = 1;</code>
       */
      com.google.protobuf.Any getSourceAdapterConfig();
      /**
       * <pre>
       * The config proto for a SourceAdapter in the StoragePathSourceAdapter
       * registry.
       * </pre>
       *
       * <code>.google.protobuf.Any source_adapter_config = 1;</code>
       */
      com.google.protobuf.AnyOrBuilder getSourceAdapterConfigOrBuilder();
    }
    /**
     * <pre>
     * Configuration for a servable platform e.g. tensorflow or other ML systems.
     * </pre>
     *
     * Protobuf type {@code angel.PlatformConfig}
     */
    public  static final class PlatformConfig extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.PlatformConfig)
        PlatformConfigOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use PlatformConfig.newBuilder() to construct.
      private PlatformConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private PlatformConfig() {
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private PlatformConfig(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        int mutable_bitField0_ = 0;
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownFieldProto3(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                com.google.protobuf.Any.Builder subBuilder = null;
                if (sourceAdapterConfig_ != null) {
                  subBuilder = sourceAdapterConfig_.toBuilder();
                }
                sourceAdapterConfig_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(sourceAdapterConfig_);
                  sourceAdapterConfig_ = subBuilder.buildPartial();
                }
  
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfig_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfig_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.config.PlatformConfigProtos.PlatformConfig.class, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig.Builder.class);
      }
  
      public static final int SOURCE_ADAPTER_CONFIG_FIELD_NUMBER = 1;
      private com.google.protobuf.Any sourceAdapterConfig_;
      /**
       * <pre>
       * The config proto for a SourceAdapter in the StoragePathSourceAdapter
       * registry.
       * </pre>
       *
       * <code>.google.protobuf.Any source_adapter_config = 1;</code>
       */
      public boolean hasSourceAdapterConfig() {
        return sourceAdapterConfig_ != null;
      }
      /**
       * <pre>
       * The config proto for a SourceAdapter in the StoragePathSourceAdapter
       * registry.
       * </pre>
       *
       * <code>.google.protobuf.Any source_adapter_config = 1;</code>
       */
      public com.google.protobuf.Any getSourceAdapterConfig() {
        return sourceAdapterConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : sourceAdapterConfig_;
      }
      /**
       * <pre>
       * The config proto for a SourceAdapter in the StoragePathSourceAdapter
       * registry.
       * </pre>
       *
       * <code>.google.protobuf.Any source_adapter_config = 1;</code>
       */
      public com.google.protobuf.AnyOrBuilder getSourceAdapterConfigOrBuilder() {
        return getSourceAdapterConfig();
      }
  
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;
  
        memoizedIsInitialized = 1;
        return true;
      }
  
      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        if (sourceAdapterConfig_ != null) {
          output.writeMessage(1, getSourceAdapterConfig());
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (sourceAdapterConfig_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, getSourceAdapterConfig());
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }
  
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof com.tencent.angel.config.PlatformConfigProtos.PlatformConfig)) {
          return super.equals(obj);
        }
        com.tencent.angel.config.PlatformConfigProtos.PlatformConfig other = (com.tencent.angel.config.PlatformConfigProtos.PlatformConfig) obj;
  
        boolean result = true;
        result = result && (hasSourceAdapterConfig() == other.hasSourceAdapterConfig());
        if (hasSourceAdapterConfig()) {
          result = result && getSourceAdapterConfig()
              .equals(other.getSourceAdapterConfig());
        }
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }
  
      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (hasSourceAdapterConfig()) {
          hash = (37 * hash) + SOURCE_ADAPTER_CONFIG_FIELD_NUMBER;
          hash = (53 * hash) + getSourceAdapterConfig().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig 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 com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig 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 com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }
  
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(com.tencent.angel.config.PlatformConfigProtos.PlatformConfig prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      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;
      }
      /**
       * <pre>
       * Configuration for a servable platform e.g. tensorflow or other ML systems.
       * </pre>
       *
       * Protobuf type {@code angel.PlatformConfig}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.PlatformConfig)
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfigOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfig_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfig_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.config.PlatformConfigProtos.PlatformConfig.class, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig.Builder.class);
        }
  
        // Construct using com.tencent.angel.config.PlatformConfigProtos.PlatformConfig.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
          }
        }
        public Builder clear() {
          super.clear();
          if (sourceAdapterConfigBuilder_ == null) {
            sourceAdapterConfig_ = null;
          } else {
            sourceAdapterConfig_ = null;
            sourceAdapterConfigBuilder_ = null;
          }
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfig_descriptor;
        }
  
        public com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getDefaultInstanceForType() {
          return com.tencent.angel.config.PlatformConfigProtos.PlatformConfig.getDefaultInstance();
        }
  
        public com.tencent.angel.config.PlatformConfigProtos.PlatformConfig build() {
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfig result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.config.PlatformConfigProtos.PlatformConfig buildPartial() {
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfig result = new com.tencent.angel.config.PlatformConfigProtos.PlatformConfig(this);
          if (sourceAdapterConfigBuilder_ == null) {
            result.sourceAdapterConfig_ = sourceAdapterConfig_;
          } else {
            result.sourceAdapterConfig_ = sourceAdapterConfigBuilder_.build();
          }
          onBuilt();
          return result;
        }
  
        public Builder clone() {
          return (Builder) super.clone();
        }
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.setField(field, value);
        }
        public Builder clearField(
            com.google.protobuf.Descriptors.FieldDescriptor field) {
          return (Builder) super.clearField(field);
        }
        public Builder clearOneof(
            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return (Builder) super.clearOneof(oneof);
        }
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index, java.lang.Object value) {
          return (Builder) super.setRepeatedField(field, index, value);
        }
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.addRepeatedField(field, value);
        }
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof com.tencent.angel.config.PlatformConfigProtos.PlatformConfig) {
            return mergeFrom((com.tencent.angel.config.PlatformConfigProtos.PlatformConfig)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.config.PlatformConfigProtos.PlatformConfig other) {
          if (other == com.tencent.angel.config.PlatformConfigProtos.PlatformConfig.getDefaultInstance()) return this;
          if (other.hasSourceAdapterConfig()) {
            mergeSourceAdapterConfig(other.getSourceAdapterConfig());
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }
  
        public final boolean isInitialized() {
          return true;
        }
  
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfig parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.config.PlatformConfigProtos.PlatformConfig) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
  
        private com.google.protobuf.Any sourceAdapterConfig_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> sourceAdapterConfigBuilder_;
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        public boolean hasSourceAdapterConfig() {
          return sourceAdapterConfigBuilder_ != null || sourceAdapterConfig_ != null;
        }
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        public com.google.protobuf.Any getSourceAdapterConfig() {
          if (sourceAdapterConfigBuilder_ == null) {
            return sourceAdapterConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : sourceAdapterConfig_;
          } else {
            return sourceAdapterConfigBuilder_.getMessage();
          }
        }
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        public Builder setSourceAdapterConfig(com.google.protobuf.Any value) {
          if (sourceAdapterConfigBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            sourceAdapterConfig_ = value;
            onChanged();
          } else {
            sourceAdapterConfigBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        public Builder setSourceAdapterConfig(
            com.google.protobuf.Any.Builder builderForValue) {
          if (sourceAdapterConfigBuilder_ == null) {
            sourceAdapterConfig_ = builderForValue.build();
            onChanged();
          } else {
            sourceAdapterConfigBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        public Builder mergeSourceAdapterConfig(com.google.protobuf.Any value) {
          if (sourceAdapterConfigBuilder_ == null) {
            if (sourceAdapterConfig_ != null) {
              sourceAdapterConfig_ =
                com.google.protobuf.Any.newBuilder(sourceAdapterConfig_).mergeFrom(value).buildPartial();
            } else {
              sourceAdapterConfig_ = value;
            }
            onChanged();
          } else {
            sourceAdapterConfigBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        public Builder clearSourceAdapterConfig() {
          if (sourceAdapterConfigBuilder_ == null) {
            sourceAdapterConfig_ = null;
            onChanged();
          } else {
            sourceAdapterConfig_ = null;
            sourceAdapterConfigBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        public com.google.protobuf.Any.Builder getSourceAdapterConfigBuilder() {
          
          onChanged();
          return getSourceAdapterConfigFieldBuilder().getBuilder();
        }
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        public com.google.protobuf.AnyOrBuilder getSourceAdapterConfigOrBuilder() {
          if (sourceAdapterConfigBuilder_ != null) {
            return sourceAdapterConfigBuilder_.getMessageOrBuilder();
          } else {
            return sourceAdapterConfig_ == null ?
                com.google.protobuf.Any.getDefaultInstance() : sourceAdapterConfig_;
          }
        }
        /**
         * <pre>
         * The config proto for a SourceAdapter in the StoragePathSourceAdapter
         * registry.
         * </pre>
         *
         * <code>.google.protobuf.Any source_adapter_config = 1;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> 
            getSourceAdapterConfigFieldBuilder() {
          if (sourceAdapterConfigBuilder_ == null) {
            sourceAdapterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
                    getSourceAdapterConfig(),
                    getParentForChildren(),
                    isClean());
            sourceAdapterConfig_ = null;
          }
          return sourceAdapterConfigBuilder_;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }
  
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope:angel.PlatformConfig)
      }
  
      // @@protoc_insertion_point(class_scope:angel.PlatformConfig)
      private static final com.tencent.angel.config.PlatformConfigProtos.PlatformConfig DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.config.PlatformConfigProtos.PlatformConfig();
      }
  
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<PlatformConfig>
          PARSER = new com.google.protobuf.AbstractParser<PlatformConfig>() {
        public PlatformConfig parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new PlatformConfig(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<PlatformConfig> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<PlatformConfig> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface PlatformConfigMapOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.PlatformConfigMap)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
      int getPlatformConfigsCount();
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
      boolean containsPlatformConfigs(
          java.lang.String key);
      /**
       * Use {@link #getPlatformConfigsMap()} instead.
       */
      @java.lang.Deprecated
      java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>
      getPlatformConfigs();
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
      java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>
      getPlatformConfigsMap();
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
  
      com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getPlatformConfigsOrDefault(
          java.lang.String key,
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfig defaultValue);
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
  
      com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getPlatformConfigsOrThrow(
          java.lang.String key);
    }
    /**
     * Protobuf type {@code angel.PlatformConfigMap}
     */
    public  static final class PlatformConfigMap extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.PlatformConfigMap)
        PlatformConfigMapOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use PlatformConfigMap.newBuilder() to construct.
      private PlatformConfigMap(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private PlatformConfigMap() {
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private PlatformConfigMap(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        int mutable_bitField0_ = 0;
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownFieldProto3(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                  platformConfigs_ = com.google.protobuf.MapField.newMapField(
                      PlatformConfigsDefaultEntryHolder.defaultEntry);
                  mutable_bitField0_ |= 0x00000001;
                }
                com.google.protobuf.MapEntry<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>
                platformConfigs__ = input.readMessage(
                    PlatformConfigsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                platformConfigs_.getMutableMap().put(
                    platformConfigs__.getKey(), platformConfigs__.getValue());
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfigMap_descriptor;
      }
  
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 1:
            return internalGetPlatformConfigs();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfigMap_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap.class, com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap.Builder.class);
      }
  
      public static final int PLATFORM_CONFIGS_FIELD_NUMBER = 1;
      private static final class PlatformConfigsDefaultEntryHolder {
        static final com.google.protobuf.MapEntry<
            java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> defaultEntry =
                com.google.protobuf.MapEntry
                .<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>newDefaultInstance(
                    com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfigMap_PlatformConfigsEntry_descriptor, 
                    com.google.protobuf.WireFormat.FieldType.STRING,
                    "",
                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
                    com.tencent.angel.config.PlatformConfigProtos.PlatformConfig.getDefaultInstance());
      }
      private com.google.protobuf.MapField<
          java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> platformConfigs_;
      private com.google.protobuf.MapField<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>
      internalGetPlatformConfigs() {
        if (platformConfigs_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              PlatformConfigsDefaultEntryHolder.defaultEntry);
        }
        return platformConfigs_;
      }
  
      public int getPlatformConfigsCount() {
        return internalGetPlatformConfigs().getMap().size();
      }
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
  
      public boolean containsPlatformConfigs(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        return internalGetPlatformConfigs().getMap().containsKey(key);
      }
      /**
       * Use {@link #getPlatformConfigsMap()} instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> getPlatformConfigs() {
        return getPlatformConfigsMap();
      }
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
  
      public java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> getPlatformConfigsMap() {
        return internalGetPlatformConfigs().getMap();
      }
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
  
      public com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getPlatformConfigsOrDefault(
          java.lang.String key,
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfig defaultValue) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> map =
            internalGetPlatformConfigs().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <pre>
       * A map from a platform name to a platform config. The platform name is used
       * in ModelConfig.model_platform.
       * </pre>
       *
       * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
       */
  
      public com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getPlatformConfigsOrThrow(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> map =
            internalGetPlatformConfigs().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
  
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;
  
        memoizedIsInitialized = 1;
        return true;
      }
  
      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        com.google.protobuf.GeneratedMessageV3
          .serializeStringMapTo(
            output,
            internalGetPlatformConfigs(),
            PlatformConfigsDefaultEntryHolder.defaultEntry,
            1);
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        for (java.util.Map.Entry<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> entry
             : internalGetPlatformConfigs().getMap().entrySet()) {
          com.google.protobuf.MapEntry<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>
          platformConfigs__ = PlatformConfigsDefaultEntryHolder.defaultEntry.newBuilderForType()
              .setKey(entry.getKey())
              .setValue(entry.getValue())
              .build();
          size += com.google.protobuf.CodedOutputStream
              .computeMessageSize(1, platformConfigs__);
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }
  
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap)) {
          return super.equals(obj);
        }
        com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap other = (com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap) obj;
  
        boolean result = true;
        result = result && internalGetPlatformConfigs().equals(
            other.internalGetPlatformConfigs());
        result = result && unknownFields.equals(other.unknownFields);
        return result;
      }
  
      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (!internalGetPlatformConfigs().getMap().isEmpty()) {
          hash = (37 * hash) + PLATFORM_CONFIGS_FIELD_NUMBER;
          hash = (53 * hash) + internalGetPlatformConfigs().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap 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 com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap 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 com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }
  
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      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;
      }
      /**
       * Protobuf type {@code angel.PlatformConfigMap}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.PlatformConfigMap)
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMapOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfigMap_descriptor;
        }
  
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMapField(
            int number) {
          switch (number) {
            case 1:
              return internalGetPlatformConfigs();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMutableMapField(
            int number) {
          switch (number) {
            case 1:
              return internalGetMutablePlatformConfigs();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfigMap_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap.class, com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap.Builder.class);
        }
  
        // Construct using com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
          }
        }
        public Builder clear() {
          super.clear();
          internalGetMutablePlatformConfigs().clear();
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.config.PlatformConfigProtos.internal_static_angel_PlatformConfigMap_descriptor;
        }
  
        public com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap getDefaultInstanceForType() {
          return com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap.getDefaultInstance();
        }
  
        public com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap build() {
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap buildPartial() {
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap result = new com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap(this);
          int from_bitField0_ = bitField0_;
          result.platformConfigs_ = internalGetPlatformConfigs();
          result.platformConfigs_.makeImmutable();
          onBuilt();
          return result;
        }
  
        public Builder clone() {
          return (Builder) super.clone();
        }
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.setField(field, value);
        }
        public Builder clearField(
            com.google.protobuf.Descriptors.FieldDescriptor field) {
          return (Builder) super.clearField(field);
        }
        public Builder clearOneof(
            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return (Builder) super.clearOneof(oneof);
        }
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index, java.lang.Object value) {
          return (Builder) super.setRepeatedField(field, index, value);
        }
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.addRepeatedField(field, value);
        }
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap) {
            return mergeFrom((com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap other) {
          if (other == com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap.getDefaultInstance()) return this;
          internalGetMutablePlatformConfigs().mergeFrom(
              other.internalGetPlatformConfigs());
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }
  
        public final boolean isInitialized() {
          return true;
        }
  
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private com.google.protobuf.MapField<
            java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> platformConfigs_;
        private com.google.protobuf.MapField<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>
        internalGetPlatformConfigs() {
          if (platformConfigs_ == null) {
            return com.google.protobuf.MapField.emptyMapField(
                PlatformConfigsDefaultEntryHolder.defaultEntry);
          }
          return platformConfigs_;
        }
        private com.google.protobuf.MapField<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>
        internalGetMutablePlatformConfigs() {
          onChanged();;
          if (platformConfigs_ == null) {
            platformConfigs_ = com.google.protobuf.MapField.newMapField(
                PlatformConfigsDefaultEntryHolder.defaultEntry);
          }
          if (!platformConfigs_.isMutable()) {
            platformConfigs_ = platformConfigs_.copy();
          }
          return platformConfigs_;
        }
  
        public int getPlatformConfigsCount() {
          return internalGetPlatformConfigs().getMap().size();
        }
        /**
         * <pre>
         * A map from a platform name to a platform config. The platform name is used
         * in ModelConfig.model_platform.
         * </pre>
         *
         * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
         */
  
        public boolean containsPlatformConfigs(
            java.lang.String key) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          return internalGetPlatformConfigs().getMap().containsKey(key);
        }
        /**
         * Use {@link #getPlatformConfigsMap()} instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> getPlatformConfigs() {
          return getPlatformConfigsMap();
        }
        /**
         * <pre>
         * A map from a platform name to a platform config. The platform name is used
         * in ModelConfig.model_platform.
         * </pre>
         *
         * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
         */
  
        public java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> getPlatformConfigsMap() {
          return internalGetPlatformConfigs().getMap();
        }
        /**
         * <pre>
         * A map from a platform name to a platform config. The platform name is used
         * in ModelConfig.model_platform.
         * </pre>
         *
         * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
         */
  
        public com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getPlatformConfigsOrDefault(
            java.lang.String key,
            com.tencent.angel.config.PlatformConfigProtos.PlatformConfig defaultValue) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> map =
              internalGetPlatformConfigs().getMap();
          return map.containsKey(key) ? map.get(key) : defaultValue;
        }
        /**
         * <pre>
         * A map from a platform name to a platform config. The platform name is used
         * in ModelConfig.model_platform.
         * </pre>
         *
         * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
         */
  
        public com.tencent.angel.config.PlatformConfigProtos.PlatformConfig getPlatformConfigsOrThrow(
            java.lang.String key) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> map =
              internalGetPlatformConfigs().getMap();
          if (!map.containsKey(key)) {
            throw new java.lang.IllegalArgumentException();
          }
          return map.get(key);
        }
  
        public Builder clearPlatformConfigs() {
          internalGetMutablePlatformConfigs().getMutableMap()
              .clear();
          return this;
        }
        /**
         * <pre>
         * A map from a platform name to a platform config. The platform name is used
         * in ModelConfig.model_platform.
         * </pre>
         *
         * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
         */
  
        public Builder removePlatformConfigs(
            java.lang.String key) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          internalGetMutablePlatformConfigs().getMutableMap()
              .remove(key);
          return this;
        }
        /**
         * Use alternate mutation accessors instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig>
        getMutablePlatformConfigs() {
          return internalGetMutablePlatformConfigs().getMutableMap();
        }
        /**
         * <pre>
         * A map from a platform name to a platform config. The platform name is used
         * in ModelConfig.model_platform.
         * </pre>
         *
         * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
         */
        public Builder putPlatformConfigs(
            java.lang.String key,
            com.tencent.angel.config.PlatformConfigProtos.PlatformConfig value) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          if (value == null) { throw new java.lang.NullPointerException(); }
          internalGetMutablePlatformConfigs().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <pre>
         * A map from a platform name to a platform config. The platform name is used
         * in ModelConfig.model_platform.
         * </pre>
         *
         * <code>map&lt;string, .angel.PlatformConfig&gt; platform_configs = 1;</code>
         */
  
        public Builder putAllPlatformConfigs(
            java.util.Map<java.lang.String, com.tencent.angel.config.PlatformConfigProtos.PlatformConfig> values) {
          internalGetMutablePlatformConfigs().getMutableMap()
              .putAll(values);
          return this;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }
  
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope:angel.PlatformConfigMap)
      }
  
      // @@protoc_insertion_point(class_scope:angel.PlatformConfigMap)
      private static final com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap();
      }
  
      public static com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<PlatformConfigMap>
          PARSER = new com.google.protobuf.AbstractParser<PlatformConfigMap>() {
        public PlatformConfigMap parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new PlatformConfigMap(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<PlatformConfigMap> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<PlatformConfigMap> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.config.PlatformConfigProtos.PlatformConfigMap getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_PlatformConfig_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_PlatformConfig_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_PlatformConfigMap_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_PlatformConfigMap_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_PlatformConfigMap_PlatformConfigsEntry_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_PlatformConfigMap_PlatformConfigsEntry_fieldAccessorTable;
  
    public static com.google.protobuf.Descriptors.FileDescriptor
        getDescriptor() {
      return descriptor;
    }
    private static  com.google.protobuf.Descriptors.FileDescriptor
        descriptor;
    static {
      java.lang.String[] descriptorData = {
        "\n\034config/platform_config.proto\022\005angel\032\031g" +
        "oogle/protobuf/any.proto\"E\n\016PlatformConf" +
        "ig\0223\n\025source_adapter_config\030\001 \001(\0132\024.goog" +
        "le.protobuf.Any\"\253\001\n\021PlatformConfigMap\022G\n" +
        "\020platform_configs\030\001 \003(\0132-.angel.Platform" +
        "ConfigMap.PlatformConfigsEntry\032M\n\024Platfo" +
        "rmConfigsEntry\022\013\n\003key\030\001 \001(\t\022$\n\005value\030\002 \001" +
        "(\0132\025.angel.PlatformConfig:\0028\001B2\n\030com.ten" +
        "cent.angel.configB\024PlatformConfigProtosP" +
        "\000b\006proto3"
      };
      com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
          new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
            public com.google.protobuf.ExtensionRegistry assignDescriptors(
                com.google.protobuf.Descriptors.FileDescriptor root) {
              descriptor = root;
              return null;
            }
          };
      com.google.protobuf.Descriptors.FileDescriptor
        .internalBuildGeneratedFileFrom(descriptorData,
          new com.google.protobuf.Descriptors.FileDescriptor[] {
            com.google.protobuf.AnyProto.getDescriptor(),
          }, assigner);
      internal_static_angel_PlatformConfig_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_angel_PlatformConfig_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_PlatformConfig_descriptor,
          new java.lang.String[] { "SourceAdapterConfig", });
      internal_static_angel_PlatformConfigMap_descriptor =
        getDescriptor().getMessageTypes().get(1);
      internal_static_angel_PlatformConfigMap_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_PlatformConfigMap_descriptor,
          new java.lang.String[] { "PlatformConfigs", });
      internal_static_angel_PlatformConfigMap_PlatformConfigsEntry_descriptor =
        internal_static_angel_PlatformConfigMap_descriptor.getNestedTypes().get(0);
      internal_static_angel_PlatformConfigMap_PlatformConfigsEntry_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_PlatformConfigMap_PlatformConfigsEntry_descriptor,
          new java.lang.String[] { "Key", "Value", });
      com.google.protobuf.AnyProto.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  