All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.fabric.protos.peer.TransactionPackage Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: peer/transaction.proto

package org.hyperledger.fabric.protos.peer;

public final class TransactionPackage {
  private TransactionPackage() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code protos.TxValidationCode}
   */
  public enum TxValidationCode
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * VALID = 0;
     */
    VALID(0),
    /**
     * NIL_ENVELOPE = 1;
     */
    NIL_ENVELOPE(1),
    /**
     * BAD_PAYLOAD = 2;
     */
    BAD_PAYLOAD(2),
    /**
     * BAD_COMMON_HEADER = 3;
     */
    BAD_COMMON_HEADER(3),
    /**
     * BAD_CREATOR_SIGNATURE = 4;
     */
    BAD_CREATOR_SIGNATURE(4),
    /**
     * INVALID_ENDORSER_TRANSACTION = 5;
     */
    INVALID_ENDORSER_TRANSACTION(5),
    /**
     * INVALID_CONFIG_TRANSACTION = 6;
     */
    INVALID_CONFIG_TRANSACTION(6),
    /**
     * UNSUPPORTED_TX_PAYLOAD = 7;
     */
    UNSUPPORTED_TX_PAYLOAD(7),
    /**
     * BAD_PROPOSAL_TXID = 8;
     */
    BAD_PROPOSAL_TXID(8),
    /**
     * DUPLICATE_TXID = 9;
     */
    DUPLICATE_TXID(9),
    /**
     * ENDORSEMENT_POLICY_FAILURE = 10;
     */
    ENDORSEMENT_POLICY_FAILURE(10),
    /**
     * MVCC_READ_CONFLICT = 11;
     */
    MVCC_READ_CONFLICT(11),
    /**
     * PHANTOM_READ_CONFLICT = 12;
     */
    PHANTOM_READ_CONFLICT(12),
    /**
     * UNKNOWN_TX_TYPE = 13;
     */
    UNKNOWN_TX_TYPE(13),
    /**
     * TARGET_CHAIN_NOT_FOUND = 14;
     */
    TARGET_CHAIN_NOT_FOUND(14),
    /**
     * MARSHAL_TX_ERROR = 15;
     */
    MARSHAL_TX_ERROR(15),
    /**
     * NIL_TXACTION = 16;
     */
    NIL_TXACTION(16),
    /**
     * EXPIRED_CHAINCODE = 17;
     */
    EXPIRED_CHAINCODE(17),
    /**
     * CHAINCODE_VERSION_CONFLICT = 18;
     */
    CHAINCODE_VERSION_CONFLICT(18),
    /**
     * BAD_HEADER_EXTENSION = 19;
     */
    BAD_HEADER_EXTENSION(19),
    /**
     * BAD_CHANNEL_HEADER = 20;
     */
    BAD_CHANNEL_HEADER(20),
    /**
     * BAD_RESPONSE_PAYLOAD = 21;
     */
    BAD_RESPONSE_PAYLOAD(21),
    /**
     * BAD_RWSET = 22;
     */
    BAD_RWSET(22),
    /**
     * ILLEGAL_WRITESET = 23;
     */
    ILLEGAL_WRITESET(23),
    /**
     * INVALID_WRITESET = 24;
     */
    INVALID_WRITESET(24),
    /**
     * INVALID_CHAINCODE = 25;
     */
    INVALID_CHAINCODE(25),
    /**
     * NOT_VALIDATED = 254;
     */
    NOT_VALIDATED(254),
    /**
     * INVALID_OTHER_REASON = 255;
     */
    INVALID_OTHER_REASON(255),
    UNRECOGNIZED(-1),
    ;

    /**
     * VALID = 0;
     */
    public static final int VALID_VALUE = 0;
    /**
     * NIL_ENVELOPE = 1;
     */
    public static final int NIL_ENVELOPE_VALUE = 1;
    /**
     * BAD_PAYLOAD = 2;
     */
    public static final int BAD_PAYLOAD_VALUE = 2;
    /**
     * BAD_COMMON_HEADER = 3;
     */
    public static final int BAD_COMMON_HEADER_VALUE = 3;
    /**
     * BAD_CREATOR_SIGNATURE = 4;
     */
    public static final int BAD_CREATOR_SIGNATURE_VALUE = 4;
    /**
     * INVALID_ENDORSER_TRANSACTION = 5;
     */
    public static final int INVALID_ENDORSER_TRANSACTION_VALUE = 5;
    /**
     * INVALID_CONFIG_TRANSACTION = 6;
     */
    public static final int INVALID_CONFIG_TRANSACTION_VALUE = 6;
    /**
     * UNSUPPORTED_TX_PAYLOAD = 7;
     */
    public static final int UNSUPPORTED_TX_PAYLOAD_VALUE = 7;
    /**
     * BAD_PROPOSAL_TXID = 8;
     */
    public static final int BAD_PROPOSAL_TXID_VALUE = 8;
    /**
     * DUPLICATE_TXID = 9;
     */
    public static final int DUPLICATE_TXID_VALUE = 9;
    /**
     * ENDORSEMENT_POLICY_FAILURE = 10;
     */
    public static final int ENDORSEMENT_POLICY_FAILURE_VALUE = 10;
    /**
     * MVCC_READ_CONFLICT = 11;
     */
    public static final int MVCC_READ_CONFLICT_VALUE = 11;
    /**
     * PHANTOM_READ_CONFLICT = 12;
     */
    public static final int PHANTOM_READ_CONFLICT_VALUE = 12;
    /**
     * UNKNOWN_TX_TYPE = 13;
     */
    public static final int UNKNOWN_TX_TYPE_VALUE = 13;
    /**
     * TARGET_CHAIN_NOT_FOUND = 14;
     */
    public static final int TARGET_CHAIN_NOT_FOUND_VALUE = 14;
    /**
     * MARSHAL_TX_ERROR = 15;
     */
    public static final int MARSHAL_TX_ERROR_VALUE = 15;
    /**
     * NIL_TXACTION = 16;
     */
    public static final int NIL_TXACTION_VALUE = 16;
    /**
     * EXPIRED_CHAINCODE = 17;
     */
    public static final int EXPIRED_CHAINCODE_VALUE = 17;
    /**
     * CHAINCODE_VERSION_CONFLICT = 18;
     */
    public static final int CHAINCODE_VERSION_CONFLICT_VALUE = 18;
    /**
     * BAD_HEADER_EXTENSION = 19;
     */
    public static final int BAD_HEADER_EXTENSION_VALUE = 19;
    /**
     * BAD_CHANNEL_HEADER = 20;
     */
    public static final int BAD_CHANNEL_HEADER_VALUE = 20;
    /**
     * BAD_RESPONSE_PAYLOAD = 21;
     */
    public static final int BAD_RESPONSE_PAYLOAD_VALUE = 21;
    /**
     * BAD_RWSET = 22;
     */
    public static final int BAD_RWSET_VALUE = 22;
    /**
     * ILLEGAL_WRITESET = 23;
     */
    public static final int ILLEGAL_WRITESET_VALUE = 23;
    /**
     * INVALID_WRITESET = 24;
     */
    public static final int INVALID_WRITESET_VALUE = 24;
    /**
     * INVALID_CHAINCODE = 25;
     */
    public static final int INVALID_CHAINCODE_VALUE = 25;
    /**
     * NOT_VALIDATED = 254;
     */
    public static final int NOT_VALIDATED_VALUE = 254;
    /**
     * INVALID_OTHER_REASON = 255;
     */
    public static final int INVALID_OTHER_REASON_VALUE = 255;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static TxValidationCode valueOf(int value) {
      return forNumber(value);
    }

    public static TxValidationCode forNumber(int value) {
      switch (value) {
        case 0: return VALID;
        case 1: return NIL_ENVELOPE;
        case 2: return BAD_PAYLOAD;
        case 3: return BAD_COMMON_HEADER;
        case 4: return BAD_CREATOR_SIGNATURE;
        case 5: return INVALID_ENDORSER_TRANSACTION;
        case 6: return INVALID_CONFIG_TRANSACTION;
        case 7: return UNSUPPORTED_TX_PAYLOAD;
        case 8: return BAD_PROPOSAL_TXID;
        case 9: return DUPLICATE_TXID;
        case 10: return ENDORSEMENT_POLICY_FAILURE;
        case 11: return MVCC_READ_CONFLICT;
        case 12: return PHANTOM_READ_CONFLICT;
        case 13: return UNKNOWN_TX_TYPE;
        case 14: return TARGET_CHAIN_NOT_FOUND;
        case 15: return MARSHAL_TX_ERROR;
        case 16: return NIL_TXACTION;
        case 17: return EXPIRED_CHAINCODE;
        case 18: return CHAINCODE_VERSION_CONFLICT;
        case 19: return BAD_HEADER_EXTENSION;
        case 20: return BAD_CHANNEL_HEADER;
        case 21: return BAD_RESPONSE_PAYLOAD;
        case 22: return BAD_RWSET;
        case 23: return ILLEGAL_WRITESET;
        case 24: return INVALID_WRITESET;
        case 25: return INVALID_CHAINCODE;
        case 254: return NOT_VALIDATED;
        case 255: return INVALID_OTHER_REASON;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        TxValidationCode> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public TxValidationCode findValueByNumber(int number) {
              return TxValidationCode.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return org.hyperledger.fabric.protos.peer.TransactionPackage.getDescriptor().getEnumTypes().get(0);
    }

    private static final TxValidationCode[] VALUES = values();

    public static TxValidationCode valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private TxValidationCode(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:protos.TxValidationCode)
  }

  /**
   * 
   * Reserved entries in the key-level metadata map
   * 
* * Protobuf enum {@code protos.MetaDataKeys} */ public enum MetaDataKeys implements com.google.protobuf.ProtocolMessageEnum { /** * VALIDATION_PARAMETER = 0; */ VALIDATION_PARAMETER(0), /** * VALIDATION_PARAMETER_V2 = 1; */ VALIDATION_PARAMETER_V2(1), UNRECOGNIZED(-1), ; /** * VALIDATION_PARAMETER = 0; */ public static final int VALIDATION_PARAMETER_VALUE = 0; /** * VALIDATION_PARAMETER_V2 = 1; */ public static final int VALIDATION_PARAMETER_V2_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MetaDataKeys valueOf(int value) { return forNumber(value); } public static MetaDataKeys forNumber(int value) { switch (value) { case 0: return VALIDATION_PARAMETER; case 1: return VALIDATION_PARAMETER_V2; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< MetaDataKeys> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public MetaDataKeys findValueByNumber(int number) { return MetaDataKeys.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.getDescriptor().getEnumTypes().get(1); } private static final MetaDataKeys[] VALUES = values(); public static MetaDataKeys valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private MetaDataKeys(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:protos.MetaDataKeys) } public interface SignedTransactionOrBuilder extends // @@protoc_insertion_point(interface_extends:protos.SignedTransaction) com.google.protobuf.MessageOrBuilder { /** *
     * The bytes of the Transaction. NDD
     * 
* * bytes transaction_bytes = 1; */ com.google.protobuf.ByteString getTransactionBytes(); /** *
     * 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
     * 
* * bytes signature = 2; */ com.google.protobuf.ByteString getSignature(); } /** *
   * This message is necessary to facilitate the verification of the signature
   * (in the signature field) over the bytes of the transaction (in the
   * transactionBytes field).
   * 
* * Protobuf type {@code protos.SignedTransaction} */ public static final class SignedTransaction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:protos.SignedTransaction) SignedTransactionOrBuilder { private static final long serialVersionUID = 0L; // Use SignedTransaction.newBuilder() to construct. private SignedTransaction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SignedTransaction() { transactionBytes_ = com.google.protobuf.ByteString.EMPTY; signature_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SignedTransaction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SignedTransaction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { transactionBytes_ = input.readBytes(); break; } case 18: { signature_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_SignedTransaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_SignedTransaction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction.Builder.class); } public static final int TRANSACTION_BYTES_FIELD_NUMBER = 1; private com.google.protobuf.ByteString transactionBytes_; /** *
     * The bytes of the Transaction. NDD
     * 
* * bytes transaction_bytes = 1; */ public com.google.protobuf.ByteString getTransactionBytes() { return transactionBytes_; } public static final int SIGNATURE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString signature_; /** *
     * 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
     * 
* * bytes signature = 2; */ public com.google.protobuf.ByteString getSignature() { return signature_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!transactionBytes_.isEmpty()) { output.writeBytes(1, transactionBytes_); } if (!signature_.isEmpty()) { output.writeBytes(2, signature_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!transactionBytes_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, transactionBytes_); } if (!signature_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, signature_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction other = (org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction) obj; if (!getTransactionBytes() .equals(other.getTransactionBytes())) return false; if (!getSignature() .equals(other.getSignature())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().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 static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * This message is necessary to facilitate the verification of the signature
     * (in the signature field) over the bytes of the transaction (in the
     * transactionBytes field).
     * 
* * Protobuf type {@code protos.SignedTransaction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:protos.SignedTransaction) org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransactionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_SignedTransaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_SignedTransaction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction.Builder.class); } // Construct using org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); transactionBytes_ = com.google.protobuf.ByteString.EMPTY; signature_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_SignedTransaction_descriptor; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction.getDefaultInstance(); } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction build() { org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction buildPartial() { org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction result = new org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction(this); result.transactionBytes_ = transactionBytes_; result.signature_ = signature_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction) { return mergeFrom((org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction other) { if (other == org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction.getDefaultInstance()) return this; if (other.getTransactionBytes() != com.google.protobuf.ByteString.EMPTY) { setTransactionBytes(other.getTransactionBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString transactionBytes_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The bytes of the Transaction. NDD
       * 
* * bytes transaction_bytes = 1; */ public com.google.protobuf.ByteString getTransactionBytes() { return transactionBytes_; } /** *
       * The bytes of the Transaction. NDD
       * 
* * bytes transaction_bytes = 1; */ public Builder setTransactionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } transactionBytes_ = value; onChanged(); return this; } /** *
       * The bytes of the Transaction. NDD
       * 
* * bytes transaction_bytes = 1; */ public Builder clearTransactionBytes() { transactionBytes_ = getDefaultInstance().getTransactionBytes(); onChanged(); return this; } private com.google.protobuf.ByteString signature_ = com.google.protobuf.ByteString.EMPTY; /** *
       * 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
       * 
* * bytes signature = 2; */ public com.google.protobuf.ByteString getSignature() { return signature_; } /** *
       * 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
       * 
* * bytes signature = 2; */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); return this; } /** *
       * 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
       * 
* * bytes signature = 2; */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:protos.SignedTransaction) } // @@protoc_insertion_point(class_scope:protos.SignedTransaction) private static final org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction(); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SignedTransaction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SignedTransaction(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.SignedTransaction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProcessedTransactionOrBuilder extends // @@protoc_insertion_point(interface_extends:protos.ProcessedTransaction) com.google.protobuf.MessageOrBuilder { /** *
     * An Envelope which includes a processed transaction
     * 
