public TRegionInfo setId(long id) {
    this.id = id;
    setIdIsSet(true);
    return this;
  }
Returns true if field endKey is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRegionInfo.java