public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case SERVER_NAME:
      if (value == null) {
        unsetServerName();
      } else {
        setServerName((TServerName)value);
      }
      break;

    case REGION_INFO:
      if (value == null) {
        unsetRegionInfo();
      } else {
        setRegionInfo((THRegionInfo)value);
      }
      break;

    }
  }
Returns true if field regionInfo is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionLocation.java