public Builder mergeFrom(org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader other) { if (other == org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance()) return this; if (other.hasMode()) { setMode(other.getMode()); } if (other.hasCoordinationId()) { setCoordinationId(other.getCoordinationId()); } if (other.hasRpcType()) { setRpcType(other.getRpcType()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader message) throws java.io.IOException { if(message.hasMode()) output.writeEnum(1, message.getMode().getNumber(), false); if(message.hasCoordinationId()) output.writeInt32(2, message.getCoordinationId(), false); if(message.hasRpcType()) output.writeInt32(3, message.getRpcType(), false); } public boolean isInitialized(org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader message)
public Builder mergeFrom(org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader other) { if (other == org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance()) return this; if (other.hasMode()) { setMode(other.getMode()); } if (other.hasCoordinationId()) { setCoordinationId(other.getCoordinationId()); } if (other.hasRpcType()) { setRpcType(other.getRpcType()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader message) throws java.io.IOException { if(message.hasMode()) output.writeEnum(1, message.getMode().getNumber(), false); if(message.hasCoordinationId()) output.writeInt32(2, message.getCoordinationId(), false); if(message.hasRpcType()) output.writeInt32(3, message.getRpcType(), false); } public boolean isInitialized(org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader message)