* * .common.Envelope transactionEnvelope = 1; */ boolean hasTransactionEnvelope(); /** *
     * An Envelope which includes a processed transaction
     * 
* * .common.Envelope transactionEnvelope = 1; */ org.hyperledger.fabric.protos.common.Common.Envelope getTransactionEnvelope(); /** *
     * An Envelope which includes a processed transaction
     * 
* * .common.Envelope transactionEnvelope = 1; */ org.hyperledger.fabric.protos.common.Common.EnvelopeOrBuilder getTransactionEnvelopeOrBuilder(); /** *
     * An indication of whether the transaction was validated or invalidated by committing peer
     * 
* * int32 validationCode = 2; */ int getValidationCode(); } /** *
   * ProcessedTransaction wraps an Envelope that includes a transaction along with an indication
   * of whether the transaction was validated or invalidated by committing peer.
   * The use case is that GetTransactionByID API needs to retrieve the transaction Envelope
   * from block storage, and return it to a client, and indicate whether the transaction
   * was validated or invalidated by committing peer. So that the originally submitted
   * transaction Envelope is not modified, the ProcessedTransaction wrapper is returned.
   * 
* * Protobuf type {@code protos.ProcessedTransaction} */ public static final class ProcessedTransaction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:protos.ProcessedTransaction) ProcessedTransactionOrBuilder { private static final long serialVersionUID = 0L; // Use ProcessedTransaction.newBuilder() to construct. private ProcessedTransaction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProcessedTransaction() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ProcessedTransaction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProcessedTransaction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { org.hyperledger.fabric.protos.common.Common.Envelope.Builder subBuilder = null; if (transactionEnvelope_ != null) { subBuilder = transactionEnvelope_.toBuilder(); } transactionEnvelope_ = input.readMessage(org.hyperledger.fabric.protos.common.Common.Envelope.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transactionEnvelope_); transactionEnvelope_ = subBuilder.buildPartial(); } break; } case 16: { validationCode_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ProcessedTransaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ProcessedTransaction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction.Builder.class); } public static final int TRANSACTIONENVELOPE_FIELD_NUMBER = 1; private org.hyperledger.fabric.protos.common.Common.Envelope transactionEnvelope_; /** *
     * An Envelope which includes a processed transaction
     * 
* * .common.Envelope transactionEnvelope = 1; */ public boolean hasTransactionEnvelope() { return transactionEnvelope_ != null; } /** *
     * An Envelope which includes a processed transaction
     * 
* * .common.Envelope transactionEnvelope = 1; */ public org.hyperledger.fabric.protos.common.Common.Envelope getTransactionEnvelope() { return transactionEnvelope_ == null ? org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance() : transactionEnvelope_; } /** *
     * An Envelope which includes a processed transaction
     * 
* * .common.Envelope transactionEnvelope = 1; */ public org.hyperledger.fabric.protos.common.Common.EnvelopeOrBuilder getTransactionEnvelopeOrBuilder() { return getTransactionEnvelope(); } public static final int VALIDATIONCODE_FIELD_NUMBER = 2; private int validationCode_; /** *
     * An indication of whether the transaction was validated or invalidated by committing peer
     * 
* * int32 validationCode = 2; */ public int getValidationCode() { return validationCode_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transactionEnvelope_ != null) { output.writeMessage(1, getTransactionEnvelope()); } if (validationCode_ != 0) { output.writeInt32(2, validationCode_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (transactionEnvelope_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTransactionEnvelope()); } if (validationCode_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, validationCode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction other = (org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction) obj; if (hasTransactionEnvelope() != other.hasTransactionEnvelope()) return false; if (hasTransactionEnvelope()) { if (!getTransactionEnvelope() .equals(other.getTransactionEnvelope())) return false; } if (getValidationCode() != other.getValidationCode()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTransactionEnvelope()) { hash = (37 * hash) + TRANSACTIONENVELOPE_FIELD_NUMBER; hash = (53 * hash) + getTransactionEnvelope().hashCode(); } hash = (37 * hash) + VALIDATIONCODE_FIELD_NUMBER; hash = (53 * hash) + getValidationCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * ProcessedTransaction wraps an Envelope that includes a transaction along with an indication
     * of whether the transaction was validated or invalidated by committing peer.
     * The use case is that GetTransactionByID API needs to retrieve the transaction Envelope
     * from block storage, and return it to a client, and indicate whether the transaction
     * was validated or invalidated by committing peer. So that the originally submitted
     * transaction Envelope is not modified, the ProcessedTransaction wrapper is returned.
     * 
* * Protobuf type {@code protos.ProcessedTransaction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:protos.ProcessedTransaction) org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransactionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ProcessedTransaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ProcessedTransaction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction.Builder.class); } // Construct using org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (transactionEnvelopeBuilder_ == null) { transactionEnvelope_ = null; } else { transactionEnvelope_ = null; transactionEnvelopeBuilder_ = null; } validationCode_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ProcessedTransaction_descriptor; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction.getDefaultInstance(); } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction build() { org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction buildPartial() { org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction result = new org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction(this); if (transactionEnvelopeBuilder_ == null) { result.transactionEnvelope_ = transactionEnvelope_; } else { result.transactionEnvelope_ = transactionEnvelopeBuilder_.build(); } result.validationCode_ = validationCode_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction) { return mergeFrom((org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction other) { if (other == org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction.getDefaultInstance()) return this; if (other.hasTransactionEnvelope()) { mergeTransactionEnvelope(other.getTransactionEnvelope()); } if (other.getValidationCode() != 0) { setValidationCode(other.getValidationCode()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.hyperledger.fabric.protos.common.Common.Envelope transactionEnvelope_; private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.common.Common.Envelope.Builder, org.hyperledger.fabric.protos.common.Common.EnvelopeOrBuilder> transactionEnvelopeBuilder_; /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ public boolean hasTransactionEnvelope() { return transactionEnvelopeBuilder_ != null || transactionEnvelope_ != null; } /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ public org.hyperledger.fabric.protos.common.Common.Envelope getTransactionEnvelope() { if (transactionEnvelopeBuilder_ == null) { return transactionEnvelope_ == null ? org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance() : transactionEnvelope_; } else { return transactionEnvelopeBuilder_.getMessage(); } } /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ public Builder setTransactionEnvelope(org.hyperledger.fabric.protos.common.Common.Envelope value) { if (transactionEnvelopeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transactionEnvelope_ = value; onChanged(); } else { transactionEnvelopeBuilder_.setMessage(value); } return this; } /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ public Builder setTransactionEnvelope( org.hyperledger.fabric.protos.common.Common.Envelope.Builder builderForValue) { if (transactionEnvelopeBuilder_ == null) { transactionEnvelope_ = builderForValue.build(); onChanged(); } else { transactionEnvelopeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ public Builder mergeTransactionEnvelope(org.hyperledger.fabric.protos.common.Common.Envelope value) { if (transactionEnvelopeBuilder_ == null) { if (transactionEnvelope_ != null) { transactionEnvelope_ = org.hyperledger.fabric.protos.common.Common.Envelope.newBuilder(transactionEnvelope_).mergeFrom(value).buildPartial(); } else { transactionEnvelope_ = value; } onChanged(); } else { transactionEnvelopeBuilder_.mergeFrom(value); } return this; } /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ public Builder clearTransactionEnvelope() { if (transactionEnvelopeBuilder_ == null) { transactionEnvelope_ = null; onChanged(); } else { transactionEnvelope_ = null; transactionEnvelopeBuilder_ = null; } return this; } /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ public org.hyperledger.fabric.protos.common.Common.Envelope.Builder getTransactionEnvelopeBuilder() { onChanged(); return getTransactionEnvelopeFieldBuilder().getBuilder(); } /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ public org.hyperledger.fabric.protos.common.Common.EnvelopeOrBuilder getTransactionEnvelopeOrBuilder() { if (transactionEnvelopeBuilder_ != null) { return transactionEnvelopeBuilder_.getMessageOrBuilder(); } else { return transactionEnvelope_ == null ? org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance() : transactionEnvelope_; } } /** *
       * An Envelope which includes a processed transaction
       * 
* * .common.Envelope transactionEnvelope = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.common.Common.Envelope.Builder, org.hyperledger.fabric.protos.common.Common.EnvelopeOrBuilder> getTransactionEnvelopeFieldBuilder() { if (transactionEnvelopeBuilder_ == null) { transactionEnvelopeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.common.Common.Envelope.Builder, org.hyperledger.fabric.protos.common.Common.EnvelopeOrBuilder>( getTransactionEnvelope(), getParentForChildren(), isClean()); transactionEnvelope_ = null; } return transactionEnvelopeBuilder_; } private int validationCode_ ; /** *
       * An indication of whether the transaction was validated or invalidated by committing peer
       * 
* * int32 validationCode = 2; */ public int getValidationCode() { return validationCode_; } /** *
       * An indication of whether the transaction was validated or invalidated by committing peer
       * 
* * int32 validationCode = 2; */ public Builder setValidationCode(int value) { validationCode_ = value; onChanged(); return this; } /** *
       * An indication of whether the transaction was validated or invalidated by committing peer
       * 
* * int32 validationCode = 2; */ public Builder clearValidationCode() { validationCode_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:protos.ProcessedTransaction) } // @@protoc_insertion_point(class_scope:protos.ProcessedTransaction) private static final org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction(); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProcessedTransaction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProcessedTransaction(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ProcessedTransaction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionOrBuilder extends // @@protoc_insertion_point(interface_extends:protos.Transaction) com.google.protobuf.MessageOrBuilder { /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ java.util.List getActionsList(); /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction getActions(int index); /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ int getActionsCount(); /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ java.util.List getActionsOrBuilderList(); /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionActionOrBuilder getActionsOrBuilder( int index); } /** *
   * The transaction to be sent to the ordering service. A transaction contains
   * one or more TransactionAction. Each TransactionAction binds a proposal to
   * potentially multiple actions. The transaction is atomic meaning that either
   * all actions in the transaction will be committed or none will.  Note that
   * while a Transaction might include more than one Header, the Header.creator
   * field must be the same in each.
   * A single client is free to issue a number of independent Proposal, each with
   * their header (Header) and request payload (ChaincodeProposalPayload).  Each
   * proposal is independently endorsed generating an action
   * (ProposalResponsePayload) with one signature per Endorser. Any number of
   * independent proposals (and their action) might be included in a transaction
   * to ensure that they are treated atomically.
   * 
