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.vmware.bdd.software.mgmt.thrift.ServerData.java

License:Open Source License

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

From source file:com.vmware.bdd.software.mgmt.thrift.ServerData.java

License:Open Source License

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

From source file:com.vmware.bdd.software.mgmt.thrift.ServerData.java

License:Open Source License

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

From source file:com.vmware.bdd.software.mgmt.thrift.ServerData.java

License:Open Source License

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

From source file:ezbake.base.thrift.AdvancedMarkings.java

License:Apache License

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

From source file:ezbake.base.thrift.Coordinate.java

License:Apache License

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

From source file:ezbake.base.thrift.Coordinate.java

License:Apache License

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

From source file:ezbake.base.thrift.Date.java

License:Apache License

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

From source file:ezbake.base.thrift.Date.java

License:Apache License

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

From source file:ezbake.base.thrift.Date.java

License:Apache License

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