@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + PROPOSAL_BYTES_FIELD_NUMBER; hash = (53 * hash) + getProposalBytes().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.FabricProposal.SignedProposal)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal other = (org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal) obj; boolean result = true; result = result && getProposalBytes() .equals(other.getProposalBytes()); 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) + PROPOSAL_BYTES_FIELD_NUMBER; hash = (53 * hash) + getProposalBytes().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.FabricProposal.SignedProposal)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal other = (org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal) obj; boolean result = true; result = result && getProposalBytes() .equals(other.getProposalBytes()); 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.FabricProposal.SignedProposal)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal other = (org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal) obj; boolean result = true; result = result && getProposalBytes() .equals(other.getProposalBytes()); result = result && getSignature() .equals(other.getSignature()); return result; }
/** * <pre> * Signaure over proposalBytes; this signature is to be verified against * the creator identity contained in the header of the Proposal message * marshaled as proposalBytes * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + PROPOSAL_BYTES_FIELD_NUMBER; hash = (53 * hash) + getProposalBytes().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <pre> * Signaure over proposalBytes; this signature is to be verified against * the creator identity contained in the header of the Proposal message * marshaled as proposalBytes * </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.FabricProposal.SignedProposal other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance()) return this; if (other.getProposalBytes() != com.google.protobuf.ByteString.EMPTY) { setProposalBytes(other.getProposalBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance()) return this; if (other.getProposalBytes() != com.google.protobuf.ByteString.EMPTY) { setProposalBytes(other.getProposalBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }
/** * <pre> * Signaure over proposalBytes; this signature is to be verified against * the creator identity contained in the header of the Proposal message * marshaled as proposalBytes * </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.FabricProposal.SignedProposal other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance()) return this; if (other.getProposalBytes() != com.google.protobuf.ByteString.EMPTY) { setProposalBytes(other.getProposalBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }