/** * <code>optional string name = 1;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; }
/** * <code>optional string version = 2;</code> */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; onChanged(); return this; }
/** * <code>optional string version = 2;</code> */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); return this; } /**
/** * <pre> * the name of the ESCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string escc = 5;</code> */ public Builder setEscc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } escc_ = value; onChanged(); return this; } /**
/** * <pre> * the name of the ESCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string escc = 5;</code> */ public Builder setEsccBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); escc_ = value; onChanged(); return this; }
/** * <pre> * the chaincode unique id. * computed as: H( * H(name || version) || * H(CodePackage) * ) * </pre> * * <code>optional bytes id = 7;</code> */ public Builder setId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /**
/** * <pre> * the chaincode unique id. * computed as: H( * H(name || version) || * H(CodePackage) * ) * </pre> * * <code>optional bytes id = 7;</code> */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * the path as specified by the install/instantiate transaction * </pre> * * <code>optional string path = 3;</code> */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /**
/** * <pre> * the name of the VSCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string vscc = 6;</code> */ public Builder setVsccBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vscc_ = value; onChanged(); return this; }
/** * <pre> * the name of the VSCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string vscc = 6;</code> */ public Builder setVscc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vscc_ = value; onChanged(); return this; } /**
/** * <pre> * the chaincode function upon instantiation and its arguments. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string input = 4;</code> */ public Builder setInputBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); input_ = value; onChanged(); return this; }
/** * <pre> * the chaincode function upon instantiation and its arguments. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string input = 4;</code> */ public Builder setInput( java.lang.String value) { if (value == null) { throw new NullPointerException(); } input_ = value; onChanged(); return this; } /**
/** * <pre> * the path as specified by the install/instantiate transaction * </pre> * * <code>optional string path = 3;</code> */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; }
/** * <pre> * the name of the VSCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string vscc = 6;</code> */ public Builder clearVscc() { vscc_ = getDefaultInstance().getVscc(); onChanged(); return this; } /**
/** * <pre> * the name of the ESCC for this chaincode. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string escc = 5;</code> */ public Builder clearEscc() { escc_ = getDefaultInstance().getEscc(); onChanged(); return this; } /**
/** * <pre> * the path as specified by the install/instantiate transaction * </pre> * * <code>optional string path = 3;</code> */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /**
/** * <code>optional string name = 1;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /**
/** * <pre> * the chaincode function upon instantiation and its arguments. This will be * blank if the query is returning information about installed chaincodes. * </pre> * * <code>optional string input = 4;</code> */ public Builder clearInput() { input_ = getDefaultInstance().getInput(); onChanged(); return this; } /**
/** * <code>optional string version = 2;</code> */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /**
/** * <code>optional string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**