code: public org.tensorflow.framework.DataType getType() {
      if (valueCase_ == 6) {
        org.tensorflow.framework.DataType result = org.tensorflow.framework.DataType.valueOf(
            (java.lang.Integer) value_);
        return result == null ? org.tensorflow.framework.DataType.UNRECOGNIZED : result;
      }
      return org.tensorflow.framework.DataType.DT_INVALID;
    }
docs: <pre>
  "type"
  </pre>
  
  <code>optional .tensorflow.DataType type = 6;</code>