code: public com.google.javascript.jscomp.Requirement.Type getType() {
      com.google.javascript.jscomp.Requirement.Type result = com.google.javascript.jscomp.Requirement.Type.valueOf(type_);
      return result == null ? com.google.javascript.jscomp.Requirement.Type.CUSTOM : result;
    }
docs: <pre>
  Required: The type of requirement.
  </pre>
  
  <code>optional .jscomp.Requirement.Type type = 6;</code>