public TIOError setCanRetry(boolean canRetry) {
    this.canRetry = canRetry;
    setCanRetryIsSet(true);
    return this;
  }
Returns true if field message is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIOError.java