@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + TRANSACTION_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTransactionBytes().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().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.FabricTransaction.SignedTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other = (org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction) obj; boolean result = true; result = result && getTransactionBytes() .equals(other.getTransactionBytes()); result = result && getSignature() .equals(other.getSignature()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + TRANSACTION_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTransactionBytes().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <pre> * Signature of the transactionBytes The public key of the signature is in * the header field of TransactionAction There might be multiple * TransactionAction, so multiple headers, but there should be same * transactor identity (cert) in all headers * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other = (org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction) obj; boolean result = true; result = result && getTransactionBytes() .equals(other.getTransactionBytes()); result = result && getSignature() .equals(other.getSignature()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other = (org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction) obj; boolean result = true; result = result && getTransactionBytes() .equals(other.getTransactionBytes()); result = result && getSignature() .equals(other.getSignature()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + TRANSACTION_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTransactionBytes().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <pre> * Signature of the transactionBytes The public key of the signature is in * the header field of TransactionAction There might be multiple * TransactionAction, so multiple headers, but there should be same * transactor identity (cert) in all headers * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other) { if (other == org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction.getDefaultInstance()) return this; if (other.getTransactionBytes() != com.google.protobuf.ByteString.EMPTY) { setTransactionBytes(other.getTransactionBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other) { if (other == org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction.getDefaultInstance()) return this; if (other.getTransactionBytes() != com.google.protobuf.ByteString.EMPTY) { setTransactionBytes(other.getTransactionBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }
/** * <pre> * Signature of the transactionBytes The public key of the signature is in * the header field of TransactionAction There might be multiple * TransactionAction, so multiple headers, but there should be same * transactor identity (cert) in all headers * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other) { if (other == org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction.getDefaultInstance()) return this; if (other.getTransactionBytes() != com.google.protobuf.ByteString.EMPTY) { setTransactionBytes(other.getTransactionBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }