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:org.apache.airavata.cloud.aurora.client.sdk.JobUpdateSettings.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.JobUpdateState.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.JobUpdateState.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.MesosFetcherURI.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.MesosFetcherURI.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.Package.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.Range.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.Range.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.ResourceAggregate.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.ResourceAggregate.java

License:Apache License

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