@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + CHAINCODE_ID_FIELD_NUMBER; hash = (53 * hash) + getChaincodeId().hashCode(); hash = (37 * hash) + TX_ID_FIELD_NUMBER; hash = (53 * hash) + getTxId().hashCode(); hash = (37 * hash) + EVENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getEventName().hashCode(); hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().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.ChaincodeEventOuterClass.ChaincodeEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent other = (org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent) obj; boolean result = true; result = result && getChaincodeId() .equals(other.getChaincodeId()); result = result && getTxId() .equals(other.getTxId()); result = result && getEventName() .equals(other.getEventName()); result = result && getPayload() .equals(other.getPayload()); return result; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent other) { if (other == org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent.getDefaultInstance()) return this; if (!other.getChaincodeId().isEmpty()) { chaincodeId_ = other.chaincodeId_; onChanged(); } if (!other.getTxId().isEmpty()) { txId_ = other.txId_; onChanged(); } if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; onChanged(); } if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) { setPayload(other.getPayload()); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent other) { if (other == org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent.getDefaultInstance()) return this; if (!other.getChaincodeId().isEmpty()) { chaincodeId_ = other.chaincodeId_; onChanged(); } if (!other.getTxId().isEmpty()) { txId_ = other.txId_; onChanged(); } if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; onChanged(); } if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) { setPayload(other.getPayload()); } 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.ChaincodeEventOuterClass.ChaincodeEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent other = (org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent) obj; boolean result = true; result = result && getChaincodeId() .equals(other.getChaincodeId()); result = result && getTxId() .equals(other.getTxId()); result = result && getEventName() .equals(other.getEventName()); result = result && getPayload() .equals(other.getPayload()); return result; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent other) { if (other == org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent.getDefaultInstance()) return this; if (!other.getChaincodeId().isEmpty()) { chaincodeId_ = other.chaincodeId_; onChanged(); } if (!other.getTxId().isEmpty()) { txId_ = other.txId_; onChanged(); } if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; onChanged(); } if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) { setPayload(other.getPayload()); } 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.ChaincodeEventOuterClass.ChaincodeEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent other = (org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent) obj; boolean result = true; result = result && getChaincodeId() .equals(other.getChaincodeId()); result = result && getTxId() .equals(other.getTxId()); result = result && getEventName() .equals(other.getEventName()); result = result && getPayload() .equals(other.getPayload()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + CHAINCODE_ID_FIELD_NUMBER; hash = (53 * hash) + getChaincodeId().hashCode(); hash = (37 * hash) + TX_ID_FIELD_NUMBER; hash = (53 * hash) + getTxId().hashCode(); hash = (37 * hash) + EVENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getEventName().hashCode(); hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + CHAINCODE_ID_FIELD_NUMBER; hash = (53 * hash) + getChaincodeId().hashCode(); hash = (37 * hash) + TX_ID_FIELD_NUMBER; hash = (53 * hash) + getTxId().hashCode(); hash = (37 * hash) + EVENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getEventName().hashCode(); hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * Get Chaincode identifier. * * @return The identifier */ public String getChaincodeId() { return getChaincodeEvent().getChaincodeId(); }
/** * <code>optional string chaincode_id = 1;</code> */ public Builder clearChaincodeId() { chaincodeId_ = getDefaultInstance().getChaincodeId(); onChanged(); return this; } /**
/** * Get Chaincode identifier. * * @return The identifier */ public String getChaincodeId() { return getChaincodeEvent().getChaincodeId(); }
/** * <code>optional string chaincode_id = 1;</code> */ public Builder clearChaincodeId() { chaincodeId_ = getDefaultInstance().getChaincodeId(); onChanged(); return this; } /**
/** * Get Chaincode identifier. * * @return The identifier */ public String getChaincodeId() { return getChaincodeEvent().getChaincodeId(); }
/** * <code>optional string chaincode_id = 1;</code> */ public Builder clearChaincodeId() { chaincodeId_ = getDefaultInstance().getChaincodeId(); onChanged(); return this; } /**