public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction) { return mergeFrom((org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction)other); } else { super.mergeFrom(other); return this; } }
subBuilder.mergeFrom(tx_); tx_ = subBuilder.buildPartial();
subBuilder.mergeFrom(tx_); tx_ = subBuilder.buildPartial();
subBuilder.mergeFrom(tx_); tx_ = subBuilder.buildPartial();
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>optional .protos.Transaction tx = 1;</code> */ public Builder mergeTx(org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction value) { if (txBuilder_ == null) { if (tx_ != null) { tx_ = org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.newBuilder(tx_).mergeFrom(value).buildPartial(); } else { tx_ = value; } onChanged(); } else { txBuilder_.mergeFrom(value); } return this; } /**
/** * <code>optional .protos.Transaction tx = 1;</code> */ public Builder mergeTx(org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction value) { if (txBuilder_ == null) { if (tx_ != null) { tx_ = org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.newBuilder(tx_).mergeFrom(value).buildPartial(); } else { tx_ = value; } onChanged(); } else { txBuilder_.mergeFrom(value); } return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction) { return mergeFrom((org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction)other); } else { super.mergeFrom(other); return this; } }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction) { return mergeFrom((org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction)other); } else { super.mergeFrom(other); return this; } }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
/** * <code>optional .protos.Transaction tx = 1;</code> */ public Builder mergeTx(org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction value) { if (txBuilder_ == null) { if (tx_ != null) { tx_ = org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.newBuilder(tx_).mergeFrom(value).buildPartial(); } else { tx_ = value; } onChanged(); } else { txBuilder_.mergeFrom(value); } return this; } /**
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }