/** * <code>optional .protos.Rejection rejection = 4;</code> */ public Builder setRejection( org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.Builder builderForValue) { if (rejectionBuilder_ == null) { event_ = builderForValue.build(); onChanged(); } else { rejectionBuilder_.setMessage(builderForValue.build()); } eventCase_ = 4; return this; } /**
input.readMessage(org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.hyperledger.fabric.protos.peer.PeerEvents.Rejection) event_); event_ = subBuilder.buildPartial();
/** * <code>optional .protos.Transaction tx = 1;</code> */ private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction, org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.Builder, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionOrBuilder> getTxFieldBuilder() { if (txBuilder_ == null) { txBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction, org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.Builder, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionOrBuilder>( getTx(), getParentForChildren(), isClean()); tx_ = null; } return txBuilder_; }
input.readMessage(org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.hyperledger.fabric.protos.peer.PeerEvents.Rejection) event_); event_ = subBuilder.buildPartial();
input.readMessage(org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.hyperledger.fabric.protos.peer.PeerEvents.Rejection) event_); event_ = subBuilder.buildPartial();
/** * <code>optional .protos.Rejection rejection = 4;</code> */ public Builder mergeRejection(org.hyperledger.fabric.protos.peer.PeerEvents.Rejection value) { if (rejectionBuilder_ == null) { if (eventCase_ == 4 && event_ != org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.getDefaultInstance()) { event_ = org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.newBuilder((org.hyperledger.fabric.protos.peer.PeerEvents.Rejection) event_) .mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { if (eventCase_ == 4) { rejectionBuilder_.mergeFrom(value); } rejectionBuilder_.setMessage(value); } eventCase_ = 4; return this; } /**
/** * <code>optional .protos.Rejection rejection = 4;</code> */ public Builder mergeRejection(org.hyperledger.fabric.protos.peer.PeerEvents.Rejection value) { if (rejectionBuilder_ == null) { if (eventCase_ == 4 && event_ != org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.getDefaultInstance()) { event_ = org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.newBuilder((org.hyperledger.fabric.protos.peer.PeerEvents.Rejection) event_) .mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { if (eventCase_ == 4) { rejectionBuilder_.mergeFrom(value); } rejectionBuilder_.setMessage(value); } eventCase_ = 4; return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.PeerEvents.Rejection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.PeerEvents.Rejection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.PeerEvents.Rejection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.PeerEvents.Rejection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
/** * <code>optional .protos.Transaction tx = 1;</code> */ private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction, org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.Builder, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionOrBuilder> getTxFieldBuilder() { if (txBuilder_ == null) { txBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction, org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.Builder, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionOrBuilder>( getTx(), getParentForChildren(), isClean()); tx_ = null; } return txBuilder_; }
/** * <code>optional .protos.Transaction tx = 1;</code> */ private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction, org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.Builder, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionOrBuilder> getTxFieldBuilder() { if (txBuilder_ == null) { txBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction, org.hyperledger.fabric.protos.peer.FabricTransaction.Transaction.Builder, org.hyperledger.fabric.protos.peer.FabricTransaction.TransactionOrBuilder>( getTx(), getParentForChildren(), isClean()); tx_ = null; } return txBuilder_; }
/** * <code>optional .protos.Rejection rejection = 4;</code> */ public Builder setRejection( org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.Builder builderForValue) { if (rejectionBuilder_ == null) { event_ = builderForValue.build(); onChanged(); } else { rejectionBuilder_.setMessage(builderForValue.build()); } eventCase_ = 4; return this; } /**
/** * <code>optional .protos.Rejection rejection = 4;</code> */ public Builder setRejection( org.hyperledger.fabric.protos.peer.PeerEvents.Rejection.Builder builderForValue) { if (rejectionBuilder_ == null) { event_ = builderForValue.build(); onChanged(); } else { rejectionBuilder_.setMessage(builderForValue.build()); } eventCase_ = 4; return this; } /**
private Builder() { maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.PeerEvents.Rejection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.PeerEvents.Rejection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public org.hyperledger.fabric.protos.peer.PeerEvents.Rejection build() { org.hyperledger.fabric.protos.peer.PeerEvents.Rejection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }