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.twitter.zipkin.thriftjava.Span.java

License:Apache License

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

From source file:com.twitter.zipkin.thriftjava.Span.java

License:Apache License

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

From source file:com.twitter.zipkin.thriftjava.Span.java

License:Apache License

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

From source file:com.twitter.zipkin.thriftjava.Span.java

License:Apache License

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

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

License:Open Source License

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

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

License:Open Source License

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

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

License:Open Source License

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

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

License:Open Source License

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

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

License:Open Source License

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

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

License:Open Source License

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