sb.append(this.id); first = false; if (isSetParent_id()) { if (!first) sb.append(", "); sb.append("parent_id:");
sb.append(this.id); first = false; if (isSetParent_id()) { if (!first) sb.append(", "); sb.append("parent_id:");
sb.append(this.id); first = false; if (isSetParent_id()) { if (!first) sb.append(", "); sb.append("parent_id:");
oprot.writeI64(struct.id); oprot.writeFieldEnd(); if (struct.isSetParent_id()) { oprot.writeFieldBegin(PARENT_ID_FIELD_DESC); oprot.writeI64(struct.parent_id);
lastComparison = Boolean.valueOf(isSetParent_id()).compareTo(typedOther.isSetParent_id()); if (lastComparison != 0) { return lastComparison; if (isSetParent_id()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parent_id, typedOther.parent_id); if (lastComparison != 0) {
/** 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 TRACE_ID: return isSetTrace_id(); case NAME: return isSetName(); case ID: return isSetId(); case PARENT_ID: return isSetParent_id(); case ANNOTATIONS: return isSetAnnotations(); case BINARY_ANNOTATIONS: return isSetBinary_annotations(); case DEBUG: return isSetDebug(); } 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 TRACE_ID: return isSetTrace_id(); case NAME: return isSetName(); case ID: return isSetId(); case PARENT_ID: return isSetParent_id(); case ANNOTATIONS: return isSetAnnotations(); case BINARY_ANNOTATIONS: return isSetBinary_annotations(); case DEBUG: return isSetDebug(); } 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 TRACE_ID: return isSetTrace_id(); case NAME: return isSetName(); case ID: return isSetId(); case PARENT_ID: return isSetParent_id(); case ANNOTATIONS: return isSetAnnotations(); case BINARY_ANNOTATIONS: return isSetBinary_annotations(); case DEBUG: return isSetDebug(); } throw new IllegalStateException(); }
boolean this_present_parent_id = true && this.isSetParent_id(); boolean that_present_parent_id = true && that.isSetParent_id(); if (this_present_parent_id || that_present_parent_id) { if (!(this_present_parent_id && that_present_parent_id))
boolean this_present_parent_id = true && this.isSetParent_id(); boolean that_present_parent_id = true && that.isSetParent_id(); if (this_present_parent_id || that_present_parent_id) { if (!(this_present_parent_id && that_present_parent_id))
boolean this_present_parent_id = true && this.isSetParent_id(); boolean that_present_parent_id = true && that.isSetParent_id(); if (this_present_parent_id || that_present_parent_id) { if (!(this_present_parent_id && that_present_parent_id))
lastComparison = Boolean.valueOf(isSetParent_id()).compareTo(typedOther.isSetParent_id()); if (lastComparison != 0) { return lastComparison; if (isSetParent_id()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parent_id, typedOther.parent_id); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetParent_id()).compareTo(typedOther.isSetParent_id()); if (lastComparison != 0) { return lastComparison; if (isSetParent_id()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parent_id, typedOther.parent_id); if (lastComparison != 0) {
optionals.set(2); if (struct.isSetParent_id()) { optionals.set(3); oprot.writeI64(struct.id); if (struct.isSetParent_id()) { oprot.writeI64(struct.parent_id);
optionals.set(2); if (struct.isSetParent_id()) { optionals.set(3); oprot.writeI64(struct.id); if (struct.isSetParent_id()) { oprot.writeI64(struct.parent_id);
optionals.set(2); if (struct.isSetParent_id()) { optionals.set(3); oprot.writeI64(struct.id); if (struct.isSetParent_id()) { oprot.writeI64(struct.parent_id);
private Span convert(com.twitter.zipkin.gen.Span span) { Span.Builder builder = new Span.Builder(); builder.name(span.getName()) .id(span.id) .parentId(span.isSetParent_id() ? span.parent_id : null) .traceId(span.trace_id) .timestamp(span.timestamp) .duration(span.duration) .debug(span.debug); List<com.twitter.zipkin.gen.Annotation> annotations = span.annotations; if (annotations != null) { for (com.twitter.zipkin.gen.Annotation annotation : annotations) { builder.addAnnotation(convert(annotation)); } } List<com.twitter.zipkin.gen.BinaryAnnotation> binaries = span.binary_annotations; if (binaries != null) { for (com.twitter.zipkin.gen.BinaryAnnotation annotation : binaries) { builder.addBinaryAnnotation(convert(annotation)); } } return builder.build(); }
oprot.writeI64(struct.id); oprot.writeFieldEnd(); if (struct.isSetParent_id()) { oprot.writeFieldBegin(PARENT_ID_FIELD_DESC); oprot.writeI64(struct.parent_id);
oprot.writeI64(struct.id); oprot.writeFieldEnd(); if (struct.isSetParent_id()) { oprot.writeFieldBegin(PARENT_ID_FIELD_DESC); oprot.writeI64(struct.parent_id);