* * Protobuf type {@code protos.Transaction} */ public static final class Transaction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:protos.Transaction) TransactionOrBuilder { private static final long serialVersionUID = 0L; // Use Transaction.newBuilder() to construct. private Transaction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Transaction() { actions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Transaction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Transaction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { actions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } actions_.add( input.readMessage(org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { actions_ = java.util.Collections.unmodifiableList(actions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_Transaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_Transaction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction.Builder.class); } public static final int ACTIONS_FIELD_NUMBER = 1; private java.util.List actions_; /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ public java.util.List getActionsList() { return actions_; } /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ public java.util.List getActionsOrBuilderList() { return actions_; } /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ public int getActionsCount() { return actions_.size(); } /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction getActions(int index) { return actions_.get(index); } /** *
     * The payload is an array of TransactionAction. An array is necessary to
     * accommodate multiple actions per transaction
     * 
* * repeated .protos.TransactionAction actions = 1; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionActionOrBuilder getActionsOrBuilder( int index) { return actions_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < actions_.size(); i++) { output.writeMessage(1, actions_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < actions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, actions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction other = (org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction) obj; if (!getActionsList() .equals(other.getActionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getActionsCount() > 0) { hash = (37 * hash) + ACTIONS_FIELD_NUMBER; hash = (53 * hash) + getActionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * The transaction to be sent to the ordering service. A transaction contains
     * one or more TransactionAction. Each TransactionAction binds a proposal to
     * potentially multiple actions. The transaction is atomic meaning that either
     * all actions in the transaction will be committed or none will.  Note that
     * while a Transaction might include more than one Header, the Header.creator
     * field must be the same in each.
     * A single client is free to issue a number of independent Proposal, each with
     * their header (Header) and request payload (ChaincodeProposalPayload).  Each
     * proposal is independently endorsed generating an action
     * (ProposalResponsePayload) with one signature per Endorser. Any number of
     * independent proposals (and their action) might be included in a transaction
     * to ensure that they are treated atomically.
     * 
* * Protobuf type {@code protos.Transaction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:protos.Transaction) org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_Transaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_Transaction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction.Builder.class); } // Construct using org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getActionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (actionsBuilder_ == null) { actions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { actionsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_Transaction_descriptor; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction.getDefaultInstance(); } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction build() { org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction buildPartial() { org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction result = new org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction(this); int from_bitField0_ = bitField0_; if (actionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { actions_ = java.util.Collections.unmodifiableList(actions_); bitField0_ = (bitField0_ & ~0x00000001); } result.actions_ = actions_; } else { result.actions_ = actionsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction) { return mergeFrom((org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction other) { if (other == org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction.getDefaultInstance()) return this; if (actionsBuilder_ == null) { if (!other.actions_.isEmpty()) { if (actions_.isEmpty()) { actions_ = other.actions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureActionsIsMutable(); actions_.addAll(other.actions_); } onChanged(); } } else { if (!other.actions_.isEmpty()) { if (actionsBuilder_.isEmpty()) { actionsBuilder_.dispose(); actionsBuilder_ = null; actions_ = other.actions_; bitField0_ = (bitField0_ & ~0x00000001); actionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getActionsFieldBuilder() : null; } else { actionsBuilder_.addAllMessages(other.actions_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List actions_ = java.util.Collections.emptyList(); private void ensureActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { actions_ = new java.util.ArrayList(actions_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionActionOrBuilder> actionsBuilder_; /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public java.util.List getActionsList() { if (actionsBuilder_ == null) { return java.util.Collections.unmodifiableList(actions_); } else { return actionsBuilder_.getMessageList(); } } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public int getActionsCount() { if (actionsBuilder_ == null) { return actions_.size(); } else { return actionsBuilder_.getCount(); } } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction getActions(int index) { if (actionsBuilder_ == null) { return actions_.get(index); } else { return actionsBuilder_.getMessage(index); } } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder setActions( int index, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.set(index, value); onChanged(); } else { actionsBuilder_.setMessage(index, value); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder setActions( int index, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.set(index, builderForValue.build()); onChanged(); } else { actionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder addActions(org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.add(value); onChanged(); } else { actionsBuilder_.addMessage(value); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder addActions( int index, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActionsIsMutable(); actions_.add(index, value); onChanged(); } else { actionsBuilder_.addMessage(index, value); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder addActions( org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(builderForValue.build()); onChanged(); } else { actionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder addActions( int index, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(index, builderForValue.build()); onChanged(); } else { actionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder addAllActions( java.lang.Iterable values) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, actions_); onChanged(); } else { actionsBuilder_.addAllMessages(values); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder clearActions() { if (actionsBuilder_ == null) { actions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { actionsBuilder_.clear(); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public Builder removeActions(int index) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.remove(index); onChanged(); } else { actionsBuilder_.remove(index); } return this; } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder getActionsBuilder( int index) { return getActionsFieldBuilder().getBuilder(index); } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionActionOrBuilder getActionsOrBuilder( int index) { if (actionsBuilder_ == null) { return actions_.get(index); } else { return actionsBuilder_.getMessageOrBuilder(index); } } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public java.util.List getActionsOrBuilderList() { if (actionsBuilder_ != null) { return actionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(actions_); } } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder addActionsBuilder() { return getActionsFieldBuilder().addBuilder( org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.getDefaultInstance()); } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder addActionsBuilder( int index) { return getActionsFieldBuilder().addBuilder( index, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.getDefaultInstance()); } /** *
       * The payload is an array of TransactionAction. An array is necessary to
       * accommodate multiple actions per transaction
       * 
* * repeated .protos.TransactionAction actions = 1; */ public java.util.List getActionsBuilderList() { return getActionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionActionOrBuilder> getActionsFieldBuilder() { if (actionsBuilder_ == null) { actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionActionOrBuilder>( actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); actions_ = null; } return actionsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:protos.Transaction) } // @@protoc_insertion_point(class_scope:protos.Transaction) private static final org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction(); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Transaction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Transaction(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.Transaction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionActionOrBuilder extends // @@protoc_insertion_point(interface_extends:protos.TransactionAction) com.google.protobuf.MessageOrBuilder { /** *
     * The header of the proposal action, which is the proposal header
     * 
* * bytes header = 1; */ com.google.protobuf.ByteString getHeader(); /** *
     * The payload of the action as defined by the type in the header For
     * chaincode, it's the bytes of ChaincodeActionPayload
     * 
* * bytes payload = 2; */ com.google.protobuf.ByteString getPayload(); } /** *
   * TransactionAction binds a proposal to its action.  The type field in the
   * header dictates the type of action to be applied to the ledger.
   * 
* * Protobuf type {@code protos.TransactionAction} */ public static final class TransactionAction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:protos.TransactionAction) TransactionActionOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionAction.newBuilder() to construct. private TransactionAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionAction() { header_ = com.google.protobuf.ByteString.EMPTY; payload_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionAction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { header_ = input.readBytes(); break; } case 18: { payload_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_TransactionAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_TransactionAction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString header_; /** *
     * The header of the proposal action, which is the proposal header
     * 
* * bytes header = 1; */ public com.google.protobuf.ByteString getHeader() { return header_; } public static final int PAYLOAD_FIELD_NUMBER = 2; private com.google.protobuf.ByteString payload_; /** *
     * The payload of the action as defined by the type in the header For
     * chaincode, it's the bytes of ChaincodeActionPayload
     * 
* * bytes payload = 2; */ public com.google.protobuf.ByteString getPayload() { return payload_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!header_.isEmpty()) { output.writeBytes(1, header_); } if (!payload_.isEmpty()) { output.writeBytes(2, payload_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!header_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, header_); } if (!payload_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, payload_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction other = (org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction) obj; if (!getHeader() .equals(other.getHeader())) return false; if (!getPayload() .equals(other.getPayload())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * TransactionAction binds a proposal to its action.  The type field in the
     * header dictates the type of action to be applied to the ledger.
     * 
* * Protobuf type {@code protos.TransactionAction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:protos.TransactionAction) org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_TransactionAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_TransactionAction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.Builder.class); } // Construct using org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); header_ = com.google.protobuf.ByteString.EMPTY; payload_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_TransactionAction_descriptor; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.getDefaultInstance(); } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction build() { org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction buildPartial() { org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction result = new org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction(this); result.header_ = header_; result.payload_ = payload_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction) { return mergeFrom((org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction other) { if (other == org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction.getDefaultInstance()) return this; if (other.getHeader() != com.google.protobuf.ByteString.EMPTY) { setHeader(other.getHeader()); } if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) { setPayload(other.getPayload()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString header_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The header of the proposal action, which is the proposal header
       * 
* * bytes header = 1; */ public com.google.protobuf.ByteString getHeader() { return header_; } /** *
       * The header of the proposal action, which is the proposal header
       * 
* * bytes header = 1; */ public Builder setHeader(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); return this; } /** *
       * The header of the proposal action, which is the proposal header
       * 
* * bytes header = 1; */ public Builder clearHeader() { header_ = getDefaultInstance().getHeader(); onChanged(); return this; } private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The payload of the action as defined by the type in the header For
       * chaincode, it's the bytes of ChaincodeActionPayload
       * 
* * bytes payload = 2; */ public com.google.protobuf.ByteString getPayload() { return payload_; } /** *
       * The payload of the action as defined by the type in the header For
       * chaincode, it's the bytes of ChaincodeActionPayload
       * 
* * bytes payload = 2; */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); return this; } /** *
       * The payload of the action as defined by the type in the header For
       * chaincode, it's the bytes of ChaincodeActionPayload
       * 
* * bytes payload = 2; */ public Builder clearPayload() { payload_ = getDefaultInstance().getPayload(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:protos.TransactionAction) } // @@protoc_insertion_point(class_scope:protos.TransactionAction) private static final org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction(); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionAction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransactionAction(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.TransactionAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChaincodeActionPayloadOrBuilder extends // @@protoc_insertion_point(interface_extends:protos.ChaincodeActionPayload) com.google.protobuf.MessageOrBuilder { /** *
     * This field contains the bytes of the ChaincodeProposalPayload message from
     * the original invocation (essentially the arguments) after the application
     * of the visibility function. The main visibility modes are "full" (the
     * entire ChaincodeProposalPayload message is included here), "hash" (only
     * the hash of the ChaincodeProposalPayload message is included) or
     * "nothing".  This field will be used to check the consistency of
     * ProposalResponsePayload.proposalHash.  For the CHAINCODE type,
     * ProposalResponsePayload.proposalHash is supposed to be H(ProposalHeader ||
     * f(ChaincodeProposalPayload)) where f is the visibility function.
     * 
