public org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto buildPartial() { org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto result = new org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasJid()) { hash = (37 * hash) + JID_FIELD_NUMBER; hash = (53 * hash) + getJid().hashCode(); if (hasStorage()) { hash = (37 * hash) + STORAGE_FIELD_NUMBER; hash = (53 * hash) + getStorage().hashCode(); if (hasPrevStorage()) { hash = (37 * hash) + PREVSTORAGE_FIELD_NUMBER; hash = (53 * hash) + getPrevStorage().hashCode(); if (hasTargetLayoutVersion()) { hash = (37 * hash) + TARGETLAYOUTVERSION_FIELD_NUMBER; hash = (53 * hash) + getTargetLayoutVersion(); if (hasNameServiceId()) { hash = (37 * hash) + NAMESERVICEID_FIELD_NUMBER; hash = (53 * hash) + getNameServiceId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, jid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, storage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, prevStorage_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, targetLayoutVersion_); } getUnknownFields().writeTo(output); }
return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.DoFinalizeRequestProto.getDefaultInstance(); case 6: return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto.getDefaultInstance(); case 7: return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.DoRollbackRequestProto.getDefaultInstance();
return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.DoFinalizeRequestProto.getDefaultInstance(); case 6: return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto.getDefaultInstance(); case 7: return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.DoRollbackRequestProto.getDefaultInstance();
return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.DoFinalizeRequestProto.getDefaultInstance(); case 6: return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto.getDefaultInstance(); case 7: return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.DoRollbackRequestProto.getDefaultInstance();
return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.DoFinalizeRequestProto.getDefaultInstance(); case 6: return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto.getDefaultInstance(); case 7: return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.DoRollbackRequestProto.getDefaultInstance();
public org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto buildPartial() { org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto result = new org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto buildPartial() { org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto result = new org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
if (!hasJid()) { memoizedIsInitialized = 0; return false; if (!hasStorage()) { memoizedIsInitialized = 0; return false; if (!hasPrevStorage()) { memoizedIsInitialized = 0; return false; if (!hasTargetLayoutVersion()) { memoizedIsInitialized = 0; return false; if (!getJid().isInitialized()) { memoizedIsInitialized = 0; return false; if (!getStorage().isInitialized()) { memoizedIsInitialized = 0; return false; if (!getPrevStorage().isInitialized()) { memoizedIsInitialized = 0; return false;
if (!hasJid()) { memoizedIsInitialized = 0; return false; if (!hasStorage()) { memoizedIsInitialized = 0; return false; if (!hasPrevStorage()) { memoizedIsInitialized = 0; return false; if (!hasTargetLayoutVersion()) { memoizedIsInitialized = 0; return false; if (!getJid().isInitialized()) { memoizedIsInitialized = 0; return false; if (!getStorage().isInitialized()) { memoizedIsInitialized = 0; return false; if (!getPrevStorage().isInitialized()) { memoizedIsInitialized = 0; return false;
result = result && (hasJid() == other.hasJid()); if (hasJid()) { result = result && getJid() .equals(other.getJid()); result = result && (hasStorage() == other.hasStorage()); if (hasStorage()) { result = result && getStorage() .equals(other.getStorage()); result = result && (hasPrevStorage() == other.hasPrevStorage()); if (hasPrevStorage()) { result = result && getPrevStorage() .equals(other.getPrevStorage()); result = result && (hasTargetLayoutVersion() == other.hasTargetLayoutVersion()); if (hasTargetLayoutVersion()) { result = result && (getTargetLayoutVersion() == other.getTargetLayoutVersion()); getUnknownFields().equals(other.getUnknownFields()); return result;
result = result && (hasJid() == other.hasJid()); if (hasJid()) { result = result && getJid() .equals(other.getJid()); result = result && (hasStorage() == other.hasStorage()); if (hasStorage()) { result = result && getStorage() .equals(other.getStorage()); result = result && (hasPrevStorage() == other.hasPrevStorage()); if (hasPrevStorage()) { result = result && getPrevStorage() .equals(other.getPrevStorage()); result = result && (hasTargetLayoutVersion() == other.hasTargetLayoutVersion()); if (hasTargetLayoutVersion()) { result = result && (getTargetLayoutVersion() == other.getTargetLayoutVersion()); getUnknownFields().equals(other.getUnknownFields()); return result;
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, jid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(2, storage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(3, prevStorage_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream .computeInt32Size(4, targetLayoutVersion_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasJid()) { hash = (37 * hash) + JID_FIELD_NUMBER; hash = (53 * hash) + getJid().hashCode(); } if (hasStorage()) { hash = (37 * hash) + STORAGE_FIELD_NUMBER; hash = (53 * hash) + getStorage().hashCode(); } if (hasPrevStorage()) { hash = (37 * hash) + PREVSTORAGE_FIELD_NUMBER; hash = (53 * hash) + getPrevStorage().hashCode(); } if (hasTargetLayoutVersion()) { hash = (37 * hash) + TARGETLAYOUTVERSION_FIELD_NUMBER; hash = (53 * hash) + getTargetLayoutVersion(); } 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 (hasJid()) { hash = (37 * hash) + JID_FIELD_NUMBER; hash = (53 * hash) + getJid().hashCode(); } if (hasStorage()) { hash = (37 * hash) + STORAGE_FIELD_NUMBER; hash = (53 * hash) + getStorage().hashCode(); } if (hasPrevStorage()) { hash = (37 * hash) + PREVSTORAGE_FIELD_NUMBER; hash = (53 * hash) + getPrevStorage().hashCode(); } if (hasTargetLayoutVersion()) { hash = (37 * hash) + TARGETLAYOUTVERSION_FIELD_NUMBER; hash = (53 * hash) + getTargetLayoutVersion(); } 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 .computeMessageSize(1, jid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, storage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, prevStorage_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, targetLayoutVersion_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, jid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, storage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, prevStorage_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, targetLayoutVersion_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto other) { if (other == org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto.getDefaultInstance()) return this; if (other.hasJid()) { mergeJid(other.getJid()); } if (other.hasStorage()) { mergeStorage(other.getStorage()); } if (other.hasPrevStorage()) { mergePrevStorage(other.getPrevStorage()); } if (other.hasTargetLayoutVersion()) { setTargetLayoutVersion(other.getTargetLayoutVersion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto getDefaultInstanceForType() { return org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.CanRollBackRequestProto.getDefaultInstance(); }