/** * <code>repeated .FetcherHistoryProto fetcher_histories = 12;</code> */ public org.apache.tajo.ResourceProtos.FetcherHistoryProto.Builder addFetcherHistoriesBuilder( int index) { return getFetcherHistoriesFieldBuilder().addBuilder( index, org.apache.tajo.ResourceProtos.FetcherHistoryProto.getDefaultInstance()); } /**
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, startTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, finishTime_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, state_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, fileLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, messageReceivedCount_); } getUnknownFields().writeTo(output); }
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 && (hasState() == other.hasState()); if (hasState()) { result = result && (getState() == other.getState()); result = result && (hasFileLength() == other.hasFileLength()); if (hasFileLength()) { result = result && (getFileLength() == other.getFileLength()); result = result && (hasMessageReceivedCount() == other.hasMessageReceivedCount()); if (hasMessageReceivedCount()) { result = result && (getMessageReceivedCount() == other.getMessageReceivedCount()); getUnknownFields().equals(other.getUnknownFields()); return result;
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 && (hasState() == other.hasState()); if (hasState()) { result = result && (getState() == other.getState()); result = result && (hasFileLength() == other.hasFileLength()); if (hasFileLength()) { result = result && (getFileLength() == other.getFileLength()); result = result && (hasMessageReceivedCount() == other.hasMessageReceivedCount()); if (hasMessageReceivedCount()) { result = result && (getMessageReceivedCount() == other.getMessageReceivedCount()); getUnknownFields().equals(other.getUnknownFields()); return result;
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, startTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, finishTime_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, state_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, fileLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, messageReceivedCount_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.tajo.ResourceProtos.FetcherHistoryProto buildPartial() { org.apache.tajo.ResourceProtos.FetcherHistoryProto result = new org.apache.tajo.ResourceProtos.FetcherHistoryProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.startTime_ = startTime_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.finishTime_ = finishTime_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.state_ = state_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.fileLength_ = fileLength_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.messageReceivedCount_ = messageReceivedCount_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
hash = (19 * hash) + getDescriptorForType().hashCode(); 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 (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getState()); if (hasFileLength()) { hash = (37 * hash) + FILE_LENGTH_FIELD_NUMBER; hash = (53 * hash) + hashLong(getFileLength()); if (hasMessageReceivedCount()) { hash = (37 * hash) + MESSAGE_RECEIVED_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMessageReceivedCount(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
hash = (19 * hash) + getDescriptorForType().hashCode(); 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 (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getState()); if (hasFileLength()) { hash = (37 * hash) + FILELENGTH_FIELD_NUMBER; hash = (53 * hash) + hashLong(getFileLength()); if (hasMessageReceivedCount()) { hash = (37 * hash) + MESSAGERECEIVEDCOUNT_FIELD_NUMBER; hash = (53 * hash) + getMessageReceivedCount(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, startTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, finishTime_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, state_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, fileLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, messageReceivedCount_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.tajo.ResourceProtos.FetcherHistoryProto buildPartial() { org.apache.tajo.ResourceProtos.FetcherHistoryProto result = new org.apache.tajo.ResourceProtos.FetcherHistoryProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.startTime_ = startTime_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.finishTime_ = finishTime_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.state_ = state_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.fileLength_ = fileLength_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.messageReceivedCount_ = messageReceivedCount_; 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.writeInt64(1, startTime_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, finishTime_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, state_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, fileLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, messageReceivedCount_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.apache.tajo.ResourceProtos.FetcherHistoryProto other) { if (other == org.apache.tajo.ResourceProtos.FetcherHistoryProto.getDefaultInstance()) return this; if (other.hasStartTime()) { setStartTime(other.getStartTime()); } if (other.hasFinishTime()) { setFinishTime(other.getFinishTime()); } if (other.hasState()) { setState(other.getState()); } if (other.hasFileLength()) { setFileLength(other.getFileLength()); } if (other.hasMessageReceivedCount()) { setMessageReceivedCount(other.getMessageReceivedCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.ResourceProtos.FetcherHistoryProto other) { if (other == org.apache.tajo.ResourceProtos.FetcherHistoryProto.getDefaultInstance()) return this; if (other.hasStartTime()) { setStartTime(other.getStartTime()); } if (other.hasFinishTime()) { setFinishTime(other.getFinishTime()); } if (other.hasState()) { setState(other.getState()); } if (other.hasFileLength()) { setFileLength(other.getFileLength()); } if (other.hasMessageReceivedCount()) { setMessageReceivedCount(other.getMessageReceivedCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.tajo.ResourceProtos.FetcherHistoryProto getDefaultInstanceForType() { return org.apache.tajo.ResourceProtos.FetcherHistoryProto.getDefaultInstance(); }
public org.apache.tajo.ResourceProtos.FetcherHistoryProto getDefaultInstanceForType() { return org.apache.tajo.ResourceProtos.FetcherHistoryProto.getDefaultInstance(); }
/** * <code>repeated .FetcherHistoryProto fetcher_histories = 12;</code> */ public org.apache.tajo.ResourceProtos.FetcherHistoryProto.Builder addFetcherHistoriesBuilder() { return getFetcherHistoriesFieldBuilder().addBuilder( org.apache.tajo.ResourceProtos.FetcherHistoryProto.getDefaultInstance()); } /**
/** * <code>repeated .FetcherHistoryProto fetcherHistories = 12;</code> */ public org.apache.tajo.ResourceProtos.FetcherHistoryProto.Builder addFetcherHistoriesBuilder() { return getFetcherHistoriesFieldBuilder().addBuilder( org.apache.tajo.ResourceProtos.FetcherHistoryProto.getDefaultInstance()); } /**
/** * <code>repeated .FetcherHistoryProto fetcherHistories = 12;</code> */ public org.apache.tajo.ResourceProtos.FetcherHistoryProto.Builder addFetcherHistoriesBuilder( int index) { return getFetcherHistoriesFieldBuilder().addBuilder( index, org.apache.tajo.ResourceProtos.FetcherHistoryProto.getDefaultInstance()); } /**