function nameToProto(protoName) {
  let clazz = proto.ord;
  protoName.split('_').forEach(function(name) {
    clazz = clazz[name];
    if (!clazz) {
      return null;
    }
  });
  return clazz;
}
/**
 * Converts a Message_Field name from a data-proto attribute into a proto class.
 * @param {string} protoName Underscore-delimited protocol buffer field name,
 *     such as Reaction_provenance.
 * @return {?typeof jspb.Message}
 */
Converts a Message_Field name from a data-proto attribute into a proto class.
@param {string} protoName Underscore-delimited protocol buffer field name,
such as Reaction_provenance.
Converts a Message_Field name from a data - proto attribute into a proto class . @param { string } protoName Underscore - delimited protocol buffer field name such as Reaction_provenance .
function nameToProto(protoName) {
  let clazz = proto.ord;
  protoName.split('_').forEach(function(name) {
    clazz = clazz[name];
    if (!clazz) {
      return null;
    }
  });
  return clazz;
}
function nameToProto ( protoName ) { let clazz = proto . ord ; protoName . split ( '_' ) . forEach ( function ( name ) { clazz = clazz [ name ] ; if ( ! clazz ) { return null ; } } ) ; return clazz ; }
Converts a Message_Field name from a data-proto attribute into a proto class.
Converts a Message_Field name from a data - proto attribute into a proto class .