public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
/** * <code>optional string chaincode_name = 1;</code> */ public Builder setChaincodeNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); chaincodeName_ = value; onChanged(); return this; } public final Builder setUnknownFields(
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
private Builder() { maybeForceBuilderInitialization(); }
/** * <code>optional string chaincode_name = 1;</code> */ public Builder setChaincodeName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } chaincodeName_ = value; onChanged(); return this; } /**
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
/** * <code>optional string chaincode_name = 1;</code> */ public Builder clearChaincodeName() { chaincodeName_ = getDefaultInstance().getChaincodeName(); onChanged(); return this; } /**
private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
/** * <code>optional string chaincode_name = 1;</code> */ public Builder setChaincodeNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); chaincodeName_ = value; onChanged(); return this; } public final Builder setUnknownFields(
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent) { return mergeFrom((org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent)other); } else { super.mergeFrom(other); return this; } }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent.getDefaultInstance()) return this; if (!other.getChaincodeName().isEmpty()) { chaincodeName_ = other.chaincodeName_; onChanged(); } onChanged(); return this; }
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
public org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent buildPartial() { org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent result = new org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent(this); result.chaincodeName_ = chaincodeName_; onBuilt(); return result; }
public org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent build() { org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
private Builder() { maybeForceBuilderInitialization(); }
/** * <code>optional string chaincode_name = 1;</code> */ public Builder setChaincodeName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } chaincodeName_ = value; onChanged(); return this; } /**
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent.getDefaultInstance()) return this; if (!other.getChaincodeName().isEmpty()) { chaincodeName_ = other.chaincodeName_; onChanged(); } onChanged(); return this; }