public org.apache.drill.exec.proto.BitControl.WorkQueueStatus buildPartial() { org.apache.drill.exec.proto.BitControl.WorkQueueStatus result = new org.apache.drill.exec.proto.BitControl.WorkQueueStatus(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (endpointBuilder_ == null) { result.endpoint_ = endpoint_; } else { result.endpoint_ = endpointBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.queueLength_ = queueLength_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.reportTime_ = reportTime_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, endpoint_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, queueLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, reportTime_); } getUnknownFields().writeTo(output); }
public org.apache.drill.exec.proto.BitControl.WorkQueueStatus buildPartial() { org.apache.drill.exec.proto.BitControl.WorkQueueStatus result = new org.apache.drill.exec.proto.BitControl.WorkQueueStatus(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (endpointBuilder_ == null) { result.endpoint_ = endpoint_; } else { result.endpoint_ = endpointBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.queueLength_ = queueLength_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.reportTime_ = reportTime_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, endpoint_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, queueLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, reportTime_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.drill.exec.proto.BitControl.WorkQueueStatus getDefaultInstanceForType() { return org.apache.drill.exec.proto.BitControl.WorkQueueStatus.getDefaultInstance(); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, endpoint_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, queueLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, reportTime_); } getUnknownFields().writeTo(output); }
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 int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, endpoint_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, queueLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, reportTime_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.drill.exec.proto.BitControl.WorkQueueStatus getDefaultInstanceForType() { return org.apache.drill.exec.proto.BitControl.WorkQueueStatus.getDefaultInstance(); }
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)