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:ezbake.base.thrift.EzSecurityToken.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.CounterThrift.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.MeteredThrift.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.MeteredThrift.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.MeteredThrift.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.MeteredThrift.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

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

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

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