public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse buildPartial() { org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse result = new org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse(this); int from_bitField0_ = bitField0_; if (chaincodesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { chaincodes_ = java.util.Collections.unmodifiableList(chaincodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.chaincodes_ = chaincodes_; } else { result.chaincodes_ = chaincodesBuilder_.build(); } onBuilt(); return result; }
public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse buildPartial() { org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse result = new org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse(this); int from_bitField0_ = bitField0_; if (chaincodesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { chaincodes_ = java.util.Collections.unmodifiableList(chaincodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.chaincodes_ = chaincodes_; } else { result.chaincodes_ = chaincodesBuilder_.build(); } onBuilt(); return result; }
public org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse buildPartial() { org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse result = new org.hyperledger.fabric.protos.peer.Query.ChaincodeQueryResponse(this); int from_bitField0_ = bitField0_; if (chaincodesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { chaincodes_ = java.util.Collections.unmodifiableList(chaincodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.chaincodes_ = chaincodes_; } else { result.chaincodes_ = chaincodesBuilder_.build(); } onBuilt(); return result; }