@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + CODE_PACKAGE_FIELD_NUMBER; hash = (53 * hash) + getCodePackage().hashCode(); hash = (29 * hash) + unknownFields.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.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage) obj; boolean result = true; result = result && getType() .equals(other.getType()); result = result && getPath() .equals(other.getPath()); result = result && getCodePackage() .equals(other.getCodePackage()); return result; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage.getDefaultInstance()) return this; if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.getCodePackage() != com.google.protobuf.ByteString.EMPTY) { setCodePackage(other.getCodePackage()); } onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage) obj; boolean result = true; result = result && getType() .equals(other.getType()); result = result && getPath() .equals(other.getPath()); result = result && getCodePackage() .equals(other.getCodePackage()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + CODE_PACKAGE_FIELD_NUMBER; hash = (53 * hash) + getCodePackage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage.getDefaultInstance()) return this; if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.getCodePackage() != com.google.protobuf.ByteString.EMPTY) { setCodePackage(other.getCodePackage()); } onChanged(); return this; }
/** * <code>optional bytes code_package = 3;</code> */ public Builder clearCodePackage() { codePackage_ = getDefaultInstance().getCodePackage(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>optional bytes code_package = 3;</code> */ public Builder clearCodePackage() { codePackage_ = getDefaultInstance().getCodePackage(); onChanged(); return this; } public final Builder setUnknownFields(