@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (37 * hash) + EVENTBYTES_FIELD_NUMBER; hash = (53 * hash) + getEventBytes().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.PeerEvents.SignedEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other = (org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent) obj; boolean result = true; result = result && getSignature() .equals(other.getSignature()); result = result && getEventBytes() .equals(other.getEventBytes()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (37 * hash) + EVENTBYTES_FIELD_NUMBER; hash = (53 * hash) + getEventBytes().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.PeerEvents.SignedEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other = (org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent) obj; boolean result = true; result = result && getSignature() .equals(other.getSignature()); result = result && getEventBytes() .equals(other.getEventBytes()); 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.PeerEvents.SignedEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other = (org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent) obj; boolean result = true; result = result && getSignature() .equals(other.getSignature()); result = result && getEventBytes() .equals(other.getEventBytes()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (37 * hash) + EVENTBYTES_FIELD_NUMBER; hash = (53 * hash) + getEventBytes().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance()) return this; if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } if (other.getEventBytes() != com.google.protobuf.ByteString.EMPTY) { setEventBytes(other.getEventBytes()); } onChanged(); return this; }
/** * <pre> * Signature over the event bytes * </pre> * * <code>optional bytes signature = 1;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance()) return this; if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } if (other.getEventBytes() != com.google.protobuf.ByteString.EMPTY) { setEventBytes(other.getEventBytes()); } onChanged(); return this; }
/** * <pre> * Signature over the event bytes * </pre> * * <code>optional bytes signature = 1;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }
/** * <pre> * Signature over the event bytes * </pre> * * <code>optional bytes signature = 1;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance()) return this; if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } if (other.getEventBytes() != com.google.protobuf.ByteString.EMPTY) { setEventBytes(other.getEventBytes()); } onChanged(); return this; }