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

package org.tensorflow.proto.util;

public interface BundleEntryProtoOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.BundleEntryProto)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The tensor dtype and shape.
   * </pre>
   *
   * <code>.tensorflow.DataType dtype = 1;</code>
   */
  int getDtypeValue();
  /**
   * <pre>
   * The tensor dtype and shape.
   * </pre>
   *
   * <code>.tensorflow.DataType dtype = 1;</code>
   */
  org.tensorflow.proto.framework.DataType getDtype();

  /**
   * <code>.tensorflow.TensorShapeProto shape = 2;</code>
   */
  boolean hasShape();
  /**
   * <code>.tensorflow.TensorShapeProto shape = 2;</code>
   */
  org.tensorflow.proto.framework.TensorShapeProto getShape();
  /**
   * <code>.tensorflow.TensorShapeProto shape = 2;</code>
   */
  org.tensorflow.proto.framework.TensorShapeProtoOrBuilder getShapeOrBuilder();

  /**
   * <pre>
   * The binary content of the tensor lies in:
   *   File "shard_id": bytes [offset, offset + size).
   * </pre>
   *
   * <code>int32 shard_id = 3;</code>
   */
  int getShardId();

  /**
   * <code>int64 offset = 4;</code>
   */
  long getOffset();

  /**
   * <code>int64 size = 5;</code>
   */
  long getSize();

  /**
   * <pre>
   * The CRC32C checksum of the tensor bytes.
   * </pre>
   *
   * <code>fixed32 crc32c = 6;</code>
   */
  int getCrc32C();

  /**
   * <pre>
   * Iff present, this entry represents a partitioned tensor.  The previous
   * fields are interpreted as follows:
   *   "dtype", "shape": describe the full tensor.
   *   "shard_id", "offset", "size", "crc32c": all IGNORED.
   *      These information for each slice can be looked up in their own
   *      BundleEntryProto, keyed by each "slice_name".
   * </pre>
   *
   * <code>repeated .tensorflow.TensorSliceProto slices = 7;</code>
   */
  java.util.List<org.tensorflow.proto.framework.TensorSliceProto> 
      getSlicesList();
  /**
   * <pre>
   * Iff present, this entry represents a partitioned tensor.  The previous
   * fields are interpreted as follows:
   *   "dtype", "shape": describe the full tensor.
   *   "shard_id", "offset", "size", "crc32c": all IGNORED.
   *      These information for each slice can be looked up in their own
   *      BundleEntryProto, keyed by each "slice_name".
   * </pre>
   *
   * <code>repeated .tensorflow.TensorSliceProto slices = 7;</code>
   */
  org.tensorflow.proto.framework.TensorSliceProto getSlices(int index);
  /**
   * <pre>
   * Iff present, this entry represents a partitioned tensor.  The previous
   * fields are interpreted as follows:
   *   "dtype", "shape": describe the full tensor.
   *   "shard_id", "offset", "size", "crc32c": all IGNORED.
   *      These information for each slice can be looked up in their own
   *      BundleEntryProto, keyed by each "slice_name".
   * </pre>
   *
   * <code>repeated .tensorflow.TensorSliceProto slices = 7;</code>
   */
  int getSlicesCount();
  /**
   * <pre>
   * Iff present, this entry represents a partitioned tensor.  The previous
   * fields are interpreted as follows:
   *   "dtype", "shape": describe the full tensor.
   *   "shard_id", "offset", "size", "crc32c": all IGNORED.
   *      These information for each slice can be looked up in their own
   *      BundleEntryProto, keyed by each "slice_name".
   * </pre>
   *
   * <code>repeated .tensorflow.TensorSliceProto slices = 7;</code>
   */
  java.util.List<? extends org.tensorflow.proto.framework.TensorSliceProtoOrBuilder> 
      getSlicesOrBuilderList();
  /**
   * <pre>
   * Iff present, this entry represents a partitioned tensor.  The previous
   * fields are interpreted as follows:
   *   "dtype", "shape": describe the full tensor.
   *   "shard_id", "offset", "size", "crc32c": all IGNORED.
   *      These information for each slice can be looked up in their own
   *      BundleEntryProto, keyed by each "slice_name".
   * </pre>
   *
   * <code>repeated .tensorflow.TensorSliceProto slices = 7;</code>
   */
  org.tensorflow.proto.framework.TensorSliceProtoOrBuilder getSlicesOrBuilder(
      int index);
}
