@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasFuncName()) { hash = (37 * hash) + FUNCNAME_FIELD_NUMBER; hash = (53 * hash) + getFuncName().hashCode(); } if (hasFilePath()) { hash = (37 * hash) + FILEPATH_FIELD_NUMBER; hash = (53 * hash) + getFilePath().hashCode(); } if (hasIsScalarFunction()) { hash = (37 * hash) + ISSCALARFUNCTION_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getIsScalarFunction()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.catalog.proto.CatalogProtos.PythonInvocationDescProto)) { return super.equals(obj); } org.apache.tajo.catalog.proto.CatalogProtos.PythonInvocationDescProto other = (org.apache.tajo.catalog.proto.CatalogProtos.PythonInvocationDescProto) obj; boolean result = true; result = result && (hasFuncName() == other.hasFuncName()); if (hasFuncName()) { result = result && getFuncName() .equals(other.getFuncName()); } result = result && (hasFilePath() == other.hasFilePath()); if (hasFilePath()) { result = result && getFilePath() .equals(other.getFilePath()); } result = result && (hasIsScalarFunction() == other.hasIsScalarFunction()); if (hasIsScalarFunction()) { result = result && (getIsScalarFunction() == other.getIsScalarFunction()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasFuncName()) { memoizedIsInitialized = 0; return false; } if (!hasFilePath()) { memoizedIsInitialized = 0; return false; } if (!hasIsScalarFunction()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.PythonInvocationDescProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.PythonInvocationDescProto.getDefaultInstance()) return this; if (other.hasFuncName()) { bitField0_ |= 0x00000001; funcName_ = other.funcName_; onChanged(); } if (other.hasFilePath()) { bitField0_ |= 0x00000002; filePath_ = other.filePath_; onChanged(); } if (other.hasIsScalarFunction()) { setIsScalarFunction(other.getIsScalarFunction()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }