/** * <code>optional string tx_id = 2;</code> */ public Builder setTxId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } txId_ = value; onChanged(); return this; } /**
/** * <code>optional bytes payload = 4;</code> */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); return this; } /**
/** * <code>optional string event_name = 3;</code> */ public Builder setEventNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventName_ = value; onChanged(); return this; }
/** * <code>optional string tx_id = 2;</code> */ public Builder clearTxId() { txId_ = getDefaultInstance().getTxId(); onChanged(); return this; } /**
/** * <code>optional string chaincode_id = 1;</code> */ public Builder clearChaincodeId() { chaincodeId_ = getDefaultInstance().getChaincodeId(); onChanged(); return this; } /**
/** * <code>optional bytes payload = 4;</code> */ public Builder clearPayload() { payload_ = getDefaultInstance().getPayload(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>optional bytes payload = 4;</code> */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); return this; } /**
/** * <code>optional string chaincode_id = 1;</code> */ public Builder setChaincodeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); chaincodeId_ = value; onChanged(); return this; }
/** * <code>optional string event_name = 3;</code> */ public Builder setEventName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } eventName_ = value; onChanged(); return this; } /**
/** * <code>optional string tx_id = 2;</code> */ public Builder setTxId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } txId_ = value; onChanged(); return this; } /**
/** * <code>optional string chaincode_id = 1;</code> */ public Builder clearChaincodeId() { chaincodeId_ = getDefaultInstance().getChaincodeId(); onChanged(); return this; } /**
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent other) { if (other == org.hyperledger.fabric.protos.peer.ChaincodeEventOuterClass.ChaincodeEvent.getDefaultInstance()) return this; if (!other.getChaincodeId().isEmpty()) { chaincodeId_ = other.chaincodeId_; onChanged(); } if (!other.getTxId().isEmpty()) { txId_ = other.txId_; onChanged(); } if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; onChanged(); } if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) { setPayload(other.getPayload()); } onChanged(); return this; }
/** * <code>optional string chaincode_id = 1;</code> */ public Builder setChaincodeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); chaincodeId_ = value; onChanged(); return this; }
/** * <code>optional string tx_id = 2;</code> */ public Builder setTxIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); txId_ = value; onChanged(); return this; }
/** * <code>optional string event_name = 3;</code> */ public Builder setEventName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } eventName_ = value; onChanged(); return this; } /**
/** * <code>optional string chaincode_id = 1;</code> */ public Builder setChaincodeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } chaincodeId_ = value; onChanged(); return this; } /**
/** * <code>optional bytes payload = 4;</code> */ public Builder clearPayload() { payload_ = getDefaultInstance().getPayload(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>optional string event_name = 3;</code> */ public Builder clearEventName() { eventName_ = getDefaultInstance().getEventName(); onChanged(); return this; } /**
/** * <code>optional string tx_id = 2;</code> */ public Builder clearTxId() { txId_ = getDefaultInstance().getTxId(); onChanged(); return this; } /**
/** * <code>optional string chaincode_id = 1;</code> */ public Builder clearChaincodeId() { chaincodeId_ = getDefaultInstance().getChaincodeId(); onChanged(); return this; } /**