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.ResourceAggregate.java

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

From source file:org.apache.airavata.credential.store.datamodel.APICredential.java

License:Apache License

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

From source file:org.apache.airavata.credential.store.datamodel.CertificateCredential.java

License:Apache License

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