Example usage for org.apache.thrift EncodingUtils testBit

List of usage examples for org.apache.thrift EncodingUtils testBit

Introduction

In this page you can find the example usage for org.apache.thrift EncodingUtils testBit.

Prototype

public static final boolean testBit(long v, int position) 

Source Link

Usage

From source file:com.jredrain.base.job.Response.java

License:Apache License

/** Returns true if field startTime is set (has been assigned a value) and false otherwise */
public boolean isSetStartTime() {
    return EncodingUtils.testBit(__isset_bitfield, __STARTTIME_ISSET_ID);
}

From source file:com.jredrain.base.job.Response.java

License:Apache License

/** Returns true if field endTime is set (has been assigned a value) and false otherwise */
public boolean isSetEndTime() {
    return EncodingUtils.testBit(__isset_bitfield, __ENDTIME_ISSET_ID);
}

From source file:com.kromatik.dasshy.thrift.model.TBatchClockN.java

License:Open Source License

/** Returns true if field maxBatches is set (has been assigned a value) and false otherwise */
public boolean isSetMaxBatches() {
    return EncodingUtils.testBit(__isset_bitfield, __MAXBATCHES_ISSET_ID);
}

From source file:com.kromatik.dasshy.thrift.model.TBatchClockNBackoff.java

License:Open Source License

/** Returns true if field sleepMs is set (has been assigned a value) and false otherwise */
public boolean isSetSleepMs() {
    return EncodingUtils.testBit(__isset_bitfield, __SLEEPMS_ISSET_ID);
}

From source file:com.kromatik.dasshy.thrift.model.TPolicy.java

License:Open Source License

/** Returns true if field lastUpdated is set (has been assigned a value) and false otherwise */
public boolean isSetLastUpdated() {
    return EncodingUtils.testBit(__isset_bitfield, __LASTUPDATED_ISSET_ID);
}

From source file:com.kromatik.dasshy.thrift.model.TPolicyList.java

License:Open Source License

/** Returns true if field offset is set (has been assigned a value) and false otherwise */
public boolean isSetOffset() {
    return EncodingUtils.testBit(__isset_bitfield, __OFFSET_ISSET_ID);
}

From source file:com.kromatik.dasshy.thrift.model.TPolicyList.java

License:Open Source License

/** Returns true if field limit is set (has been assigned a value) and false otherwise */
public boolean isSetLimit() {
    return EncodingUtils.testBit(__isset_bitfield, __LIMIT_ISSET_ID);
}

From source file:com.kromatik.dasshy.thrift.model.TPolicyList.java

License:Open Source License

/** Returns true if field total is set (has been assigned a value) and false otherwise */
public boolean isSetTotal() {
    return EncodingUtils.testBit(__isset_bitfield, __TOTAL_ISSET_ID);
}

From source file:com.kromatik.dasshy.thrift.model.TStagePluginAttribute.java

License:Open Source License

/** Returns true if field mandatory is set (has been assigned a value) and false otherwise */
public boolean isSetMandatory() {
    return EncodingUtils.testBit(__isset_bitfield, __MANDATORY_ISSET_ID);
}

From source file:com.kromatik.dasshy.thrift.model.TStreamingBatchClock.java

License:Open Source License

/** 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);
}