public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
/** * <pre> * Signature of the transactionBytes The public key of the signature is in * the header field of TransactionAction There might be multiple * TransactionAction, so multiple headers, but there should be same * transactor identity (cert) in all headers * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); return this; } /**
/** * <pre> * Signature of the transactionBytes The public key of the signature is in * the header field of TransactionAction There might be multiple * TransactionAction, so multiple headers, but there should be same * transactor identity (cert) in all headers * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); return this; } /**
/** * <pre> * Signature of the transactionBytes The public key of the signature is in * the header field of TransactionAction There might be multiple * TransactionAction, so multiple headers, but there should be same * transactor identity (cert) in all headers * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); 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.SignedTransaction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
/** * <pre> * Signature of the transactionBytes The public key of the signature is in * the header field of TransactionAction There might be multiple * TransactionAction, so multiple headers, but there should be same * transactor identity (cert) in all headers * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * The bytes of the Transaction. NDD * </pre> * * <code>optional bytes transaction_bytes = 1;</code> */ public Builder setTransactionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } transactionBytes_ = value; onChanged(); return this; } /**
/** * <pre> * Signature of the transactionBytes The public key of the signature is in * the header field of TransactionAction There might be multiple * TransactionAction, so multiple headers, but there should be same * transactor identity (cert) in all headers * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * The bytes of the Transaction. NDD * </pre> * * <code>optional bytes transaction_bytes = 1;</code> */ public Builder setTransactionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } transactionBytes_ = value; onChanged(); return this; } /**
private Builder() { maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction buildPartial() { org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction result = new org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction(this); result.transactionBytes_ = transactionBytes_; result.signature_ = signature_; onBuilt(); return result; }
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
/** * <pre> * The bytes of the Transaction. NDD * </pre> * * <code>optional bytes transaction_bytes = 1;</code> */ public Builder clearTransactionBytes() { transactionBytes_ = getDefaultInstance().getTransactionBytes(); onChanged(); return this; }
private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
public org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction build() { org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }