isSet method
Check if a field is currently set or unset, using the fieldId
.
Implementation
bool isSet(int fieldID) {
switch (fieldID) {
case SPACE_ID:
return isSetSpace_id();
case PARTS:
return isSetParts();
case RETURN_COLUMNS:
return isSetReturn_columns();
case LIMIT:
return isSetLimit();
case START_TIME:
return isSetStart_time();
case END_TIME:
return isSetEnd_time();
case FILTER:
return isSetFilter();
case ONLY_LATEST_VERSION:
return isSetOnly_latest_version();
case ENABLE_READ_FROM_FOLLOWER:
return isSetEnable_read_from_follower();
case COMMON:
return isSetCommon();
default:
throw new ArgumentError("Field $fieldID doesn't exist!");
}
}