// <auto-generated>
//  automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>

namespace Apache.Arrow.Flatbuf
{

internal enum SparseTensorIndex : byte
{
  NONE = 0,
  SparseTensorIndexCOO = 1,
  SparseMatrixIndexCSX = 2,
  SparseTensorIndexCSF = 3,
};



static internal class SparseTensorIndexVerify
{
  static public bool Verify(Google.FlatBuffers.Verifier verifier, byte typeId, uint tablePos)
  {
    bool result = true;
    switch((SparseTensorIndex)typeId)
    {
      case SparseTensorIndex.SparseTensorIndexCOO:
        result = SparseTensorIndexCOOVerify.Verify(verifier, tablePos);
        break;
      case SparseTensorIndex.SparseMatrixIndexCSX:
        result = SparseMatrixIndexCSXVerify.Verify(verifier, tablePos);
        break;
      case SparseTensorIndex.SparseTensorIndexCSF:
        result = SparseTensorIndexCSFVerify.Verify(verifier, tablePos);
        break;
      default: result = true;
        break;
    }
    return result;
  }
}


}
