/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case VALUE: return isSetValue(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case VALUE: return isSetValue(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case VALUE: return isSetValue(); } throw new IllegalStateException(); }
@Override public String toString() { StringBuilder sb = new StringBuilder("TI64Value("); boolean first = true; if (isSetValue()) { sb.append("value:"); sb.append(this.value); first = false; } sb.append(")"); return sb.toString(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_value = true && (isSetValue()); builder.append(present_value); if (present_value) builder.append(value); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_value = true && (isSetValue()); builder.append(present_value); if (present_value) builder.append(value); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_value = true && (isSetValue()); builder.append(present_value); if (present_value) builder.append(value); return builder.toHashCode(); }
@Override public String toString() { StringBuilder sb = new StringBuilder("TI64Value("); boolean first = true; if (isSetValue()) { sb.append("value:"); sb.append(this.value); first = false; } sb.append(")"); return sb.toString(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_value = true && (isSetValue()); builder.append(present_value); if (present_value) builder.append(value); return builder.toHashCode(); }
@Override public String toString() { StringBuilder sb = new StringBuilder("TI64Value("); boolean first = true; if (isSetValue()) { sb.append("value:"); sb.append(this.value); first = false; } sb.append(")"); return sb.toString(); }
@Override public String toString() { StringBuilder sb = new StringBuilder("TI64Value("); boolean first = true; if (isSetValue()) { sb.append("value:"); sb.append(this.value); first = false; } sb.append(")"); return sb.toString(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TI64Value struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeI64(struct.value); } }
private static Long getLongValue(TI64Value tI64Value) { if (tI64Value.isSetValue()) { return tI64Value.getValue(); } return null; }
private static Long getLongValue(TI64Value tI64Value) { if (tI64Value.isSetValue()) { return tI64Value.getValue(); } return null; }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TI64Value struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeI64(struct.value); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TI64Value struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeI64(struct.value); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TI64Value struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeI64(struct.value); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, TI64Value struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.isSetValue()) { oprot.writeFieldBegin(VALUE_FIELD_DESC); oprot.writeI64(struct.value); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TI64Value struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.isSetValue()) { oprot.writeFieldBegin(VALUE_FIELD_DESC); oprot.writeI64(struct.value); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TI64Value struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.isSetValue()) { oprot.writeFieldBegin(VALUE_FIELD_DESC); oprot.writeI64(struct.value); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }