Java Code Examples for org.apache.thrift.EncodingUtils#setBit()

The following examples show how to use org.apache.thrift.EncodingUtils#setBit() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ProducerService.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setTimeoutIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOUT_ISSET_ID, value);
}
 
Example 2
Source File: DelayMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setDmsgtypeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DMSGTYPE_ISSET_ID, value);
}
 
Example 3
Source File: DelayMeta.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setDmsgtypeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DMSGTYPE_ISSET_ID, value);
}
 
Example 4
Source File: RestMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setTimeoutIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOUT_ISSET_ID, value);
}
 
Example 5
Source File: PullRequest.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setMaxLingerTimeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXLINGERTIME_ISSET_ID, value);
}
 
Example 6
Source File: PullRequest.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setMaxLingerTimeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXLINGERTIME_ISSET_ID, value);
}
 
Example 7
Source File: RestMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setExpireIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __EXPIRE_ISSET_ID, value);
}
 
Example 8
Source File: DelayMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setTimestampIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value);
}
 
Example 9
Source File: PullRequest.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setMaxBatchSizeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXBATCHSIZE_ISSET_ID, value);
}
 
Example 10
Source File: ConsumerService.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setSuccessIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
}
 
Example 11
Source File: Response.java    From thrift-mock with Apache License 2.0 4 votes vote down vote up
public void setCodeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CODE_ISSET_ID, value);
}
 
Example 12
Source File: RestMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setTimestampIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMESTAMP_ISSET_ID, value);
}
 
Example 13
Source File: PullException.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setCodeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CODE_ISSET_ID, value);
}
 
Example 14
Source File: QidResponse.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setNextRequestOffsetIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NEXTREQUESTOFFSET_ISSET_ID, value);
}
 
Example 15
Source File: DelayMeta.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setTimesIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMES_ISSET_ID, value);
}
 
Example 16
Source File: ProducerService.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setTimeoutIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOUT_ISSET_ID, value);
}
 
Example 17
Source File: Result.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setCodeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CODE_ISSET_ID, value);
}
 
Example 18
Source File: FetchRequest.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setMaxBatchSizeIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXBATCHSIZE_ISSET_ID, value);
}
 
Example 19
Source File: DelayMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setTimesIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMES_ISSET_ID, value);
}
 
Example 20
Source File: Message.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setHashIdIsSet(boolean value) {
  __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __HASHID_ISSET_ID, value);
}