/** * <pre> *user friendly version name for the chaincode * </pre> * * <code>optional string version = 3;</code> */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); return this; } /**
/** * <pre> *deploy transaction will use the path * </pre> * * <code>optional string path = 1;</code> */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; }
/** * <pre> *deploy transaction will use the path * </pre> * * <code>optional string path = 1;</code> */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /**
/** * <pre> *user friendly version name for the chaincode * </pre> * * <code>optional string version = 3;</code> */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; 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; } /**
/** * <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> *user friendly version name for the chaincode * </pre> * * <code>optional string version = 3;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**
/** * <pre> *deploy transaction will use the path * </pre> * * <code>optional string path = 1;</code> */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <pre> *deploy transaction will use the path * </pre> * * <code>optional string path = 1;</code> */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <pre> *deploy transaction will use the path * </pre> * * <code>optional string path = 1;</code> */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <pre> *user friendly version name for the chaincode * </pre> * * <code>optional string version = 3;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); 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; } /**
/** * <pre> *user friendly version name for the chaincode * </pre> * * <code>optional string version = 3;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); 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 setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /**
/** * <pre> *user friendly version name for the chaincode * </pre> * * <code>optional string version = 3;</code> */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; onChanged(); return this; } public final Builder setUnknownFields(
/** * <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 setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; 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; }
/** * <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> *deploy transaction will use the path * </pre> * * <code>optional string path = 1;</code> */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <pre> *user friendly version name for the chaincode * </pre> * * <code>optional string version = 3;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**