/** * <code>optional bytes code_package = 3;</code> */ public Builder setCodePackage(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } codePackage_ = value; onChanged(); return this; } /**
/** * <code>optional string path = 2;</code> */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; }
/** * <code>optional string type = 1;</code> */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /**
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage.getDefaultInstance()) return this; if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.getCodePackage() != com.google.protobuf.ByteString.EMPTY) { setCodePackage(other.getCodePackage()); } onChanged(); return this; }
/** * <code>optional string path = 2;</code> */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /**
/** * <code>optional string type = 1;</code> */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; }
/** * <code>optional string path = 2;</code> */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; }
/** * <code>optional string type = 1;</code> */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /**
/** * <code>optional string type = 1;</code> */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /**
/** * <code>optional string path = 2;</code> */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <code>optional bytes code_package = 3;</code> */ public Builder clearCodePackage() { codePackage_ = getDefaultInstance().getCodePackage(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>optional bytes code_package = 3;</code> */ public Builder setCodePackage(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } codePackage_ = value; onChanged(); return this; } /**
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.ChaincodeInstallPackage.getDefaultInstance()) return this; if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.getCodePackage() != com.google.protobuf.ByteString.EMPTY) { setCodePackage(other.getCodePackage()); } onChanged(); return this; }
/** * <code>optional string type = 1;</code> */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; }
/** * <code>optional string path = 2;</code> */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /**
/** * <code>optional string path = 2;</code> */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <code>optional bytes code_package = 3;</code> */ public Builder clearCodePackage() { codePackage_ = getDefaultInstance().getCodePackage(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>optional string type = 1;</code> */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /**