@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + TRANSACTION_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTransactionBytes().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable();
e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other = (org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction) obj; boolean result = true; result = result && getTransactionBytes() .equals(other.getTransactionBytes()); result = result && getSignature() .equals(other.getSignature()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction other = (org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction) obj; boolean result = true; result = result && getTransactionBytes() .equals(other.getTransactionBytes()); result = result && getSignature() .equals(other.getSignature()); return result; }
/** * <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(
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
/** * <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(
public org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction.getDefaultInstance(); }
public org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction.getDefaultInstance(); }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + TRANSACTION_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTransactionBytes().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction prototype) {
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; }
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.FabricTransaction.SignedTransaction prototype) {
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; }
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; }
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; }