Interface Dataset.CompressedElementOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Dataset.CompressedElement, Dataset.CompressedElement.Builder
Enclosing class:
Dataset

public static interface Dataset.CompressedElementOrBuilder extends MessageOrBuilder
  • Method Details

    • getData

      ByteString getData()
      Compressed tensor bytes for all components of the element.
      
      bytes data = 1;
      Returns:
      The data.
    • getComponentMetadataList

      List<Dataset.CompressedComponentMetadata> getComponentMetadataList()
      Metadata for the components of the element.
      
      repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2;
    • getComponentMetadata

      Dataset.CompressedComponentMetadata getComponentMetadata(int index)
      Metadata for the components of the element.
      
      repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2;
    • getComponentMetadataCount

      int getComponentMetadataCount()
      Metadata for the components of the element.
      
      repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2;
    • getComponentMetadataOrBuilderList

      List<? extends Dataset.CompressedComponentMetadataOrBuilder> getComponentMetadataOrBuilderList()
      Metadata for the components of the element.
      
      repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2;
    • getComponentMetadataOrBuilder

      Dataset.CompressedComponentMetadataOrBuilder getComponentMetadataOrBuilder(int index)
      Metadata for the components of the element.
      
      repeated .tensorflow.data.CompressedComponentMetadata component_metadata = 2;
    • getVersion

      int getVersion()
      Version of the CompressedElement. CompressedElements may be stored on disk
      and read back by later versions of code, so we store a version number to
      help readers understand which version they are reading. When you add a new
      field to this proto, you need to increment kCompressedElementVersion in
      tensorflow/core/data/compression_utils.cc.
      
      int32 version = 3;
      Returns:
      The version.