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

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

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: peer/chaincode_shim.proto
// Protobuf Java Version: 4.28.2

package org.hyperledger.fabric.protos.peer;

public final class ChaincodeShimProto {
  private ChaincodeShimProto() {}
  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 28,
      /* patch= */ 2,
      /* suffix= */ "",
      ChaincodeShimProto.class.getName());
  }
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_ChaincodeMessage_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_ChaincodeMessage_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_GetState_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_GetState_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_GetStateMetadata_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_GetStateMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_PutState_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_PutState_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_PutStateMetadata_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_PutStateMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_DelState_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_DelState_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_PurgePrivateState_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_PurgePrivateState_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_GetStateByRange_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_GetStateByRange_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_GetQueryResult_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_GetQueryResult_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_QueryMetadata_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_QueryMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_GetHistoryForKey_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_GetHistoryForKey_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_QueryStateNext_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_QueryStateNext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_QueryStateClose_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_QueryStateClose_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_QueryResultBytes_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_QueryResultBytes_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_QueryResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_QueryResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_QueryResponseMetadata_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_QueryResponseMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_StateMetadata_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_StateMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protos_StateMetadataResult_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_protos_StateMetadataResult_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\031peer/chaincode_shim.proto\022\006protos\032\032pee" +
      "r/chaincode_event.proto\032\023peer/proposal.p" +
      "roto\032\037google/protobuf/timestamp.proto\"\356\005" +
      "\n\020ChaincodeMessage\0221\n\004type\030\001 \001(\0162\035.proto" +
      "s.ChaincodeMessage.TypeR\004type\0228\n\ttimesta" +
      "mp\030\002 \001(\0132\032.google.protobuf.TimestampR\tti" +
      "mestamp\022\030\n\007payload\030\003 \001(\014R\007payload\022\022\n\004txi" +
      "d\030\004 \001(\tR\004txid\0222\n\010proposal\030\005 \001(\0132\026.protos" +
      ".SignedProposalR\010proposal\022?\n\017chaincode_e" +
      "vent\030\006 \001(\0132\026.protos.ChaincodeEventR\016chai" +
      "ncodeEvent\022\035\n\nchannel_id\030\007 \001(\tR\tchannelI" +
      "d\"\252\003\n\004Type\022\r\n\tUNDEFINED\020\000\022\014\n\010REGISTER\020\001\022" +
      "\016\n\nREGISTERED\020\002\022\010\n\004INIT\020\003\022\t\n\005READY\020\004\022\017\n\013" +
      "TRANSACTION\020\005\022\r\n\tCOMPLETED\020\006\022\t\n\005ERROR\020\007\022" +
      "\r\n\tGET_STATE\020\010\022\r\n\tPUT_STATE\020\t\022\r\n\tDEL_STA" +
      "TE\020\n\022\024\n\020INVOKE_CHAINCODE\020\013\022\014\n\010RESPONSE\020\r" +
      "\022\026\n\022GET_STATE_BY_RANGE\020\016\022\024\n\020GET_QUERY_RE" +
      "SULT\020\017\022\024\n\020QUERY_STATE_NEXT\020\020\022\025\n\021QUERY_ST" +
      "ATE_CLOSE\020\021\022\r\n\tKEEPALIVE\020\022\022\027\n\023GET_HISTOR" +
      "Y_FOR_KEY\020\023\022\026\n\022GET_STATE_METADATA\020\024\022\026\n\022P" +
      "UT_STATE_METADATA\020\025\022\031\n\025GET_PRIVATE_DATA_" +
      "HASH\020\026\022\026\n\022PURGE_PRIVATE_DATA\020\027\"<\n\010GetSta" +
      "te\022\020\n\003key\030\001 \001(\tR\003key\022\036\n\ncollection\030\002 \001(\t" +
      "R\ncollection\"D\n\020GetStateMetadata\022\020\n\003key\030" +
      "\001 \001(\tR\003key\022\036\n\ncollection\030\002 \001(\tR\ncollecti" +
      "on\"R\n\010PutState\022\020\n\003key\030\001 \001(\tR\003key\022\024\n\005valu" +
      "e\030\002 \001(\014R\005value\022\036\n\ncollection\030\003 \001(\tR\ncoll" +
      "ection\"w\n\020PutStateMetadata\022\020\n\003key\030\001 \001(\tR" +
      "\003key\022\036\n\ncollection\030\003 \001(\tR\ncollection\0221\n\010" +
      "metadata\030\004 \001(\0132\025.protos.StateMetadataR\010m" +
      "etadata\"<\n\010DelState\022\020\n\003key\030\001 \001(\tR\003key\022\036\n" +
      "\ncollection\030\002 \001(\tR\ncollection\"E\n\021PurgePr" +
      "ivateState\022\020\n\003key\030\001 \001(\tR\003key\022\036\n\ncollecti" +
      "on\030\002 \001(\tR\ncollection\"\201\001\n\017GetStateByRange" +
      "\022\032\n\010startKey\030\001 \001(\tR\010startKey\022\026\n\006endKey\030\002" +
      " \001(\tR\006endKey\022\036\n\ncollection\030\003 \001(\tR\ncollec" +
      "tion\022\032\n\010metadata\030\004 \001(\014R\010metadata\"b\n\016GetQ" +
      "ueryResult\022\024\n\005query\030\001 \001(\tR\005query\022\036\n\ncoll" +
      "ection\030\002 \001(\tR\ncollection\022\032\n\010metadata\030\003 \001" +
      "(\014R\010metadata\"G\n\rQueryMetadata\022\032\n\010pageSiz" +
      "e\030\001 \001(\005R\010pageSize\022\032\n\010bookmark\030\002 \001(\tR\010boo" +
      "kmark\"$\n\020GetHistoryForKey\022\020\n\003key\030\001 \001(\tR\003" +
      "key\" \n\016QueryStateNext\022\016\n\002id\030\001 \001(\tR\002id\"!\n" +
      "\017QueryStateClose\022\016\n\002id\030\001 \001(\tR\002id\"4\n\020Quer" +
      "yResultBytes\022 \n\013resultBytes\030\001 \001(\014R\013resul" +
      "tBytes\"\212\001\n\rQueryResponse\0222\n\007results\030\001 \003(" +
      "\0132\030.protos.QueryResultBytesR\007results\022\031\n\010" +
      "has_more\030\002 \001(\010R\007hasMore\022\016\n\002id\030\003 \001(\tR\002id\022" +
      "\032\n\010metadata\030\004 \001(\014R\010metadata\"g\n\025QueryResp" +
      "onseMetadata\0222\n\025fetched_records_count\030\001 " +
      "\001(\005R\023fetchedRecordsCount\022\032\n\010bookmark\030\002 \001" +
      "(\tR\010bookmark\"?\n\rStateMetadata\022\030\n\007metakey" +
      "\030\001 \001(\tR\007metakey\022\024\n\005value\030\002 \001(\014R\005value\"F\n" +
      "\023StateMetadataResult\022/\n\007entries\030\001 \003(\0132\025." +
      "protos.StateMetadataR\007entries2V\n\020Chainco" +
      "deSupport\022B\n\010Register\022\030.protos.Chaincode" +
      "Message\032\030.protos.ChaincodeMessage(\0010\0012N\n" +
      "\tChaincode\022A\n\007Connect\022\030.protos.Chaincode" +
      "Message\032\030.protos.ChaincodeMessage(\0010\001B\244\001" +
      "\n\"org.hyperledger.fabric.protos.peerB\022Ch" +
      "aincodeShimProtoP\001Z2github.com/hyperledg" +
      "er/fabric-protos-go-apiv2/peer\242\002\003PXX\252\002\006P" +
      "rotos\312\002\006Protos\342\002\022Protos\\GPBMetadata\352\002\006Pr" +
      "otosb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          org.hyperledger.fabric.protos.peer.ChaincodeEventProto.getDescriptor(),
          org.hyperledger.fabric.protos.peer.ProposalProto.getDescriptor(),
          com.google.protobuf.TimestampProto.getDescriptor(),
        });
    internal_static_protos_ChaincodeMessage_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protos_ChaincodeMessage_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_ChaincodeMessage_descriptor,
        new java.lang.String[] { "Type", "Timestamp", "Payload", "Txid", "Proposal", "ChaincodeEvent", "ChannelId", });
    internal_static_protos_GetState_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_protos_GetState_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_GetState_descriptor,
        new java.lang.String[] { "Key", "Collection", });
    internal_static_protos_GetStateMetadata_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_protos_GetStateMetadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_GetStateMetadata_descriptor,
        new java.lang.String[] { "Key", "Collection", });
    internal_static_protos_PutState_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_protos_PutState_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_PutState_descriptor,
        new java.lang.String[] { "Key", "Value", "Collection", });
    internal_static_protos_PutStateMetadata_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_protos_PutStateMetadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_PutStateMetadata_descriptor,
        new java.lang.String[] { "Key", "Collection", "Metadata", });
    internal_static_protos_DelState_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_protos_DelState_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_DelState_descriptor,
        new java.lang.String[] { "Key", "Collection", });
    internal_static_protos_PurgePrivateState_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_protos_PurgePrivateState_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_PurgePrivateState_descriptor,
        new java.lang.String[] { "Key", "Collection", });
    internal_static_protos_GetStateByRange_descriptor =
      getDescriptor().getMessageTypes().get(7);
    internal_static_protos_GetStateByRange_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_GetStateByRange_descriptor,
        new java.lang.String[] { "StartKey", "EndKey", "Collection", "Metadata", });
    internal_static_protos_GetQueryResult_descriptor =
      getDescriptor().getMessageTypes().get(8);
    internal_static_protos_GetQueryResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_GetQueryResult_descriptor,
        new java.lang.String[] { "Query", "Collection", "Metadata", });
    internal_static_protos_QueryMetadata_descriptor =
      getDescriptor().getMessageTypes().get(9);
    internal_static_protos_QueryMetadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_QueryMetadata_descriptor,
        new java.lang.String[] { "PageSize", "Bookmark", });
    internal_static_protos_GetHistoryForKey_descriptor =
      getDescriptor().getMessageTypes().get(10);
    internal_static_protos_GetHistoryForKey_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_GetHistoryForKey_descriptor,
        new java.lang.String[] { "Key", });
    internal_static_protos_QueryStateNext_descriptor =
      getDescriptor().getMessageTypes().get(11);
    internal_static_protos_QueryStateNext_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_QueryStateNext_descriptor,
        new java.lang.String[] { "Id", });
    internal_static_protos_QueryStateClose_descriptor =
      getDescriptor().getMessageTypes().get(12);
    internal_static_protos_QueryStateClose_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_QueryStateClose_descriptor,
        new java.lang.String[] { "Id", });
    internal_static_protos_QueryResultBytes_descriptor =
      getDescriptor().getMessageTypes().get(13);
    internal_static_protos_QueryResultBytes_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_QueryResultBytes_descriptor,
        new java.lang.String[] { "ResultBytes", });
    internal_static_protos_QueryResponse_descriptor =
      getDescriptor().getMessageTypes().get(14);
    internal_static_protos_QueryResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_QueryResponse_descriptor,
        new java.lang.String[] { "Results", "HasMore", "Id", "Metadata", });
    internal_static_protos_QueryResponseMetadata_descriptor =
      getDescriptor().getMessageTypes().get(15);
    internal_static_protos_QueryResponseMetadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_QueryResponseMetadata_descriptor,
        new java.lang.String[] { "FetchedRecordsCount", "Bookmark", });
    internal_static_protos_StateMetadata_descriptor =
      getDescriptor().getMessageTypes().get(16);
    internal_static_protos_StateMetadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_StateMetadata_descriptor,
        new java.lang.String[] { "Metakey", "Value", });
    internal_static_protos_StateMetadataResult_descriptor =
      getDescriptor().getMessageTypes().get(17);
    internal_static_protos_StateMetadataResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_protos_StateMetadataResult_descriptor,
        new java.lang.String[] { "Entries", });
    descriptor.resolveAllFeaturesImmutable();
    org.hyperledger.fabric.protos.peer.ChaincodeEventProto.getDescriptor();
    org.hyperledger.fabric.protos.peer.ProposalProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy