public org.apache.tajo.ResourceProtos.TaskHistoryProto buildPartial() { org.apache.tajo.ResourceProtos.TaskHistoryProto result = new org.apache.tajo.ResourceProtos.TaskHistoryProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public Builder mergeFrom(org.apache.tajo.ResourceProtos.TaskHistoryProto other) { if (other == org.apache.tajo.ResourceProtos.TaskHistoryProto.getDefaultInstance()) return this; if (other.hasTaskAttemptId()) { mergeTaskAttemptId(other.getTaskAttemptId()); if (other.hasState()) { setState(other.getState()); if (other.hasProgress()) { setProgress(other.getProgress()); if (other.hasStartTime()) { setStartTime(other.getStartTime()); if (other.hasFinishTime()) { setFinishTime(other.getFinishTime()); if (other.hasInputStats()) { mergeInputStats(other.getInputStats()); if (other.hasOutputStats()) { mergeOutputStats(other.getOutputStats()); if (other.hasOutputPath()) { bitField0_ |= 0x00000080; outputPath_ = other.outputPath_; onChanged(); if (other.hasWorkingPath()) { bitField0_ |= 0x00000100;
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTaskAttemptId()) { hash = (37 * hash) + TASK_ATTEMPT_ID_FIELD_NUMBER; hash = (53 * hash) + getTaskAttemptId().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getState()); if (hasProgress()) { hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + Float.floatToIntBits( getProgress()); if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + hashLong(getStartTime()); if (hasFinishTime()) { hash = (37 * hash) + FINISH_TIME_FIELD_NUMBER; hash = (53 * hash) + hashLong(getFinishTime()); if (hasInputStats()) { hash = (37 * hash) + INPUT_STATS_FIELD_NUMBER; hash = (53 * hash) + getInputStats().hashCode(); if (hasOutputStats()) { hash = (37 * hash) + OUTPUT_STATS_FIELD_NUMBER; hash = (53 * hash) + getOutputStats().hashCode();
public org.apache.tajo.ResourceProtos.TaskHistoryProto buildPartial() { org.apache.tajo.ResourceProtos.TaskHistoryProto result = new org.apache.tajo.ResourceProtos.TaskHistoryProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
result = result && (hasTaskAttemptId() == other.hasTaskAttemptId()); if (hasTaskAttemptId()) { result = result && getTaskAttemptId() .equals(other.getTaskAttemptId()); result = result && (hasState() == other.hasState()); if (hasState()) { result = result && (getState() == other.getState()); result = result && (hasProgress() == other.hasProgress()); if (hasProgress()) { result = result && (Float.floatToIntBits(getProgress()) == Float.floatToIntBits(other.getProgress())); result = result && (hasStartTime() == other.hasStartTime()); if (hasStartTime()) { result = result && (getStartTime() == other.getStartTime()); result = result && (hasFinishTime() == other.hasFinishTime()); if (hasFinishTime()) { result = result && (getFinishTime() == other.getFinishTime()); result = result && (hasInputStats() == other.hasInputStats()); if (hasInputStats()) { result = result && getInputStats() .equals(other.getInputStats());
result = result && (hasTaskAttemptId() == other.hasTaskAttemptId()); if (hasTaskAttemptId()) { result = result && getTaskAttemptId() .equals(other.getTaskAttemptId()); result = result && (hasState() == other.hasState()); if (hasState()) { result = result && (getState() == other.getState()); result = result && (hasProgress() == other.hasProgress()); if (hasProgress()) { result = result && (Float.floatToIntBits(getProgress()) == Float.floatToIntBits(other.getProgress())); result = result && (hasStartTime() == other.hasStartTime()); if (hasStartTime()) { result = result && (getStartTime() == other.getStartTime()); result = result && (hasFinishTime() == other.hasFinishTime()); if (hasFinishTime()) { result = result && (getFinishTime() == other.getFinishTime()); result = result && (hasInputStats() == other.hasInputStats()); if (hasInputStats()) { result = result && getInputStats() .equals(other.getInputStats());
public Builder mergeFrom(org.apache.tajo.ResourceProtos.TaskHistoryProto other) { if (other == org.apache.tajo.ResourceProtos.TaskHistoryProto.getDefaultInstance()) return this; if (other.hasTaskAttemptId()) { mergeTaskAttemptId(other.getTaskAttemptId()); if (other.hasState()) { setState(other.getState()); if (other.hasProgress()) { setProgress(other.getProgress()); if (other.hasStartTime()) { setStartTime(other.getStartTime()); if (other.hasFinishTime()) { setFinishTime(other.getFinishTime()); if (other.hasInputStats()) { mergeInputStats(other.getInputStats()); if (other.hasOutputStats()) { mergeOutputStats(other.getOutputStats()); if (other.hasOutputPath()) { bitField0_ |= 0x00000080; outputPath_ = other.outputPath_; onChanged(); if (other.hasWorkingPath()) { bitField0_ |= 0x00000100;
if (!hasTaskAttemptId()) { memoizedIsInitialized = 0; return false; if (!hasState()) { memoizedIsInitialized = 0; return false; if (!hasProgress()) { memoizedIsInitialized = 0; return false; if (!hasStartTime()) { memoizedIsInitialized = 0; return false; if (!hasFinishTime()) { memoizedIsInitialized = 0; return false; if (!hasInputStats()) { memoizedIsInitialized = 0; return false; if (!getTaskAttemptId().isInitialized()) { memoizedIsInitialized = 0; return false; if (!getInputStats().isInitialized()) {
if (!hasTaskAttemptId()) { memoizedIsInitialized = 0; return false; if (!hasState()) { memoizedIsInitialized = 0; return false; if (!hasProgress()) { memoizedIsInitialized = 0; return false; if (!hasStartTime()) { memoizedIsInitialized = 0; return false; if (!hasFinishTime()) { memoizedIsInitialized = 0; return false; if (!hasInputStats()) { memoizedIsInitialized = 0; return false; if (!getTaskAttemptId().isInitialized()) { memoizedIsInitialized = 0; return false; if (!getInputStats().isInitialized()) {
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTaskAttemptId()) { hash = (37 * hash) + TASKATTEMPTID_FIELD_NUMBER; hash = (53 * hash) + getTaskAttemptId().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getState()); if (hasProgress()) { hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + Float.floatToIntBits( getProgress()); if (hasStartTime()) { hash = (37 * hash) + STARTTIME_FIELD_NUMBER; hash = (53 * hash) + hashLong(getStartTime()); if (hasFinishTime()) { hash = (37 * hash) + FINISHTIME_FIELD_NUMBER; hash = (53 * hash) + hashLong(getFinishTime()); if (hasInputStats()) { hash = (37 * hash) + INPUTSTATS_FIELD_NUMBER; hash = (53 * hash) + getInputStats().hashCode(); if (hasOutputStats()) { hash = (37 * hash) + OUTPUTSTATS_FIELD_NUMBER; hash = (53 * hash) + getOutputStats().hashCode();
public TaskHistory(TaskHistoryProto proto) { this.taskAttemptId = new TaskAttemptId(proto.getTaskAttemptId()); this.state = proto.getState(); this.progress = proto.getProgress(); this.startTime = proto.getStartTime(); this.finishTime = proto.getFinishTime(); this.inputStats = proto.getInputStats(); if (proto.hasOutputStats()) { this.outputStats = proto.getOutputStats(); } if (proto.hasOutputPath()) { this.outputPath = proto.getOutputPath(); } if (proto.hasWorkingPath()) { this.workingPath = proto.getWorkingPath(); } if (proto.hasFinishedFetchCount()) { this.finishedFetchCount = proto.getFinishedFetchCount(); } if (proto.hasTotalFetchCount()) { this.totalFetchCount = proto.getTotalFetchCount(); } this.fetcherHistories = proto.getFetcherHistoriesList(); }
public TaskHistory(TaskHistoryProto proto) { this.taskAttemptId = new TaskAttemptId(proto.getTaskAttemptId()); this.state = proto.getState(); this.progress = proto.getProgress(); this.startTime = proto.getStartTime(); this.finishTime = proto.getFinishTime(); this.inputStats = proto.getInputStats(); if (proto.hasOutputStats()) { this.outputStats = proto.getOutputStats(); } if (proto.hasOutputPath()) { this.outputPath = proto.getOutputPath(); } if (proto.hasWorkingPath()) { this.workingPath = proto.getWorkingPath(); } if (proto.hasFinishedFetchCount()) { this.finishedFetchCount = proto.getFinishedFetchCount(); } if (proto.hasTotalFetchCount()) { this.totalFetchCount = proto.getTotalFetchCount(); } this.fetcherHistories = proto.getFetcherHistoriesList(); }
public org.apache.tajo.ResourceProtos.TaskHistoryProto getDefaultInstanceForType() { return org.apache.tajo.ResourceProtos.TaskHistoryProto.getDefaultInstance(); }
public org.apache.tajo.ResourceProtos.TaskHistoryProto getDefaultInstanceForType() { return org.apache.tajo.ResourceProtos.TaskHistoryProto.getDefaultInstance(); }
/** * <code>optional string output_path = 8;</code> */ public Builder clearOutputPath() { bitField0_ = (bitField0_ & ~0x00000080); outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /**
@Override public boolean equals(Object o) { if (o instanceof TaskHistory) { TaskHistory other = (TaskHistory) o; return getProto().equals(other.getProto()); } return false; }
/** * <code>optional string workingPath = 9;</code> */ public Builder clearWorkingPath() { bitField0_ = (bitField0_ & ~0x00000100); workingPath_ = getDefaultInstance().getWorkingPath(); onChanged(); return this; } /**
/** * <code>optional string working_path = 9;</code> */ public Builder clearWorkingPath() { bitField0_ = (bitField0_ & ~0x00000100); workingPath_ = getDefaultInstance().getWorkingPath(); onChanged(); return this; } /**
/** * <code>optional string outputPath = 8;</code> */ public Builder clearOutputPath() { bitField0_ = (bitField0_ & ~0x00000080); outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /**
@Override public boolean equals(Object o) { if (o instanceof TaskHistory) { TaskHistory other = (TaskHistory) o; return getProto().equals(other.getProto()); } return false; }