class_docstr: A column object, with only the methods and properties required by the
  interchange protocol defined.
  
  A column can contain one or more chunks. Each chunk can contain up to three
  buffers - a data buffer, a mask buffer (depending on null representation),
  and an offsets buffer (if variable-size binary; e.g., variable-length
  strings).
  
  Note: this Column object can only be produced by ``__dataframe__``, so
        doesn't need its own version or ``__column__`` protocol.
class_docstr_tok: ["A","column","object",",","with","only","the","methods","and","properties","required","by","the","interchange","protocol","defined",".","A","column","can","contain","one","or","more","chunks",".","Each","chunk","can","contain","up","to","three","buffers","-","a","data","buffer",",","a","mask","buffer","(","depending","on","null","representation",")",",","and","an","offsets","buffer","(","if","variable-size","binary",";","e.g.",",","variable-length","strings",")",".","Note",":","this","Column","object","can","only","be","produced","by","``","__dataframe__","``",",","so","does","n't","need","its","own","version","or","``","__column__","``","protocol","."]
docstr: Return a dictionary containing the underlying buffers.
  
  The returned dictionary has the following contents:
  
      - "data": a two-element tuple whose first element is a buffer
                containing the data and whose second element is the data
                buffer's associated dtype.
      - "validity": a two-element tuple whose first element is a buffer
                    containing mask values indicating missing data and
                    whose second element is the mask value buffer's
                    associated dtype. None if the null representation is
                    not a bit or byte mask.
      - "offsets": a two-element tuple whose first element is a buffer
                   containing the offset values for variable-size binary
                   data (e.g., variable-length strings) and whose second
                   element is the offsets buffer's associated dtype. None
                   if the data buffer does not have an associated offsets
                   buffer.
code: def get_buffers(
      self,
  ) -> Mapping[str, Optional[Tuple[_CuDFBuffer, ProtoDtype]]]:
      """
      Return a dictionary containing the underlying buffers.
  
      The returned dictionary has the following contents:
  
          - "data": a two-element tuple whose first element is a buffer
                    containing the data and whose second element is the data
                    buffer's associated dtype.
          - "validity": a two-element tuple whose first element is a buffer
                        containing mask values indicating missing data and
                        whose second element is the mask value buffer's
                        associated dtype. None if the null representation is
                        not a bit or byte mask.
          - "offsets": a two-element tuple whose first element is a buffer
                       containing the offset values for variable-size binary
                       data (e.g., variable-length strings) and whose second
                       element is the offsets buffer's associated dtype. None
                       if the data buffer does not have an associated offsets
                       buffer.
      """
      buffers = {}
      try:
          buffers["validity"] = self._get_validity_buffer()
      except RuntimeError:
          buffers["validity"] = None
  
      try:
          buffers["offsets"] = self._get_offsets_buffer()
      except RuntimeError:
          buffers["offsets"] = None
  
      buffers["data"] = self._get_data_buffer()
  
      return buffers
  
imports: import enum
  from collections import abc
  from typing import Any, Dict, Iterable, Mapping, Optional, Sequence, Tuple, cast
  import cupy
  import numpy
  from numba.cuda import as_cuda_array
  import rmm
  import cudf
  from cudf.core.buffer import Buffer, as_buffer
  from cudf.core.column import as_column, build_categorical_column, build_column
label_desc: Use image node_id 12 for calling the _CuDFColumn obj's underlying member method code with example usage: obj.get_buffers() and returns: buffers