public Builder mergeFrom(org.apache.drill.exec.proto.BitControl.WorkQueueStatus other) { if (other == org.apache.drill.exec.proto.BitControl.WorkQueueStatus.getDefaultInstance()) return this; if (other.hasEndpoint()) { mergeEndpoint(other.getEndpoint()); } if (other.hasQueueLength()) { setQueueLength(other.getQueueLength()); } if (other.hasReportTime()) { setReportTime(other.getReportTime()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.BitControl.WorkQueueStatus message) throws java.io.IOException { if(message.hasEndpoint()) output.writeObject(1, message.getEndpoint(), org.apache.drill.exec.proto.SchemaCoordinationProtos.DrillbitEndpoint.WRITE, false); if(message.hasQueueLength()) output.writeInt32(2, message.getQueueLength(), false); if(message.hasReportTime()) output.writeInt64(3, message.getReportTime(), false); } public boolean isInitialized(org.apache.drill.exec.proto.BitControl.WorkQueueStatus message)
public Builder mergeFrom(org.apache.drill.exec.proto.BitControl.WorkQueueStatus other) { if (other == org.apache.drill.exec.proto.BitControl.WorkQueueStatus.getDefaultInstance()) return this; if (other.hasEndpoint()) { mergeEndpoint(other.getEndpoint()); } if (other.hasQueueLength()) { setQueueLength(other.getQueueLength()); } if (other.hasReportTime()) { setReportTime(other.getReportTime()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.BitControl.WorkQueueStatus message) throws java.io.IOException { if(message.hasEndpoint()) output.writeObject(1, message.getEndpoint(), org.apache.drill.exec.proto.SchemaCoordinationProtos.DrillbitEndpoint.WRITE, false); if(message.hasQueueLength()) output.writeInt32(2, message.getQueueLength(), false); if(message.hasReportTime()) output.writeInt64(3, message.getReportTime(), false); } public boolean isInitialized(org.apache.drill.exec.proto.BitControl.WorkQueueStatus message)