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: apis/prediction/get_model_metadata.proto
  
  package com.tencent.angel.serving.apis.prediction;
  
  public final class GetModelMetadataProtos {
    private GetModelMetadataProtos() {}
    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 GetModelMetadataRequestOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.GetModelMetadataRequest)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <pre>
       * Model Specification indicating which model we are querying for metadata.
       * If version is not specified, will use the latest (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      boolean hasModelSpec();
      /**
       * <pre>
       * Model Specification indicating which model we are querying for metadata.
       * If version is not specified, will use the latest (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec();
      /**
       * <pre>
       * Model Specification indicating which model we are querying for metadata.
       * If version is not specified, will use the latest (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder();
  
      /**
       * <pre>
       * Metadata fields to get. Currently supported: "signature_def".
       * </pre>
       *
       * <code>repeated string metadata_field = 2;</code>
       */
      java.util.List<java.lang.String>
          getMetadataFieldList();
      /**
       * <pre>
       * Metadata fields to get. Currently supported: "signature_def".
       * </pre>
       *
       * <code>repeated string metadata_field = 2;</code>
       */
      int getMetadataFieldCount();
      /**
       * <pre>
       * Metadata fields to get. Currently supported: "signature_def".
       * </pre>
       *
       * <code>repeated string metadata_field = 2;</code>
       */
      java.lang.String getMetadataField(int index);
      /**
       * <pre>
       * Metadata fields to get. Currently supported: "signature_def".
       * </pre>
       *
       * <code>repeated string metadata_field = 2;</code>
       */
      com.google.protobuf.ByteString
          getMetadataFieldBytes(int index);
    }
    /**
     * Protobuf type {@code angel.serving.GetModelMetadataRequest}
     */
    public  static final class GetModelMetadataRequest extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.GetModelMetadataRequest)
        GetModelMetadataRequestOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use GetModelMetadataRequest.newBuilder() to construct.
      private GetModelMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private GetModelMetadataRequest() {
        metadataField_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private GetModelMetadataRequest(
          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.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder subBuilder = null;
                if (modelSpec_ != null) {
                  subBuilder = modelSpec_.toBuilder();
                }
                modelSpec_ = input.readMessage(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(modelSpec_);
                  modelSpec_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 18: {
                java.lang.String s = input.readStringRequireUtf8();
                if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                  metadataField_ = new com.google.protobuf.LazyStringArrayList();
                  mutable_bitField0_ |= 0x00000002;
                }
                metadataField_.add(s);
                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 {
          if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
            metadataField_ = metadataField_.getUnmodifiableView();
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataRequest_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest.class, com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest.Builder.class);
      }
  
      private int bitField0_;
      public static final int MODEL_SPEC_FIELD_NUMBER = 1;
      private com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec modelSpec_;
      /**
       * <pre>
       * Model Specification indicating which model we are querying for metadata.
       * If version is not specified, will use the latest (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public boolean hasModelSpec() {
        return modelSpec_ != null;
      }
      /**
       * <pre>
       * Model Specification indicating which model we are querying for metadata.
       * If version is not specified, will use the latest (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec() {
        return modelSpec_ == null ? com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
      }
      /**
       * <pre>
       * Model Specification indicating which model we are querying for metadata.
       * If version is not specified, will use the latest (numerical) version.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder() {
        return getModelSpec();
      }
  
      public static final int METADATA_FIELD_FIELD_NUMBER = 2;
      private com.google.protobuf.LazyStringList metadataField_;
      /**
       * <pre>
       * Metadata fields to get. Currently supported: "signature_def".
       * </pre>
       *
       * <code>repeated string metadata_field = 2;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getMetadataFieldList() {
        return metadataField_;
      }
      /**
       * <pre>
       * Metadata fields to get. Currently supported: "signature_def".
       * </pre>
       *
       * <code>repeated string metadata_field = 2;</code>
       */
      public int getMetadataFieldCount() {
        return metadataField_.size();
      }
      /**
       * <pre>
       * Metadata fields to get. Currently supported: "signature_def".
       * </pre>
       *
       * <code>repeated string metadata_field = 2;</code>
       */
      public java.lang.String getMetadataField(int index) {
        return metadataField_.get(index);
      }
      /**
       * <pre>
       * Metadata fields to get. Currently supported: "signature_def".
       * </pre>
       *
       * <code>repeated string metadata_field = 2;</code>
       */
      public com.google.protobuf.ByteString
          getMetadataFieldBytes(int index) {
        return metadataField_.getByteString(index);
      }
  
      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 (modelSpec_ != null) {
          output.writeMessage(1, getModelSpec());
        }
        for (int i = 0; i < metadataField_.size(); i++) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 2, metadataField_.getRaw(i));
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (modelSpec_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, getModelSpec());
        }
        {
          int dataSize = 0;
          for (int i = 0; i < metadataField_.size(); i++) {
            dataSize += computeStringSizeNoTag(metadataField_.getRaw(i));
          }
          size += dataSize;
          size += 1 * getMetadataFieldList().size();
        }
        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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest other = (com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest) obj;
  
        boolean result = true;
        result = result && (hasModelSpec() == other.hasModelSpec());
        if (hasModelSpec()) {
          result = result && getModelSpec()
              .equals(other.getModelSpec());
        }
        result = result && getMetadataFieldList()
            .equals(other.getMetadataFieldList());
        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 (hasModelSpec()) {
          hash = (37 * hash) + MODEL_SPEC_FIELD_NUMBER;
          hash = (53 * hash) + getModelSpec().hashCode();
        }
        if (getMetadataFieldCount() > 0) {
          hash = (37 * hash) + METADATA_FIELD_FIELD_NUMBER;
          hash = (53 * hash) + getMetadataFieldList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest 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.serving.GetModelMetadataRequest}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.GetModelMetadataRequest)
          com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequestOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataRequest_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataRequest_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest.class, com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest.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 (modelSpecBuilder_ == null) {
            modelSpec_ = null;
          } else {
            modelSpec_ = null;
            modelSpecBuilder_ = null;
          }
          metadataField_ = com.google.protobuf.LazyStringArrayList.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000002);
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataRequest_descriptor;
        }
  
        public com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest build() {
          com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest buildPartial() {
          com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest result = new com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (modelSpecBuilder_ == null) {
            result.modelSpec_ = modelSpec_;
          } else {
            result.modelSpec_ = modelSpecBuilder_.build();
          }
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            metadataField_ = metadataField_.getUnmodifiableView();
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.metadataField_ = metadataField_;
          result.bitField0_ = to_bitField0_;
          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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest) {
            return mergeFrom((com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest other) {
          if (other == com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest.getDefaultInstance()) return this;
          if (other.hasModelSpec()) {
            mergeModelSpec(other.getModelSpec());
          }
          if (!other.metadataField_.isEmpty()) {
            if (metadataField_.isEmpty()) {
              metadataField_ = other.metadataField_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureMetadataFieldIsMutable();
              metadataField_.addAll(other.metadataField_);
            }
            onChanged();
          }
          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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec modelSpec_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder> modelSpecBuilder_;
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public boolean hasModelSpec() {
          return modelSpecBuilder_ != null || modelSpec_ != null;
        }
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec() {
          if (modelSpecBuilder_ == null) {
            return modelSpec_ == null ? com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
          } else {
            return modelSpecBuilder_.getMessage();
          }
        }
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder setModelSpec(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec value) {
          if (modelSpecBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            modelSpec_ = value;
            onChanged();
          } else {
            modelSpecBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder setModelSpec(
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder builderForValue) {
          if (modelSpecBuilder_ == null) {
            modelSpec_ = builderForValue.build();
            onChanged();
          } else {
            modelSpecBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder mergeModelSpec(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec value) {
          if (modelSpecBuilder_ == null) {
            if (modelSpec_ != null) {
              modelSpec_ =
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.newBuilder(modelSpec_).mergeFrom(value).buildPartial();
            } else {
              modelSpec_ = value;
            }
            onChanged();
          } else {
            modelSpecBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder clearModelSpec() {
          if (modelSpecBuilder_ == null) {
            modelSpec_ = null;
            onChanged();
          } else {
            modelSpec_ = null;
            modelSpecBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder getModelSpecBuilder() {
          
          onChanged();
          return getModelSpecFieldBuilder().getBuilder();
        }
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder() {
          if (modelSpecBuilder_ != null) {
            return modelSpecBuilder_.getMessageOrBuilder();
          } else {
            return modelSpec_ == null ?
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
          }
        }
        /**
         * <pre>
         * Model Specification indicating which model we are querying for metadata.
         * If version is not specified, will use the latest (numerical) version.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder> 
            getModelSpecFieldBuilder() {
          if (modelSpecBuilder_ == null) {
            modelSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder>(
                    getModelSpec(),
                    getParentForChildren(),
                    isClean());
            modelSpec_ = null;
          }
          return modelSpecBuilder_;
        }
  
        private com.google.protobuf.LazyStringList metadataField_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        private void ensureMetadataFieldIsMutable() {
          if (!((bitField0_ & 0x00000002) == 0x00000002)) {
            metadataField_ = new com.google.protobuf.LazyStringArrayList(metadataField_);
            bitField0_ |= 0x00000002;
           }
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public com.google.protobuf.ProtocolStringList
            getMetadataFieldList() {
          return metadataField_.getUnmodifiableView();
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public int getMetadataFieldCount() {
          return metadataField_.size();
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public java.lang.String getMetadataField(int index) {
          return metadataField_.get(index);
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public com.google.protobuf.ByteString
            getMetadataFieldBytes(int index) {
          return metadataField_.getByteString(index);
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public Builder setMetadataField(
            int index, java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureMetadataFieldIsMutable();
          metadataField_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public Builder addMetadataField(
            java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    ensureMetadataFieldIsMutable();
          metadataField_.add(value);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public Builder addAllMetadataField(
            java.lang.Iterable<java.lang.String> values) {
          ensureMetadataFieldIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, metadataField_);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public Builder clearMetadataField() {
          metadataField_ = com.google.protobuf.LazyStringArrayList.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Metadata fields to get. Currently supported: "signature_def".
         * </pre>
         *
         * <code>repeated string metadata_field = 2;</code>
         */
        public Builder addMetadataFieldBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    checkByteStringIsUtf8(value);
          ensureMetadataFieldIsMutable();
          metadataField_.add(value);
          onChanged();
          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.serving.GetModelMetadataRequest)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.GetModelMetadataRequest)
      private static final com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest();
      }
  
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<GetModelMetadataRequest>
          PARSER = new com.google.protobuf.AbstractParser<GetModelMetadataRequest>() {
        public GetModelMetadataRequest parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new GetModelMetadataRequest(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<GetModelMetadataRequest> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<GetModelMetadataRequest> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataRequest getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface GetModelMetadataResponseOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.serving.GetModelMetadataResponse)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <pre>
       * Model Specification indicating which model this metadata belongs to.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      boolean hasModelSpec();
      /**
       * <pre>
       * Model Specification indicating which model this metadata belongs to.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec();
      /**
       * <pre>
       * Model Specification indicating which model this metadata belongs to.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder();
  
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
      int getMetadataCount();
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
      boolean containsMetadata(
          java.lang.String key);
      /**
       * Use {@link #getMetadataMap()} instead.
       */
      @java.lang.Deprecated
      java.util.Map<java.lang.String, com.google.protobuf.Any>
      getMetadata();
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
      java.util.Map<java.lang.String, com.google.protobuf.Any>
      getMetadataMap();
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
  
      com.google.protobuf.Any getMetadataOrDefault(
          java.lang.String key,
          com.google.protobuf.Any defaultValue);
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
  
      com.google.protobuf.Any getMetadataOrThrow(
          java.lang.String key);
    }
    /**
     * Protobuf type {@code angel.serving.GetModelMetadataResponse}
     */
    public  static final class GetModelMetadataResponse extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.serving.GetModelMetadataResponse)
        GetModelMetadataResponseOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use GetModelMetadataResponse.newBuilder() to construct.
      private GetModelMetadataResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private GetModelMetadataResponse() {
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private GetModelMetadataResponse(
          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.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder subBuilder = null;
                if (modelSpec_ != null) {
                  subBuilder = modelSpec_.toBuilder();
                }
                modelSpec_ = input.readMessage(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(modelSpec_);
                  modelSpec_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 18: {
                if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                  metadata_ = com.google.protobuf.MapField.newMapField(
                      MetadataDefaultEntryHolder.defaultEntry);
                  mutable_bitField0_ |= 0x00000002;
                }
                com.google.protobuf.MapEntry<java.lang.String, com.google.protobuf.Any>
                metadata__ = input.readMessage(
                    MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                metadata_.getMutableMap().put(
                    metadata__.getKey(), metadata__.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.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataResponse_descriptor;
      }
  
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 2:
            return internalGetMetadata();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse.class, com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse.Builder.class);
      }
  
      private int bitField0_;
      public static final int MODEL_SPEC_FIELD_NUMBER = 1;
      private com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec modelSpec_;
      /**
       * <pre>
       * Model Specification indicating which model this metadata belongs to.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public boolean hasModelSpec() {
        return modelSpec_ != null;
      }
      /**
       * <pre>
       * Model Specification indicating which model this metadata belongs to.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec() {
        return modelSpec_ == null ? com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
      }
      /**
       * <pre>
       * Model Specification indicating which model this metadata belongs to.
       * </pre>
       *
       * <code>.angel.serving.ModelSpec model_spec = 1;</code>
       */
      public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder() {
        return getModelSpec();
      }
  
      public static final int METADATA_FIELD_NUMBER = 2;
      private static final class MetadataDefaultEntryHolder {
        static final com.google.protobuf.MapEntry<
            java.lang.String, com.google.protobuf.Any> defaultEntry =
                com.google.protobuf.MapEntry
                .<java.lang.String, com.google.protobuf.Any>newDefaultInstance(
                    com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataResponse_MetadataEntry_descriptor, 
                    com.google.protobuf.WireFormat.FieldType.STRING,
                    "",
                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
                    com.google.protobuf.Any.getDefaultInstance());
      }
      private com.google.protobuf.MapField<
          java.lang.String, com.google.protobuf.Any> metadata_;
      private com.google.protobuf.MapField<java.lang.String, com.google.protobuf.Any>
      internalGetMetadata() {
        if (metadata_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              MetadataDefaultEntryHolder.defaultEntry);
        }
        return metadata_;
      }
  
      public int getMetadataCount() {
        return internalGetMetadata().getMap().size();
      }
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
  
      public boolean containsMetadata(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        return internalGetMetadata().getMap().containsKey(key);
      }
      /**
       * Use {@link #getMetadataMap()} instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, com.google.protobuf.Any> getMetadata() {
        return getMetadataMap();
      }
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
  
      public java.util.Map<java.lang.String, com.google.protobuf.Any> getMetadataMap() {
        return internalGetMetadata().getMap();
      }
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
  
      public com.google.protobuf.Any getMetadataOrDefault(
          java.lang.String key,
          com.google.protobuf.Any defaultValue) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, com.google.protobuf.Any> map =
            internalGetMetadata().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <pre>
       * Map of metadata field name to metadata field. The options for metadata
       * field name are listed in GetModelMetadataRequest. Currently supported:
       * "signature_def".
       * </pre>
       *
       * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
       */
  
      public com.google.protobuf.Any getMetadataOrThrow(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, com.google.protobuf.Any> map =
            internalGetMetadata().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 {
        if (modelSpec_ != null) {
          output.writeMessage(1, getModelSpec());
        }
        com.google.protobuf.GeneratedMessageV3
          .serializeStringMapTo(
            output,
            internalGetMetadata(),
            MetadataDefaultEntryHolder.defaultEntry,
            2);
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (modelSpec_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, getModelSpec());
        }
        for (java.util.Map.Entry<java.lang.String, com.google.protobuf.Any> entry
             : internalGetMetadata().getMap().entrySet()) {
          com.google.protobuf.MapEntry<java.lang.String, com.google.protobuf.Any>
          metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType()
              .setKey(entry.getKey())
              .setValue(entry.getValue())
              .build();
          size += com.google.protobuf.CodedOutputStream
              .computeMessageSize(2, metadata__);
        }
        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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse)) {
          return super.equals(obj);
        }
        com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse other = (com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse) obj;
  
        boolean result = true;
        result = result && (hasModelSpec() == other.hasModelSpec());
        if (hasModelSpec()) {
          result = result && getModelSpec()
              .equals(other.getModelSpec());
        }
        result = result && internalGetMetadata().equals(
            other.internalGetMetadata());
        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 (hasModelSpec()) {
          hash = (37 * hash) + MODEL_SPEC_FIELD_NUMBER;
          hash = (53 * hash) + getModelSpec().hashCode();
        }
        if (!internalGetMetadata().getMap().isEmpty()) {
          hash = (37 * hash) + METADATA_FIELD_NUMBER;
          hash = (53 * hash) + internalGetMetadata().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse 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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse 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.serving.GetModelMetadataResponse}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.serving.GetModelMetadataResponse)
          com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponseOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataResponse_descriptor;
        }
  
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMapField(
            int number) {
          switch (number) {
            case 2:
              return internalGetMetadata();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMutableMapField(
            int number) {
          switch (number) {
            case 2:
              return internalGetMutableMetadata();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataResponse_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse.class, com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse.Builder.class);
        }
  
        // Construct using com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse.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 (modelSpecBuilder_ == null) {
            modelSpec_ = null;
          } else {
            modelSpec_ = null;
            modelSpecBuilder_ = null;
          }
          internalGetMutableMetadata().clear();
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.internal_static_angel_serving_GetModelMetadataResponse_descriptor;
        }
  
        public com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse getDefaultInstanceForType() {
          return com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse.getDefaultInstance();
        }
  
        public com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse build() {
          com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse buildPartial() {
          com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse result = new com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (modelSpecBuilder_ == null) {
            result.modelSpec_ = modelSpec_;
          } else {
            result.modelSpec_ = modelSpecBuilder_.build();
          }
          result.metadata_ = internalGetMetadata();
          result.metadata_.makeImmutable();
          result.bitField0_ = to_bitField0_;
          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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse) {
            return mergeFrom((com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse other) {
          if (other == com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse.getDefaultInstance()) return this;
          if (other.hasModelSpec()) {
            mergeModelSpec(other.getModelSpec());
          }
          internalGetMutableMetadata().mergeFrom(
              other.internalGetMetadata());
          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.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec modelSpec_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder> modelSpecBuilder_;
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public boolean hasModelSpec() {
          return modelSpecBuilder_ != null || modelSpec_ != null;
        }
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec getModelSpec() {
          if (modelSpecBuilder_ == null) {
            return modelSpec_ == null ? com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
          } else {
            return modelSpecBuilder_.getMessage();
          }
        }
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder setModelSpec(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec value) {
          if (modelSpecBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            modelSpec_ = value;
            onChanged();
          } else {
            modelSpecBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder setModelSpec(
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder builderForValue) {
          if (modelSpecBuilder_ == null) {
            modelSpec_ = builderForValue.build();
            onChanged();
          } else {
            modelSpecBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder mergeModelSpec(com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec value) {
          if (modelSpecBuilder_ == null) {
            if (modelSpec_ != null) {
              modelSpec_ =
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.newBuilder(modelSpec_).mergeFrom(value).buildPartial();
            } else {
              modelSpec_ = value;
            }
            onChanged();
          } else {
            modelSpecBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public Builder clearModelSpec() {
          if (modelSpecBuilder_ == null) {
            modelSpec_ = null;
            onChanged();
          } else {
            modelSpec_ = null;
            modelSpecBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder getModelSpecBuilder() {
          
          onChanged();
          return getModelSpecFieldBuilder().getBuilder();
        }
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        public com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder getModelSpecOrBuilder() {
          if (modelSpecBuilder_ != null) {
            return modelSpecBuilder_.getMessageOrBuilder();
          } else {
            return modelSpec_ == null ?
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.getDefaultInstance() : modelSpec_;
          }
        }
        /**
         * <pre>
         * Model Specification indicating which model this metadata belongs to.
         * </pre>
         *
         * <code>.angel.serving.ModelSpec model_spec = 1;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder> 
            getModelSpecFieldBuilder() {
          if (modelSpecBuilder_ == null) {
            modelSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpec.Builder, com.tencent.angel.serving.apis.common.ModelSpecProtos.ModelSpecOrBuilder>(
                    getModelSpec(),
                    getParentForChildren(),
                    isClean());
            modelSpec_ = null;
          }
          return modelSpecBuilder_;
        }
  
        private com.google.protobuf.MapField<
            java.lang.String, com.google.protobuf.Any> metadata_;
        private com.google.protobuf.MapField<java.lang.String, com.google.protobuf.Any>
        internalGetMetadata() {
          if (metadata_ == null) {
            return com.google.protobuf.MapField.emptyMapField(
                MetadataDefaultEntryHolder.defaultEntry);
          }
          return metadata_;
        }
        private com.google.protobuf.MapField<java.lang.String, com.google.protobuf.Any>
        internalGetMutableMetadata() {
          onChanged();;
          if (metadata_ == null) {
            metadata_ = com.google.protobuf.MapField.newMapField(
                MetadataDefaultEntryHolder.defaultEntry);
          }
          if (!metadata_.isMutable()) {
            metadata_ = metadata_.copy();
          }
          return metadata_;
        }
  
        public int getMetadataCount() {
          return internalGetMetadata().getMap().size();
        }
        /**
         * <pre>
         * Map of metadata field name to metadata field. The options for metadata
         * field name are listed in GetModelMetadataRequest. Currently supported:
         * "signature_def".
         * </pre>
         *
         * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
         */
  
        public boolean containsMetadata(
            java.lang.String key) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          return internalGetMetadata().getMap().containsKey(key);
        }
        /**
         * Use {@link #getMetadataMap()} instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.String, com.google.protobuf.Any> getMetadata() {
          return getMetadataMap();
        }
        /**
         * <pre>
         * Map of metadata field name to metadata field. The options for metadata
         * field name are listed in GetModelMetadataRequest. Currently supported:
         * "signature_def".
         * </pre>
         *
         * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
         */
  
        public java.util.Map<java.lang.String, com.google.protobuf.Any> getMetadataMap() {
          return internalGetMetadata().getMap();
        }
        /**
         * <pre>
         * Map of metadata field name to metadata field. The options for metadata
         * field name are listed in GetModelMetadataRequest. Currently supported:
         * "signature_def".
         * </pre>
         *
         * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
         */
  
        public com.google.protobuf.Any getMetadataOrDefault(
            java.lang.String key,
            com.google.protobuf.Any defaultValue) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          java.util.Map<java.lang.String, com.google.protobuf.Any> map =
              internalGetMetadata().getMap();
          return map.containsKey(key) ? map.get(key) : defaultValue;
        }
        /**
         * <pre>
         * Map of metadata field name to metadata field. The options for metadata
         * field name are listed in GetModelMetadataRequest. Currently supported:
         * "signature_def".
         * </pre>
         *
         * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
         */
  
        public com.google.protobuf.Any getMetadataOrThrow(
            java.lang.String key) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          java.util.Map<java.lang.String, com.google.protobuf.Any> map =
              internalGetMetadata().getMap();
          if (!map.containsKey(key)) {
            throw new java.lang.IllegalArgumentException();
          }
          return map.get(key);
        }
  
        public Builder clearMetadata() {
          internalGetMutableMetadata().getMutableMap()
              .clear();
          return this;
        }
        /**
         * <pre>
         * Map of metadata field name to metadata field. The options for metadata
         * field name are listed in GetModelMetadataRequest. Currently supported:
         * "signature_def".
         * </pre>
         *
         * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
         */
  
        public Builder removeMetadata(
            java.lang.String key) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          internalGetMutableMetadata().getMutableMap()
              .remove(key);
          return this;
        }
        /**
         * Use alternate mutation accessors instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.String, com.google.protobuf.Any>
        getMutableMetadata() {
          return internalGetMutableMetadata().getMutableMap();
        }
        /**
         * <pre>
         * Map of metadata field name to metadata field. The options for metadata
         * field name are listed in GetModelMetadataRequest. Currently supported:
         * "signature_def".
         * </pre>
         *
         * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
         */
        public Builder putMetadata(
            java.lang.String key,
            com.google.protobuf.Any value) {
          if (key == null) { throw new java.lang.NullPointerException(); }
          if (value == null) { throw new java.lang.NullPointerException(); }
          internalGetMutableMetadata().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <pre>
         * Map of metadata field name to metadata field. The options for metadata
         * field name are listed in GetModelMetadataRequest. Currently supported:
         * "signature_def".
         * </pre>
         *
         * <code>map&lt;string, .google.protobuf.Any&gt; metadata = 2;</code>
         */
  
        public Builder putAllMetadata(
            java.util.Map<java.lang.String, com.google.protobuf.Any> values) {
          internalGetMutableMetadata().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.serving.GetModelMetadataResponse)
      }
  
      // @@protoc_insertion_point(class_scope:angel.serving.GetModelMetadataResponse)
      private static final com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse();
      }
  
      public static com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<GetModelMetadataResponse>
          PARSER = new com.google.protobuf.AbstractParser<GetModelMetadataResponse>() {
        public GetModelMetadataResponse parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new GetModelMetadataResponse(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<GetModelMetadataResponse> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<GetModelMetadataResponse> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.serving.apis.prediction.GetModelMetadataProtos.GetModelMetadataResponse getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_GetModelMetadataRequest_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_GetModelMetadataRequest_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_GetModelMetadataResponse_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_GetModelMetadataResponse_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_serving_GetModelMetadataResponse_MetadataEntry_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_serving_GetModelMetadataResponse_MetadataEntry_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(apis/prediction/get_model_metadata.pro" +
        "to\022\rangel.serving\032\031google/protobuf/any.p" +
        "roto\032\027apis/common/model.proto\"_\n\027GetMode" +
        "lMetadataRequest\022,\n\nmodel_spec\030\001 \001(\0132\030.a" +
        "ngel.serving.ModelSpec\022\026\n\016metadata_field" +
        "\030\002 \003(\t\"\330\001\n\030GetModelMetadataResponse\022,\n\nm" +
        "odel_spec\030\001 \001(\0132\030.angel.serving.ModelSpe" +
        "c\022G\n\010metadata\030\002 \003(\01325.angel.serving.GetM" +
        "odelMetadataResponse.MetadataEntry\032E\n\rMe" +
        "tadataEntry\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132" +
        "\024.google.protobuf.Any:\0028\001BE\n)com.tencent" +
        ".angel.serving.apis.predictionB\026GetModel" +
        "MetadataProtosP\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(),
            com.tencent.angel.serving.apis.common.ModelSpecProtos.getDescriptor(),
          }, assigner);
      internal_static_angel_serving_GetModelMetadataRequest_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_angel_serving_GetModelMetadataRequest_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_GetModelMetadataRequest_descriptor,
          new java.lang.String[] { "ModelSpec", "MetadataField", });
      internal_static_angel_serving_GetModelMetadataResponse_descriptor =
        getDescriptor().getMessageTypes().get(1);
      internal_static_angel_serving_GetModelMetadataResponse_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_GetModelMetadataResponse_descriptor,
          new java.lang.String[] { "ModelSpec", "Metadata", });
      internal_static_angel_serving_GetModelMetadataResponse_MetadataEntry_descriptor =
        internal_static_angel_serving_GetModelMetadataResponse_descriptor.getNestedTypes().get(0);
      internal_static_angel_serving_GetModelMetadataResponse_MetadataEntry_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_serving_GetModelMetadataResponse_MetadataEntry_descriptor,
          new java.lang.String[] { "Key", "Value", });
      com.google.protobuf.AnyProto.getDescriptor();
      com.tencent.angel.serving.apis.common.ModelSpecProtos.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  