public void write(org.apache.thrift.protocol.TProtocol oprot, TGet struct) throws org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.row != null) {
        oprot.writeFieldBegin(ROW_FIELD_DESC);
        oprot.writeBinary(struct.row);
        oprot.writeFieldEnd();
      }
      if (struct.columns != null) {
        if (struct.isSetColumns()) {
          oprot.writeFieldBegin(COLUMNS_FIELD_DESC);
          {
            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.columns.size()));
            for (TColumn _iter23 : struct.columns)
            {
              _iter23.write(oprot);
            }
            oprot.writeListEnd();
          }
          oprot.writeFieldEnd();
        }
      }
      if (struct.isSetTimestamp()) {
        oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
        oprot.writeI64(struct.timestamp);
        oprot.writeFieldEnd();
      }
      if (struct.timeRange != null) {
        if (struct.isSetTimeRange()) {
          oprot.writeFieldBegin(TIME_RANGE_FIELD_DESC);
          struct.timeRange.write(oprot);
          oprot.writeFieldEnd();
        }
      }
      if (struct.isSetMaxVersions()) {
        oprot.writeFieldBegin(MAX_VERSIONS_FIELD_DESC);
        oprot.writeI32(struct.maxVersions);
        oprot.writeFieldEnd();
      }
      if (struct.filterString != null) {
        if (struct.isSetFilterString()) {
          oprot.writeFieldBegin(FILTER_STRING_FIELD_DESC);
          oprot.writeBinary(struct.filterString);
          oprot.writeFieldEnd();
        }
      }
      if (struct.attributes != null) {
        if (struct.isSetAttributes()) {
          oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
          {
            oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.attributes.size()));
            for (java.util.Map.Entry<java.nio.ByteBuffer, java.nio.ByteBuffer> _iter24 : struct.attributes.entrySet())
            {
              oprot.writeBinary(_iter24.getKey());
              oprot.writeBinary(_iter24.getValue());
            }
            oprot.writeMapEnd();
          }
          oprot.writeFieldEnd();
        }
      }
      if (struct.authorizations != null) {
        if (struct.isSetAuthorizations()) {
          oprot.writeFieldBegin(AUTHORIZATIONS_FIELD_DESC);
          struct.authorizations.write(oprot);
          oprot.writeFieldEnd();
        }
      }
      if (struct.consistency != null) {
        if (struct.isSetConsistency()) {
          oprot.writeFieldBegin(CONSISTENCY_FIELD_DESC);
          oprot.writeI32(struct.consistency.getValue());
          oprot.writeFieldEnd();
        }
      }
      if (struct.isSetTargetReplicaId()) {
        oprot.writeFieldBegin(TARGET_REPLICA_ID_FIELD_DESC);
        oprot.writeI32(struct.targetReplicaId);
        oprot.writeFieldEnd();
      }
      if (struct.isSetCacheBlocks()) {
        oprot.writeFieldBegin(CACHE_BLOCKS_FIELD_DESC);
        oprot.writeBool(struct.cacheBlocks);
        oprot.writeFieldEnd();
      }
      if (struct.isSetStoreLimit()) {
        oprot.writeFieldBegin(STORE_LIMIT_FIELD_DESC);
        oprot.writeI32(struct.storeLimit);
        oprot.writeFieldEnd();
      }
      if (struct.isSetStoreOffset()) {
        oprot.writeFieldBegin(STORE_OFFSET_FIELD_DESC);
        oprot.writeI32(struct.storeOffset);
        oprot.writeFieldEnd();
      }
      if (struct.isSetExistence_only()) {
        oprot.writeFieldBegin(EXISTENCE_ONLY_FIELD_DESC);
        oprot.writeBool(struct.existence_only);
        oprot.writeFieldEnd();
      }
      if (struct.filterBytes != null) {
        if (struct.isSetFilterBytes()) {
          oprot.writeFieldBegin(FILTER_BYTES_FIELD_DESC);
          oprot.writeBinary(struct.filterBytes);
          oprot.writeFieldEnd();
        }
      }
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TGet.java