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: core/stats/step_stats.proto
  
  package com.tencent.angel.core.stats;
  
  public final class StepStatsProtos {
    private StepStatsProtos() {}
    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 AllocationRecordOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.AllocationRecord)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <pre>
       * The timestamp of the operation.
       * </pre>
       *
       * <code>int64 alloc_micros = 1;</code>
       */
      long getAllocMicros();
  
      /**
       * <pre>
       * Number of bytes allocated, or de-allocated if negative.
       * </pre>
       *
       * <code>int64 alloc_bytes = 2;</code>
       */
      long getAllocBytes();
    }
    /**
     * <pre>
     * An allocation/de-allocation operation performed by the allocator.
     * </pre>
     *
     * Protobuf type {@code angel.AllocationRecord}
     */
    public  static final class AllocationRecord extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.AllocationRecord)
        AllocationRecordOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use AllocationRecord.newBuilder() to construct.
      private AllocationRecord(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private AllocationRecord() {
        allocMicros_ = 0L;
        allocBytes_ = 0L;
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private AllocationRecord(
          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 8: {
  
                allocMicros_ = input.readInt64();
                break;
              }
              case 16: {
  
                allocBytes_ = input.readInt64();
                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.core.stats.StepStatsProtos.internal_static_angel_AllocationRecord_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocationRecord_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.class, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder.class);
      }
  
      public static final int ALLOC_MICROS_FIELD_NUMBER = 1;
      private long allocMicros_;
      /**
       * <pre>
       * The timestamp of the operation.
       * </pre>
       *
       * <code>int64 alloc_micros = 1;</code>
       */
      public long getAllocMicros() {
        return allocMicros_;
      }
  
      public static final int ALLOC_BYTES_FIELD_NUMBER = 2;
      private long allocBytes_;
      /**
       * <pre>
       * Number of bytes allocated, or de-allocated if negative.
       * </pre>
       *
       * <code>int64 alloc_bytes = 2;</code>
       */
      public long getAllocBytes() {
        return allocBytes_;
      }
  
      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 (allocMicros_ != 0L) {
          output.writeInt64(1, allocMicros_);
        }
        if (allocBytes_ != 0L) {
          output.writeInt64(2, allocBytes_);
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (allocMicros_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, allocMicros_);
        }
        if (allocBytes_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, allocBytes_);
        }
        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.core.stats.StepStatsProtos.AllocationRecord)) {
          return super.equals(obj);
        }
        com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord other = (com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord) obj;
  
        boolean result = true;
        result = result && (getAllocMicros()
            == other.getAllocMicros());
        result = result && (getAllocBytes()
            == other.getAllocBytes());
        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();
        hash = (37 * hash) + ALLOC_MICROS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getAllocMicros());
        hash = (37 * hash) + ALLOC_BYTES_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getAllocBytes());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord 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.core.stats.StepStatsProtos.AllocationRecord parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord 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.core.stats.StepStatsProtos.AllocationRecord parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord 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.core.stats.StepStatsProtos.AllocationRecord parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord 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.core.stats.StepStatsProtos.AllocationRecord parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord 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.core.stats.StepStatsProtos.AllocationRecord 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>
       * An allocation/de-allocation operation performed by the allocator.
       * </pre>
       *
       * Protobuf type {@code angel.AllocationRecord}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.AllocationRecord)
          com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocationRecord_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocationRecord_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.class, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder.class);
        }
  
        // Construct using com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.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();
          allocMicros_ = 0L;
  
          allocBytes_ = 0L;
  
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocationRecord_descriptor;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord getDefaultInstanceForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.getDefaultInstance();
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord build() {
          com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord buildPartial() {
          com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord result = new com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord(this);
          result.allocMicros_ = allocMicros_;
          result.allocBytes_ = allocBytes_;
          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.core.stats.StepStatsProtos.AllocationRecord) {
            return mergeFrom((com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord other) {
          if (other == com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.getDefaultInstance()) return this;
          if (other.getAllocMicros() != 0L) {
            setAllocMicros(other.getAllocMicros());
          }
          if (other.getAllocBytes() != 0L) {
            setAllocBytes(other.getAllocBytes());
          }
          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.core.stats.StepStatsProtos.AllocationRecord parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
  
        private long allocMicros_ ;
        /**
         * <pre>
         * The timestamp of the operation.
         * </pre>
         *
         * <code>int64 alloc_micros = 1;</code>
         */
        public long getAllocMicros() {
          return allocMicros_;
        }
        /**
         * <pre>
         * The timestamp of the operation.
         * </pre>
         *
         * <code>int64 alloc_micros = 1;</code>
         */
        public Builder setAllocMicros(long value) {
          
          allocMicros_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * The timestamp of the operation.
         * </pre>
         *
         * <code>int64 alloc_micros = 1;</code>
         */
        public Builder clearAllocMicros() {
          
          allocMicros_ = 0L;
          onChanged();
          return this;
        }
  
        private long allocBytes_ ;
        /**
         * <pre>
         * Number of bytes allocated, or de-allocated if negative.
         * </pre>
         *
         * <code>int64 alloc_bytes = 2;</code>
         */
        public long getAllocBytes() {
          return allocBytes_;
        }
        /**
         * <pre>
         * Number of bytes allocated, or de-allocated if negative.
         * </pre>
         *
         * <code>int64 alloc_bytes = 2;</code>
         */
        public Builder setAllocBytes(long value) {
          
          allocBytes_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * Number of bytes allocated, or de-allocated if negative.
         * </pre>
         *
         * <code>int64 alloc_bytes = 2;</code>
         */
        public Builder clearAllocBytes() {
          
          allocBytes_ = 0L;
          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.AllocationRecord)
      }
  
      // @@protoc_insertion_point(class_scope:angel.AllocationRecord)
      private static final com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord();
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<AllocationRecord>
          PARSER = new com.google.protobuf.AbstractParser<AllocationRecord>() {
        public AllocationRecord parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new AllocationRecord(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<AllocationRecord> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<AllocationRecord> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface AllocatorMemoryUsedOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.AllocatorMemoryUsed)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>string allocator_name = 1;</code>
       */
      java.lang.String getAllocatorName();
      /**
       * <code>string allocator_name = 1;</code>
       */
      com.google.protobuf.ByteString
          getAllocatorNameBytes();
  
      /**
       * <pre>
       * These are per-node allocator memory stats.
       * </pre>
       *
       * <code>int64 total_bytes = 2;</code>
       */
      long getTotalBytes();
  
      /**
       * <code>int64 peak_bytes = 3;</code>
       */
      long getPeakBytes();
  
      /**
       * <pre>
       * The bytes that are not deallocated.
       * </pre>
       *
       * <code>int64 live_bytes = 4;</code>
       */
      long getLiveBytes();
  
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord> 
          getAllocationRecordsList();
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord getAllocationRecords(int index);
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      int getAllocationRecordsCount();
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder> 
          getAllocationRecordsOrBuilderList();
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder getAllocationRecordsOrBuilder(
          int index);
  
      /**
       * <pre>
       * These are snapshots of the overall allocator memory stats.
       * The number of live bytes currently allocated by the allocator.
       * </pre>
       *
       * <code>int64 allocator_bytes_in_use = 5;</code>
       */
      long getAllocatorBytesInUse();
    }
    /**
     * Protobuf type {@code angel.AllocatorMemoryUsed}
     */
    public  static final class AllocatorMemoryUsed extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.AllocatorMemoryUsed)
        AllocatorMemoryUsedOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use AllocatorMemoryUsed.newBuilder() to construct.
      private AllocatorMemoryUsed(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private AllocatorMemoryUsed() {
        allocatorName_ = "";
        totalBytes_ = 0L;
        peakBytes_ = 0L;
        liveBytes_ = 0L;
        allocationRecords_ = java.util.Collections.emptyList();
        allocatorBytesInUse_ = 0L;
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private AllocatorMemoryUsed(
          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: {
                java.lang.String s = input.readStringRequireUtf8();
  
                allocatorName_ = s;
                break;
              }
              case 16: {
  
                totalBytes_ = input.readInt64();
                break;
              }
              case 24: {
  
                peakBytes_ = input.readInt64();
                break;
              }
              case 32: {
  
                liveBytes_ = input.readInt64();
                break;
              }
              case 40: {
  
                allocatorBytesInUse_ = input.readInt64();
                break;
              }
              case 50: {
                if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
                  allocationRecords_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord>();
                  mutable_bitField0_ |= 0x00000010;
                }
                allocationRecords_.add(
                    input.readMessage(com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.parser(), extensionRegistry));
                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_ & 0x00000010) == 0x00000010)) {
            allocationRecords_ = java.util.Collections.unmodifiableList(allocationRecords_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocatorMemoryUsed_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocatorMemoryUsed_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.class, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder.class);
      }
  
      private int bitField0_;
      public static final int ALLOCATOR_NAME_FIELD_NUMBER = 1;
      private volatile java.lang.Object allocatorName_;
      /**
       * <code>string allocator_name = 1;</code>
       */
      public java.lang.String getAllocatorName() {
        java.lang.Object ref = allocatorName_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = 
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          allocatorName_ = s;
          return s;
        }
      }
      /**
       * <code>string allocator_name = 1;</code>
       */
      public com.google.protobuf.ByteString
          getAllocatorNameBytes() {
        java.lang.Object ref = allocatorName_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          allocatorName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
  
      public static final int TOTAL_BYTES_FIELD_NUMBER = 2;
      private long totalBytes_;
      /**
       * <pre>
       * These are per-node allocator memory stats.
       * </pre>
       *
       * <code>int64 total_bytes = 2;</code>
       */
      public long getTotalBytes() {
        return totalBytes_;
      }
  
      public static final int PEAK_BYTES_FIELD_NUMBER = 3;
      private long peakBytes_;
      /**
       * <code>int64 peak_bytes = 3;</code>
       */
      public long getPeakBytes() {
        return peakBytes_;
      }
  
      public static final int LIVE_BYTES_FIELD_NUMBER = 4;
      private long liveBytes_;
      /**
       * <pre>
       * The bytes that are not deallocated.
       * </pre>
       *
       * <code>int64 live_bytes = 4;</code>
       */
      public long getLiveBytes() {
        return liveBytes_;
      }
  
      public static final int ALLOCATION_RECORDS_FIELD_NUMBER = 6;
      private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord> allocationRecords_;
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord> getAllocationRecordsList() {
        return allocationRecords_;
      }
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder> 
          getAllocationRecordsOrBuilderList() {
        return allocationRecords_;
      }
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      public int getAllocationRecordsCount() {
        return allocationRecords_.size();
      }
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord getAllocationRecords(int index) {
        return allocationRecords_.get(index);
      }
      /**
       * <pre>
       * The allocation and deallocation timeline.
       * </pre>
       *
       * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder getAllocationRecordsOrBuilder(
          int index) {
        return allocationRecords_.get(index);
      }
  
      public static final int ALLOCATOR_BYTES_IN_USE_FIELD_NUMBER = 5;
      private long allocatorBytesInUse_;
      /**
       * <pre>
       * These are snapshots of the overall allocator memory stats.
       * The number of live bytes currently allocated by the allocator.
       * </pre>
       *
       * <code>int64 allocator_bytes_in_use = 5;</code>
       */
      public long getAllocatorBytesInUse() {
        return allocatorBytesInUse_;
      }
  
      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 (!getAllocatorNameBytes().isEmpty()) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allocatorName_);
        }
        if (totalBytes_ != 0L) {
          output.writeInt64(2, totalBytes_);
        }
        if (peakBytes_ != 0L) {
          output.writeInt64(3, peakBytes_);
        }
        if (liveBytes_ != 0L) {
          output.writeInt64(4, liveBytes_);
        }
        if (allocatorBytesInUse_ != 0L) {
          output.writeInt64(5, allocatorBytesInUse_);
        }
        for (int i = 0; i < allocationRecords_.size(); i++) {
          output.writeMessage(6, allocationRecords_.get(i));
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (!getAllocatorNameBytes().isEmpty()) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, allocatorName_);
        }
        if (totalBytes_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, totalBytes_);
        }
        if (peakBytes_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, peakBytes_);
        }
        if (liveBytes_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(4, liveBytes_);
        }
        if (allocatorBytesInUse_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(5, allocatorBytesInUse_);
        }
        for (int i = 0; i < allocationRecords_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(6, allocationRecords_.get(i));
        }
        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.core.stats.StepStatsProtos.AllocatorMemoryUsed)) {
          return super.equals(obj);
        }
        com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed other = (com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed) obj;
  
        boolean result = true;
        result = result && getAllocatorName()
            .equals(other.getAllocatorName());
        result = result && (getTotalBytes()
            == other.getTotalBytes());
        result = result && (getPeakBytes()
            == other.getPeakBytes());
        result = result && (getLiveBytes()
            == other.getLiveBytes());
        result = result && getAllocationRecordsList()
            .equals(other.getAllocationRecordsList());
        result = result && (getAllocatorBytesInUse()
            == other.getAllocatorBytesInUse());
        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();
        hash = (37 * hash) + ALLOCATOR_NAME_FIELD_NUMBER;
        hash = (53 * hash) + getAllocatorName().hashCode();
        hash = (37 * hash) + TOTAL_BYTES_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getTotalBytes());
        hash = (37 * hash) + PEAK_BYTES_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getPeakBytes());
        hash = (37 * hash) + LIVE_BYTES_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getLiveBytes());
        if (getAllocationRecordsCount() > 0) {
          hash = (37 * hash) + ALLOCATION_RECORDS_FIELD_NUMBER;
          hash = (53 * hash) + getAllocationRecordsList().hashCode();
        }
        hash = (37 * hash) + ALLOCATOR_BYTES_IN_USE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getAllocatorBytesInUse());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed 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.core.stats.StepStatsProtos.AllocatorMemoryUsed parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed 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.core.stats.StepStatsProtos.AllocatorMemoryUsed parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed 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.core.stats.StepStatsProtos.AllocatorMemoryUsed parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed 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.core.stats.StepStatsProtos.AllocatorMemoryUsed parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed 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.core.stats.StepStatsProtos.AllocatorMemoryUsed 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.AllocatorMemoryUsed}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.AllocatorMemoryUsed)
          com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocatorMemoryUsed_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocatorMemoryUsed_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.class, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder.class);
        }
  
        // Construct using com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getAllocationRecordsFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          allocatorName_ = "";
  
          totalBytes_ = 0L;
  
          peakBytes_ = 0L;
  
          liveBytes_ = 0L;
  
          if (allocationRecordsBuilder_ == null) {
            allocationRecords_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000010);
          } else {
            allocationRecordsBuilder_.clear();
          }
          allocatorBytesInUse_ = 0L;
  
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_AllocatorMemoryUsed_descriptor;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed getDefaultInstanceForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.getDefaultInstance();
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed build() {
          com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed buildPartial() {
          com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed result = new com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.allocatorName_ = allocatorName_;
          result.totalBytes_ = totalBytes_;
          result.peakBytes_ = peakBytes_;
          result.liveBytes_ = liveBytes_;
          if (allocationRecordsBuilder_ == null) {
            if (((bitField0_ & 0x00000010) == 0x00000010)) {
              allocationRecords_ = java.util.Collections.unmodifiableList(allocationRecords_);
              bitField0_ = (bitField0_ & ~0x00000010);
            }
            result.allocationRecords_ = allocationRecords_;
          } else {
            result.allocationRecords_ = allocationRecordsBuilder_.build();
          }
          result.allocatorBytesInUse_ = allocatorBytesInUse_;
          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.core.stats.StepStatsProtos.AllocatorMemoryUsed) {
            return mergeFrom((com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed other) {
          if (other == com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.getDefaultInstance()) return this;
          if (!other.getAllocatorName().isEmpty()) {
            allocatorName_ = other.allocatorName_;
            onChanged();
          }
          if (other.getTotalBytes() != 0L) {
            setTotalBytes(other.getTotalBytes());
          }
          if (other.getPeakBytes() != 0L) {
            setPeakBytes(other.getPeakBytes());
          }
          if (other.getLiveBytes() != 0L) {
            setLiveBytes(other.getLiveBytes());
          }
          if (allocationRecordsBuilder_ == null) {
            if (!other.allocationRecords_.isEmpty()) {
              if (allocationRecords_.isEmpty()) {
                allocationRecords_ = other.allocationRecords_;
                bitField0_ = (bitField0_ & ~0x00000010);
              } else {
                ensureAllocationRecordsIsMutable();
                allocationRecords_.addAll(other.allocationRecords_);
              }
              onChanged();
            }
          } else {
            if (!other.allocationRecords_.isEmpty()) {
              if (allocationRecordsBuilder_.isEmpty()) {
                allocationRecordsBuilder_.dispose();
                allocationRecordsBuilder_ = null;
                allocationRecords_ = other.allocationRecords_;
                bitField0_ = (bitField0_ & ~0x00000010);
                allocationRecordsBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getAllocationRecordsFieldBuilder() : null;
              } else {
                allocationRecordsBuilder_.addAllMessages(other.allocationRecords_);
              }
            }
          }
          if (other.getAllocatorBytesInUse() != 0L) {
            setAllocatorBytesInUse(other.getAllocatorBytesInUse());
          }
          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.core.stats.StepStatsProtos.AllocatorMemoryUsed parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.lang.Object allocatorName_ = "";
        /**
         * <code>string allocator_name = 1;</code>
         */
        public java.lang.String getAllocatorName() {
          java.lang.Object ref = allocatorName_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            allocatorName_ = s;
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <code>string allocator_name = 1;</code>
         */
        public com.google.protobuf.ByteString
            getAllocatorNameBytes() {
          java.lang.Object ref = allocatorName_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            allocatorName_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * <code>string allocator_name = 1;</code>
         */
        public Builder setAllocatorName(
            java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    
          allocatorName_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>string allocator_name = 1;</code>
         */
        public Builder clearAllocatorName() {
          
          allocatorName_ = getDefaultInstance().getAllocatorName();
          onChanged();
          return this;
        }
        /**
         * <code>string allocator_name = 1;</code>
         */
        public Builder setAllocatorNameBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    checkByteStringIsUtf8(value);
          
          allocatorName_ = value;
          onChanged();
          return this;
        }
  
        private long totalBytes_ ;
        /**
         * <pre>
         * These are per-node allocator memory stats.
         * </pre>
         *
         * <code>int64 total_bytes = 2;</code>
         */
        public long getTotalBytes() {
          return totalBytes_;
        }
        /**
         * <pre>
         * These are per-node allocator memory stats.
         * </pre>
         *
         * <code>int64 total_bytes = 2;</code>
         */
        public Builder setTotalBytes(long value) {
          
          totalBytes_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * These are per-node allocator memory stats.
         * </pre>
         *
         * <code>int64 total_bytes = 2;</code>
         */
        public Builder clearTotalBytes() {
          
          totalBytes_ = 0L;
          onChanged();
          return this;
        }
  
        private long peakBytes_ ;
        /**
         * <code>int64 peak_bytes = 3;</code>
         */
        public long getPeakBytes() {
          return peakBytes_;
        }
        /**
         * <code>int64 peak_bytes = 3;</code>
         */
        public Builder setPeakBytes(long value) {
          
          peakBytes_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 peak_bytes = 3;</code>
         */
        public Builder clearPeakBytes() {
          
          peakBytes_ = 0L;
          onChanged();
          return this;
        }
  
        private long liveBytes_ ;
        /**
         * <pre>
         * The bytes that are not deallocated.
         * </pre>
         *
         * <code>int64 live_bytes = 4;</code>
         */
        public long getLiveBytes() {
          return liveBytes_;
        }
        /**
         * <pre>
         * The bytes that are not deallocated.
         * </pre>
         *
         * <code>int64 live_bytes = 4;</code>
         */
        public Builder setLiveBytes(long value) {
          
          liveBytes_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * The bytes that are not deallocated.
         * </pre>
         *
         * <code>int64 live_bytes = 4;</code>
         */
        public Builder clearLiveBytes() {
          
          liveBytes_ = 0L;
          onChanged();
          return this;
        }
  
        private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord> allocationRecords_ =
          java.util.Collections.emptyList();
        private void ensureAllocationRecordsIsMutable() {
          if (!((bitField0_ & 0x00000010) == 0x00000010)) {
            allocationRecords_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord>(allocationRecords_);
            bitField0_ |= 0x00000010;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder> allocationRecordsBuilder_;
  
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord> getAllocationRecordsList() {
          if (allocationRecordsBuilder_ == null) {
            return java.util.Collections.unmodifiableList(allocationRecords_);
          } else {
            return allocationRecordsBuilder_.getMessageList();
          }
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public int getAllocationRecordsCount() {
          if (allocationRecordsBuilder_ == null) {
            return allocationRecords_.size();
          } else {
            return allocationRecordsBuilder_.getCount();
          }
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord getAllocationRecords(int index) {
          if (allocationRecordsBuilder_ == null) {
            return allocationRecords_.get(index);
          } else {
            return allocationRecordsBuilder_.getMessage(index);
          }
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder setAllocationRecords(
            int index, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord value) {
          if (allocationRecordsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureAllocationRecordsIsMutable();
            allocationRecords_.set(index, value);
            onChanged();
          } else {
            allocationRecordsBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder setAllocationRecords(
            int index, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder builderForValue) {
          if (allocationRecordsBuilder_ == null) {
            ensureAllocationRecordsIsMutable();
            allocationRecords_.set(index, builderForValue.build());
            onChanged();
          } else {
            allocationRecordsBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder addAllocationRecords(com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord value) {
          if (allocationRecordsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureAllocationRecordsIsMutable();
            allocationRecords_.add(value);
            onChanged();
          } else {
            allocationRecordsBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder addAllocationRecords(
            int index, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord value) {
          if (allocationRecordsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureAllocationRecordsIsMutable();
            allocationRecords_.add(index, value);
            onChanged();
          } else {
            allocationRecordsBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder addAllocationRecords(
            com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder builderForValue) {
          if (allocationRecordsBuilder_ == null) {
            ensureAllocationRecordsIsMutable();
            allocationRecords_.add(builderForValue.build());
            onChanged();
          } else {
            allocationRecordsBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder addAllocationRecords(
            int index, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder builderForValue) {
          if (allocationRecordsBuilder_ == null) {
            ensureAllocationRecordsIsMutable();
            allocationRecords_.add(index, builderForValue.build());
            onChanged();
          } else {
            allocationRecordsBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder addAllAllocationRecords(
            java.lang.Iterable<? extends com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord> values) {
          if (allocationRecordsBuilder_ == null) {
            ensureAllocationRecordsIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, allocationRecords_);
            onChanged();
          } else {
            allocationRecordsBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder clearAllocationRecords() {
          if (allocationRecordsBuilder_ == null) {
            allocationRecords_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000010);
            onChanged();
          } else {
            allocationRecordsBuilder_.clear();
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public Builder removeAllocationRecords(int index) {
          if (allocationRecordsBuilder_ == null) {
            ensureAllocationRecordsIsMutable();
            allocationRecords_.remove(index);
            onChanged();
          } else {
            allocationRecordsBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder getAllocationRecordsBuilder(
            int index) {
          return getAllocationRecordsFieldBuilder().getBuilder(index);
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder getAllocationRecordsOrBuilder(
            int index) {
          if (allocationRecordsBuilder_ == null) {
            return allocationRecords_.get(index);  } else {
            return allocationRecordsBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder> 
             getAllocationRecordsOrBuilderList() {
          if (allocationRecordsBuilder_ != null) {
            return allocationRecordsBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(allocationRecords_);
          }
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder addAllocationRecordsBuilder() {
          return getAllocationRecordsFieldBuilder().addBuilder(
              com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.getDefaultInstance());
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder addAllocationRecordsBuilder(
            int index) {
          return getAllocationRecordsFieldBuilder().addBuilder(
              index, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.getDefaultInstance());
        }
        /**
         * <pre>
         * The allocation and deallocation timeline.
         * </pre>
         *
         * <code>repeated .angel.AllocationRecord allocation_records = 6;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder> 
             getAllocationRecordsBuilderList() {
          return getAllocationRecordsFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder> 
            getAllocationRecordsFieldBuilder() {
          if (allocationRecordsBuilder_ == null) {
            allocationRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecord.Builder, com.tencent.angel.core.stats.StepStatsProtos.AllocationRecordOrBuilder>(
                    allocationRecords_,
                    ((bitField0_ & 0x00000010) == 0x00000010),
                    getParentForChildren(),
                    isClean());
            allocationRecords_ = null;
          }
          return allocationRecordsBuilder_;
        }
  
        private long allocatorBytesInUse_ ;
        /**
         * <pre>
         * These are snapshots of the overall allocator memory stats.
         * The number of live bytes currently allocated by the allocator.
         * </pre>
         *
         * <code>int64 allocator_bytes_in_use = 5;</code>
         */
        public long getAllocatorBytesInUse() {
          return allocatorBytesInUse_;
        }
        /**
         * <pre>
         * These are snapshots of the overall allocator memory stats.
         * The number of live bytes currently allocated by the allocator.
         * </pre>
         *
         * <code>int64 allocator_bytes_in_use = 5;</code>
         */
        public Builder setAllocatorBytesInUse(long value) {
          
          allocatorBytesInUse_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * These are snapshots of the overall allocator memory stats.
         * The number of live bytes currently allocated by the allocator.
         * </pre>
         *
         * <code>int64 allocator_bytes_in_use = 5;</code>
         */
        public Builder clearAllocatorBytesInUse() {
          
          allocatorBytesInUse_ = 0L;
          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.AllocatorMemoryUsed)
      }
  
      // @@protoc_insertion_point(class_scope:angel.AllocatorMemoryUsed)
      private static final com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed();
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<AllocatorMemoryUsed>
          PARSER = new com.google.protobuf.AbstractParser<AllocatorMemoryUsed>() {
        public AllocatorMemoryUsed parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new AllocatorMemoryUsed(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<AllocatorMemoryUsed> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<AllocatorMemoryUsed> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface NodeOutputOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.NodeOutput)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>int32 slot = 1;</code>
       */
      int getSlot();
  
      /**
       * <code>.angel.TensorDescription tensor_description = 3;</code>
       */
      boolean hasTensorDescription();
      /**
       * <code>.angel.TensorDescription tensor_description = 3;</code>
       */
      com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription getTensorDescription();
      /**
       * <code>.angel.TensorDescription tensor_description = 3;</code>
       */
      com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescriptionOrBuilder getTensorDescriptionOrBuilder();
    }
    /**
     * <pre>
     * Output sizes recorded for a single execution of a graph node.
     * </pre>
     *
     * Protobuf type {@code angel.NodeOutput}
     */
    public  static final class NodeOutput extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.NodeOutput)
        NodeOutputOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use NodeOutput.newBuilder() to construct.
      private NodeOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private NodeOutput() {
        slot_ = 0;
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private NodeOutput(
          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 8: {
  
                slot_ = input.readInt32();
                break;
              }
              case 26: {
                com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.Builder subBuilder = null;
                if (tensorDescription_ != null) {
                  subBuilder = tensorDescription_.toBuilder();
                }
                tensorDescription_ = input.readMessage(com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(tensorDescription_);
                  tensorDescription_ = 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.core.stats.StepStatsProtos.internal_static_angel_NodeOutput_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeOutput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.class, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder.class);
      }
  
      public static final int SLOT_FIELD_NUMBER = 1;
      private int slot_;
      /**
       * <code>int32 slot = 1;</code>
       */
      public int getSlot() {
        return slot_;
      }
  
      public static final int TENSOR_DESCRIPTION_FIELD_NUMBER = 3;
      private com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription tensorDescription_;
      /**
       * <code>.angel.TensorDescription tensor_description = 3;</code>
       */
      public boolean hasTensorDescription() {
        return tensorDescription_ != null;
      }
      /**
       * <code>.angel.TensorDescription tensor_description = 3;</code>
       */
      public com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription getTensorDescription() {
        return tensorDescription_ == null ? com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.getDefaultInstance() : tensorDescription_;
      }
      /**
       * <code>.angel.TensorDescription tensor_description = 3;</code>
       */
      public com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescriptionOrBuilder getTensorDescriptionOrBuilder() {
        return getTensorDescription();
      }
  
      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 (slot_ != 0) {
          output.writeInt32(1, slot_);
        }
        if (tensorDescription_ != null) {
          output.writeMessage(3, getTensorDescription());
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (slot_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt32Size(1, slot_);
        }
        if (tensorDescription_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(3, getTensorDescription());
        }
        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.core.stats.StepStatsProtos.NodeOutput)) {
          return super.equals(obj);
        }
        com.tencent.angel.core.stats.StepStatsProtos.NodeOutput other = (com.tencent.angel.core.stats.StepStatsProtos.NodeOutput) obj;
  
        boolean result = true;
        result = result && (getSlot()
            == other.getSlot());
        result = result && (hasTensorDescription() == other.hasTensorDescription());
        if (hasTensorDescription()) {
          result = result && getTensorDescription()
              .equals(other.getTensorDescription());
        }
        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();
        hash = (37 * hash) + SLOT_FIELD_NUMBER;
        hash = (53 * hash) + getSlot();
        if (hasTensorDescription()) {
          hash = (37 * hash) + TENSOR_DESCRIPTION_FIELD_NUMBER;
          hash = (53 * hash) + getTensorDescription().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput 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.core.stats.StepStatsProtos.NodeOutput parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput 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.core.stats.StepStatsProtos.NodeOutput parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput 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.core.stats.StepStatsProtos.NodeOutput parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput 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.core.stats.StepStatsProtos.NodeOutput parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput 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.core.stats.StepStatsProtos.NodeOutput 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>
       * Output sizes recorded for a single execution of a graph node.
       * </pre>
       *
       * Protobuf type {@code angel.NodeOutput}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.NodeOutput)
          com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeOutput_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeOutput_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.class, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder.class);
        }
  
        // Construct using com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.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();
          slot_ = 0;
  
          if (tensorDescriptionBuilder_ == null) {
            tensorDescription_ = null;
          } else {
            tensorDescription_ = null;
            tensorDescriptionBuilder_ = null;
          }
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeOutput_descriptor;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput getDefaultInstanceForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.getDefaultInstance();
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput build() {
          com.tencent.angel.core.stats.StepStatsProtos.NodeOutput result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput buildPartial() {
          com.tencent.angel.core.stats.StepStatsProtos.NodeOutput result = new com.tencent.angel.core.stats.StepStatsProtos.NodeOutput(this);
          result.slot_ = slot_;
          if (tensorDescriptionBuilder_ == null) {
            result.tensorDescription_ = tensorDescription_;
          } else {
            result.tensorDescription_ = tensorDescriptionBuilder_.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.core.stats.StepStatsProtos.NodeOutput) {
            return mergeFrom((com.tencent.angel.core.stats.StepStatsProtos.NodeOutput)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.core.stats.StepStatsProtos.NodeOutput other) {
          if (other == com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.getDefaultInstance()) return this;
          if (other.getSlot() != 0) {
            setSlot(other.getSlot());
          }
          if (other.hasTensorDescription()) {
            mergeTensorDescription(other.getTensorDescription());
          }
          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.core.stats.StepStatsProtos.NodeOutput parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.core.stats.StepStatsProtos.NodeOutput) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
  
        private int slot_ ;
        /**
         * <code>int32 slot = 1;</code>
         */
        public int getSlot() {
          return slot_;
        }
        /**
         * <code>int32 slot = 1;</code>
         */
        public Builder setSlot(int value) {
          
          slot_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int32 slot = 1;</code>
         */
        public Builder clearSlot() {
          
          slot_ = 0;
          onChanged();
          return this;
        }
  
        private com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription tensorDescription_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription, com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.Builder, com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescriptionOrBuilder> tensorDescriptionBuilder_;
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        public boolean hasTensorDescription() {
          return tensorDescriptionBuilder_ != null || tensorDescription_ != null;
        }
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        public com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription getTensorDescription() {
          if (tensorDescriptionBuilder_ == null) {
            return tensorDescription_ == null ? com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.getDefaultInstance() : tensorDescription_;
          } else {
            return tensorDescriptionBuilder_.getMessage();
          }
        }
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        public Builder setTensorDescription(com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription value) {
          if (tensorDescriptionBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            tensorDescription_ = value;
            onChanged();
          } else {
            tensorDescriptionBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        public Builder setTensorDescription(
            com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.Builder builderForValue) {
          if (tensorDescriptionBuilder_ == null) {
            tensorDescription_ = builderForValue.build();
            onChanged();
          } else {
            tensorDescriptionBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        public Builder mergeTensorDescription(com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription value) {
          if (tensorDescriptionBuilder_ == null) {
            if (tensorDescription_ != null) {
              tensorDescription_ =
                com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.newBuilder(tensorDescription_).mergeFrom(value).buildPartial();
            } else {
              tensorDescription_ = value;
            }
            onChanged();
          } else {
            tensorDescriptionBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        public Builder clearTensorDescription() {
          if (tensorDescriptionBuilder_ == null) {
            tensorDescription_ = null;
            onChanged();
          } else {
            tensorDescription_ = null;
            tensorDescriptionBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        public com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.Builder getTensorDescriptionBuilder() {
          
          onChanged();
          return getTensorDescriptionFieldBuilder().getBuilder();
        }
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        public com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescriptionOrBuilder getTensorDescriptionOrBuilder() {
          if (tensorDescriptionBuilder_ != null) {
            return tensorDescriptionBuilder_.getMessageOrBuilder();
          } else {
            return tensorDescription_ == null ?
                com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.getDefaultInstance() : tensorDescription_;
          }
        }
        /**
         * <code>.angel.TensorDescription tensor_description = 3;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription, com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.Builder, com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescriptionOrBuilder> 
            getTensorDescriptionFieldBuilder() {
          if (tensorDescriptionBuilder_ == null) {
            tensorDescriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription, com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescription.Builder, com.tencent.angel.core.stats.TensorDescriptionProtos.TensorDescriptionOrBuilder>(
                    getTensorDescription(),
                    getParentForChildren(),
                    isClean());
            tensorDescription_ = null;
          }
          return tensorDescriptionBuilder_;
        }
        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.NodeOutput)
      }
  
      // @@protoc_insertion_point(class_scope:angel.NodeOutput)
      private static final com.tencent.angel.core.stats.StepStatsProtos.NodeOutput DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.core.stats.StepStatsProtos.NodeOutput();
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeOutput getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<NodeOutput>
          PARSER = new com.google.protobuf.AbstractParser<NodeOutput>() {
        public NodeOutput parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new NodeOutput(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<NodeOutput> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<NodeOutput> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface MemoryStatsOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.MemoryStats)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>int64 temp_memory_size = 1;</code>
       */
      long getTempMemorySize();
  
      /**
       * <code>int64 persistent_memory_size = 3;</code>
       */
      long getPersistentMemorySize();
  
      /**
       * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
       */
      java.util.List<java.lang.Long> getPersistentTensorAllocIdsList();
      /**
       * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
       */
      int getPersistentTensorAllocIdsCount();
      /**
       * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
       */
      long getPersistentTensorAllocIds(int index);
  
      /**
       * <code>int64 device_temp_memory_size = 2 [deprecated = true];</code>
       */
      @java.lang.Deprecated long getDeviceTempMemorySize();
  
      /**
       * <code>int64 device_persistent_memory_size = 4 [deprecated = true];</code>
       */
      @java.lang.Deprecated long getDevicePersistentMemorySize();
  
      /**
       * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
       */
      @java.lang.Deprecated java.util.List<java.lang.Long> getDevicePersistentTensorAllocIdsList();
      /**
       * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
       */
      @java.lang.Deprecated int getDevicePersistentTensorAllocIdsCount();
      /**
       * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
       */
      @java.lang.Deprecated long getDevicePersistentTensorAllocIds(int index);
    }
    /**
     * <pre>
     * For memory tracking.
     * </pre>
     *
     * Protobuf type {@code angel.MemoryStats}
     */
    public  static final class MemoryStats extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.MemoryStats)
        MemoryStatsOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use MemoryStats.newBuilder() to construct.
      private MemoryStats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private MemoryStats() {
        tempMemorySize_ = 0L;
        persistentMemorySize_ = 0L;
        persistentTensorAllocIds_ = java.util.Collections.emptyList();
        deviceTempMemorySize_ = 0L;
        devicePersistentMemorySize_ = 0L;
        devicePersistentTensorAllocIds_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private MemoryStats(
          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 8: {
  
                tempMemorySize_ = input.readInt64();
                break;
              }
              case 16: {
  
                deviceTempMemorySize_ = input.readInt64();
                break;
              }
              case 24: {
  
                persistentMemorySize_ = input.readInt64();
                break;
              }
              case 32: {
  
                devicePersistentMemorySize_ = input.readInt64();
                break;
              }
              case 40: {
                if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                  persistentTensorAllocIds_ = new java.util.ArrayList<java.lang.Long>();
                  mutable_bitField0_ |= 0x00000004;
                }
                persistentTensorAllocIds_.add(input.readInt64());
                break;
              }
              case 42: {
                int length = input.readRawVarint32();
                int limit = input.pushLimit(length);
                if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
                  persistentTensorAllocIds_ = new java.util.ArrayList<java.lang.Long>();
                  mutable_bitField0_ |= 0x00000004;
                }
                while (input.getBytesUntilLimit() > 0) {
                  persistentTensorAllocIds_.add(input.readInt64());
                }
                input.popLimit(limit);
                break;
              }
              case 48: {
                if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
                  devicePersistentTensorAllocIds_ = new java.util.ArrayList<java.lang.Long>();
                  mutable_bitField0_ |= 0x00000020;
                }
                devicePersistentTensorAllocIds_.add(input.readInt64());
                break;
              }
              case 50: {
                int length = input.readRawVarint32();
                int limit = input.pushLimit(length);
                if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) {
                  devicePersistentTensorAllocIds_ = new java.util.ArrayList<java.lang.Long>();
                  mutable_bitField0_ |= 0x00000020;
                }
                while (input.getBytesUntilLimit() > 0) {
                  devicePersistentTensorAllocIds_.add(input.readInt64());
                }
                input.popLimit(limit);
                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_ & 0x00000004) == 0x00000004)) {
            persistentTensorAllocIds_ = java.util.Collections.unmodifiableList(persistentTensorAllocIds_);
          }
          if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
            devicePersistentTensorAllocIds_ = java.util.Collections.unmodifiableList(devicePersistentTensorAllocIds_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_MemoryStats_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_MemoryStats_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.class, com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.Builder.class);
      }
  
      private int bitField0_;
      public static final int TEMP_MEMORY_SIZE_FIELD_NUMBER = 1;
      private long tempMemorySize_;
      /**
       * <code>int64 temp_memory_size = 1;</code>
       */
      public long getTempMemorySize() {
        return tempMemorySize_;
      }
  
      public static final int PERSISTENT_MEMORY_SIZE_FIELD_NUMBER = 3;
      private long persistentMemorySize_;
      /**
       * <code>int64 persistent_memory_size = 3;</code>
       */
      public long getPersistentMemorySize() {
        return persistentMemorySize_;
      }
  
      public static final int PERSISTENT_TENSOR_ALLOC_IDS_FIELD_NUMBER = 5;
      private java.util.List<java.lang.Long> persistentTensorAllocIds_;
      /**
       * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
       */
      public java.util.List<java.lang.Long>
          getPersistentTensorAllocIdsList() {
        return persistentTensorAllocIds_;
      }
      /**
       * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
       */
      public int getPersistentTensorAllocIdsCount() {
        return persistentTensorAllocIds_.size();
      }
      /**
       * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
       */
      public long getPersistentTensorAllocIds(int index) {
        return persistentTensorAllocIds_.get(index);
      }
      private int persistentTensorAllocIdsMemoizedSerializedSize = -1;
  
      public static final int DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER = 2;
      private long deviceTempMemorySize_;
      /**
       * <code>int64 device_temp_memory_size = 2 [deprecated = true];</code>
       */
      @java.lang.Deprecated public long getDeviceTempMemorySize() {
        return deviceTempMemorySize_;
      }
  
      public static final int DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER = 4;
      private long devicePersistentMemorySize_;
      /**
       * <code>int64 device_persistent_memory_size = 4 [deprecated = true];</code>
       */
      @java.lang.Deprecated public long getDevicePersistentMemorySize() {
        return devicePersistentMemorySize_;
      }
  
      public static final int DEVICE_PERSISTENT_TENSOR_ALLOC_IDS_FIELD_NUMBER = 6;
      private java.util.List<java.lang.Long> devicePersistentTensorAllocIds_;
      /**
       * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
       */
      @java.lang.Deprecated public java.util.List<java.lang.Long>
          getDevicePersistentTensorAllocIdsList() {
        return devicePersistentTensorAllocIds_;
      }
      /**
       * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
       */
      @java.lang.Deprecated public int getDevicePersistentTensorAllocIdsCount() {
        return devicePersistentTensorAllocIds_.size();
      }
      /**
       * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
       */
      @java.lang.Deprecated public long getDevicePersistentTensorAllocIds(int index) {
        return devicePersistentTensorAllocIds_.get(index);
      }
      private int devicePersistentTensorAllocIdsMemoizedSerializedSize = -1;
  
      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 {
        getSerializedSize();
        if (tempMemorySize_ != 0L) {
          output.writeInt64(1, tempMemorySize_);
        }
        if (deviceTempMemorySize_ != 0L) {
          output.writeInt64(2, deviceTempMemorySize_);
        }
        if (persistentMemorySize_ != 0L) {
          output.writeInt64(3, persistentMemorySize_);
        }
        if (devicePersistentMemorySize_ != 0L) {
          output.writeInt64(4, devicePersistentMemorySize_);
        }
        if (getPersistentTensorAllocIdsList().size() > 0) {
          output.writeUInt32NoTag(42);
          output.writeUInt32NoTag(persistentTensorAllocIdsMemoizedSerializedSize);
        }
        for (int i = 0; i < persistentTensorAllocIds_.size(); i++) {
          output.writeInt64NoTag(persistentTensorAllocIds_.get(i));
        }
        if (getDevicePersistentTensorAllocIdsList().size() > 0) {
          output.writeUInt32NoTag(50);
          output.writeUInt32NoTag(devicePersistentTensorAllocIdsMemoizedSerializedSize);
        }
        for (int i = 0; i < devicePersistentTensorAllocIds_.size(); i++) {
          output.writeInt64NoTag(devicePersistentTensorAllocIds_.get(i));
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (tempMemorySize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(1, tempMemorySize_);
        }
        if (deviceTempMemorySize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, deviceTempMemorySize_);
        }
        if (persistentMemorySize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, persistentMemorySize_);
        }
        if (devicePersistentMemorySize_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(4, devicePersistentMemorySize_);
        }
        {
          int dataSize = 0;
          for (int i = 0; i < persistentTensorAllocIds_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeInt64SizeNoTag(persistentTensorAllocIds_.get(i));
          }
          size += dataSize;
          if (!getPersistentTensorAllocIdsList().isEmpty()) {
            size += 1;
            size += com.google.protobuf.CodedOutputStream
                .computeInt32SizeNoTag(dataSize);
          }
          persistentTensorAllocIdsMemoizedSerializedSize = dataSize;
        }
        {
          int dataSize = 0;
          for (int i = 0; i < devicePersistentTensorAllocIds_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeInt64SizeNoTag(devicePersistentTensorAllocIds_.get(i));
          }
          size += dataSize;
          if (!getDevicePersistentTensorAllocIdsList().isEmpty()) {
            size += 1;
            size += com.google.protobuf.CodedOutputStream
                .computeInt32SizeNoTag(dataSize);
          }
          devicePersistentTensorAllocIdsMemoizedSerializedSize = dataSize;
        }
        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.core.stats.StepStatsProtos.MemoryStats)) {
          return super.equals(obj);
        }
        com.tencent.angel.core.stats.StepStatsProtos.MemoryStats other = (com.tencent.angel.core.stats.StepStatsProtos.MemoryStats) obj;
  
        boolean result = true;
        result = result && (getTempMemorySize()
            == other.getTempMemorySize());
        result = result && (getPersistentMemorySize()
            == other.getPersistentMemorySize());
        result = result && getPersistentTensorAllocIdsList()
            .equals(other.getPersistentTensorAllocIdsList());
        result = result && (getDeviceTempMemorySize()
            == other.getDeviceTempMemorySize());
        result = result && (getDevicePersistentMemorySize()
            == other.getDevicePersistentMemorySize());
        result = result && getDevicePersistentTensorAllocIdsList()
            .equals(other.getDevicePersistentTensorAllocIdsList());
        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();
        hash = (37 * hash) + TEMP_MEMORY_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getTempMemorySize());
        hash = (37 * hash) + PERSISTENT_MEMORY_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getPersistentMemorySize());
        if (getPersistentTensorAllocIdsCount() > 0) {
          hash = (37 * hash) + PERSISTENT_TENSOR_ALLOC_IDS_FIELD_NUMBER;
          hash = (53 * hash) + getPersistentTensorAllocIdsList().hashCode();
        }
        hash = (37 * hash) + DEVICE_TEMP_MEMORY_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getDeviceTempMemorySize());
        hash = (37 * hash) + DEVICE_PERSISTENT_MEMORY_SIZE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getDevicePersistentMemorySize());
        if (getDevicePersistentTensorAllocIdsCount() > 0) {
          hash = (37 * hash) + DEVICE_PERSISTENT_TENSOR_ALLOC_IDS_FIELD_NUMBER;
          hash = (53 * hash) + getDevicePersistentTensorAllocIdsList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats 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.core.stats.StepStatsProtos.MemoryStats parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats 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.core.stats.StepStatsProtos.MemoryStats parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats 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.core.stats.StepStatsProtos.MemoryStats parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats 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.core.stats.StepStatsProtos.MemoryStats parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats 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.core.stats.StepStatsProtos.MemoryStats 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>
       * For memory tracking.
       * </pre>
       *
       * Protobuf type {@code angel.MemoryStats}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.MemoryStats)
          com.tencent.angel.core.stats.StepStatsProtos.MemoryStatsOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_MemoryStats_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_MemoryStats_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.class, com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.Builder.class);
        }
  
        // Construct using com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.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();
          tempMemorySize_ = 0L;
  
          persistentMemorySize_ = 0L;
  
          persistentTensorAllocIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          deviceTempMemorySize_ = 0L;
  
          devicePersistentMemorySize_ = 0L;
  
          devicePersistentTensorAllocIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000020);
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_MemoryStats_descriptor;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.MemoryStats getDefaultInstanceForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.getDefaultInstance();
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.MemoryStats build() {
          com.tencent.angel.core.stats.StepStatsProtos.MemoryStats result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.MemoryStats buildPartial() {
          com.tencent.angel.core.stats.StepStatsProtos.MemoryStats result = new com.tencent.angel.core.stats.StepStatsProtos.MemoryStats(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.tempMemorySize_ = tempMemorySize_;
          result.persistentMemorySize_ = persistentMemorySize_;
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            persistentTensorAllocIds_ = java.util.Collections.unmodifiableList(persistentTensorAllocIds_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.persistentTensorAllocIds_ = persistentTensorAllocIds_;
          result.deviceTempMemorySize_ = deviceTempMemorySize_;
          result.devicePersistentMemorySize_ = devicePersistentMemorySize_;
          if (((bitField0_ & 0x00000020) == 0x00000020)) {
            devicePersistentTensorAllocIds_ = java.util.Collections.unmodifiableList(devicePersistentTensorAllocIds_);
            bitField0_ = (bitField0_ & ~0x00000020);
          }
          result.devicePersistentTensorAllocIds_ = devicePersistentTensorAllocIds_;
          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.core.stats.StepStatsProtos.MemoryStats) {
            return mergeFrom((com.tencent.angel.core.stats.StepStatsProtos.MemoryStats)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.core.stats.StepStatsProtos.MemoryStats other) {
          if (other == com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.getDefaultInstance()) return this;
          if (other.getTempMemorySize() != 0L) {
            setTempMemorySize(other.getTempMemorySize());
          }
          if (other.getPersistentMemorySize() != 0L) {
            setPersistentMemorySize(other.getPersistentMemorySize());
          }
          if (!other.persistentTensorAllocIds_.isEmpty()) {
            if (persistentTensorAllocIds_.isEmpty()) {
              persistentTensorAllocIds_ = other.persistentTensorAllocIds_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensurePersistentTensorAllocIdsIsMutable();
              persistentTensorAllocIds_.addAll(other.persistentTensorAllocIds_);
            }
            onChanged();
          }
          if (other.getDeviceTempMemorySize() != 0L) {
            setDeviceTempMemorySize(other.getDeviceTempMemorySize());
          }
          if (other.getDevicePersistentMemorySize() != 0L) {
            setDevicePersistentMemorySize(other.getDevicePersistentMemorySize());
          }
          if (!other.devicePersistentTensorAllocIds_.isEmpty()) {
            if (devicePersistentTensorAllocIds_.isEmpty()) {
              devicePersistentTensorAllocIds_ = other.devicePersistentTensorAllocIds_;
              bitField0_ = (bitField0_ & ~0x00000020);
            } else {
              ensureDevicePersistentTensorAllocIdsIsMutable();
              devicePersistentTensorAllocIds_.addAll(other.devicePersistentTensorAllocIds_);
            }
            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.core.stats.StepStatsProtos.MemoryStats parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.core.stats.StepStatsProtos.MemoryStats) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private long tempMemorySize_ ;
        /**
         * <code>int64 temp_memory_size = 1;</code>
         */
        public long getTempMemorySize() {
          return tempMemorySize_;
        }
        /**
         * <code>int64 temp_memory_size = 1;</code>
         */
        public Builder setTempMemorySize(long value) {
          
          tempMemorySize_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 temp_memory_size = 1;</code>
         */
        public Builder clearTempMemorySize() {
          
          tempMemorySize_ = 0L;
          onChanged();
          return this;
        }
  
        private long persistentMemorySize_ ;
        /**
         * <code>int64 persistent_memory_size = 3;</code>
         */
        public long getPersistentMemorySize() {
          return persistentMemorySize_;
        }
        /**
         * <code>int64 persistent_memory_size = 3;</code>
         */
        public Builder setPersistentMemorySize(long value) {
          
          persistentMemorySize_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 persistent_memory_size = 3;</code>
         */
        public Builder clearPersistentMemorySize() {
          
          persistentMemorySize_ = 0L;
          onChanged();
          return this;
        }
  
        private java.util.List<java.lang.Long> persistentTensorAllocIds_ = java.util.Collections.emptyList();
        private void ensurePersistentTensorAllocIdsIsMutable() {
          if (!((bitField0_ & 0x00000004) == 0x00000004)) {
            persistentTensorAllocIds_ = new java.util.ArrayList<java.lang.Long>(persistentTensorAllocIds_);
            bitField0_ |= 0x00000004;
           }
        }
        /**
         * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
         */
        public java.util.List<java.lang.Long>
            getPersistentTensorAllocIdsList() {
          return java.util.Collections.unmodifiableList(persistentTensorAllocIds_);
        }
        /**
         * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
         */
        public int getPersistentTensorAllocIdsCount() {
          return persistentTensorAllocIds_.size();
        }
        /**
         * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
         */
        public long getPersistentTensorAllocIds(int index) {
          return persistentTensorAllocIds_.get(index);
        }
        /**
         * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
         */
        public Builder setPersistentTensorAllocIds(
            int index, long value) {
          ensurePersistentTensorAllocIdsIsMutable();
          persistentTensorAllocIds_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
         */
        public Builder addPersistentTensorAllocIds(long value) {
          ensurePersistentTensorAllocIdsIsMutable();
          persistentTensorAllocIds_.add(value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
         */
        public Builder addAllPersistentTensorAllocIds(
            java.lang.Iterable<? extends java.lang.Long> values) {
          ensurePersistentTensorAllocIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, persistentTensorAllocIds_);
          onChanged();
          return this;
        }
        /**
         * <code>repeated int64 persistent_tensor_alloc_ids = 5;</code>
         */
        public Builder clearPersistentTensorAllocIds() {
          persistentTensorAllocIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
          return this;
        }
  
        private long deviceTempMemorySize_ ;
        /**
         * <code>int64 device_temp_memory_size = 2 [deprecated = true];</code>
         */
        @java.lang.Deprecated public long getDeviceTempMemorySize() {
          return deviceTempMemorySize_;
        }
        /**
         * <code>int64 device_temp_memory_size = 2 [deprecated = true];</code>
         */
        @java.lang.Deprecated public Builder setDeviceTempMemorySize(long value) {
          
          deviceTempMemorySize_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 device_temp_memory_size = 2 [deprecated = true];</code>
         */
        @java.lang.Deprecated public Builder clearDeviceTempMemorySize() {
          
          deviceTempMemorySize_ = 0L;
          onChanged();
          return this;
        }
  
        private long devicePersistentMemorySize_ ;
        /**
         * <code>int64 device_persistent_memory_size = 4 [deprecated = true];</code>
         */
        @java.lang.Deprecated public long getDevicePersistentMemorySize() {
          return devicePersistentMemorySize_;
        }
        /**
         * <code>int64 device_persistent_memory_size = 4 [deprecated = true];</code>
         */
        @java.lang.Deprecated public Builder setDevicePersistentMemorySize(long value) {
          
          devicePersistentMemorySize_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 device_persistent_memory_size = 4 [deprecated = true];</code>
         */
        @java.lang.Deprecated public Builder clearDevicePersistentMemorySize() {
          
          devicePersistentMemorySize_ = 0L;
          onChanged();
          return this;
        }
  
        private java.util.List<java.lang.Long> devicePersistentTensorAllocIds_ = java.util.Collections.emptyList();
        private void ensureDevicePersistentTensorAllocIdsIsMutable() {
          if (!((bitField0_ & 0x00000020) == 0x00000020)) {
            devicePersistentTensorAllocIds_ = new java.util.ArrayList<java.lang.Long>(devicePersistentTensorAllocIds_);
            bitField0_ |= 0x00000020;
           }
        }
        /**
         * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
         */
        @java.lang.Deprecated public java.util.List<java.lang.Long>
            getDevicePersistentTensorAllocIdsList() {
          return java.util.Collections.unmodifiableList(devicePersistentTensorAllocIds_);
        }
        /**
         * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
         */
        @java.lang.Deprecated public int getDevicePersistentTensorAllocIdsCount() {
          return devicePersistentTensorAllocIds_.size();
        }
        /**
         * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
         */
        @java.lang.Deprecated public long getDevicePersistentTensorAllocIds(int index) {
          return devicePersistentTensorAllocIds_.get(index);
        }
        /**
         * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
         */
        @java.lang.Deprecated public Builder setDevicePersistentTensorAllocIds(
            int index, long value) {
          ensureDevicePersistentTensorAllocIdsIsMutable();
          devicePersistentTensorAllocIds_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
         */
        @java.lang.Deprecated public Builder addDevicePersistentTensorAllocIds(long value) {
          ensureDevicePersistentTensorAllocIdsIsMutable();
          devicePersistentTensorAllocIds_.add(value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
         */
        @java.lang.Deprecated public Builder addAllDevicePersistentTensorAllocIds(
            java.lang.Iterable<? extends java.lang.Long> values) {
          ensureDevicePersistentTensorAllocIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, devicePersistentTensorAllocIds_);
          onChanged();
          return this;
        }
        /**
         * <code>repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];</code>
         */
        @java.lang.Deprecated public Builder clearDevicePersistentTensorAllocIds() {
          devicePersistentTensorAllocIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000020);
          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.MemoryStats)
      }
  
      // @@protoc_insertion_point(class_scope:angel.MemoryStats)
      private static final com.tencent.angel.core.stats.StepStatsProtos.MemoryStats DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.core.stats.StepStatsProtos.MemoryStats();
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.MemoryStats getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<MemoryStats>
          PARSER = new com.google.protobuf.AbstractParser<MemoryStats>() {
        public MemoryStats parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new MemoryStats(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<MemoryStats> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<MemoryStats> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.core.stats.StepStatsProtos.MemoryStats getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface NodeExecStatsOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.NodeExecStats)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <pre>
       * TODO(tucker): Use some more compact form of node identity than
       * the full string name.  Either all processes should agree on a
       * global id (cost_id?) for each node, or we should use a hash of
       * the name.
       * </pre>
       *
       * <code>string node_name = 1;</code>
       */
      java.lang.String getNodeName();
      /**
       * <pre>
       * TODO(tucker): Use some more compact form of node identity than
       * the full string name.  Either all processes should agree on a
       * global id (cost_id?) for each node, or we should use a hash of
       * the name.
       * </pre>
       *
       * <code>string node_name = 1;</code>
       */
      com.google.protobuf.ByteString
          getNodeNameBytes();
  
      /**
       * <code>int64 all_start_micros = 2;</code>
       */
      long getAllStartMicros();
  
      /**
       * <code>int64 op_start_rel_micros = 3;</code>
       */
      long getOpStartRelMicros();
  
      /**
       * <code>int64 op_end_rel_micros = 4;</code>
       */
      long getOpEndRelMicros();
  
      /**
       * <code>int64 all_end_rel_micros = 5;</code>
       */
      long getAllEndRelMicros();
  
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed> 
          getMemoryList();
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed getMemory(int index);
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      int getMemoryCount();
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder> 
          getMemoryOrBuilderList();
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder getMemoryOrBuilder(
          int index);
  
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeOutput> 
          getOutputList();
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.NodeOutput getOutput(int index);
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      int getOutputCount();
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder> 
          getOutputOrBuilderList();
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder getOutputOrBuilder(
          int index);
  
      /**
       * <code>string timeline_label = 8;</code>
       */
      java.lang.String getTimelineLabel();
      /**
       * <code>string timeline_label = 8;</code>
       */
      com.google.protobuf.ByteString
          getTimelineLabelBytes();
  
      /**
       * <code>int64 scheduled_micros = 9;</code>
       */
      long getScheduledMicros();
  
      /**
       * <code>uint32 thread_id = 10;</code>
       */
      int getThreadId();
  
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      java.util.List<com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription> 
          getReferencedTensorList();
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription getReferencedTensor(int index);
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      int getReferencedTensorCount();
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      java.util.List<? extends com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder> 
          getReferencedTensorOrBuilderList();
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder getReferencedTensorOrBuilder(
          int index);
  
      /**
       * <code>.angel.MemoryStats memory_stats = 12;</code>
       */
      boolean hasMemoryStats();
      /**
       * <code>.angel.MemoryStats memory_stats = 12;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.MemoryStats getMemoryStats();
      /**
       * <code>.angel.MemoryStats memory_stats = 12;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.MemoryStatsOrBuilder getMemoryStatsOrBuilder();
  
      /**
       * <code>int64 all_start_nanos = 13;</code>
       */
      long getAllStartNanos();
  
      /**
       * <code>int64 op_start_rel_nanos = 14;</code>
       */
      long getOpStartRelNanos();
  
      /**
       * <code>int64 op_end_rel_nanos = 15;</code>
       */
      long getOpEndRelNanos();
  
      /**
       * <code>int64 all_end_rel_nanos = 16;</code>
       */
      long getAllEndRelNanos();
  
      /**
       * <code>int64 scheduled_nanos = 17;</code>
       */
      long getScheduledNanos();
    }
    /**
     * <pre>
     * Time/size stats recorded for a single execution of a graph node.
     * </pre>
     *
     * Protobuf type {@code angel.NodeExecStats}
     */
    public  static final class NodeExecStats extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.NodeExecStats)
        NodeExecStatsOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use NodeExecStats.newBuilder() to construct.
      private NodeExecStats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private NodeExecStats() {
        nodeName_ = "";
        allStartMicros_ = 0L;
        opStartRelMicros_ = 0L;
        opEndRelMicros_ = 0L;
        allEndRelMicros_ = 0L;
        memory_ = java.util.Collections.emptyList();
        output_ = java.util.Collections.emptyList();
        timelineLabel_ = "";
        scheduledMicros_ = 0L;
        threadId_ = 0;
        referencedTensor_ = java.util.Collections.emptyList();
        allStartNanos_ = 0L;
        opStartRelNanos_ = 0L;
        opEndRelNanos_ = 0L;
        allEndRelNanos_ = 0L;
        scheduledNanos_ = 0L;
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private NodeExecStats(
          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: {
                java.lang.String s = input.readStringRequireUtf8();
  
                nodeName_ = s;
                break;
              }
              case 16: {
  
                allStartMicros_ = input.readInt64();
                break;
              }
              case 24: {
  
                opStartRelMicros_ = input.readInt64();
                break;
              }
              case 32: {
  
                opEndRelMicros_ = input.readInt64();
                break;
              }
              case 40: {
  
                allEndRelMicros_ = input.readInt64();
                break;
              }
              case 50: {
                if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
                  memory_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed>();
                  mutable_bitField0_ |= 0x00000020;
                }
                memory_.add(
                    input.readMessage(com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.parser(), extensionRegistry));
                break;
              }
              case 58: {
                if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
                  output_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.NodeOutput>();
                  mutable_bitField0_ |= 0x00000040;
                }
                output_.add(
                    input.readMessage(com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.parser(), extensionRegistry));
                break;
              }
              case 66: {
                java.lang.String s = input.readStringRequireUtf8();
  
                timelineLabel_ = s;
                break;
              }
              case 72: {
  
                scheduledMicros_ = input.readInt64();
                break;
              }
              case 80: {
  
                threadId_ = input.readUInt32();
                break;
              }
              case 90: {
                if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
                  referencedTensor_ = new java.util.ArrayList<com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription>();
                  mutable_bitField0_ |= 0x00000400;
                }
                referencedTensor_.add(
                    input.readMessage(com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.parser(), extensionRegistry));
                break;
              }
              case 98: {
                com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.Builder subBuilder = null;
                if (memoryStats_ != null) {
                  subBuilder = memoryStats_.toBuilder();
                }
                memoryStats_ = input.readMessage(com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(memoryStats_);
                  memoryStats_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 104: {
  
                allStartNanos_ = input.readInt64();
                break;
              }
              case 112: {
  
                opStartRelNanos_ = input.readInt64();
                break;
              }
              case 120: {
  
                opEndRelNanos_ = input.readInt64();
                break;
              }
              case 128: {
  
                allEndRelNanos_ = input.readInt64();
                break;
              }
              case 136: {
  
                scheduledNanos_ = input.readInt64();
                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_ & 0x00000020) == 0x00000020)) {
            memory_ = java.util.Collections.unmodifiableList(memory_);
          }
          if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
            output_ = java.util.Collections.unmodifiableList(output_);
          }
          if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
            referencedTensor_ = java.util.Collections.unmodifiableList(referencedTensor_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeExecStats_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeExecStats_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.class, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder.class);
      }
  
      private int bitField0_;
      public static final int NODE_NAME_FIELD_NUMBER = 1;
      private volatile java.lang.Object nodeName_;
      /**
       * <pre>
       * TODO(tucker): Use some more compact form of node identity than
       * the full string name.  Either all processes should agree on a
       * global id (cost_id?) for each node, or we should use a hash of
       * the name.
       * </pre>
       *
       * <code>string node_name = 1;</code>
       */
      public java.lang.String getNodeName() {
        java.lang.Object ref = nodeName_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = 
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          nodeName_ = s;
          return s;
        }
      }
      /**
       * <pre>
       * TODO(tucker): Use some more compact form of node identity than
       * the full string name.  Either all processes should agree on a
       * global id (cost_id?) for each node, or we should use a hash of
       * the name.
       * </pre>
       *
       * <code>string node_name = 1;</code>
       */
      public com.google.protobuf.ByteString
          getNodeNameBytes() {
        java.lang.Object ref = nodeName_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          nodeName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
  
      public static final int ALL_START_MICROS_FIELD_NUMBER = 2;
      private long allStartMicros_;
      /**
       * <code>int64 all_start_micros = 2;</code>
       */
      public long getAllStartMicros() {
        return allStartMicros_;
      }
  
      public static final int OP_START_REL_MICROS_FIELD_NUMBER = 3;
      private long opStartRelMicros_;
      /**
       * <code>int64 op_start_rel_micros = 3;</code>
       */
      public long getOpStartRelMicros() {
        return opStartRelMicros_;
      }
  
      public static final int OP_END_REL_MICROS_FIELD_NUMBER = 4;
      private long opEndRelMicros_;
      /**
       * <code>int64 op_end_rel_micros = 4;</code>
       */
      public long getOpEndRelMicros() {
        return opEndRelMicros_;
      }
  
      public static final int ALL_END_REL_MICROS_FIELD_NUMBER = 5;
      private long allEndRelMicros_;
      /**
       * <code>int64 all_end_rel_micros = 5;</code>
       */
      public long getAllEndRelMicros() {
        return allEndRelMicros_;
      }
  
      public static final int MEMORY_FIELD_NUMBER = 6;
      private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed> memory_;
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed> getMemoryList() {
        return memory_;
      }
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder> 
          getMemoryOrBuilderList() {
        return memory_;
      }
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      public int getMemoryCount() {
        return memory_.size();
      }
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed getMemory(int index) {
        return memory_.get(index);
      }
      /**
       * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder getMemoryOrBuilder(
          int index) {
        return memory_.get(index);
      }
  
      public static final int OUTPUT_FIELD_NUMBER = 7;
      private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeOutput> output_;
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeOutput> getOutputList() {
        return output_;
      }
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder> 
          getOutputOrBuilderList() {
        return output_;
      }
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      public int getOutputCount() {
        return output_.size();
      }
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput getOutput(int index) {
        return output_.get(index);
      }
      /**
       * <code>repeated .angel.NodeOutput output = 7;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder getOutputOrBuilder(
          int index) {
        return output_.get(index);
      }
  
      public static final int TIMELINE_LABEL_FIELD_NUMBER = 8;
      private volatile java.lang.Object timelineLabel_;
      /**
       * <code>string timeline_label = 8;</code>
       */
      public java.lang.String getTimelineLabel() {
        java.lang.Object ref = timelineLabel_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = 
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          timelineLabel_ = s;
          return s;
        }
      }
      /**
       * <code>string timeline_label = 8;</code>
       */
      public com.google.protobuf.ByteString
          getTimelineLabelBytes() {
        java.lang.Object ref = timelineLabel_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          timelineLabel_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
  
      public static final int SCHEDULED_MICROS_FIELD_NUMBER = 9;
      private long scheduledMicros_;
      /**
       * <code>int64 scheduled_micros = 9;</code>
       */
      public long getScheduledMicros() {
        return scheduledMicros_;
      }
  
      public static final int THREAD_ID_FIELD_NUMBER = 10;
      private int threadId_;
      /**
       * <code>uint32 thread_id = 10;</code>
       */
      public int getThreadId() {
        return threadId_;
      }
  
      public static final int REFERENCED_TENSOR_FIELD_NUMBER = 11;
      private java.util.List<com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription> referencedTensor_;
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      public java.util.List<com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription> getReferencedTensorList() {
        return referencedTensor_;
      }
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      public java.util.List<? extends com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder> 
          getReferencedTensorOrBuilderList() {
        return referencedTensor_;
      }
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      public int getReferencedTensorCount() {
        return referencedTensor_.size();
      }
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      public com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription getReferencedTensor(int index) {
        return referencedTensor_.get(index);
      }
      /**
       * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
       */
      public com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder getReferencedTensorOrBuilder(
          int index) {
        return referencedTensor_.get(index);
      }
  
      public static final int MEMORY_STATS_FIELD_NUMBER = 12;
      private com.tencent.angel.core.stats.StepStatsProtos.MemoryStats memoryStats_;
      /**
       * <code>.angel.MemoryStats memory_stats = 12;</code>
       */
      public boolean hasMemoryStats() {
        return memoryStats_ != null;
      }
      /**
       * <code>.angel.MemoryStats memory_stats = 12;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.MemoryStats getMemoryStats() {
        return memoryStats_ == null ? com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.getDefaultInstance() : memoryStats_;
      }
      /**
       * <code>.angel.MemoryStats memory_stats = 12;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.MemoryStatsOrBuilder getMemoryStatsOrBuilder() {
        return getMemoryStats();
      }
  
      public static final int ALL_START_NANOS_FIELD_NUMBER = 13;
      private long allStartNanos_;
      /**
       * <code>int64 all_start_nanos = 13;</code>
       */
      public long getAllStartNanos() {
        return allStartNanos_;
      }
  
      public static final int OP_START_REL_NANOS_FIELD_NUMBER = 14;
      private long opStartRelNanos_;
      /**
       * <code>int64 op_start_rel_nanos = 14;</code>
       */
      public long getOpStartRelNanos() {
        return opStartRelNanos_;
      }
  
      public static final int OP_END_REL_NANOS_FIELD_NUMBER = 15;
      private long opEndRelNanos_;
      /**
       * <code>int64 op_end_rel_nanos = 15;</code>
       */
      public long getOpEndRelNanos() {
        return opEndRelNanos_;
      }
  
      public static final int ALL_END_REL_NANOS_FIELD_NUMBER = 16;
      private long allEndRelNanos_;
      /**
       * <code>int64 all_end_rel_nanos = 16;</code>
       */
      public long getAllEndRelNanos() {
        return allEndRelNanos_;
      }
  
      public static final int SCHEDULED_NANOS_FIELD_NUMBER = 17;
      private long scheduledNanos_;
      /**
       * <code>int64 scheduled_nanos = 17;</code>
       */
      public long getScheduledNanos() {
        return scheduledNanos_;
      }
  
      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 (!getNodeNameBytes().isEmpty()) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nodeName_);
        }
        if (allStartMicros_ != 0L) {
          output.writeInt64(2, allStartMicros_);
        }
        if (opStartRelMicros_ != 0L) {
          output.writeInt64(3, opStartRelMicros_);
        }
        if (opEndRelMicros_ != 0L) {
          output.writeInt64(4, opEndRelMicros_);
        }
        if (allEndRelMicros_ != 0L) {
          output.writeInt64(5, allEndRelMicros_);
        }
        for (int i = 0; i < memory_.size(); i++) {
          output.writeMessage(6, memory_.get(i));
        }
        for (int i = 0; i < output_.size(); i++) {
          output.writeMessage(7, output_.get(i));
        }
        if (!getTimelineLabelBytes().isEmpty()) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 8, timelineLabel_);
        }
        if (scheduledMicros_ != 0L) {
          output.writeInt64(9, scheduledMicros_);
        }
        if (threadId_ != 0) {
          output.writeUInt32(10, threadId_);
        }
        for (int i = 0; i < referencedTensor_.size(); i++) {
          output.writeMessage(11, referencedTensor_.get(i));
        }
        if (memoryStats_ != null) {
          output.writeMessage(12, getMemoryStats());
        }
        if (allStartNanos_ != 0L) {
          output.writeInt64(13, allStartNanos_);
        }
        if (opStartRelNanos_ != 0L) {
          output.writeInt64(14, opStartRelNanos_);
        }
        if (opEndRelNanos_ != 0L) {
          output.writeInt64(15, opEndRelNanos_);
        }
        if (allEndRelNanos_ != 0L) {
          output.writeInt64(16, allEndRelNanos_);
        }
        if (scheduledNanos_ != 0L) {
          output.writeInt64(17, scheduledNanos_);
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (!getNodeNameBytes().isEmpty()) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nodeName_);
        }
        if (allStartMicros_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(2, allStartMicros_);
        }
        if (opStartRelMicros_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(3, opStartRelMicros_);
        }
        if (opEndRelMicros_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(4, opEndRelMicros_);
        }
        if (allEndRelMicros_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(5, allEndRelMicros_);
        }
        for (int i = 0; i < memory_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(6, memory_.get(i));
        }
        for (int i = 0; i < output_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(7, output_.get(i));
        }
        if (!getTimelineLabelBytes().isEmpty()) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, timelineLabel_);
        }
        if (scheduledMicros_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(9, scheduledMicros_);
        }
        if (threadId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(10, threadId_);
        }
        for (int i = 0; i < referencedTensor_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(11, referencedTensor_.get(i));
        }
        if (memoryStats_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(12, getMemoryStats());
        }
        if (allStartNanos_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(13, allStartNanos_);
        }
        if (opStartRelNanos_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(14, opStartRelNanos_);
        }
        if (opEndRelNanos_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(15, opEndRelNanos_);
        }
        if (allEndRelNanos_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(16, allEndRelNanos_);
        }
        if (scheduledNanos_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt64Size(17, scheduledNanos_);
        }
        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.core.stats.StepStatsProtos.NodeExecStats)) {
          return super.equals(obj);
        }
        com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats other = (com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats) obj;
  
        boolean result = true;
        result = result && getNodeName()
            .equals(other.getNodeName());
        result = result && (getAllStartMicros()
            == other.getAllStartMicros());
        result = result && (getOpStartRelMicros()
            == other.getOpStartRelMicros());
        result = result && (getOpEndRelMicros()
            == other.getOpEndRelMicros());
        result = result && (getAllEndRelMicros()
            == other.getAllEndRelMicros());
        result = result && getMemoryList()
            .equals(other.getMemoryList());
        result = result && getOutputList()
            .equals(other.getOutputList());
        result = result && getTimelineLabel()
            .equals(other.getTimelineLabel());
        result = result && (getScheduledMicros()
            == other.getScheduledMicros());
        result = result && (getThreadId()
            == other.getThreadId());
        result = result && getReferencedTensorList()
            .equals(other.getReferencedTensorList());
        result = result && (hasMemoryStats() == other.hasMemoryStats());
        if (hasMemoryStats()) {
          result = result && getMemoryStats()
              .equals(other.getMemoryStats());
        }
        result = result && (getAllStartNanos()
            == other.getAllStartNanos());
        result = result && (getOpStartRelNanos()
            == other.getOpStartRelNanos());
        result = result && (getOpEndRelNanos()
            == other.getOpEndRelNanos());
        result = result && (getAllEndRelNanos()
            == other.getAllEndRelNanos());
        result = result && (getScheduledNanos()
            == other.getScheduledNanos());
        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();
        hash = (37 * hash) + NODE_NAME_FIELD_NUMBER;
        hash = (53 * hash) + getNodeName().hashCode();
        hash = (37 * hash) + ALL_START_MICROS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getAllStartMicros());
        hash = (37 * hash) + OP_START_REL_MICROS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getOpStartRelMicros());
        hash = (37 * hash) + OP_END_REL_MICROS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getOpEndRelMicros());
        hash = (37 * hash) + ALL_END_REL_MICROS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getAllEndRelMicros());
        if (getMemoryCount() > 0) {
          hash = (37 * hash) + MEMORY_FIELD_NUMBER;
          hash = (53 * hash) + getMemoryList().hashCode();
        }
        if (getOutputCount() > 0) {
          hash = (37 * hash) + OUTPUT_FIELD_NUMBER;
          hash = (53 * hash) + getOutputList().hashCode();
        }
        hash = (37 * hash) + TIMELINE_LABEL_FIELD_NUMBER;
        hash = (53 * hash) + getTimelineLabel().hashCode();
        hash = (37 * hash) + SCHEDULED_MICROS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getScheduledMicros());
        hash = (37 * hash) + THREAD_ID_FIELD_NUMBER;
        hash = (53 * hash) + getThreadId();
        if (getReferencedTensorCount() > 0) {
          hash = (37 * hash) + REFERENCED_TENSOR_FIELD_NUMBER;
          hash = (53 * hash) + getReferencedTensorList().hashCode();
        }
        if (hasMemoryStats()) {
          hash = (37 * hash) + MEMORY_STATS_FIELD_NUMBER;
          hash = (53 * hash) + getMemoryStats().hashCode();
        }
        hash = (37 * hash) + ALL_START_NANOS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getAllStartNanos());
        hash = (37 * hash) + OP_START_REL_NANOS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getOpStartRelNanos());
        hash = (37 * hash) + OP_END_REL_NANOS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getOpEndRelNanos());
        hash = (37 * hash) + ALL_END_REL_NANOS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getAllEndRelNanos());
        hash = (37 * hash) + SCHEDULED_NANOS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getScheduledNanos());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats 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.core.stats.StepStatsProtos.NodeExecStats parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats 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.core.stats.StepStatsProtos.NodeExecStats parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats 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.core.stats.StepStatsProtos.NodeExecStats parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats 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.core.stats.StepStatsProtos.NodeExecStats parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats 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.core.stats.StepStatsProtos.NodeExecStats 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>
       * Time/size stats recorded for a single execution of a graph node.
       * </pre>
       *
       * Protobuf type {@code angel.NodeExecStats}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.NodeExecStats)
          com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeExecStats_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeExecStats_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.class, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder.class);
        }
  
        // Construct using com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getMemoryFieldBuilder();
            getOutputFieldBuilder();
            getReferencedTensorFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          nodeName_ = "";
  
          allStartMicros_ = 0L;
  
          opStartRelMicros_ = 0L;
  
          opEndRelMicros_ = 0L;
  
          allEndRelMicros_ = 0L;
  
          if (memoryBuilder_ == null) {
            memory_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000020);
          } else {
            memoryBuilder_.clear();
          }
          if (outputBuilder_ == null) {
            output_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000040);
          } else {
            outputBuilder_.clear();
          }
          timelineLabel_ = "";
  
          scheduledMicros_ = 0L;
  
          threadId_ = 0;
  
          if (referencedTensorBuilder_ == null) {
            referencedTensor_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000400);
          } else {
            referencedTensorBuilder_.clear();
          }
          if (memoryStatsBuilder_ == null) {
            memoryStats_ = null;
          } else {
            memoryStats_ = null;
            memoryStatsBuilder_ = null;
          }
          allStartNanos_ = 0L;
  
          opStartRelNanos_ = 0L;
  
          opEndRelNanos_ = 0L;
  
          allEndRelNanos_ = 0L;
  
          scheduledNanos_ = 0L;
  
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_NodeExecStats_descriptor;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats getDefaultInstanceForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.getDefaultInstance();
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats build() {
          com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats buildPartial() {
          com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats result = new com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.nodeName_ = nodeName_;
          result.allStartMicros_ = allStartMicros_;
          result.opStartRelMicros_ = opStartRelMicros_;
          result.opEndRelMicros_ = opEndRelMicros_;
          result.allEndRelMicros_ = allEndRelMicros_;
          if (memoryBuilder_ == null) {
            if (((bitField0_ & 0x00000020) == 0x00000020)) {
              memory_ = java.util.Collections.unmodifiableList(memory_);
              bitField0_ = (bitField0_ & ~0x00000020);
            }
            result.memory_ = memory_;
          } else {
            result.memory_ = memoryBuilder_.build();
          }
          if (outputBuilder_ == null) {
            if (((bitField0_ & 0x00000040) == 0x00000040)) {
              output_ = java.util.Collections.unmodifiableList(output_);
              bitField0_ = (bitField0_ & ~0x00000040);
            }
            result.output_ = output_;
          } else {
            result.output_ = outputBuilder_.build();
          }
          result.timelineLabel_ = timelineLabel_;
          result.scheduledMicros_ = scheduledMicros_;
          result.threadId_ = threadId_;
          if (referencedTensorBuilder_ == null) {
            if (((bitField0_ & 0x00000400) == 0x00000400)) {
              referencedTensor_ = java.util.Collections.unmodifiableList(referencedTensor_);
              bitField0_ = (bitField0_ & ~0x00000400);
            }
            result.referencedTensor_ = referencedTensor_;
          } else {
            result.referencedTensor_ = referencedTensorBuilder_.build();
          }
          if (memoryStatsBuilder_ == null) {
            result.memoryStats_ = memoryStats_;
          } else {
            result.memoryStats_ = memoryStatsBuilder_.build();
          }
          result.allStartNanos_ = allStartNanos_;
          result.opStartRelNanos_ = opStartRelNanos_;
          result.opEndRelNanos_ = opEndRelNanos_;
          result.allEndRelNanos_ = allEndRelNanos_;
          result.scheduledNanos_ = scheduledNanos_;
          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.core.stats.StepStatsProtos.NodeExecStats) {
            return mergeFrom((com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats other) {
          if (other == com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.getDefaultInstance()) return this;
          if (!other.getNodeName().isEmpty()) {
            nodeName_ = other.nodeName_;
            onChanged();
          }
          if (other.getAllStartMicros() != 0L) {
            setAllStartMicros(other.getAllStartMicros());
          }
          if (other.getOpStartRelMicros() != 0L) {
            setOpStartRelMicros(other.getOpStartRelMicros());
          }
          if (other.getOpEndRelMicros() != 0L) {
            setOpEndRelMicros(other.getOpEndRelMicros());
          }
          if (other.getAllEndRelMicros() != 0L) {
            setAllEndRelMicros(other.getAllEndRelMicros());
          }
          if (memoryBuilder_ == null) {
            if (!other.memory_.isEmpty()) {
              if (memory_.isEmpty()) {
                memory_ = other.memory_;
                bitField0_ = (bitField0_ & ~0x00000020);
              } else {
                ensureMemoryIsMutable();
                memory_.addAll(other.memory_);
              }
              onChanged();
            }
          } else {
            if (!other.memory_.isEmpty()) {
              if (memoryBuilder_.isEmpty()) {
                memoryBuilder_.dispose();
                memoryBuilder_ = null;
                memory_ = other.memory_;
                bitField0_ = (bitField0_ & ~0x00000020);
                memoryBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getMemoryFieldBuilder() : null;
              } else {
                memoryBuilder_.addAllMessages(other.memory_);
              }
            }
          }
          if (outputBuilder_ == null) {
            if (!other.output_.isEmpty()) {
              if (output_.isEmpty()) {
                output_ = other.output_;
                bitField0_ = (bitField0_ & ~0x00000040);
              } else {
                ensureOutputIsMutable();
                output_.addAll(other.output_);
              }
              onChanged();
            }
          } else {
            if (!other.output_.isEmpty()) {
              if (outputBuilder_.isEmpty()) {
                outputBuilder_.dispose();
                outputBuilder_ = null;
                output_ = other.output_;
                bitField0_ = (bitField0_ & ~0x00000040);
                outputBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getOutputFieldBuilder() : null;
              } else {
                outputBuilder_.addAllMessages(other.output_);
              }
            }
          }
          if (!other.getTimelineLabel().isEmpty()) {
            timelineLabel_ = other.timelineLabel_;
            onChanged();
          }
          if (other.getScheduledMicros() != 0L) {
            setScheduledMicros(other.getScheduledMicros());
          }
          if (other.getThreadId() != 0) {
            setThreadId(other.getThreadId());
          }
          if (referencedTensorBuilder_ == null) {
            if (!other.referencedTensor_.isEmpty()) {
              if (referencedTensor_.isEmpty()) {
                referencedTensor_ = other.referencedTensor_;
                bitField0_ = (bitField0_ & ~0x00000400);
              } else {
                ensureReferencedTensorIsMutable();
                referencedTensor_.addAll(other.referencedTensor_);
              }
              onChanged();
            }
          } else {
            if (!other.referencedTensor_.isEmpty()) {
              if (referencedTensorBuilder_.isEmpty()) {
                referencedTensorBuilder_.dispose();
                referencedTensorBuilder_ = null;
                referencedTensor_ = other.referencedTensor_;
                bitField0_ = (bitField0_ & ~0x00000400);
                referencedTensorBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getReferencedTensorFieldBuilder() : null;
              } else {
                referencedTensorBuilder_.addAllMessages(other.referencedTensor_);
              }
            }
          }
          if (other.hasMemoryStats()) {
            mergeMemoryStats(other.getMemoryStats());
          }
          if (other.getAllStartNanos() != 0L) {
            setAllStartNanos(other.getAllStartNanos());
          }
          if (other.getOpStartRelNanos() != 0L) {
            setOpStartRelNanos(other.getOpStartRelNanos());
          }
          if (other.getOpEndRelNanos() != 0L) {
            setOpEndRelNanos(other.getOpEndRelNanos());
          }
          if (other.getAllEndRelNanos() != 0L) {
            setAllEndRelNanos(other.getAllEndRelNanos());
          }
          if (other.getScheduledNanos() != 0L) {
            setScheduledNanos(other.getScheduledNanos());
          }
          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.core.stats.StepStatsProtos.NodeExecStats parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.lang.Object nodeName_ = "";
        /**
         * <pre>
         * TODO(tucker): Use some more compact form of node identity than
         * the full string name.  Either all processes should agree on a
         * global id (cost_id?) for each node, or we should use a hash of
         * the name.
         * </pre>
         *
         * <code>string node_name = 1;</code>
         */
        public java.lang.String getNodeName() {
          java.lang.Object ref = nodeName_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            nodeName_ = s;
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <pre>
         * TODO(tucker): Use some more compact form of node identity than
         * the full string name.  Either all processes should agree on a
         * global id (cost_id?) for each node, or we should use a hash of
         * the name.
         * </pre>
         *
         * <code>string node_name = 1;</code>
         */
        public com.google.protobuf.ByteString
            getNodeNameBytes() {
          java.lang.Object ref = nodeName_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            nodeName_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * <pre>
         * TODO(tucker): Use some more compact form of node identity than
         * the full string name.  Either all processes should agree on a
         * global id (cost_id?) for each node, or we should use a hash of
         * the name.
         * </pre>
         *
         * <code>string node_name = 1;</code>
         */
        public Builder setNodeName(
            java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    
          nodeName_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * TODO(tucker): Use some more compact form of node identity than
         * the full string name.  Either all processes should agree on a
         * global id (cost_id?) for each node, or we should use a hash of
         * the name.
         * </pre>
         *
         * <code>string node_name = 1;</code>
         */
        public Builder clearNodeName() {
          
          nodeName_ = getDefaultInstance().getNodeName();
          onChanged();
          return this;
        }
        /**
         * <pre>
         * TODO(tucker): Use some more compact form of node identity than
         * the full string name.  Either all processes should agree on a
         * global id (cost_id?) for each node, or we should use a hash of
         * the name.
         * </pre>
         *
         * <code>string node_name = 1;</code>
         */
        public Builder setNodeNameBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    checkByteStringIsUtf8(value);
          
          nodeName_ = value;
          onChanged();
          return this;
        }
  
        private long allStartMicros_ ;
        /**
         * <code>int64 all_start_micros = 2;</code>
         */
        public long getAllStartMicros() {
          return allStartMicros_;
        }
        /**
         * <code>int64 all_start_micros = 2;</code>
         */
        public Builder setAllStartMicros(long value) {
          
          allStartMicros_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 all_start_micros = 2;</code>
         */
        public Builder clearAllStartMicros() {
          
          allStartMicros_ = 0L;
          onChanged();
          return this;
        }
  
        private long opStartRelMicros_ ;
        /**
         * <code>int64 op_start_rel_micros = 3;</code>
         */
        public long getOpStartRelMicros() {
          return opStartRelMicros_;
        }
        /**
         * <code>int64 op_start_rel_micros = 3;</code>
         */
        public Builder setOpStartRelMicros(long value) {
          
          opStartRelMicros_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 op_start_rel_micros = 3;</code>
         */
        public Builder clearOpStartRelMicros() {
          
          opStartRelMicros_ = 0L;
          onChanged();
          return this;
        }
  
        private long opEndRelMicros_ ;
        /**
         * <code>int64 op_end_rel_micros = 4;</code>
         */
        public long getOpEndRelMicros() {
          return opEndRelMicros_;
        }
        /**
         * <code>int64 op_end_rel_micros = 4;</code>
         */
        public Builder setOpEndRelMicros(long value) {
          
          opEndRelMicros_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 op_end_rel_micros = 4;</code>
         */
        public Builder clearOpEndRelMicros() {
          
          opEndRelMicros_ = 0L;
          onChanged();
          return this;
        }
  
        private long allEndRelMicros_ ;
        /**
         * <code>int64 all_end_rel_micros = 5;</code>
         */
        public long getAllEndRelMicros() {
          return allEndRelMicros_;
        }
        /**
         * <code>int64 all_end_rel_micros = 5;</code>
         */
        public Builder setAllEndRelMicros(long value) {
          
          allEndRelMicros_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 all_end_rel_micros = 5;</code>
         */
        public Builder clearAllEndRelMicros() {
          
          allEndRelMicros_ = 0L;
          onChanged();
          return this;
        }
  
        private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed> memory_ =
          java.util.Collections.emptyList();
        private void ensureMemoryIsMutable() {
          if (!((bitField0_ & 0x00000020) == 0x00000020)) {
            memory_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed>(memory_);
            bitField0_ |= 0x00000020;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder> memoryBuilder_;
  
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed> getMemoryList() {
          if (memoryBuilder_ == null) {
            return java.util.Collections.unmodifiableList(memory_);
          } else {
            return memoryBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public int getMemoryCount() {
          if (memoryBuilder_ == null) {
            return memory_.size();
          } else {
            return memoryBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed getMemory(int index) {
          if (memoryBuilder_ == null) {
            return memory_.get(index);
          } else {
            return memoryBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder setMemory(
            int index, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed value) {
          if (memoryBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureMemoryIsMutable();
            memory_.set(index, value);
            onChanged();
          } else {
            memoryBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder setMemory(
            int index, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder builderForValue) {
          if (memoryBuilder_ == null) {
            ensureMemoryIsMutable();
            memory_.set(index, builderForValue.build());
            onChanged();
          } else {
            memoryBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder addMemory(com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed value) {
          if (memoryBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureMemoryIsMutable();
            memory_.add(value);
            onChanged();
          } else {
            memoryBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder addMemory(
            int index, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed value) {
          if (memoryBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureMemoryIsMutable();
            memory_.add(index, value);
            onChanged();
          } else {
            memoryBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder addMemory(
            com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder builderForValue) {
          if (memoryBuilder_ == null) {
            ensureMemoryIsMutable();
            memory_.add(builderForValue.build());
            onChanged();
          } else {
            memoryBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder addMemory(
            int index, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder builderForValue) {
          if (memoryBuilder_ == null) {
            ensureMemoryIsMutable();
            memory_.add(index, builderForValue.build());
            onChanged();
          } else {
            memoryBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder addAllMemory(
            java.lang.Iterable<? extends com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed> values) {
          if (memoryBuilder_ == null) {
            ensureMemoryIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, memory_);
            onChanged();
          } else {
            memoryBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder clearMemory() {
          if (memoryBuilder_ == null) {
            memory_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000020);
            onChanged();
          } else {
            memoryBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public Builder removeMemory(int index) {
          if (memoryBuilder_ == null) {
            ensureMemoryIsMutable();
            memory_.remove(index);
            onChanged();
          } else {
            memoryBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder getMemoryBuilder(
            int index) {
          return getMemoryFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder getMemoryOrBuilder(
            int index) {
          if (memoryBuilder_ == null) {
            return memory_.get(index);  } else {
            return memoryBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder> 
             getMemoryOrBuilderList() {
          if (memoryBuilder_ != null) {
            return memoryBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(memory_);
          }
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder addMemoryBuilder() {
          return getMemoryFieldBuilder().addBuilder(
              com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder addMemoryBuilder(
            int index) {
          return getMemoryFieldBuilder().addBuilder(
              index, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.AllocatorMemoryUsed memory = 6;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder> 
             getMemoryBuilderList() {
          return getMemoryFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder> 
            getMemoryFieldBuilder() {
          if (memoryBuilder_ == null) {
            memoryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsed.Builder, com.tencent.angel.core.stats.StepStatsProtos.AllocatorMemoryUsedOrBuilder>(
                    memory_,
                    ((bitField0_ & 0x00000020) == 0x00000020),
                    getParentForChildren(),
                    isClean());
            memory_ = null;
          }
          return memoryBuilder_;
        }
  
        private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeOutput> output_ =
          java.util.Collections.emptyList();
        private void ensureOutputIsMutable() {
          if (!((bitField0_ & 0x00000040) == 0x00000040)) {
            output_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.NodeOutput>(output_);
            bitField0_ |= 0x00000040;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.NodeOutput, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder, com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder> outputBuilder_;
  
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeOutput> getOutputList() {
          if (outputBuilder_ == null) {
            return java.util.Collections.unmodifiableList(output_);
          } else {
            return outputBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public int getOutputCount() {
          if (outputBuilder_ == null) {
            return output_.size();
          } else {
            return outputBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput getOutput(int index) {
          if (outputBuilder_ == null) {
            return output_.get(index);
          } else {
            return outputBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder setOutput(
            int index, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput value) {
          if (outputBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureOutputIsMutable();
            output_.set(index, value);
            onChanged();
          } else {
            outputBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder setOutput(
            int index, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder builderForValue) {
          if (outputBuilder_ == null) {
            ensureOutputIsMutable();
            output_.set(index, builderForValue.build());
            onChanged();
          } else {
            outputBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder addOutput(com.tencent.angel.core.stats.StepStatsProtos.NodeOutput value) {
          if (outputBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureOutputIsMutable();
            output_.add(value);
            onChanged();
          } else {
            outputBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder addOutput(
            int index, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput value) {
          if (outputBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureOutputIsMutable();
            output_.add(index, value);
            onChanged();
          } else {
            outputBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder addOutput(
            com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder builderForValue) {
          if (outputBuilder_ == null) {
            ensureOutputIsMutable();
            output_.add(builderForValue.build());
            onChanged();
          } else {
            outputBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder addOutput(
            int index, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder builderForValue) {
          if (outputBuilder_ == null) {
            ensureOutputIsMutable();
            output_.add(index, builderForValue.build());
            onChanged();
          } else {
            outputBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder addAllOutput(
            java.lang.Iterable<? extends com.tencent.angel.core.stats.StepStatsProtos.NodeOutput> values) {
          if (outputBuilder_ == null) {
            ensureOutputIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, output_);
            onChanged();
          } else {
            outputBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder clearOutput() {
          if (outputBuilder_ == null) {
            output_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000040);
            onChanged();
          } else {
            outputBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public Builder removeOutput(int index) {
          if (outputBuilder_ == null) {
            ensureOutputIsMutable();
            output_.remove(index);
            onChanged();
          } else {
            outputBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder getOutputBuilder(
            int index) {
          return getOutputFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder getOutputOrBuilder(
            int index) {
          if (outputBuilder_ == null) {
            return output_.get(index);  } else {
            return outputBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder> 
             getOutputOrBuilderList() {
          if (outputBuilder_ != null) {
            return outputBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(output_);
          }
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder addOutputBuilder() {
          return getOutputFieldBuilder().addBuilder(
              com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder addOutputBuilder(
            int index) {
          return getOutputFieldBuilder().addBuilder(
              index, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.NodeOutput output = 7;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder> 
             getOutputBuilderList() {
          return getOutputFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.NodeOutput, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder, com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder> 
            getOutputFieldBuilder() {
          if (outputBuilder_ == null) {
            outputBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.core.stats.StepStatsProtos.NodeOutput, com.tencent.angel.core.stats.StepStatsProtos.NodeOutput.Builder, com.tencent.angel.core.stats.StepStatsProtos.NodeOutputOrBuilder>(
                    output_,
                    ((bitField0_ & 0x00000040) == 0x00000040),
                    getParentForChildren(),
                    isClean());
            output_ = null;
          }
          return outputBuilder_;
        }
  
        private java.lang.Object timelineLabel_ = "";
        /**
         * <code>string timeline_label = 8;</code>
         */
        public java.lang.String getTimelineLabel() {
          java.lang.Object ref = timelineLabel_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            timelineLabel_ = s;
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <code>string timeline_label = 8;</code>
         */
        public com.google.protobuf.ByteString
            getTimelineLabelBytes() {
          java.lang.Object ref = timelineLabel_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            timelineLabel_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * <code>string timeline_label = 8;</code>
         */
        public Builder setTimelineLabel(
            java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    
          timelineLabel_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>string timeline_label = 8;</code>
         */
        public Builder clearTimelineLabel() {
          
          timelineLabel_ = getDefaultInstance().getTimelineLabel();
          onChanged();
          return this;
        }
        /**
         * <code>string timeline_label = 8;</code>
         */
        public Builder setTimelineLabelBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    checkByteStringIsUtf8(value);
          
          timelineLabel_ = value;
          onChanged();
          return this;
        }
  
        private long scheduledMicros_ ;
        /**
         * <code>int64 scheduled_micros = 9;</code>
         */
        public long getScheduledMicros() {
          return scheduledMicros_;
        }
        /**
         * <code>int64 scheduled_micros = 9;</code>
         */
        public Builder setScheduledMicros(long value) {
          
          scheduledMicros_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 scheduled_micros = 9;</code>
         */
        public Builder clearScheduledMicros() {
          
          scheduledMicros_ = 0L;
          onChanged();
          return this;
        }
  
        private int threadId_ ;
        /**
         * <code>uint32 thread_id = 10;</code>
         */
        public int getThreadId() {
          return threadId_;
        }
        /**
         * <code>uint32 thread_id = 10;</code>
         */
        public Builder setThreadId(int value) {
          
          threadId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 thread_id = 10;</code>
         */
        public Builder clearThreadId() {
          
          threadId_ = 0;
          onChanged();
          return this;
        }
  
        private java.util.List<com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription> referencedTensor_ =
          java.util.Collections.emptyList();
        private void ensureReferencedTensorIsMutable() {
          if (!((bitField0_ & 0x00000400) == 0x00000400)) {
            referencedTensor_ = new java.util.ArrayList<com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription>(referencedTensor_);
            bitField0_ |= 0x00000400;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder> referencedTensorBuilder_;
  
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription> getReferencedTensorList() {
          if (referencedTensorBuilder_ == null) {
            return java.util.Collections.unmodifiableList(referencedTensor_);
          } else {
            return referencedTensorBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public int getReferencedTensorCount() {
          if (referencedTensorBuilder_ == null) {
            return referencedTensor_.size();
          } else {
            return referencedTensorBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription getReferencedTensor(int index) {
          if (referencedTensorBuilder_ == null) {
            return referencedTensor_.get(index);
          } else {
            return referencedTensorBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder setReferencedTensor(
            int index, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription value) {
          if (referencedTensorBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureReferencedTensorIsMutable();
            referencedTensor_.set(index, value);
            onChanged();
          } else {
            referencedTensorBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder setReferencedTensor(
            int index, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder builderForValue) {
          if (referencedTensorBuilder_ == null) {
            ensureReferencedTensorIsMutable();
            referencedTensor_.set(index, builderForValue.build());
            onChanged();
          } else {
            referencedTensorBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder addReferencedTensor(com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription value) {
          if (referencedTensorBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureReferencedTensorIsMutable();
            referencedTensor_.add(value);
            onChanged();
          } else {
            referencedTensorBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder addReferencedTensor(
            int index, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription value) {
          if (referencedTensorBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureReferencedTensorIsMutable();
            referencedTensor_.add(index, value);
            onChanged();
          } else {
            referencedTensorBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder addReferencedTensor(
            com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder builderForValue) {
          if (referencedTensorBuilder_ == null) {
            ensureReferencedTensorIsMutable();
            referencedTensor_.add(builderForValue.build());
            onChanged();
          } else {
            referencedTensorBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder addReferencedTensor(
            int index, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder builderForValue) {
          if (referencedTensorBuilder_ == null) {
            ensureReferencedTensorIsMutable();
            referencedTensor_.add(index, builderForValue.build());
            onChanged();
          } else {
            referencedTensorBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder addAllReferencedTensor(
            java.lang.Iterable<? extends com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription> values) {
          if (referencedTensorBuilder_ == null) {
            ensureReferencedTensorIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, referencedTensor_);
            onChanged();
          } else {
            referencedTensorBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder clearReferencedTensor() {
          if (referencedTensorBuilder_ == null) {
            referencedTensor_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000400);
            onChanged();
          } else {
            referencedTensorBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public Builder removeReferencedTensor(int index) {
          if (referencedTensorBuilder_ == null) {
            ensureReferencedTensorIsMutable();
            referencedTensor_.remove(index);
            onChanged();
          } else {
            referencedTensorBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder getReferencedTensorBuilder(
            int index) {
          return getReferencedTensorFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder getReferencedTensorOrBuilder(
            int index) {
          if (referencedTensorBuilder_ == null) {
            return referencedTensor_.get(index);  } else {
            return referencedTensorBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public java.util.List<? extends com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder> 
             getReferencedTensorOrBuilderList() {
          if (referencedTensorBuilder_ != null) {
            return referencedTensorBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(referencedTensor_);
          }
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder addReferencedTensorBuilder() {
          return getReferencedTensorFieldBuilder().addBuilder(
              com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder addReferencedTensorBuilder(
            int index) {
          return getReferencedTensorFieldBuilder().addBuilder(
              index, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.AllocationDescription referenced_tensor = 11;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder> 
             getReferencedTensorBuilderList() {
          return getReferencedTensorFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder> 
            getReferencedTensorFieldBuilder() {
          if (referencedTensorBuilder_ == null) {
            referencedTensorBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescription.Builder, com.tencent.angel.core.stats.AllocationDescriptionProtos.AllocationDescriptionOrBuilder>(
                    referencedTensor_,
                    ((bitField0_ & 0x00000400) == 0x00000400),
                    getParentForChildren(),
                    isClean());
            referencedTensor_ = null;
          }
          return referencedTensorBuilder_;
        }
  
        private com.tencent.angel.core.stats.StepStatsProtos.MemoryStats memoryStats_ = null;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.MemoryStats, com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.MemoryStatsOrBuilder> memoryStatsBuilder_;
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        public boolean hasMemoryStats() {
          return memoryStatsBuilder_ != null || memoryStats_ != null;
        }
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.MemoryStats getMemoryStats() {
          if (memoryStatsBuilder_ == null) {
            return memoryStats_ == null ? com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.getDefaultInstance() : memoryStats_;
          } else {
            return memoryStatsBuilder_.getMessage();
          }
        }
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        public Builder setMemoryStats(com.tencent.angel.core.stats.StepStatsProtos.MemoryStats value) {
          if (memoryStatsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            memoryStats_ = value;
            onChanged();
          } else {
            memoryStatsBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        public Builder setMemoryStats(
            com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.Builder builderForValue) {
          if (memoryStatsBuilder_ == null) {
            memoryStats_ = builderForValue.build();
            onChanged();
          } else {
            memoryStatsBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        public Builder mergeMemoryStats(com.tencent.angel.core.stats.StepStatsProtos.MemoryStats value) {
          if (memoryStatsBuilder_ == null) {
            if (memoryStats_ != null) {
              memoryStats_ =
                com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.newBuilder(memoryStats_).mergeFrom(value).buildPartial();
            } else {
              memoryStats_ = value;
            }
            onChanged();
          } else {
            memoryStatsBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        public Builder clearMemoryStats() {
          if (memoryStatsBuilder_ == null) {
            memoryStats_ = null;
            onChanged();
          } else {
            memoryStats_ = null;
            memoryStatsBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.Builder getMemoryStatsBuilder() {
          
          onChanged();
          return getMemoryStatsFieldBuilder().getBuilder();
        }
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.MemoryStatsOrBuilder getMemoryStatsOrBuilder() {
          if (memoryStatsBuilder_ != null) {
            return memoryStatsBuilder_.getMessageOrBuilder();
          } else {
            return memoryStats_ == null ?
                com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.getDefaultInstance() : memoryStats_;
          }
        }
        /**
         * <code>.angel.MemoryStats memory_stats = 12;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.MemoryStats, com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.MemoryStatsOrBuilder> 
            getMemoryStatsFieldBuilder() {
          if (memoryStatsBuilder_ == null) {
            memoryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.tencent.angel.core.stats.StepStatsProtos.MemoryStats, com.tencent.angel.core.stats.StepStatsProtos.MemoryStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.MemoryStatsOrBuilder>(
                    getMemoryStats(),
                    getParentForChildren(),
                    isClean());
            memoryStats_ = null;
          }
          return memoryStatsBuilder_;
        }
  
        private long allStartNanos_ ;
        /**
         * <code>int64 all_start_nanos = 13;</code>
         */
        public long getAllStartNanos() {
          return allStartNanos_;
        }
        /**
         * <code>int64 all_start_nanos = 13;</code>
         */
        public Builder setAllStartNanos(long value) {
          
          allStartNanos_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 all_start_nanos = 13;</code>
         */
        public Builder clearAllStartNanos() {
          
          allStartNanos_ = 0L;
          onChanged();
          return this;
        }
  
        private long opStartRelNanos_ ;
        /**
         * <code>int64 op_start_rel_nanos = 14;</code>
         */
        public long getOpStartRelNanos() {
          return opStartRelNanos_;
        }
        /**
         * <code>int64 op_start_rel_nanos = 14;</code>
         */
        public Builder setOpStartRelNanos(long value) {
          
          opStartRelNanos_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 op_start_rel_nanos = 14;</code>
         */
        public Builder clearOpStartRelNanos() {
          
          opStartRelNanos_ = 0L;
          onChanged();
          return this;
        }
  
        private long opEndRelNanos_ ;
        /**
         * <code>int64 op_end_rel_nanos = 15;</code>
         */
        public long getOpEndRelNanos() {
          return opEndRelNanos_;
        }
        /**
         * <code>int64 op_end_rel_nanos = 15;</code>
         */
        public Builder setOpEndRelNanos(long value) {
          
          opEndRelNanos_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 op_end_rel_nanos = 15;</code>
         */
        public Builder clearOpEndRelNanos() {
          
          opEndRelNanos_ = 0L;
          onChanged();
          return this;
        }
  
        private long allEndRelNanos_ ;
        /**
         * <code>int64 all_end_rel_nanos = 16;</code>
         */
        public long getAllEndRelNanos() {
          return allEndRelNanos_;
        }
        /**
         * <code>int64 all_end_rel_nanos = 16;</code>
         */
        public Builder setAllEndRelNanos(long value) {
          
          allEndRelNanos_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 all_end_rel_nanos = 16;</code>
         */
        public Builder clearAllEndRelNanos() {
          
          allEndRelNanos_ = 0L;
          onChanged();
          return this;
        }
  
        private long scheduledNanos_ ;
        /**
         * <code>int64 scheduled_nanos = 17;</code>
         */
        public long getScheduledNanos() {
          return scheduledNanos_;
        }
        /**
         * <code>int64 scheduled_nanos = 17;</code>
         */
        public Builder setScheduledNanos(long value) {
          
          scheduledNanos_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int64 scheduled_nanos = 17;</code>
         */
        public Builder clearScheduledNanos() {
          
          scheduledNanos_ = 0L;
          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.NodeExecStats)
      }
  
      // @@protoc_insertion_point(class_scope:angel.NodeExecStats)
      private static final com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats();
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<NodeExecStats>
          PARSER = new com.google.protobuf.AbstractParser<NodeExecStats>() {
        public NodeExecStats parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new NodeExecStats(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<NodeExecStats> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<NodeExecStats> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface DeviceStepStatsOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.DeviceStepStats)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>string device = 1;</code>
       */
      java.lang.String getDevice();
      /**
       * <code>string device = 1;</code>
       */
      com.google.protobuf.ByteString
          getDeviceBytes();
  
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats> 
          getNodeStatsList();
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats getNodeStats(int index);
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      int getNodeStatsCount();
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder> 
          getNodeStatsOrBuilderList();
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder getNodeStatsOrBuilder(
          int index);
    }
    /**
     * Protobuf type {@code angel.DeviceStepStats}
     */
    public  static final class DeviceStepStats extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.DeviceStepStats)
        DeviceStepStatsOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use DeviceStepStats.newBuilder() to construct.
      private DeviceStepStats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private DeviceStepStats() {
        device_ = "";
        nodeStats_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private DeviceStepStats(
          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: {
                java.lang.String s = input.readStringRequireUtf8();
  
                device_ = s;
                break;
              }
              case 18: {
                if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                  nodeStats_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats>();
                  mutable_bitField0_ |= 0x00000002;
                }
                nodeStats_.add(
                    input.readMessage(com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.parser(), extensionRegistry));
                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)) {
            nodeStats_ = java.util.Collections.unmodifiableList(nodeStats_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_DeviceStepStats_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_DeviceStepStats_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.class, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder.class);
      }
  
      private int bitField0_;
      public static final int DEVICE_FIELD_NUMBER = 1;
      private volatile java.lang.Object device_;
      /**
       * <code>string device = 1;</code>
       */
      public java.lang.String getDevice() {
        java.lang.Object ref = device_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = 
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          device_ = s;
          return s;
        }
      }
      /**
       * <code>string device = 1;</code>
       */
      public com.google.protobuf.ByteString
          getDeviceBytes() {
        java.lang.Object ref = device_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          device_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
  
      public static final int NODE_STATS_FIELD_NUMBER = 2;
      private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats> nodeStats_;
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats> getNodeStatsList() {
        return nodeStats_;
      }
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder> 
          getNodeStatsOrBuilderList() {
        return nodeStats_;
      }
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      public int getNodeStatsCount() {
        return nodeStats_.size();
      }
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats getNodeStats(int index) {
        return nodeStats_.get(index);
      }
      /**
       * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder getNodeStatsOrBuilder(
          int index) {
        return nodeStats_.get(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 (!getDeviceBytes().isEmpty()) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, device_);
        }
        for (int i = 0; i < nodeStats_.size(); i++) {
          output.writeMessage(2, nodeStats_.get(i));
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (!getDeviceBytes().isEmpty()) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, device_);
        }
        for (int i = 0; i < nodeStats_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, nodeStats_.get(i));
        }
        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.core.stats.StepStatsProtos.DeviceStepStats)) {
          return super.equals(obj);
        }
        com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats other = (com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats) obj;
  
        boolean result = true;
        result = result && getDevice()
            .equals(other.getDevice());
        result = result && getNodeStatsList()
            .equals(other.getNodeStatsList());
        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();
        hash = (37 * hash) + DEVICE_FIELD_NUMBER;
        hash = (53 * hash) + getDevice().hashCode();
        if (getNodeStatsCount() > 0) {
          hash = (37 * hash) + NODE_STATS_FIELD_NUMBER;
          hash = (53 * hash) + getNodeStatsList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats 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.core.stats.StepStatsProtos.DeviceStepStats parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats 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.core.stats.StepStatsProtos.DeviceStepStats parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats 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.core.stats.StepStatsProtos.DeviceStepStats parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats 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.core.stats.StepStatsProtos.DeviceStepStats parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats 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.core.stats.StepStatsProtos.DeviceStepStats 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.DeviceStepStats}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.DeviceStepStats)
          com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_DeviceStepStats_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_DeviceStepStats_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.class, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder.class);
        }
  
        // Construct using com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getNodeStatsFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          device_ = "";
  
          if (nodeStatsBuilder_ == null) {
            nodeStats_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            nodeStatsBuilder_.clear();
          }
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_DeviceStepStats_descriptor;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats getDefaultInstanceForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.getDefaultInstance();
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats build() {
          com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats buildPartial() {
          com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats result = new com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          result.device_ = device_;
          if (nodeStatsBuilder_ == null) {
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
              nodeStats_ = java.util.Collections.unmodifiableList(nodeStats_);
              bitField0_ = (bitField0_ & ~0x00000002);
            }
            result.nodeStats_ = nodeStats_;
          } else {
            result.nodeStats_ = nodeStatsBuilder_.build();
          }
          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.core.stats.StepStatsProtos.DeviceStepStats) {
            return mergeFrom((com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats other) {
          if (other == com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.getDefaultInstance()) return this;
          if (!other.getDevice().isEmpty()) {
            device_ = other.device_;
            onChanged();
          }
          if (nodeStatsBuilder_ == null) {
            if (!other.nodeStats_.isEmpty()) {
              if (nodeStats_.isEmpty()) {
                nodeStats_ = other.nodeStats_;
                bitField0_ = (bitField0_ & ~0x00000002);
              } else {
                ensureNodeStatsIsMutable();
                nodeStats_.addAll(other.nodeStats_);
              }
              onChanged();
            }
          } else {
            if (!other.nodeStats_.isEmpty()) {
              if (nodeStatsBuilder_.isEmpty()) {
                nodeStatsBuilder_.dispose();
                nodeStatsBuilder_ = null;
                nodeStats_ = other.nodeStats_;
                bitField0_ = (bitField0_ & ~0x00000002);
                nodeStatsBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getNodeStatsFieldBuilder() : null;
              } else {
                nodeStatsBuilder_.addAllMessages(other.nodeStats_);
              }
            }
          }
          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.core.stats.StepStatsProtos.DeviceStepStats parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.lang.Object device_ = "";
        /**
         * <code>string device = 1;</code>
         */
        public java.lang.String getDevice() {
          java.lang.Object ref = device_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            device_ = s;
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <code>string device = 1;</code>
         */
        public com.google.protobuf.ByteString
            getDeviceBytes() {
          java.lang.Object ref = device_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            device_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * <code>string device = 1;</code>
         */
        public Builder setDevice(
            java.lang.String value) {
          if (value == null) {
      throw new NullPointerException();
    }
    
          device_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>string device = 1;</code>
         */
        public Builder clearDevice() {
          
          device_ = getDefaultInstance().getDevice();
          onChanged();
          return this;
        }
        /**
         * <code>string device = 1;</code>
         */
        public Builder setDeviceBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
      throw new NullPointerException();
    }
    checkByteStringIsUtf8(value);
          
          device_ = value;
          onChanged();
          return this;
        }
  
        private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats> nodeStats_ =
          java.util.Collections.emptyList();
        private void ensureNodeStatsIsMutable() {
          if (!((bitField0_ & 0x00000002) == 0x00000002)) {
            nodeStats_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats>(nodeStats_);
            bitField0_ |= 0x00000002;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder> nodeStatsBuilder_;
  
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats> getNodeStatsList() {
          if (nodeStatsBuilder_ == null) {
            return java.util.Collections.unmodifiableList(nodeStats_);
          } else {
            return nodeStatsBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public int getNodeStatsCount() {
          if (nodeStatsBuilder_ == null) {
            return nodeStats_.size();
          } else {
            return nodeStatsBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats getNodeStats(int index) {
          if (nodeStatsBuilder_ == null) {
            return nodeStats_.get(index);
          } else {
            return nodeStatsBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder setNodeStats(
            int index, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats value) {
          if (nodeStatsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureNodeStatsIsMutable();
            nodeStats_.set(index, value);
            onChanged();
          } else {
            nodeStatsBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder setNodeStats(
            int index, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder builderForValue) {
          if (nodeStatsBuilder_ == null) {
            ensureNodeStatsIsMutable();
            nodeStats_.set(index, builderForValue.build());
            onChanged();
          } else {
            nodeStatsBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder addNodeStats(com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats value) {
          if (nodeStatsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureNodeStatsIsMutable();
            nodeStats_.add(value);
            onChanged();
          } else {
            nodeStatsBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder addNodeStats(
            int index, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats value) {
          if (nodeStatsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureNodeStatsIsMutable();
            nodeStats_.add(index, value);
            onChanged();
          } else {
            nodeStatsBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder addNodeStats(
            com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder builderForValue) {
          if (nodeStatsBuilder_ == null) {
            ensureNodeStatsIsMutable();
            nodeStats_.add(builderForValue.build());
            onChanged();
          } else {
            nodeStatsBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder addNodeStats(
            int index, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder builderForValue) {
          if (nodeStatsBuilder_ == null) {
            ensureNodeStatsIsMutable();
            nodeStats_.add(index, builderForValue.build());
            onChanged();
          } else {
            nodeStatsBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder addAllNodeStats(
            java.lang.Iterable<? extends com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats> values) {
          if (nodeStatsBuilder_ == null) {
            ensureNodeStatsIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, nodeStats_);
            onChanged();
          } else {
            nodeStatsBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder clearNodeStats() {
          if (nodeStatsBuilder_ == null) {
            nodeStats_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
            onChanged();
          } else {
            nodeStatsBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public Builder removeNodeStats(int index) {
          if (nodeStatsBuilder_ == null) {
            ensureNodeStatsIsMutable();
            nodeStats_.remove(index);
            onChanged();
          } else {
            nodeStatsBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder getNodeStatsBuilder(
            int index) {
          return getNodeStatsFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder getNodeStatsOrBuilder(
            int index) {
          if (nodeStatsBuilder_ == null) {
            return nodeStats_.get(index);  } else {
            return nodeStatsBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder> 
             getNodeStatsOrBuilderList() {
          if (nodeStatsBuilder_ != null) {
            return nodeStatsBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(nodeStats_);
          }
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder addNodeStatsBuilder() {
          return getNodeStatsFieldBuilder().addBuilder(
              com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder addNodeStatsBuilder(
            int index) {
          return getNodeStatsFieldBuilder().addBuilder(
              index, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.NodeExecStats node_stats = 2;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder> 
             getNodeStatsBuilderList() {
          return getNodeStatsFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder> 
            getNodeStatsFieldBuilder() {
          if (nodeStatsBuilder_ == null) {
            nodeStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.NodeExecStatsOrBuilder>(
                    nodeStats_,
                    ((bitField0_ & 0x00000002) == 0x00000002),
                    getParentForChildren(),
                    isClean());
            nodeStats_ = null;
          }
          return nodeStatsBuilder_;
        }
        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.DeviceStepStats)
      }
  
      // @@protoc_insertion_point(class_scope:angel.DeviceStepStats)
      private static final com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats();
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<DeviceStepStats>
          PARSER = new com.google.protobuf.AbstractParser<DeviceStepStats>() {
        public DeviceStepStats parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new DeviceStepStats(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<DeviceStepStats> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<DeviceStepStats> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    public interface StepStatsOrBuilder extends
        // @@protoc_insertion_point(interface_extends:angel.StepStats)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      java.util.List<com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats> 
          getDevStatsList();
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats getDevStats(int index);
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      int getDevStatsCount();
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder> 
          getDevStatsOrBuilderList();
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder getDevStatsOrBuilder(
          int index);
    }
    /**
     * Protobuf type {@code angel.StepStats}
     */
    public  static final class StepStats extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:angel.StepStats)
        StepStatsOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use StepStats.newBuilder() to construct.
      private StepStats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private StepStats() {
        devStats_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private StepStats(
          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)) {
                  devStats_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats>();
                  mutable_bitField0_ |= 0x00000001;
                }
                devStats_.add(
                    input.readMessage(com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.parser(), extensionRegistry));
                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_ & 0x00000001) == 0x00000001)) {
            devStats_ = java.util.Collections.unmodifiableList(devStats_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_StepStats_descriptor;
      }
  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_StepStats_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.tencent.angel.core.stats.StepStatsProtos.StepStats.class, com.tencent.angel.core.stats.StepStatsProtos.StepStats.Builder.class);
      }
  
      public static final int DEV_STATS_FIELD_NUMBER = 1;
      private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats> devStats_;
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats> getDevStatsList() {
        return devStats_;
      }
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder> 
          getDevStatsOrBuilderList() {
        return devStats_;
      }
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      public int getDevStatsCount() {
        return devStats_.size();
      }
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats getDevStats(int index) {
        return devStats_.get(index);
      }
      /**
       * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
       */
      public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder getDevStatsOrBuilder(
          int index) {
        return devStats_.get(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 {
        for (int i = 0; i < devStats_.size(); i++) {
          output.writeMessage(1, devStats_.get(i));
        }
        unknownFields.writeTo(output);
      }
  
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        for (int i = 0; i < devStats_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, devStats_.get(i));
        }
        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.core.stats.StepStatsProtos.StepStats)) {
          return super.equals(obj);
        }
        com.tencent.angel.core.stats.StepStatsProtos.StepStats other = (com.tencent.angel.core.stats.StepStatsProtos.StepStats) obj;
  
        boolean result = true;
        result = result && getDevStatsList()
            .equals(other.getDevStatsList());
        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 (getDevStatsCount() > 0) {
          hash = (37 * hash) + DEV_STATS_FIELD_NUMBER;
          hash = (53 * hash) + getDevStatsList().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats 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.core.stats.StepStatsProtos.StepStats parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats 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.core.stats.StepStatsProtos.StepStats parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats 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.core.stats.StepStatsProtos.StepStats parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats 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.core.stats.StepStatsProtos.StepStats parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats 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.core.stats.StepStatsProtos.StepStats 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.StepStats}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:angel.StepStats)
          com.tencent.angel.core.stats.StepStatsProtos.StepStatsOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_StepStats_descriptor;
        }
  
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_StepStats_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.tencent.angel.core.stats.StepStatsProtos.StepStats.class, com.tencent.angel.core.stats.StepStatsProtos.StepStats.Builder.class);
        }
  
        // Construct using com.tencent.angel.core.stats.StepStatsProtos.StepStats.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getDevStatsFieldBuilder();
          }
        }
        public Builder clear() {
          super.clear();
          if (devStatsBuilder_ == null) {
            devStats_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            devStatsBuilder_.clear();
          }
          return this;
        }
  
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.internal_static_angel_StepStats_descriptor;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.StepStats getDefaultInstanceForType() {
          return com.tencent.angel.core.stats.StepStatsProtos.StepStats.getDefaultInstance();
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.StepStats build() {
          com.tencent.angel.core.stats.StepStatsProtos.StepStats result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        public com.tencent.angel.core.stats.StepStatsProtos.StepStats buildPartial() {
          com.tencent.angel.core.stats.StepStatsProtos.StepStats result = new com.tencent.angel.core.stats.StepStatsProtos.StepStats(this);
          int from_bitField0_ = bitField0_;
          if (devStatsBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
              devStats_ = java.util.Collections.unmodifiableList(devStats_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.devStats_ = devStats_;
          } else {
            result.devStats_ = devStatsBuilder_.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.core.stats.StepStatsProtos.StepStats) {
            return mergeFrom((com.tencent.angel.core.stats.StepStatsProtos.StepStats)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(com.tencent.angel.core.stats.StepStatsProtos.StepStats other) {
          if (other == com.tencent.angel.core.stats.StepStatsProtos.StepStats.getDefaultInstance()) return this;
          if (devStatsBuilder_ == null) {
            if (!other.devStats_.isEmpty()) {
              if (devStats_.isEmpty()) {
                devStats_ = other.devStats_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureDevStatsIsMutable();
                devStats_.addAll(other.devStats_);
              }
              onChanged();
            }
          } else {
            if (!other.devStats_.isEmpty()) {
              if (devStatsBuilder_.isEmpty()) {
                devStatsBuilder_.dispose();
                devStatsBuilder_ = null;
                devStats_ = other.devStats_;
                bitField0_ = (bitField0_ & ~0x00000001);
                devStatsBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getDevStatsFieldBuilder() : null;
              } else {
                devStatsBuilder_.addAllMessages(other.devStats_);
              }
            }
          }
          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.core.stats.StepStatsProtos.StepStats parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.tencent.angel.core.stats.StepStatsProtos.StepStats) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private java.util.List<com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats> devStats_ =
          java.util.Collections.emptyList();
        private void ensureDevStatsIsMutable() {
          if (!((bitField0_ & 0x00000001) == 0x00000001)) {
            devStats_ = new java.util.ArrayList<com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats>(devStats_);
            bitField0_ |= 0x00000001;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder> devStatsBuilder_;
  
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats> getDevStatsList() {
          if (devStatsBuilder_ == null) {
            return java.util.Collections.unmodifiableList(devStats_);
          } else {
            return devStatsBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public int getDevStatsCount() {
          if (devStatsBuilder_ == null) {
            return devStats_.size();
          } else {
            return devStatsBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats getDevStats(int index) {
          if (devStatsBuilder_ == null) {
            return devStats_.get(index);
          } else {
            return devStatsBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder setDevStats(
            int index, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats value) {
          if (devStatsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureDevStatsIsMutable();
            devStats_.set(index, value);
            onChanged();
          } else {
            devStatsBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder setDevStats(
            int index, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder builderForValue) {
          if (devStatsBuilder_ == null) {
            ensureDevStatsIsMutable();
            devStats_.set(index, builderForValue.build());
            onChanged();
          } else {
            devStatsBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder addDevStats(com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats value) {
          if (devStatsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureDevStatsIsMutable();
            devStats_.add(value);
            onChanged();
          } else {
            devStatsBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder addDevStats(
            int index, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats value) {
          if (devStatsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureDevStatsIsMutable();
            devStats_.add(index, value);
            onChanged();
          } else {
            devStatsBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder addDevStats(
            com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder builderForValue) {
          if (devStatsBuilder_ == null) {
            ensureDevStatsIsMutable();
            devStats_.add(builderForValue.build());
            onChanged();
          } else {
            devStatsBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder addDevStats(
            int index, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder builderForValue) {
          if (devStatsBuilder_ == null) {
            ensureDevStatsIsMutable();
            devStats_.add(index, builderForValue.build());
            onChanged();
          } else {
            devStatsBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder addAllDevStats(
            java.lang.Iterable<? extends com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats> values) {
          if (devStatsBuilder_ == null) {
            ensureDevStatsIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, devStats_);
            onChanged();
          } else {
            devStatsBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder clearDevStats() {
          if (devStatsBuilder_ == null) {
            devStats_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            devStatsBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public Builder removeDevStats(int index) {
          if (devStatsBuilder_ == null) {
            ensureDevStatsIsMutable();
            devStats_.remove(index);
            onChanged();
          } else {
            devStatsBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder getDevStatsBuilder(
            int index) {
          return getDevStatsFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder getDevStatsOrBuilder(
            int index) {
          if (devStatsBuilder_ == null) {
            return devStats_.get(index);  } else {
            return devStatsBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public java.util.List<? extends com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder> 
             getDevStatsOrBuilderList() {
          if (devStatsBuilder_ != null) {
            return devStatsBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(devStats_);
          }
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder addDevStatsBuilder() {
          return getDevStatsFieldBuilder().addBuilder(
              com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder addDevStatsBuilder(
            int index) {
          return getDevStatsFieldBuilder().addBuilder(
              index, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.getDefaultInstance());
        }
        /**
         * <code>repeated .angel.DeviceStepStats dev_stats = 1;</code>
         */
        public java.util.List<com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder> 
             getDevStatsBuilderList() {
          return getDevStatsFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder> 
            getDevStatsFieldBuilder() {
          if (devStatsBuilder_ == null) {
            devStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStats.Builder, com.tencent.angel.core.stats.StepStatsProtos.DeviceStepStatsOrBuilder>(
                    devStats_,
                    ((bitField0_ & 0x00000001) == 0x00000001),
                    getParentForChildren(),
                    isClean());
            devStats_ = null;
          }
          return devStatsBuilder_;
        }
        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.StepStats)
      }
  
      // @@protoc_insertion_point(class_scope:angel.StepStats)
      private static final com.tencent.angel.core.stats.StepStatsProtos.StepStats DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.tencent.angel.core.stats.StepStatsProtos.StepStats();
      }
  
      public static com.tencent.angel.core.stats.StepStatsProtos.StepStats getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<StepStats>
          PARSER = new com.google.protobuf.AbstractParser<StepStats>() {
        public StepStats parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new StepStats(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<StepStats> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<StepStats> getParserForType() {
        return PARSER;
      }
  
      public com.tencent.angel.core.stats.StepStatsProtos.StepStats getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_AllocationRecord_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_AllocationRecord_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_AllocatorMemoryUsed_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_AllocatorMemoryUsed_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_NodeOutput_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_NodeOutput_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_MemoryStats_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_MemoryStats_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_NodeExecStats_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_NodeExecStats_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_DeviceStepStats_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_DeviceStepStats_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_angel_StepStats_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_angel_StepStats_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\033core/stats/step_stats.proto\022\005angel\032\'co" +
        "re/stats/allocation_description.proto\032#c" +
        "ore/stats/tensor_description.proto\"=\n\020Al" +
        "locationRecord\022\024\n\014alloc_micros\030\001 \001(\003\022\023\n\013" +
        "alloc_bytes\030\002 \001(\003\"\277\001\n\023AllocatorMemoryUse" +
        "d\022\026\n\016allocator_name\030\001 \001(\t\022\023\n\013total_bytes" +
        "\030\002 \001(\003\022\022\n\npeak_bytes\030\003 \001(\003\022\022\n\nlive_bytes" +
        "\030\004 \001(\003\0223\n\022allocation_records\030\006 \003(\0132\027.ang" +
        "el.AllocationRecord\022\036\n\026allocator_bytes_i" +
        "n_use\030\005 \001(\003\"P\n\nNodeOutput\022\014\n\004slot\030\001 \001(\005\022" +
        "4\n\022tensor_description\030\003 \001(\0132\030.angel.Tens" +
        "orDescription\"\354\001\n\013MemoryStats\022\030\n\020temp_me" +
        "mory_size\030\001 \001(\003\022\036\n\026persistent_memory_siz" +
        "e\030\003 \001(\003\022#\n\033persistent_tensor_alloc_ids\030\005" +
        " \003(\003\022#\n\027device_temp_memory_size\030\002 \001(\003B\002\030" +
        "\001\022)\n\035device_persistent_memory_size\030\004 \001(\003" +
        "B\002\030\001\022.\n\"device_persistent_tensor_alloc_i" +
        "ds\030\006 \003(\003B\002\030\001\"\212\004\n\rNodeExecStats\022\021\n\tnode_n" +
        "ame\030\001 \001(\t\022\030\n\020all_start_micros\030\002 \001(\003\022\033\n\023o" +
        "p_start_rel_micros\030\003 \001(\003\022\031\n\021op_end_rel_m" +
        "icros\030\004 \001(\003\022\032\n\022all_end_rel_micros\030\005 \001(\003\022" +
        "*\n\006memory\030\006 \003(\0132\032.angel.AllocatorMemoryU" +
        "sed\022!\n\006output\030\007 \003(\0132\021.angel.NodeOutput\022\026" +
        "\n\016timeline_label\030\010 \001(\t\022\030\n\020scheduled_micr" +
        "os\030\t \001(\003\022\021\n\tthread_id\030\n \001(\r\0227\n\021reference" +
        "d_tensor\030\013 \003(\0132\034.angel.AllocationDescrip" +
        "tion\022(\n\014memory_stats\030\014 \001(\0132\022.angel.Memor" +
        "yStats\022\027\n\017all_start_nanos\030\r \001(\003\022\032\n\022op_st" +
        "art_rel_nanos\030\016 \001(\003\022\030\n\020op_end_rel_nanos\030" +
        "\017 \001(\003\022\031\n\021all_end_rel_nanos\030\020 \001(\003\022\027\n\017sche" +
        "duled_nanos\030\021 \001(\003\"K\n\017DeviceStepStats\022\016\n\006" +
        "device\030\001 \001(\t\022(\n\nnode_stats\030\002 \003(\0132\024.angel" +
        ".NodeExecStats\"6\n\tStepStats\022)\n\tdev_stats" +
        "\030\001 \003(\0132\026.angel.DeviceStepStatsB1\n\034com.te" +
        "ncent.angel.core.statsB\017StepStatsProtosP" +
        "\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.tencent.angel.core.stats.AllocationDescriptionProtos.getDescriptor(),
            com.tencent.angel.core.stats.TensorDescriptionProtos.getDescriptor(),
          }, assigner);
      internal_static_angel_AllocationRecord_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_angel_AllocationRecord_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_AllocationRecord_descriptor,
          new java.lang.String[] { "AllocMicros", "AllocBytes", });
      internal_static_angel_AllocatorMemoryUsed_descriptor =
        getDescriptor().getMessageTypes().get(1);
      internal_static_angel_AllocatorMemoryUsed_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_AllocatorMemoryUsed_descriptor,
          new java.lang.String[] { "AllocatorName", "TotalBytes", "PeakBytes", "LiveBytes", "AllocationRecords", "AllocatorBytesInUse", });
      internal_static_angel_NodeOutput_descriptor =
        getDescriptor().getMessageTypes().get(2);
      internal_static_angel_NodeOutput_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_NodeOutput_descriptor,
          new java.lang.String[] { "Slot", "TensorDescription", });
      internal_static_angel_MemoryStats_descriptor =
        getDescriptor().getMessageTypes().get(3);
      internal_static_angel_MemoryStats_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_MemoryStats_descriptor,
          new java.lang.String[] { "TempMemorySize", "PersistentMemorySize", "PersistentTensorAllocIds", "DeviceTempMemorySize", "DevicePersistentMemorySize", "DevicePersistentTensorAllocIds", });
      internal_static_angel_NodeExecStats_descriptor =
        getDescriptor().getMessageTypes().get(4);
      internal_static_angel_NodeExecStats_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_NodeExecStats_descriptor,
          new java.lang.String[] { "NodeName", "AllStartMicros", "OpStartRelMicros", "OpEndRelMicros", "AllEndRelMicros", "Memory", "Output", "TimelineLabel", "ScheduledMicros", "ThreadId", "ReferencedTensor", "MemoryStats", "AllStartNanos", "OpStartRelNanos", "OpEndRelNanos", "AllEndRelNanos", "ScheduledNanos", });
      internal_static_angel_DeviceStepStats_descriptor =
        getDescriptor().getMessageTypes().get(5);
      internal_static_angel_DeviceStepStats_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_DeviceStepStats_descriptor,
          new java.lang.String[] { "Device", "NodeStats", });
      internal_static_angel_StepStats_descriptor =
        getDescriptor().getMessageTypes().get(6);
      internal_static_angel_StepStats_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_angel_StepStats_descriptor,
          new java.lang.String[] { "DevStats", });
      com.tencent.angel.core.stats.AllocationDescriptionProtos.getDescriptor();
      com.tencent.angel.core.stats.TensorDescriptionProtos.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  