@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
langType.name(), chaincodeID.getName(), chaincodeID.getPath(), chaincodeID.getVersion()));
@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.ChaincodeID)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID other = (org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); result = result && getName() .equals(other.getName()); result = result && getVersion() .equals(other.getVersion()); return result; }
/** * get name of chaincode with this transaction action * * @return name of chaincode. Maybe null if no chaincode or if block is filtered. */ public String getChaincodeIDName() { if (isFiltered()) { return null; } String name = null; Chaincode.ChaincodeID ccid = transactionAction.getPayload().getAction().getProposalResponsePayload(). getExtension().getChaincodeID(); if (ccid != null) { name = ccid.getName(); } return name; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } onChanged(); return this; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <pre> *all other requests will use the name (really a hashcode) generated by *the deploy transaction * </pre> * * <code>optional string name = 2;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <pre> *all other requests will use the name (really a hashcode) generated by *the deploy transaction * </pre> * * <code>optional string name = 2;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public String getName() { return fabricChaincodeID.getName(); }
/** * <pre> *all other requests will use the name (really a hashcode) generated by *the deploy transaction * </pre> * * <code>optional string name = 2;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public String getChaincodeName() { if(_chaincodeInvocationSpec == null || _chaincodeInvocationSpec.get() == null) { populateChaincodeInvocationSpec(); } return _chaincodeInvocationSpec.get().getChaincodeSpec().getChaincodeId().getName(); }
public String getName() { return fabricChaincodeID.getName(); }
public String getChaincodeName() { if(_chaincodeInvocationSpec == null || _chaincodeInvocationSpec.get() == null) { populateChaincodeInvocationSpec(); } return _chaincodeInvocationSpec.get().getChaincodeSpec().getChaincodeId().getName(); }
.append(ccType.name()) .append(", name:") .append(chaincodeID.getName()) .append(", path: ") .append(chaincodeID.getPath())
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeID.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } onChanged(); return this; }
/** * get name of chaincode with this transaction action * * @return name of chaincode. Maybe null if no chaincode or if block is filtered. */ public String getChaincodeIDName() { if (isFiltered()) { return null; } String name = null; Chaincode.ChaincodeID ccid = transactionAction.getPayload().getAction().getProposalResponsePayload(). getExtension().getChaincodeID(); if (ccid != null) { name = ccid.getName(); } return name; }
/** * <pre> *all other requests will use the name (really a hashcode) generated by *the deploy transaction * </pre> * * <code>optional string name = 2;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public String getName() { return fabricChaincodeID.getName(); }