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

The following examples show how to use org.apache.thrift.EncodingUtils#testBit() . 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
/** Returns true if field timeout is set (has been assigned a value) and false otherwise */
public boolean isSetTimeout() {
  return EncodingUtils.testBit(__isset_bitfield, __TIMEOUT_ISSET_ID);
}
 
Example 2
Source File: ConsumerService.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field success is set (has been assigned a value) and false otherwise */
public boolean isSetSuccess() {
  return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
 
Example 3
Source File: RestMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field mode is set (has been assigned a value) and false otherwise */
public boolean isSetMode() {
  return EncodingUtils.testBit(__isset_bitfield, __MODE_ISSET_ID);
}
 
Example 4
Source File: Message.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field hashId is set (has been assigned a value) and false otherwise */
public boolean isSetHashId() {
  return EncodingUtils.testBit(__isset_bitfield, __HASHID_ISSET_ID);
}
 
Example 5
Source File: DelayMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field expire is set (has been assigned a value) and false otherwise */
public boolean isSetExpire() {
  return EncodingUtils.testBit(__isset_bitfield, __EXPIRE_ISSET_ID);
}
 
Example 6
Source File: ProducerService.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field timeout is set (has been assigned a value) and false otherwise */
public boolean isSetTimeout() {
  return EncodingUtils.testBit(__isset_bitfield, __TIMEOUT_ISSET_ID);
}
 
Example 7
Source File: DelayMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field expire is set (has been assigned a value) and false otherwise */
public boolean isSetExpire() {
  return EncodingUtils.testBit(__isset_bitfield, __EXPIRE_ISSET_ID);
}
 
Example 8
Source File: DelayResult.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field code is set (has been assigned a value) and false otherwise */
public boolean isSetCode() {
  return EncodingUtils.testBit(__isset_bitfield, __CODE_ISSET_ID);
}
 
Example 9
Source File: DelayMeta.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field dmsgtype is set (has been assigned a value) and false otherwise */
public boolean isSetDmsgtype() {
  return EncodingUtils.testBit(__isset_bitfield, __DMSGTYPE_ISSET_ID);
}
 
Example 10
Source File: DelayMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field action is set (has been assigned a value) and false otherwise */
public boolean isSetAction() {
  return EncodingUtils.testBit(__isset_bitfield, __ACTION_ISSET_ID);
}
 
Example 11
Source File: PullRequest.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field maxBatchSize is set (has been assigned a value) and false otherwise */
public boolean isSetMaxBatchSize() {
  return EncodingUtils.testBit(__isset_bitfield, __MAXBATCHSIZE_ISSET_ID);
}
 
Example 12
Source File: DelayMeta.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field times is set (has been assigned a value) and false otherwise */
public boolean isSetTimes() {
  return EncodingUtils.testBit(__isset_bitfield, __TIMES_ISSET_ID);
}
 
Example 13
Source File: QidResponse.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field nextRequestOffset is set (has been assigned a value) and false otherwise */
public boolean isSetNextRequestOffset() {
  return EncodingUtils.testBit(__isset_bitfield, __NEXTREQUESTOFFSET_ISSET_ID);
}
 
Example 14
Source File: DelayMeta.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field interval is set (has been assigned a value) and false otherwise */
public boolean isSetInterval() {
  return EncodingUtils.testBit(__isset_bitfield, __INTERVAL_ISSET_ID);
}
 
Example 15
Source File: FetchRequest.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field maxLingerTime is set (has been assigned a value) and false otherwise */
public boolean isSetMaxLingerTime() {
  return EncodingUtils.testBit(__isset_bitfield, __MAXLINGERTIME_ISSET_ID);
}
 
Example 16
Source File: RestMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field timestamp is set (has been assigned a value) and false otherwise */
public boolean isSetTimestamp() {
  return EncodingUtils.testBit(__isset_bitfield, __TIMESTAMP_ISSET_ID);
}
 
Example 17
Source File: PullException.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field code is set (has been assigned a value) and false otherwise */
public boolean isSetCode() {
  return EncodingUtils.testBit(__isset_bitfield, __CODE_ISSET_ID);
}
 
Example 18
Source File: RestMessage.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field type is set (has been assigned a value) and false otherwise */
public boolean isSetType() {
  return EncodingUtils.testBit(__isset_bitfield, __TYPE_ISSET_ID);
}
 
Example 19
Source File: DelayMeta.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field interval is set (has been assigned a value) and false otherwise */
public boolean isSetInterval() {
  return EncodingUtils.testBit(__isset_bitfield, __INTERVAL_ISSET_ID);
}
 
Example 20
Source File: Message.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
/** Returns true if field hashId is set (has been assigned a value) and false otherwise */
public boolean isSetHashId() {
  return EncodingUtils.testBit(__isset_bitfield, __HASHID_ISSET_ID);
}