// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/framework/step_stats.proto

package org.tensorflow.proto.framework;

public interface AllocatorMemoryUsedOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.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 .tensorflow.AllocationRecord allocation_records = 6;</code>
   */
  java.util.List<org.tensorflow.proto.framework.AllocationRecord> 
      getAllocationRecordsList();
  /**
   * <pre>
   * The allocation and deallocation timeline.
   * </pre>
   *
   * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code>
   */
  org.tensorflow.proto.framework.AllocationRecord getAllocationRecords(int index);
  /**
   * <pre>
   * The allocation and deallocation timeline.
   * </pre>
   *
   * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code>
   */
  int getAllocationRecordsCount();
  /**
   * <pre>
   * The allocation and deallocation timeline.
   * </pre>
   *
   * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code>
   */
  java.util.List<? extends org.tensorflow.proto.framework.AllocationRecordOrBuilder> 
      getAllocationRecordsOrBuilderList();
  /**
   * <pre>
   * The allocation and deallocation timeline.
   * </pre>
   *
   * <code>repeated .tensorflow.AllocationRecord allocation_records = 6;</code>
   */
  org.tensorflow.proto.framework.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();
}
