public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) 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.PeerEvents.FilteredBlock) { return mergeFrom((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock)other); } else { super.mergeFrom(other); return this; } }
input.readMessage(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) type_); type_ = subBuilder.buildPartial();
/** * <code>optional .protos.FilteredBlock filtered_block = 3;</code> */ public Builder mergeFilteredBlock(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock value) { if (filteredBlockBuilder_ == null) { if (typeCase_ == 3 && type_ != org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.getDefaultInstance()) { type_ = org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.newBuilder((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { filteredBlockBuilder_.mergeFrom(value); } filteredBlockBuilder_.setMessage(value); } typeCase_ = 3; return this; } /**
/** * <code>optional .protos.FilteredBlock filtered_block = 3;</code> */ public Builder mergeFilteredBlock(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock value) { if (filteredBlockBuilder_ == null) { if (typeCase_ == 3 && type_ != org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.getDefaultInstance()) { type_ = org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.newBuilder((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { filteredBlockBuilder_.mergeFrom(value); } filteredBlockBuilder_.setMessage(value); } typeCase_ = 3; return this; } /**
/** * <code>optional .protos.FilteredBlock filtered_block = 7;</code> */ public Builder mergeFilteredBlock(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock value) { if (filteredBlockBuilder_ == null) { if (eventCase_ == 7 && event_ != org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.getDefaultInstance()) { event_ = org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.newBuilder((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) event_) .mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { if (eventCase_ == 7) { filteredBlockBuilder_.mergeFrom(value); } filteredBlockBuilder_.setMessage(value); } eventCase_ = 7; return this; } /**
/** * <code>optional .protos.FilteredBlock filtered_block = 7;</code> */ public Builder mergeFilteredBlock(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock value) { if (filteredBlockBuilder_ == null) { if (eventCase_ == 7 && event_ != org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.getDefaultInstance()) { event_ = org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.newBuilder((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) event_) .mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { if (eventCase_ == 7) { filteredBlockBuilder_.mergeFrom(value); } filteredBlockBuilder_.setMessage(value); } eventCase_ = 7; 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.FilteredBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) 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.PeerEvents.FilteredBlock prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) { return mergeFrom((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock)other); } else { super.mergeFrom(other); return this; } }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) { return mergeFrom((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock)other); } else { super.mergeFrom(other); return this; } }
input.readMessage(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) event_); event_ = subBuilder.buildPartial();
/** * <code>optional .protos.FilteredBlock filtered_block = 7;</code> */ public Builder mergeFilteredBlock(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock value) { if (filteredBlockBuilder_ == null) { if (eventCase_ == 7 && event_ != org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.getDefaultInstance()) { event_ = org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.newBuilder((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) event_) .mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { if (eventCase_ == 7) { filteredBlockBuilder_.mergeFrom(value); } filteredBlockBuilder_.setMessage(value); } eventCase_ = 7; return this; } /**
/** * <code>optional .protos.FilteredBlock filtered_block = 3;</code> */ public Builder mergeFilteredBlock(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock value) { if (filteredBlockBuilder_ == null) { if (typeCase_ == 3 && type_ != org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.getDefaultInstance()) { type_ = org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock.newBuilder((org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { filteredBlockBuilder_.mergeFrom(value); } filteredBlockBuilder_.setMessage(value); } typeCase_ = 3; return this; } /**
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.PeerEvents.FilteredBlock prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }