this.options = new Options(p.getParams());
return options.get(key);
}
public String getOption(String key, String defaultValue) {
TableProtoOrBuilder p = viaProto ? proto : builder;
if (options != null) {
return this.options.get(key, defaultValue);
}
if (!p.hasParams()) {
return null;
}
this.options = new Options(p.getParams());
return options.get(key, defaultValue);
}