@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasDatabaseName()) { hash = (37 * hash) + DATABASE_NAME_FIELD_NUMBER; hash = (53 * hash) + getDatabaseName().hashCode(); } if (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); } if (hasDbId()) { hash = (37 * hash) + DBID_FIELD_NUMBER; hash = (53 * hash) + getDbId(); } if (hasTid()) { hash = (37 * hash) + TID_FIELD_NUMBER; hash = (53 * hash) + getTid(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
result = result && (hasDatabaseName() == other.hasDatabaseName()); if (hasDatabaseName()) { result = result && getDatabaseName() .equals(other.getDatabaseName());
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.TableIdentifierProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.TableIdentifierProto.getDefaultInstance()) return this; if (other.hasDatabaseName()) { bitField0_ |= 0x00000001; databaseName_ = other.databaseName_; onChanged(); } if (other.hasTableName()) { bitField0_ |= 0x00000002; tableName_ = other.tableName_; onChanged(); } if (other.hasDbId()) { setDbId(other.getDbId()); } if (other.hasTid()) { setTid(other.getTid()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasDatabaseName()) { memoizedIsInitialized = 0; return false; } if (!hasTableName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }