code: public Value get(String name) {
          if (name.length() > 1) {
              int dot;
              if (name.charAt(0) == LPAREN) {
                  int start = name.indexOf(RPAREN);
                  dot = name.indexOf(DOT, start);
              } else {
                  dot = name.indexOf(DOT);
              }
              if (dot > 0) {
                  String fieldName = name.substring(0, dot);
                  String rest = name.substring(dot + 1);
                  Key key = createKey(fieldName);
                  Value value = fields.get(key);
                  if (!value.isMessageType()) {
                      throw new ParserException("Invalid option name: %s", name);
                  }
                  DynamicMessage msg = value.getMessage();
                  return msg.get(rest);
              } else {
                  Key key = createKey(name);
                  return fields.get(key);
              }
          } else {
              Key key = Key.field(name);
              return fields.get(key);
          }
      }
docs: Get option value by given option name.