* * bytes chaincode_proposal_payload = 1; */ com.google.protobuf.ByteString getChaincodeProposalPayload(); /** *
     * The list of actions to apply to the ledger
     * 
* * .protos.ChaincodeEndorsedAction action = 2; */ boolean hasAction(); /** *
     * The list of actions to apply to the ledger
     * 
* * .protos.ChaincodeEndorsedAction action = 2; */ org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction getAction(); /** *
     * The list of actions to apply to the ledger
     * 
* * .protos.ChaincodeEndorsedAction action = 2; */ org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedActionOrBuilder getActionOrBuilder(); } /** *
   * ChaincodeActionPayload is the message to be used for the TransactionAction's
   * payload when the Header's type is set to CHAINCODE.  It carries the
   * chaincodeProposalPayload and an endorsed action to apply to the ledger.
   * 
* * Protobuf type {@code protos.ChaincodeActionPayload} */ public static final class ChaincodeActionPayload extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:protos.ChaincodeActionPayload) ChaincodeActionPayloadOrBuilder { private static final long serialVersionUID = 0L; // Use ChaincodeActionPayload.newBuilder() to construct. private ChaincodeActionPayload(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChaincodeActionPayload() { chaincodeProposalPayload_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChaincodeActionPayload(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChaincodeActionPayload( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { chaincodeProposalPayload_ = input.readBytes(); break; } case 18: { org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.Builder subBuilder = null; if (action_ != null) { subBuilder = action_.toBuilder(); } action_ = input.readMessage(org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(action_); action_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeActionPayload_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeActionPayload_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload.class, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload.Builder.class); } public static final int CHAINCODE_PROPOSAL_PAYLOAD_FIELD_NUMBER = 1; private com.google.protobuf.ByteString chaincodeProposalPayload_; /** *
     * This field contains the bytes of the ChaincodeProposalPayload message from
     * the original invocation (essentially the arguments) after the application
     * of the visibility function. The main visibility modes are "full" (the
     * entire ChaincodeProposalPayload message is included here), "hash" (only
     * the hash of the ChaincodeProposalPayload message is included) or
     * "nothing".  This field will be used to check the consistency of
     * ProposalResponsePayload.proposalHash.  For the CHAINCODE type,
     * ProposalResponsePayload.proposalHash is supposed to be H(ProposalHeader ||
     * f(ChaincodeProposalPayload)) where f is the visibility function.
     * 
* * bytes chaincode_proposal_payload = 1; */ public com.google.protobuf.ByteString getChaincodeProposalPayload() { return chaincodeProposalPayload_; } public static final int ACTION_FIELD_NUMBER = 2; private org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction action_; /** *
     * The list of actions to apply to the ledger
     * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public boolean hasAction() { return action_ != null; } /** *
     * The list of actions to apply to the ledger
     * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction getAction() { return action_ == null ? org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.getDefaultInstance() : action_; } /** *
     * The list of actions to apply to the ledger
     * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedActionOrBuilder getActionOrBuilder() { return getAction(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!chaincodeProposalPayload_.isEmpty()) { output.writeBytes(1, chaincodeProposalPayload_); } if (action_ != null) { output.writeMessage(2, getAction()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!chaincodeProposalPayload_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, chaincodeProposalPayload_); } if (action_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAction()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload other = (org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload) obj; if (!getChaincodeProposalPayload() .equals(other.getChaincodeProposalPayload())) return false; if (hasAction() != other.hasAction()) return false; if (hasAction()) { if (!getAction() .equals(other.getAction())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CHAINCODE_PROPOSAL_PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getChaincodeProposalPayload().hashCode(); if (hasAction()) { hash = (37 * hash) + ACTION_FIELD_NUMBER; hash = (53 * hash) + getAction().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * ChaincodeActionPayload is the message to be used for the TransactionAction's
     * payload when the Header's type is set to CHAINCODE.  It carries the
     * chaincodeProposalPayload and an endorsed action to apply to the ledger.
     * 
* * Protobuf type {@code protos.ChaincodeActionPayload} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:protos.ChaincodeActionPayload) org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayloadOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeActionPayload_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeActionPayload_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload.class, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload.Builder.class); } // Construct using org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); chaincodeProposalPayload_ = com.google.protobuf.ByteString.EMPTY; if (actionBuilder_ == null) { action_ = null; } else { action_ = null; actionBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeActionPayload_descriptor; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload.getDefaultInstance(); } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload build() { org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload buildPartial() { org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload result = new org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload(this); result.chaincodeProposalPayload_ = chaincodeProposalPayload_; if (actionBuilder_ == null) { result.action_ = action_; } else { result.action_ = actionBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload) { return mergeFrom((org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload other) { if (other == org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload.getDefaultInstance()) return this; if (other.getChaincodeProposalPayload() != com.google.protobuf.ByteString.EMPTY) { setChaincodeProposalPayload(other.getChaincodeProposalPayload()); } if (other.hasAction()) { mergeAction(other.getAction()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString chaincodeProposalPayload_ = com.google.protobuf.ByteString.EMPTY; /** *
       * This field contains the bytes of the ChaincodeProposalPayload message from
       * the original invocation (essentially the arguments) after the application
       * of the visibility function. The main visibility modes are "full" (the
       * entire ChaincodeProposalPayload message is included here), "hash" (only
       * the hash of the ChaincodeProposalPayload message is included) or
       * "nothing".  This field will be used to check the consistency of
       * ProposalResponsePayload.proposalHash.  For the CHAINCODE type,
       * ProposalResponsePayload.proposalHash is supposed to be H(ProposalHeader ||
       * f(ChaincodeProposalPayload)) where f is the visibility function.
       * 
* * bytes chaincode_proposal_payload = 1; */ public com.google.protobuf.ByteString getChaincodeProposalPayload() { return chaincodeProposalPayload_; } /** *
       * This field contains the bytes of the ChaincodeProposalPayload message from
       * the original invocation (essentially the arguments) after the application
       * of the visibility function. The main visibility modes are "full" (the
       * entire ChaincodeProposalPayload message is included here), "hash" (only
       * the hash of the ChaincodeProposalPayload message is included) or
       * "nothing".  This field will be used to check the consistency of
       * ProposalResponsePayload.proposalHash.  For the CHAINCODE type,
       * ProposalResponsePayload.proposalHash is supposed to be H(ProposalHeader ||
       * f(ChaincodeProposalPayload)) where f is the visibility function.
       * 
* * bytes chaincode_proposal_payload = 1; */ public Builder setChaincodeProposalPayload(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } chaincodeProposalPayload_ = value; onChanged(); return this; } /** *
       * This field contains the bytes of the ChaincodeProposalPayload message from
       * the original invocation (essentially the arguments) after the application
       * of the visibility function. The main visibility modes are "full" (the
       * entire ChaincodeProposalPayload message is included here), "hash" (only
       * the hash of the ChaincodeProposalPayload message is included) or
       * "nothing".  This field will be used to check the consistency of
       * ProposalResponsePayload.proposalHash.  For the CHAINCODE type,
       * ProposalResponsePayload.proposalHash is supposed to be H(ProposalHeader ||
       * f(ChaincodeProposalPayload)) where f is the visibility function.
       * 
* * bytes chaincode_proposal_payload = 1; */ public Builder clearChaincodeProposalPayload() { chaincodeProposalPayload_ = getDefaultInstance().getChaincodeProposalPayload(); onChanged(); return this; } private org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction action_; private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.Builder, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedActionOrBuilder> actionBuilder_; /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public boolean hasAction() { return actionBuilder_ != null || action_ != null; } /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction getAction() { if (actionBuilder_ == null) { return action_ == null ? org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.getDefaultInstance() : action_; } else { return actionBuilder_.getMessage(); } } /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public Builder setAction(org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction value) { if (actionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } action_ = value; onChanged(); } else { actionBuilder_.setMessage(value); } return this; } /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public Builder setAction( org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.Builder builderForValue) { if (actionBuilder_ == null) { action_ = builderForValue.build(); onChanged(); } else { actionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public Builder mergeAction(org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction value) { if (actionBuilder_ == null) { if (action_ != null) { action_ = org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.newBuilder(action_).mergeFrom(value).buildPartial(); } else { action_ = value; } onChanged(); } else { actionBuilder_.mergeFrom(value); } return this; } /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public Builder clearAction() { if (actionBuilder_ == null) { action_ = null; onChanged(); } else { action_ = null; actionBuilder_ = null; } return this; } /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.Builder getActionBuilder() { onChanged(); return getActionFieldBuilder().getBuilder(); } /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedActionOrBuilder getActionOrBuilder() { if (actionBuilder_ != null) { return actionBuilder_.getMessageOrBuilder(); } else { return action_ == null ? org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.getDefaultInstance() : action_; } } /** *
       * The list of actions to apply to the ledger
       * 
* * .protos.ChaincodeEndorsedAction action = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.Builder, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedActionOrBuilder> getActionFieldBuilder() { if (actionBuilder_ == null) { actionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.Builder, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedActionOrBuilder>( getAction(), getParentForChildren(), isClean()); action_ = null; } return actionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:protos.ChaincodeActionPayload) } // @@protoc_insertion_point(class_scope:protos.ChaincodeActionPayload) private static final org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload(); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChaincodeActionPayload parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ChaincodeActionPayload(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeActionPayload getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChaincodeEndorsedActionOrBuilder extends // @@protoc_insertion_point(interface_extends:protos.ChaincodeEndorsedAction) com.google.protobuf.MessageOrBuilder { /** *
     * This is the bytes of the ProposalResponsePayload message signed by the
     * endorsers.  Recall that for the CHAINCODE type, the
     * ProposalResponsePayload's extenstion field carries a ChaincodeAction
     * 
* * bytes proposal_response_payload = 1; */ com.google.protobuf.ByteString getProposalResponsePayload(); /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ java.util.List getEndorsementsList(); /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement getEndorsements(int index); /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ int getEndorsementsCount(); /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ java.util.List getEndorsementsOrBuilderList(); /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ org.hyperledger.fabric.protos.peer.ProposalResponsePackage.EndorsementOrBuilder getEndorsementsOrBuilder( int index); } /** *
   * ChaincodeEndorsedAction carries information about the endorsement of a
   * specific proposal
   * 
* * Protobuf type {@code protos.ChaincodeEndorsedAction} */ public static final class ChaincodeEndorsedAction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:protos.ChaincodeEndorsedAction) ChaincodeEndorsedActionOrBuilder { private static final long serialVersionUID = 0L; // Use ChaincodeEndorsedAction.newBuilder() to construct. private ChaincodeEndorsedAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChaincodeEndorsedAction() { proposalResponsePayload_ = com.google.protobuf.ByteString.EMPTY; endorsements_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChaincodeEndorsedAction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChaincodeEndorsedAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { proposalResponsePayload_ = input.readBytes(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { endorsements_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } endorsements_.add( input.readMessage(org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { endorsements_ = java.util.Collections.unmodifiableList(endorsements_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeEndorsedAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeEndorsedAction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.Builder.class); } public static final int PROPOSAL_RESPONSE_PAYLOAD_FIELD_NUMBER = 1; private com.google.protobuf.ByteString proposalResponsePayload_; /** *
     * This is the bytes of the ProposalResponsePayload message signed by the
     * endorsers.  Recall that for the CHAINCODE type, the
     * ProposalResponsePayload's extenstion field carries a ChaincodeAction
     * 
* * bytes proposal_response_payload = 1; */ public com.google.protobuf.ByteString getProposalResponsePayload() { return proposalResponsePayload_; } public static final int ENDORSEMENTS_FIELD_NUMBER = 2; private java.util.List endorsements_; /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ public java.util.List getEndorsementsList() { return endorsements_; } /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ public java.util.List getEndorsementsOrBuilderList() { return endorsements_; } /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ public int getEndorsementsCount() { return endorsements_.size(); } /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ public org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement getEndorsements(int index) { return endorsements_.get(index); } /** *
     * The endorsement of the proposal, basically the endorser's signature over
     * proposalResponsePayload
     * 
* * repeated .protos.Endorsement endorsements = 2; */ public org.hyperledger.fabric.protos.peer.ProposalResponsePackage.EndorsementOrBuilder getEndorsementsOrBuilder( int index) { return endorsements_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!proposalResponsePayload_.isEmpty()) { output.writeBytes(1, proposalResponsePayload_); } for (int i = 0; i < endorsements_.size(); i++) { output.writeMessage(2, endorsements_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!proposalResponsePayload_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, proposalResponsePayload_); } for (int i = 0; i < endorsements_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, endorsements_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction other = (org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction) obj; if (!getProposalResponsePayload() .equals(other.getProposalResponsePayload())) return false; if (!getEndorsementsList() .equals(other.getEndorsementsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROPOSAL_RESPONSE_PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getProposalResponsePayload().hashCode(); if (getEndorsementsCount() > 0) { hash = (37 * hash) + ENDORSEMENTS_FIELD_NUMBER; hash = (53 * hash) + getEndorsementsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * ChaincodeEndorsedAction carries information about the endorsement of a
     * specific proposal
     * 
* * Protobuf type {@code protos.ChaincodeEndorsedAction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:protos.ChaincodeEndorsedAction) org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeEndorsedAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeEndorsedAction_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.class, org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.Builder.class); } // Construct using org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEndorsementsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); proposalResponsePayload_ = com.google.protobuf.ByteString.EMPTY; if (endorsementsBuilder_ == null) { endorsements_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { endorsementsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.internal_static_protos_ChaincodeEndorsedAction_descriptor; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.getDefaultInstance(); } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction build() { org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction buildPartial() { org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction result = new org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction(this); int from_bitField0_ = bitField0_; result.proposalResponsePayload_ = proposalResponsePayload_; if (endorsementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { endorsements_ = java.util.Collections.unmodifiableList(endorsements_); bitField0_ = (bitField0_ & ~0x00000001); } result.endorsements_ = endorsements_; } else { result.endorsements_ = endorsementsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction) { return mergeFrom((org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction other) { if (other == org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction.getDefaultInstance()) return this; if (other.getProposalResponsePayload() != com.google.protobuf.ByteString.EMPTY) { setProposalResponsePayload(other.getProposalResponsePayload()); } if (endorsementsBuilder_ == null) { if (!other.endorsements_.isEmpty()) { if (endorsements_.isEmpty()) { endorsements_ = other.endorsements_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEndorsementsIsMutable(); endorsements_.addAll(other.endorsements_); } onChanged(); } } else { if (!other.endorsements_.isEmpty()) { if (endorsementsBuilder_.isEmpty()) { endorsementsBuilder_.dispose(); endorsementsBuilder_ = null; endorsements_ = other.endorsements_; bitField0_ = (bitField0_ & ~0x00000001); endorsementsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEndorsementsFieldBuilder() : null; } else { endorsementsBuilder_.addAllMessages(other.endorsements_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.ByteString proposalResponsePayload_ = com.google.protobuf.ByteString.EMPTY; /** *
       * This is the bytes of the ProposalResponsePayload message signed by the
       * endorsers.  Recall that for the CHAINCODE type, the
       * ProposalResponsePayload's extenstion field carries a ChaincodeAction
       * 
* * bytes proposal_response_payload = 1; */ public com.google.protobuf.ByteString getProposalResponsePayload() { return proposalResponsePayload_; } /** *
       * This is the bytes of the ProposalResponsePayload message signed by the
       * endorsers.  Recall that for the CHAINCODE type, the
       * ProposalResponsePayload's extenstion field carries a ChaincodeAction
       * 
* * bytes proposal_response_payload = 1; */ public Builder setProposalResponsePayload(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proposalResponsePayload_ = value; onChanged(); return this; } /** *
       * This is the bytes of the ProposalResponsePayload message signed by the
       * endorsers.  Recall that for the CHAINCODE type, the
       * ProposalResponsePayload's extenstion field carries a ChaincodeAction
       * 
* * bytes proposal_response_payload = 1; */ public Builder clearProposalResponsePayload() { proposalResponsePayload_ = getDefaultInstance().getProposalResponsePayload(); onChanged(); return this; } private java.util.List endorsements_ = java.util.Collections.emptyList(); private void ensureEndorsementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { endorsements_ = new java.util.ArrayList(endorsements_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.EndorsementOrBuilder> endorsementsBuilder_; /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public java.util.List getEndorsementsList() { if (endorsementsBuilder_ == null) { return java.util.Collections.unmodifiableList(endorsements_); } else { return endorsementsBuilder_.getMessageList(); } } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public int getEndorsementsCount() { if (endorsementsBuilder_ == null) { return endorsements_.size(); } else { return endorsementsBuilder_.getCount(); } } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement getEndorsements(int index) { if (endorsementsBuilder_ == null) { return endorsements_.get(index); } else { return endorsementsBuilder_.getMessage(index); } } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder setEndorsements( int index, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement value) { if (endorsementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEndorsementsIsMutable(); endorsements_.set(index, value); onChanged(); } else { endorsementsBuilder_.setMessage(index, value); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder setEndorsements( int index, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder builderForValue) { if (endorsementsBuilder_ == null) { ensureEndorsementsIsMutable(); endorsements_.set(index, builderForValue.build()); onChanged(); } else { endorsementsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder addEndorsements(org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement value) { if (endorsementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEndorsementsIsMutable(); endorsements_.add(value); onChanged(); } else { endorsementsBuilder_.addMessage(value); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder addEndorsements( int index, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement value) { if (endorsementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEndorsementsIsMutable(); endorsements_.add(index, value); onChanged(); } else { endorsementsBuilder_.addMessage(index, value); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder addEndorsements( org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder builderForValue) { if (endorsementsBuilder_ == null) { ensureEndorsementsIsMutable(); endorsements_.add(builderForValue.build()); onChanged(); } else { endorsementsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder addEndorsements( int index, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder builderForValue) { if (endorsementsBuilder_ == null) { ensureEndorsementsIsMutable(); endorsements_.add(index, builderForValue.build()); onChanged(); } else { endorsementsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder addAllEndorsements( java.lang.Iterable values) { if (endorsementsBuilder_ == null) { ensureEndorsementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, endorsements_); onChanged(); } else { endorsementsBuilder_.addAllMessages(values); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder clearEndorsements() { if (endorsementsBuilder_ == null) { endorsements_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { endorsementsBuilder_.clear(); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public Builder removeEndorsements(int index) { if (endorsementsBuilder_ == null) { ensureEndorsementsIsMutable(); endorsements_.remove(index); onChanged(); } else { endorsementsBuilder_.remove(index); } return this; } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder getEndorsementsBuilder( int index) { return getEndorsementsFieldBuilder().getBuilder(index); } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public org.hyperledger.fabric.protos.peer.ProposalResponsePackage.EndorsementOrBuilder getEndorsementsOrBuilder( int index) { if (endorsementsBuilder_ == null) { return endorsements_.get(index); } else { return endorsementsBuilder_.getMessageOrBuilder(index); } } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public java.util.List getEndorsementsOrBuilderList() { if (endorsementsBuilder_ != null) { return endorsementsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(endorsements_); } } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder addEndorsementsBuilder() { return getEndorsementsFieldBuilder().addBuilder( org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.getDefaultInstance()); } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder addEndorsementsBuilder( int index) { return getEndorsementsFieldBuilder().addBuilder( index, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.getDefaultInstance()); } /** *
       * The endorsement of the proposal, basically the endorser's signature over
       * proposalResponsePayload
       * 
* * repeated .protos.Endorsement endorsements = 2; */ public java.util.List getEndorsementsBuilderList() { return getEndorsementsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.EndorsementOrBuilder> getEndorsementsFieldBuilder() { if (endorsementsBuilder_ == null) { endorsementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.Endorsement.Builder, org.hyperledger.fabric.protos.peer.ProposalResponsePackage.EndorsementOrBuilder>( endorsements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); endorsements_ = null; } return endorsementsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:protos.ChaincodeEndorsedAction) } // @@protoc_insertion_point(class_scope:protos.ChaincodeEndorsedAction) private static final org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction(); } public static org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChaincodeEndorsedAction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ChaincodeEndorsedAction(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.hyperledger.fabric.protos.peer.TransactionPackage.ChaincodeEndorsedAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_protos_SignedTransaction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_protos_SignedTransaction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_protos_ProcessedTransaction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_protos_ProcessedTransaction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_protos_Transaction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_protos_Transaction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_protos_TransactionAction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_protos_TransactionAction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_protos_ChaincodeActionPayload_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_protos_ChaincodeActionPayload_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_protos_ChaincodeEndorsedAction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_protos_ChaincodeEndorsedAction_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\026peer/transaction.proto\022\006protos\032\034peer/p" + "roposal_response.proto\032\023common/common.pr" + "oto\"A\n\021SignedTransaction\022\031\n\021transaction_" + "bytes\030\001 \001(\014\022\021\n\tsignature\030\002 \001(\014\"]\n\024Proces" + "sedTransaction\022-\n\023transactionEnvelope\030\001 " + "\001(\0132\020.common.Envelope\022\026\n\016validationCode\030" + "\002 \001(\005\"9\n\013Transaction\022*\n\007actions\030\001 \003(\0132\031." + "protos.TransactionAction\"4\n\021TransactionA" + "ction\022\016\n\006header\030\001 \001(\014\022\017\n\007payload\030\002 \001(\014\"m" + "\n\026ChaincodeActionPayload\022\"\n\032chaincode_pr" + "oposal_payload\030\001 \001(\014\022/\n\006action\030\002 \001(\0132\037.p" + "rotos.ChaincodeEndorsedAction\"g\n\027Chainco" + "deEndorsedAction\022!\n\031proposal_response_pa" + "yload\030\001 \001(\014\022)\n\014endorsements\030\002 \003(\0132\023.prot" + "os.Endorsement*\253\005\n\020TxValidationCode\022\t\n\005V" + "ALID\020\000\022\020\n\014NIL_ENVELOPE\020\001\022\017\n\013BAD_PAYLOAD\020" + "\002\022\025\n\021BAD_COMMON_HEADER\020\003\022\031\n\025BAD_CREATOR_" + "SIGNATURE\020\004\022 \n\034INVALID_ENDORSER_TRANSACT" + "ION\020\005\022\036\n\032INVALID_CONFIG_TRANSACTION\020\006\022\032\n" + "\026UNSUPPORTED_TX_PAYLOAD\020\007\022\025\n\021BAD_PROPOSA" + "L_TXID\020\010\022\022\n\016DUPLICATE_TXID\020\t\022\036\n\032ENDORSEM" + "ENT_POLICY_FAILURE\020\n\022\026\n\022MVCC_READ_CONFLI" + "CT\020\013\022\031\n\025PHANTOM_READ_CONFLICT\020\014\022\023\n\017UNKNO" + "WN_TX_TYPE\020\r\022\032\n\026TARGET_CHAIN_NOT_FOUND\020\016" + "\022\024\n\020MARSHAL_TX_ERROR\020\017\022\020\n\014NIL_TXACTION\020\020" + "\022\025\n\021EXPIRED_CHAINCODE\020\021\022\036\n\032CHAINCODE_VER" + "SION_CONFLICT\020\022\022\030\n\024BAD_HEADER_EXTENSION\020" + "\023\022\026\n\022BAD_CHANNEL_HEADER\020\024\022\030\n\024BAD_RESPONS" + "E_PAYLOAD\020\025\022\r\n\tBAD_RWSET\020\026\022\024\n\020ILLEGAL_WR" + "ITESET\020\027\022\024\n\020INVALID_WRITESET\020\030\022\025\n\021INVALI" + "D_CHAINCODE\020\031\022\022\n\rNOT_VALIDATED\020\376\001\022\031\n\024INV" + "ALID_OTHER_REASON\020\377\001*E\n\014MetaDataKeys\022\030\n\024" + "VALIDATION_PARAMETER\020\000\022\033\n\027VALIDATION_PAR" + "AMETER_V2\020\001Bf\n\"org.hyperledger.fabric.pr" + "otos.peerB\022TransactionPackageZ,github.co" + "m/hyperledger/fabric-protos-go/peerb\006pro" + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.hyperledger.fabric.protos.peer.ProposalResponsePackage.getDescriptor(), org.hyperledger.fabric.protos.common.Common.getDescriptor(), }); internal_static_protos_SignedTransaction_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_protos_SignedTransaction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_protos_SignedTransaction_descriptor, new java.lang.String[] { "TransactionBytes", "Signature", }); internal_static_protos_ProcessedTransaction_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_protos_ProcessedTransaction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_protos_ProcessedTransaction_descriptor, new java.lang.String[] { "TransactionEnvelope", "ValidationCode", }); internal_static_protos_Transaction_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_protos_Transaction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_protos_Transaction_descriptor, new java.lang.String[] { "Actions", }); internal_static_protos_TransactionAction_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_protos_TransactionAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_protos_TransactionAction_descriptor, new java.lang.String[] { "Header", "Payload", }); internal_static_protos_ChaincodeActionPayload_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_protos_ChaincodeActionPayload_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_protos_ChaincodeActionPayload_descriptor, new java.lang.String[] { "ChaincodeProposalPayload", "Action", }); internal_static_protos_ChaincodeEndorsedAction_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_protos_ChaincodeEndorsedAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_protos_ChaincodeEndorsedAction_descriptor, new java.lang.String[] { "ProposalResponsePayload", "Endorsements", }); org.hyperledger.fabric.protos.peer.ProposalResponsePackage.getDescriptor(); org.hyperledger.fabric.protos.common.Common.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy