public TGetInfoValue deepCopy() { return new TGetInfoValue(this); }
public static TGetInfoValue lenValue(long value) { TGetInfoValue x = new TGetInfoValue(); x.setLenValue(value); return x; }
public TGetInfoValue toTGetInfoValue() { TGetInfoValue tInfoValue = new TGetInfoValue(); if (stringValue != null) { tInfoValue.setStringValue(stringValue); } return tInfoValue; }
public static TGetInfoValue stringValue(String value) { TGetInfoValue x = new TGetInfoValue(); x.setStringValue(value); return x; }
public static TGetInfoValue integerBitmask(int value) { TGetInfoValue x = new TGetInfoValue(); x.setIntegerBitmask(value); return x; }
public static TGetInfoValue binaryValue(int value) { TGetInfoValue x = new TGetInfoValue(); x.setBinaryValue(value); return x; }
public static TGetInfoValue smallIntValue(short value) { TGetInfoValue x = new TGetInfoValue(); x.setSmallIntValue(value); return x; }
public static TGetInfoValue integerFlag(int value) { TGetInfoValue x = new TGetInfoValue(); x.setIntegerFlag(value); return x; }
/** * Performs a deep copy on <i>other</i>. */ public TGetInfoResp(TGetInfoResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetInfoValue()) { this.infoValue = new TGetInfoValue(other.infoValue); } }
case 2: // INFO_VALUE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.infoValue = new TGetInfoValue(); struct.infoValue.read(iprot); struct.setInfoValueIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TGetInfoResp struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.status = new TStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); struct.infoValue = new TGetInfoValue(); struct.infoValue.read(iprot); struct.setInfoValueIsSet(true); } }
public TGetInfoValue toTGetInfoValue() { TGetInfoValue tInfoValue = new TGetInfoValue(); if (stringValue != null) { tInfoValue.setStringValue(stringValue); } return tInfoValue; }