@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasPartitionName()) { hash = (37 * hash) + PARTITIONNAME_FIELD_NUMBER; hash = (53 * hash) + getPartitionName().hashCode(); } if (getPartitionKeysCount() > 0) { hash = (37 * hash) + PARTITIONKEYS_FIELD_NUMBER; hash = (53 * hash) + getPartitionKeysList().hashCode(); } if (hasPath()) { hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.PartitionDescProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.PartitionDescProto.getDefaultInstance()) return this; if (other.hasPartitionName()) { bitField0_ |= 0x00000001; partitionName_ = other.partitionName_;
result = result && (hasPartitionName() == other.hasPartitionName()); if (hasPartitionName()) { result = result && getPartitionName() .equals(other.getPartitionName());
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasPartitionName()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getPartitionKeysCount(); i++) { if (!getPartitionKeys(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; }