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

org.hyperledger.fabric.protos.common.CommonProto Maven / Gradle / Ivy

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

package org.hyperledger.fabric.protos.common;

public final class CommonProto {
  private CommonProto() {}
  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 28,
      /* patch= */ 2,
      /* suffix= */ "",
      CommonProto.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_common_LastConfig_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_LastConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_Metadata_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_Metadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_MetadataSignature_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_MetadataSignature_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_IdentifierHeader_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_IdentifierHeader_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_Header_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_Header_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_ChannelHeader_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_ChannelHeader_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_SignatureHeader_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_SignatureHeader_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_Payload_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_Payload_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_Envelope_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_Envelope_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_Block_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_Block_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_BlockHeader_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_BlockHeader_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_BlockData_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_BlockData_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_BlockMetadata_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_BlockMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_OrdererBlockMetadata_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_OrdererBlockMetadata_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\023common/common.proto\022\006common\032\037google/pr" +
      "otobuf/timestamp.proto\"\"\n\nLastConfig\022\024\n\005" +
      "index\030\001 \001(\004R\005index\"[\n\010Metadata\022\024\n\005value\030" +
      "\001 \001(\014R\005value\0229\n\nsignatures\030\002 \003(\0132\031.commo" +
      "n.MetadataSignatureR\nsignatures\"\211\001\n\021Meta" +
      "dataSignature\022)\n\020signature_header\030\001 \001(\014R" +
      "\017signatureHeader\022\034\n\tsignature\030\002 \001(\014R\tsig" +
      "nature\022+\n\021identifier_header\030\003 \001(\014R\020ident" +
      "ifierHeader\"H\n\020IdentifierHeader\022\036\n\nident" +
      "ifier\030\001 \001(\rR\nidentifier\022\024\n\005nonce\030\002 \001(\014R\005" +
      "nonce\"Z\n\006Header\022%\n\016channel_header\030\001 \001(\014R" +
      "\rchannelHeader\022)\n\020signature_header\030\002 \001(\014" +
      "R\017signatureHeader\"\203\002\n\rChannelHeader\022\022\n\004t" +
      "ype\030\001 \001(\005R\004type\022\030\n\007version\030\002 \001(\005R\007versio" +
      "n\0228\n\ttimestamp\030\003 \001(\0132\032.google.protobuf.T" +
      "imestampR\ttimestamp\022\035\n\nchannel_id\030\004 \001(\tR" +
      "\tchannelId\022\023\n\005tx_id\030\005 \001(\tR\004txId\022\024\n\005epoch" +
      "\030\006 \001(\004R\005epoch\022\034\n\textension\030\007 \001(\014R\textens" +
      "ion\022\"\n\rtls_cert_hash\030\010 \001(\014R\013tlsCertHash\"" +
      "A\n\017SignatureHeader\022\030\n\007creator\030\001 \001(\014R\007cre" +
      "ator\022\024\n\005nonce\030\002 \001(\014R\005nonce\"E\n\007Payload\022&\n" +
      "\006header\030\001 \001(\0132\016.common.HeaderR\006header\022\022\n" +
      "\004data\030\002 \001(\014R\004data\"B\n\010Envelope\022\030\n\007payload" +
      "\030\001 \001(\014R\007payload\022\034\n\tsignature\030\002 \001(\014R\tsign" +
      "ature\"\216\001\n\005Block\022+\n\006header\030\001 \001(\0132\023.common" +
      ".BlockHeaderR\006header\022%\n\004data\030\002 \001(\0132\021.com" +
      "mon.BlockDataR\004data\0221\n\010metadata\030\003 \001(\0132\025." +
      "common.BlockMetadataR\010metadata\"g\n\013BlockH" +
      "eader\022\026\n\006number\030\001 \001(\004R\006number\022#\n\rpreviou" +
      "s_hash\030\002 \001(\014R\014previousHash\022\033\n\tdata_hash\030" +
      "\003 \001(\014R\010dataHash\"\037\n\tBlockData\022\022\n\004data\030\001 \003" +
      "(\014R\004data\"+\n\rBlockMetadata\022\032\n\010metadata\030\001 " +
      "\003(\014R\010metadata\"z\n\024OrdererBlockMetadata\0223\n" +
      "\013last_config\030\001 \001(\0132\022.common.LastConfigR\n" +
      "lastConfig\022-\n\022consenter_metadata\030\002 \001(\014R\021" +
      "consenterMetadata*\300\001\n\006Status\022\013\n\007UNKNOWN\020" +
      "\000\022\014\n\007SUCCESS\020\310\001\022\020\n\013BAD_REQUEST\020\220\003\022\016\n\tFOR" +
      "BIDDEN\020\223\003\022\016\n\tNOT_FOUND\020\224\003\022\035\n\030REQUEST_ENT" +
      "ITY_TOO_LARGE\020\235\003\022\032\n\025INTERNAL_SERVER_ERRO" +
      "R\020\364\003\022\024\n\017NOT_IMPLEMENTED\020\365\003\022\030\n\023SERVICE_UN" +
      "AVAILABLE\020\367\003*\356\001\n\nHeaderType\022\013\n\007MESSAGE\020\000" +
      "\022\n\n\006CONFIG\020\001\022\021\n\rCONFIG_UPDATE\020\002\022\030\n\024ENDOR" +
      "SER_TRANSACTION\020\003\022\033\n\023ORDERER_TRANSACTION" +
      "\020\004\032\002\010\001\022\025\n\021DELIVER_SEEK_INFO\020\005\022\025\n\021CHAINCO" +
      "DE_PACKAGE\020\006\"\004\010\007\020\007\"\004\010\010\020\010\"\004\010\t\020\t*\024PEER_RES" +
      "OURCE_UPDATE*\024PEER_ADMIN_OPERATION*\021TOKE" +
      "N_TRANSACTION*t\n\022BlockMetadataIndex\022\016\n\nS" +
      "IGNATURES\020\000\022\023\n\013LAST_CONFIG\020\001\032\002\010\001\022\027\n\023TRAN" +
      "SACTIONS_FILTER\020\002\022\017\n\007ORDERER\020\003\032\002\010\001\022\017\n\013CO" +
      "MMIT_HASH\020\004B\241\001\n$org.hyperledger.fabric.p" +
      "rotos.commonB\013CommonProtoP\001Z4github.com/" +
      "hyperledger/fabric-protos-go-apiv2/commo" +
      "n\242\002\003CXX\252\002\006Common\312\002\006Common\342\002\022Common\\GPBMe" +
      "tadata\352\002\006Commonb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.protobuf.TimestampProto.getDescriptor(),
        });
    internal_static_common_LastConfig_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_common_LastConfig_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_LastConfig_descriptor,
        new java.lang.String[] { "Index", });
    internal_static_common_Metadata_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_common_Metadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_Metadata_descriptor,
        new java.lang.String[] { "Value", "Signatures", });
    internal_static_common_MetadataSignature_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_common_MetadataSignature_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_MetadataSignature_descriptor,
        new java.lang.String[] { "SignatureHeader", "Signature", "IdentifierHeader", });
    internal_static_common_IdentifierHeader_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_common_IdentifierHeader_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_IdentifierHeader_descriptor,
        new java.lang.String[] { "Identifier", "Nonce", });
    internal_static_common_Header_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_common_Header_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_Header_descriptor,
        new java.lang.String[] { "ChannelHeader", "SignatureHeader", });
    internal_static_common_ChannelHeader_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_common_ChannelHeader_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_ChannelHeader_descriptor,
        new java.lang.String[] { "Type", "Version", "Timestamp", "ChannelId", "TxId", "Epoch", "Extension", "TlsCertHash", });
    internal_static_common_SignatureHeader_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_common_SignatureHeader_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_SignatureHeader_descriptor,
        new java.lang.String[] { "Creator", "Nonce", });
    internal_static_common_Payload_descriptor =
      getDescriptor().getMessageTypes().get(7);
    internal_static_common_Payload_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_Payload_descriptor,
        new java.lang.String[] { "Header", "Data", });
    internal_static_common_Envelope_descriptor =
      getDescriptor().getMessageTypes().get(8);
    internal_static_common_Envelope_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_Envelope_descriptor,
        new java.lang.String[] { "Payload", "Signature", });
    internal_static_common_Block_descriptor =
      getDescriptor().getMessageTypes().get(9);
    internal_static_common_Block_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_Block_descriptor,
        new java.lang.String[] { "Header", "Data", "Metadata", });
    internal_static_common_BlockHeader_descriptor =
      getDescriptor().getMessageTypes().get(10);
    internal_static_common_BlockHeader_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_BlockHeader_descriptor,
        new java.lang.String[] { "Number", "PreviousHash", "DataHash", });
    internal_static_common_BlockData_descriptor =
      getDescriptor().getMessageTypes().get(11);
    internal_static_common_BlockData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_BlockData_descriptor,
        new java.lang.String[] { "Data", });
    internal_static_common_BlockMetadata_descriptor =
      getDescriptor().getMessageTypes().get(12);
    internal_static_common_BlockMetadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_BlockMetadata_descriptor,
        new java.lang.String[] { "Metadata", });
    internal_static_common_OrdererBlockMetadata_descriptor =
      getDescriptor().getMessageTypes().get(13);
    internal_static_common_OrdererBlockMetadata_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_OrdererBlockMetadata_descriptor,
        new java.lang.String[] { "LastConfig", "ConsenterMetadata", });
    descriptor.resolveAllFeaturesImmutable();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy