public void mergeFrom(com.dyuproject.protostuff.Input input, org.apache.drill.exec.proto.BitControl.WorkQueueStatus.Builder builder) throws java.io.IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: builder.setEndpoint(input.mergeObject(org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint.newBuilder(), org.apache.drill.exec.proto.SchemaCoordinationProtos.DrillbitEndpoint.MERGE)); break; case 2: builder.setQueueLength(input.readInt32()); break; case 3: builder.setReportTime(input.readInt64()); break; default: input.handleUnknownField(number, this); } } } public boolean isInitialized(org.apache.drill.exec.proto.BitControl.WorkQueueStatus.Builder builder)
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 mergeFrom(com.dyuproject.protostuff.Input input, org.apache.drill.exec.proto.BitControl.WorkQueueStatus.Builder builder) throws java.io.IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: builder.setEndpoint(input.mergeObject(org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint.newBuilder(), org.apache.drill.exec.proto.SchemaCoordinationProtos.DrillbitEndpoint.MERGE)); break; case 2: builder.setQueueLength(input.readInt32()); break; case 3: builder.setReportTime(input.readInt64()); break; default: input.handleUnknownField(number, this); } } } public boolean isInitialized(org.apache.drill.exec.proto.BitControl.WorkQueueStatus.Builder builder)
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; }