public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, journalId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, epoch_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, ipcSerialNumber_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, committedTxId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getNameServiceIdBytes()); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, journalId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, epoch_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, ipcSerialNumber_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, committedTxId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getNameServiceIdBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
hash = (53 * hash) + getNameServiceId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
getUnknownFields().equals(other.getUnknownFields()); return result;
getUnknownFields().equals(other.getUnknownFields()); return result;
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasJournalId()) { hash = (37 * hash) + JOURNALID_FIELD_NUMBER; hash = (53 * hash) + getJournalId().hashCode(); } if (hasEpoch()) { hash = (37 * hash) + EPOCH_FIELD_NUMBER; hash = (53 * hash) + hashLong(getEpoch()); } if (hasIpcSerialNumber()) { hash = (37 * hash) + IPCSERIALNUMBER_FIELD_NUMBER; hash = (53 * hash) + hashLong(getIpcSerialNumber()); } if (hasCommittedTxId()) { hash = (37 * hash) + COMMITTEDTXID_FIELD_NUMBER; hash = (53 * hash) + hashLong(getCommittedTxId()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasJournalId()) { hash = (37 * hash) + JOURNALID_FIELD_NUMBER; hash = (53 * hash) + getJournalId().hashCode(); } if (hasEpoch()) { hash = (37 * hash) + EPOCH_FIELD_NUMBER; hash = (53 * hash) + hashLong(getEpoch()); } if (hasIpcSerialNumber()) { hash = (37 * hash) + IPCSERIALNUMBER_FIELD_NUMBER; hash = (53 * hash) + hashLong(getIpcSerialNumber()); } if (hasCommittedTxId()) { hash = (37 * hash) + COMMITTEDTXID_FIELD_NUMBER; hash = (53 * hash) + hashLong(getCommittedTxId()); } 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 += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(1, journalId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(2, epoch_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(3, ipcSerialNumber_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(4, committedTxId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, journalId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, epoch_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, ipcSerialNumber_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, committedTxId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, journalId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, epoch_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, ipcSerialNumber_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, committedTxId_); } getUnknownFields().writeTo(output); }
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, journalId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, epoch_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, ipcSerialNumber_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, committedTxId_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto other) { if (other == org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.getDefaultInstance()) return this; if (other.hasJournalId()) { mergeJournalId(other.getJournalId()); } if (other.hasEpoch()) { setEpoch(other.getEpoch()); } if (other.hasIpcSerialNumber()) { setIpcSerialNumber(other.getIpcSerialNumber()); } if (other.hasCommittedTxId()) { setCommittedTxId(other.getCommittedTxId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto other) { if (other == org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.getDefaultInstance()) return this; if (other.hasJournalId()) { mergeJournalId(other.getJournalId()); } if (other.hasEpoch()) { setEpoch(other.getEpoch()); } if (other.hasIpcSerialNumber()) { setIpcSerialNumber(other.getIpcSerialNumber()); } if (other.hasCommittedTxId()) { setCommittedTxId(other.getCommittedTxId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
getUnknownFields().equals(other.getUnknownFields()); return result;
public Builder mergeFrom(org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto other) { if (other == org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.getDefaultInstance()) return this; if (other.hasJournalId()) { mergeJournalId(other.getJournalId()); } if (other.hasEpoch()) { setEpoch(other.getEpoch()); } if (other.hasIpcSerialNumber()) { setIpcSerialNumber(other.getIpcSerialNumber()); } if (other.hasCommittedTxId()) { setCommittedTxId(other.getCommittedTxId()); } if (other.hasNameServiceId()) { bitField0_ |= 0x00000010; nameServiceId_ = other.nameServiceId_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }