@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof alluxio.proto.journal.File.PersistFileEntry)) { return super.equals(obj); } alluxio.proto.journal.File.PersistFileEntry other = (alluxio.proto.journal.File.PersistFileEntry) obj; boolean result = true; result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && (hasLength() == other.hasLength()); if (hasLength()) { result = result && (getLength() == other.getLength()); } result = result && (hasOpTimeMs() == other.hasOpTimeMs()); if (hasOpTimeMs()) { result = result && (getOpTimeMs() == other.getOpTimeMs()); } result = result && unknownFields.equals(other.unknownFields); return result; }
break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
public alluxio.proto.journal.File.PersistFileEntry buildPartial() { alluxio.proto.journal.File.PersistFileEntry result = new alluxio.proto.journal.File.PersistFileEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.length_ = length_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.opTimeMs_ = opTimeMs_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public alluxio.proto.journal.File.PersistFileEntry getDefaultInstanceForType() { return alluxio.proto.journal.File.PersistFileEntry.getDefaultInstance(); }
public Builder mergeFrom(alluxio.proto.journal.File.PersistFileEntry other) { if (other == alluxio.proto.journal.File.PersistFileEntry.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasLength()) { setLength(other.getLength()); } if (other.hasOpTimeMs()) { setOpTimeMs(other.getOpTimeMs()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public alluxio.proto.journal.File.PersistFileEntry build() { alluxio.proto.journal.File.PersistFileEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } if (hasLength()) { hash = (37 * hash) + LENGTH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLength()); } if (hasOpTimeMs()) { hash = (37 * hash) + OP_TIME_MS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOpTimeMs()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public alluxio.proto.journal.File.PersistFileEntry buildPartial() { alluxio.proto.journal.File.PersistFileEntry result = new alluxio.proto.journal.File.PersistFileEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.length_ = length_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.opTimeMs_ = opTimeMs_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder mergeFrom(alluxio.proto.journal.File.PersistFileEntry other) { if (other == alluxio.proto.journal.File.PersistFileEntry.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasLength()) { setLength(other.getLength()); } if (other.hasOpTimeMs()) { setOpTimeMs(other.getOpTimeMs()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public alluxio.proto.journal.File.PersistFileEntry getDefaultInstanceForType() { return alluxio.proto.journal.File.PersistFileEntry.getDefaultInstance(); }
public alluxio.proto.journal.File.PersistFileEntry build() { alluxio.proto.journal.File.PersistFileEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }